Horizon
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
horizon::ToolPlaceNetLabel Class Reference
Inheritance diagram for horizon::ToolPlaceNetLabel:
horizon::ToolPlaceJunction horizon::ToolHelperDrawNetSetting horizon::ToolBase horizon::ToolBase

Public Member Functions

 ToolPlaceNetLabel (IDocument *c, ToolID tid)
 
bool can_begin () override
 
std::set< InToolActionID > get_actions () const override
 
 ToolPlaceNetLabel (IDocument *c, ToolID tid)
 
bool can_begin () override
 
std::set< InToolActionID > get_actions () const override
 
- Public Member Functions inherited from horizon::ToolPlaceJunction
 ToolPlaceJunction (IDocument *c, ToolID tid)
 
ToolResponse begin (const ToolArgs &args) override
 Gets called right after the constructor has finished. More...
 
ToolResponse update (const ToolArgs &args) override
 Gets called whenever the user generated some sort of input.
 
 ToolPlaceJunction (IDocument *c, ToolID tid)
 
ToolResponse begin (const ToolArgs &args) override
 Gets called right after the constructor has finished. More...
 
ToolResponse update (const ToolArgs &args) override
 Gets called whenever the user generated some sort of input.
 
- Public Member Functions inherited from horizon::ToolBase
 ToolBase (class IDocument *c, ToolID tid)
 
void set_imp_interface (class ImpInterface *i)
 
void set_transient ()
 
ToolSettingsProxy get_settings_proxy ()
 
virtual bool is_specific ()
 
 ToolBase (class IDocument *c, ToolID tid)
 
void set_imp_interface (class ImpInterface *i)
 
void set_transient ()
 
ToolSettingsProxy get_settings_proxy ()
 
virtual bool is_specific ()
 
- Public Member Functions inherited from horizon::ToolHelperDrawNetSetting
 ToolHelperDrawNetSetting (IDocument *c, ToolID tid)
 
const ToolSettingsget_settings_const () const override
 
ToolID get_tool_id_for_settings () const override
 
 ToolHelperDrawNetSetting (IDocument *c, ToolID tid)
 
const ToolSettingsget_settings_const () const override
 
ToolID get_tool_id_for_settings () const override
 

Protected Member Functions

void create_attached () override
 
void delete_attached () override
 
bool begin_attached () override
 
bool update_attached (const ToolArgs &args) override
 
bool check_line (LineNet *li) override
 
void apply_settings () override
 
void create_attached () override
 
void delete_attached () override
 
bool begin_attached () override
 
bool update_attached (const ToolArgs &args) override
 
bool check_line (LineNet *li) override
 
void apply_settings () override
 
- Protected Member Functions inherited from horizon::ToolPlaceJunction
void create_junction (const Coordi &c)
 
void create_junction (const Coordi &c)
 
- Protected Member Functions inherited from horizon::ToolHelperDrawNetSetting
ToolSettingsget_settings () override
 
void step_net_label_size (bool up)
 
void ask_net_label_size ()
 
ToolSettingsget_settings () override
 
void step_net_label_size (bool up)
 
void ask_net_label_size ()
 

Protected Attributes

std::forward_list< NetLabel * > labels_placed
 
NetLabella = nullptr
 
Orientation last_orientation = Orientation::RIGHT
 
- Protected Attributes inherited from horizon::ToolPlaceJunction
class Junctiontemp = 0
 
std::forward_list< Junction * > junctions_placed
 
- Protected Attributes inherited from horizon::ToolBase
Documents doc
 
class ImpInterfaceimp = nullptr
 
ToolID tool_id
 
bool is_transient = false
 
- Protected Attributes inherited from horizon::ToolHelperDrawNetSetting
Settings settings
 

Additional Inherited Members

- Public Attributes inherited from horizon::ToolBase
std::set< SelectableRefselection
 

Member Function Documentation

◆ can_begin() [1/2]

bool horizon::ToolPlaceNetLabel::can_begin ( )
overridevirtual
Returns
true if this Tool can begin in sensible way

Reimplemented from horizon::ToolPlaceJunction.

◆ can_begin() [2/2]

bool horizon::ToolPlaceNetLabel::can_begin ( )
overridevirtual
Returns
true if this Tool can begin in sensible way

Reimplemented from horizon::ToolPlaceJunction.


The documentation for this class was generated from the following files: