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>

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, Pinpins
 
FileVersion version
 

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: