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

Public Member Functions

 ToolPlaceNetLabel (IDocument *c, ToolID tid)
 
bool can_begin () override
 
std::set< InToolActionID > get_actions () const override
 
- Public Member Functions inherited from horizon::ToolPlaceJunctionBase
ToolResponse begin (const ToolArgs &args) override
 Gets called right after the constructor has finished.
 
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 bool is_specific ()
 
- Public Member Functions inherited from horizon::ToolHelperDrawNetSetting
std::map< ToolID, ToolSettings * > get_all_settings () override
 
 ToolBase (class IDocument *c, ToolID tid)
 

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
 
- Protected Member Functions inherited from horizon::ToolPlaceJunctionSchematic
bool junction_placed () override
 
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 Member Functions inherited from horizon::ToolHelperDrawNetSetting
void step_net_label_size (bool up)
 
void ask_net_label_size ()
 

Protected Attributes

std::forward_list< class NetLabel * > labels_placed
 
class NetLabella = nullptr
 
Orientation last_orientation = Orientation::RIGHT
 
- 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
 
- Protected Attributes inherited from horizon::ToolHelperDrawNetSetting
Settings settings
 

Additional Inherited Members

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

Member Function Documentation

◆ apply_settings()

void horizon::ToolPlaceNetLabel::apply_settings ( )
overrideprotectedvirtual

Reimplemented from horizon::ToolBase.

◆ begin_attached()

bool horizon::ToolPlaceNetLabel::begin_attached ( )
overrideprotectedvirtual

Reimplemented from horizon::ToolPlaceJunctionBase.

◆ can_begin()

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

Reimplemented from horizon::ToolPlaceJunctionBase.

◆ check_line()

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

◆ create_attached()

void horizon::ToolPlaceNetLabel::create_attached ( )
overrideprotectedvirtual

Reimplemented from horizon::ToolPlaceJunctionBase.

◆ delete_attached()

void horizon::ToolPlaceNetLabel::delete_attached ( )
overrideprotectedvirtual

Reimplemented from horizon::ToolPlaceJunctionBase.

◆ get_actions()

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

Reimplemented from horizon::ToolPlaceJunctionBase.

◆ update_attached()

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

Reimplemented from horizon::ToolPlaceJunctionBase.


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