Horizon
Loading...
Searching...
No Matches
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)
unsigned int get_required_version () const
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: