Horizon
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
horizon::KiCadModuleParser Class Referenceabstract
Inheritance diagram for horizon::KiCadModuleParser:
horizon::KiCadDecalParser horizon::KiCadPackageParser

Public Types

using LogCb = std::function< void(const std::string &, const std::string &)>
 

Public Member Functions

void set_log_cb (LogCb cb)
 

Protected Member Functions

class Lineparse_line (const SEXPR::SEXPR *data)
 
void parse_poly (const SEXPR::SEXPR *data)
 
Junctionget_or_create_junction (const Coordi &c)
 
virtual class Junctioncreate_junction ()=0
 
virtual class Polygoncreate_polygon ()=0
 
virtual class Linecreate_line ()=0
 

Static Protected Member Functions

static int get_layer (const std::string &l)
 
static Coordi get_coord (const SEXPR::SEXPR *data, size_t offset=1)
 
static Coordi get_size (const SEXPR::SEXPR *data, size_t offset=1)
 

Protected Attributes

std::map< Coordi, class Junction * > junctions
 
LogCb log_cb
 

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