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

Public Member Functions

 ToolPlacePowerSymbol (Core *c, ToolID tid)
 
bool can_begin () override
 
- Public Member Functions inherited from horizon::ToolPlaceJunction
 ToolPlaceJunction (Core *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 Core *c, ToolID tid)
 
void set_imp_interface (class ImpInterface *i)
 
void set_transient ()
 
virtual ToolID get_tool_id_for_settings () const
 
virtual const ToolSettingsget_settings_const () const
 
ToolSettingsProxy get_settings_proxy ()
 
virtual void apply_settings ()
 
virtual bool is_specific ()
 
virtual bool handles_esc ()
 

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
 
- Protected Member Functions inherited from horizon::ToolPlaceJunction
void create_junction (const Coordi &c)
 
- Protected Member Functions inherited from horizon::ToolBase
virtual ToolSettingsget_settings ()
 

Protected Attributes

PowerSymbolsym = nullptr
 
std::forward_list< PowerSymbol * > symbols_placed
 
Netnet = nullptr
 
- Protected Attributes inherited from horizon::ToolPlaceJunction
Junctiontemp = 0
 
std::forward_list< Junction * > junctions_placed
 
- Protected Attributes inherited from horizon::ToolBase
Cores core
 
class ImpInterfaceimp = nullptr
 
ToolID tool_id = ToolID::NONE
 
bool is_transient = false
 

Member Function Documentation

◆ can_begin()

bool horizon::ToolPlacePowerSymbol::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: