|
OMSimulatorLib
The OMSimulator project is a FMI-based co-simulation environment that supports ordinary (i.e., non-delayed) and TLM connections.
|
** More...
#include <Connection.h>


Public Member Functions | |
| Connection (const oms::ComRef &conA, const oms::ComRef &conB, oms_connection_type_enu_t type=oms_connection_single) | |
| ~Connection () | |
| Connection (const Connection &rhs) | |
| Connection & | operator= (const Connection &rhs) |
| oms_status_enu_t | exportToSSD (pugi::xml_node &root) const |
| const oms::ComRef | getSignalA () const |
| const oms::ComRef | getSignalB () const |
| const oms::ssd::ConnectionGeometry * | getGeometry () const |
| void | setGeometry (const oms::ssd::ConnectionGeometry *newGeometry) |
| void | setTLMParameters (const oms_tlm_connection_parameters_t *parameters) |
| void | setTLMParameters (double delay, double alpha, double linearimpedance, double angualrimpedance) |
| oms_tlm_connection_parameters_t * | getTLMParameters () const |
| oms_connection_type_enu_t | getType () const |
| bool | isEqual (const oms::Connection &connection) const |
| bool | isEqual (const oms::ComRef &signalA, const oms::ComRef &signalB) const |
| bool | containsSignal (const oms::ComRef &signal) |
Friends | |
| bool | operator== (const Connection &lhs, const Connection &rhs) |
| bool | operator!= (const Connection &lhs, const Connection &rhs) |
Additional Inherited Members | |
Protected Attributes inherited from oms_connection_t | |
| oms_connection_type_enu_t | type |
| Connection type, e.g. TLM. More... | |
| char * | conA |
| Name of connector A. More... | |
| char * | conB |
| Name of connector B. More... | |
| ssd_connection_geometry_t * | geometry |
| Geometry information of the connection. More... | |
| oms_tlm_connection_parameters_t * | tlmparameters |
| TLM parameters (only for TLM connections) More... | |
**
| oms::Connection::Connection | ( | const oms::ComRef & | conA, |
| const oms::ComRef & | conB, | ||
| oms_connection_type_enu_t | type = oms_connection_single |
||
| ) |

| oms::Connection::~Connection | ( | ) |
| oms::Connection::Connection | ( | const Connection & | rhs | ) |
| bool oms::Connection::containsSignal | ( | const oms::ComRef & | signal | ) |


| oms_status_enu_t oms::Connection::exportToSSD | ( | pugi::xml_node & | root | ) | const |

|
inline |


|
inline |

|
inline |

|
inline |
|
inline |

| bool oms::Connection::isEqual | ( | const oms::Connection & | connection | ) | const |


| bool oms::Connection::isEqual | ( | const oms::ComRef & | signalA, |
| const oms::ComRef & | signalB | ||
| ) | const |
| oms::Connection & oms::Connection::operator= | ( | const Connection & | rhs | ) |

| void oms::Connection::setGeometry | ( | const oms::ssd::ConnectionGeometry * | newGeometry | ) |

| void oms::Connection::setTLMParameters | ( | const oms_tlm_connection_parameters_t * | parameters | ) |

| void oms::Connection::setTLMParameters | ( | double | delay, |
| double | alpha, | ||
| double | linearimpedance, | ||
| double | angualrimpedance | ||
| ) |
|
friend |
|
friend |
1.8.13