Horizon
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
horizon::ToolPlacePowerSymbol Class Reference
Inheritance diagram for horizon::ToolPlacePowerSymbol:
horizon::ToolPlaceJunctionSchematic horizon::ToolPlaceJunctionT< SchematicJunction > horizon::ToolPlaceJunctionBase horizon::ToolBase

Public Member Functions

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

Protected Member Functions

void create_attached () override
 
void delete_attached () override
 
bool begin_attached () override
 
bool junction_placed () override
 
bool update_attached (const ToolArgs &args) override
 
bool check_line (LineNet *li) override
 
- Protected Member Functions inherited from horizon::ToolPlaceJunctionSchematic
void insert_junction () override
 
- Protected Member Functions inherited from horizon::ToolPlaceJunctionT< SchematicJunction >
Junctionget_junction () override
 
- Protected Member Functions inherited from horizon::ToolPlaceJunctionBase
void create_junction (const Coordi &c)
 
virtual void finish ()
 
- Protected Member Functions inherited from horizon::ToolBase
virtual ToolSettingsget_settings ()
 

Protected Attributes

class PowerSymbolsym = nullptr
 
std::forward_list< PowerSymbol * > symbols_placed
 
Netnet = nullptr
 
- Protected Attributes inherited from horizon::ToolPlaceJunctionT< SchematicJunction >
SchematicJunctiontemp
 
- Protected Attributes inherited from horizon::ToolPlaceJunctionBase
std::forward_list< Junction * > junctions_placed
 
- Protected Attributes inherited from horizon::ToolBase
Documents doc
 
class ImpInterfaceimp = nullptr
 
const ToolID tool_id
 
bool is_transient = false
 

Additional Inherited Members

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

Member Function Documentation

◆ begin()

ToolResponse horizon::ToolPlacePowerSymbol::begin ( const ToolArgs args)
overridevirtual

Gets called right after the constructor has finished.

Used to get the initial placement right and set things up. For non-interactive Tools (e.g. DELETE), this one may return ToolResponse::end()

Reimplemented from horizon::ToolPlaceJunctionBase.

◆ begin_attached()

bool horizon::ToolPlacePowerSymbol::begin_attached ( )
overrideprotectedvirtual

Reimplemented from horizon::ToolPlaceJunctionBase.

◆ can_begin()

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

Reimplemented from horizon::ToolPlaceJunctionBase.

◆ check_line()

bool horizon::ToolPlacePowerSymbol::check_line ( LineNet li)
overrideprotectedvirtual

◆ create_attached()

void horizon::ToolPlacePowerSymbol::create_attached ( )
overrideprotectedvirtual

Reimplemented from horizon::ToolPlaceJunctionBase.

◆ delete_attached()

void horizon::ToolPlacePowerSymbol::delete_attached ( )
overrideprotectedvirtual

Reimplemented from horizon::ToolPlaceJunctionBase.

◆ get_actions()

std::set< InToolActionID > horizon::ToolPlacePowerSymbol::get_actions ( ) const
inlineoverridevirtual

Reimplemented from horizon::ToolPlaceJunctionBase.

◆ junction_placed()

bool horizon::ToolPlacePowerSymbol::junction_placed ( )
overrideprotectedvirtual

◆ update_attached()

bool horizon::ToolPlacePowerSymbol::update_attached ( const ToolArgs args)
overrideprotectedvirtual

Reimplemented from horizon::ToolPlaceJunctionBase.


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