Template Struct ComponentData

Struct Documentation

template<typename real_type, typename index_type, typename Parameters, typename Ports, typename MonitorableVariables>
struct ComponentData

Unified interface for Component data containers.

Template Parameters:
  • real_type – Real parameter data type

  • index_type – Integer parameter data type

Public Types

using RealT = real_type

Real value type.

using IdxT = index_type

Index type.

Public Members

std::string device_class

Class of device this is for.

std::map<Parameters, std::variant<bool, RealT, IdxT>> parameters

Mapping of parameters to parameter values.

std::map<Ports, IdxT> ports

Mapping of ports to port values.

std::set<MonitorableVariables> monitored_variables

Set of variables being monitored.

std::string disambiguation_string

Disambiguation string for this device.