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

LineNet is similar to Line, except it denotes electrical connection. More...

#include <line_net.hpp>

Classes

class  Connection
 

Public Types

enum class  End { TO , FROM }
 

Public Member Functions

 LineNet (const UUID &uu, const json &j, class Sheet *sheet=nullptr)
 
 LineNet (const UUID &uu)
 
void update_refs (class Sheet &sheet)
 
bool is_connected_to_symbol (const UUID &uu_sym, const UUID &uu_pin) const
 
bool is_connected_to_block_symbol (const UUID &uu_sym, const UUID &uu_port) const
 
UUID get_uuid () const
 
bool coord_on_line (const Coordi &coord) const
 
json serialize () const
 

Public Attributes

uuid_ptr< class Netnet = nullptr
 
uuid_ptr< class Busbus = nullptr
 
UUID net_segment = UUID()
 
UUID uuid
 
Connection from
 
Connection to
 

Detailed Description

LineNet is similar to Line, except it denotes electrical connection.

When connected to a BusLabel, it denotes a Bus.


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