Horizon
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
horizon::SymbolPin Class Reference

Classes

class  Decoration
 

Public Types

enum  ConnectorStyle {
  BOX, NONE, NC, BOX,
  NONE, NC
}
 
enum  NameOrientation {
  IN_LINE, PERPENDICULAR, HORIZONTAL, IN_LINE,
  PERPENDICULAR, HORIZONTAL
}
 
enum  ConnectorStyle {
  BOX, NONE, NC, BOX,
  NONE, NC
}
 
enum  NameOrientation {
  IN_LINE, PERPENDICULAR, HORIZONTAL, IN_LINE,
  PERPENDICULAR, HORIZONTAL
}
 

Public Member Functions

 SymbolPin (const UUID &uu, const json &j)
 
 SymbolPin (UUID uu)
 
Orientation get_orientation_for_placement (const Placement &p) const
 
json serialize () const
 
UUID get_uuid () const
 
 SymbolPin (const UUID &uu, const json &j)
 
 SymbolPin (UUID uu)
 
Orientation get_orientation_for_placement (const Placement &p) const
 
json serialize () const
 
UUID get_uuid () const
 

Public Attributes

UUID uuid
 
Coord< int64_t > position
 
uint64_t length = 2.5_mm
 
bool name_visible = true
 
bool pad_visible = true
 
NameOrientation name_orientation = NameOrientation::IN_LINE
 
Orientation orientation = Orientation::RIGHT
 
Decoration decoration
 
std::string name
 
std::string pad
 
ConnectorStyle connector_style = ConnectorStyle::BOX
 
std::map< UUID, class LineNet * > connected_net_lines
 
UUID net_segment
 
Pin::Direction direction = Pin::Direction::BIDIRECTIONAL
 

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