Horizon
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
horizon::Unit Class Reference

A Unit is the template for a Gate inside of an Entity. More...

#include <unit.hpp>

Inheritance diagram for horizon::Unit:
horizon::UUIDProvider

Public Member Functions

 Unit (const UUID &uu)
 
 Unit (const UUID &uu, const YAML::Node &n)
 
json serialize () const
 
void serialize_yaml (YAML::Emitter &em) const
 
UUID get_uuid () const
 

Static Public Member Functions

static Unit new_from_file (const std::string &filename)
 

Public Attributes

UUID uuid
 
std::string name
 
std::string manufacturer
 
std::map< UUID, Pinpins
 

Detailed Description

A Unit is the template for a Gate inside of an Entity.

An example for a Unit may be a "single-ended NAND gate". Units are stored in an Entity.


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