|
Horizon
|
A Unit is the template for a Gate inside of an Entity. More...
#include <unit.hpp>
Public Member Functions | |
| Unit (const UUID &uu) | |
| json | serialize () const |
| UUID | get_uuid () const |
Static Public Member Functions | |
| static Unit | new_from_file (const std::string &filename) |
| static unsigned int | get_app_version () |
Public Attributes | |
| UUID | uuid |
| std::string | name |
| std::string | manufacturer |
| std::map< UUID, Pin > | pins |
| FileVersion | version |
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.