OMSimulatorLib
The OMSimulator project is a FMI-based co-simulation environment that supports ordinary (i.e., non-delayed) and TLM connections.
|
#include <Element.h>
Public Member Functions | |
Element (oms_element_enu_t type, const ComRef &name) | |
~Element () | |
const oms_element_enu_t | getType () const |
const oms::ComRef | getName () const |
oms::Connector ** | getConnectors () const |
const oms::ssd::ElementGeometry * | getGeometry () const |
void | setName (const ComRef &name) |
void | setGeometry (const oms::ssd::ElementGeometry *newGeometry) |
void | setConnectors (oms::Connector **newConnectors) |
void | setBusConnectors (oms::BusConnector **newBusConnectors) |
void | setTLMBusConnectors (oms::TLMBusConnector **newTLMBusConnectors) |
void | setSubElements (oms_element_t **subelements) |
Private Member Functions | |
Element (const Element &rhs) | |
not implemented More... | |
Element & | operator= (const Element &rhs) |
not implemented More... | |
Additional Inherited Members | |
![]() | |
oms_element_enu_t | type |
Element type, i.e. system or component. More... | |
char * | name |
Name of the element. More... | |
struct _oms_element_t ** | elements |
List (null-terminated array) of all sub-elements. More... | |
oms_connector_t ** | connectors |
List (null-terminated array) of all interface variables: inputs, outputs, and parameters. More... | |
oms_busconnector_t ** | busconnectors |
List (null-terminated array) of all bus connectors. More... | |
oms_tlmbusconnector_t ** | tlmbusconnectors |
List (null-terminated array) of all TLM bus connectors. More... | |
ssd_element_geometry_t * | geometry |
Geometry information of the element. More... | |
oms::Element::Element | ( | oms_element_enu_t | type, |
const ComRef & | name | ||
) |
oms::Element::~Element | ( | ) |
|
private |
not implemented
|
inline |
|
inline |
|
inline |
|
inline |
not implemented
void oms::Element::setBusConnectors | ( | oms::BusConnector ** | newBusConnectors | ) |
void oms::Element::setConnectors | ( | oms::Connector ** | newConnectors | ) |
void oms::Element::setGeometry | ( | const oms::ssd::ElementGeometry * | newGeometry | ) |
void oms::Element::setName | ( | const ComRef & | name | ) |
void oms::Element::setSubElements | ( | oms_element_t ** | subelements | ) |
void oms::Element::setTLMBusConnectors | ( | oms::TLMBusConnector ** | newTLMBusConnectors | ) |