TLMBusConnector.
More...
#include <TLMBusConnector.h>
|
| TLMBusConnector (const oms::ComRef &name, oms_tlm_domain_t domain, const int dimensions, const oms_tlm_interpolation_t interpolation, System *parentSystem=nullptr, Component *component=nullptr) |
|
| ~TLMBusConnector () |
|
oms_status_enu_t | exportToSSD (pugi::xml_node &root) const |
|
| TLMBusConnector (const TLMBusConnector &rhs) |
|
TLMBusConnector & | operator= (const TLMBusConnector &rhs) |
|
void | setName (const oms::ComRef &name) |
|
void | setGeometry (const oms::ssd::ConnectorGeometry *newGeometry) |
|
void | setReal (int i, double value) |
|
void | getReal (int i, double &value) |
|
void | setReals (std::vector< int > i, std::vector< double > values) |
|
void | getReals (std::vector< int > i, std::vector< double > &values) |
|
void | setRealInputDerivatives (int i, int order, double value) |
|
const oms::ComRef | getName () const |
|
oms_tlm_domain_t | getDomain () const |
|
const std::string | getDomainString () const |
|
const int | getDimensions () const |
|
const oms_causality_enu_t | getCausality () const |
|
const oms_tlm_interpolation_t | getInterpolation () const |
|
void | setDelay (double delay) |
|
double | getDelay () |
|
oms::ComRef | getConnector (int id) const |
|
std::vector< oms::ComRef > | getConnectors (std::vector< int > ids) const |
|
const oms::ssd::ConnectorGeometry * | getGeometry () const |
|
oms_status_enu_t | addConnector (const oms::ComRef &cref, std::string vartype) |
|
oms_status_enu_t | deleteConnector (const oms::ComRef &cref) |
|
void | updateConnectors () |
|
void | sortConnectors () |
|
oms_status_enu_t | registerToSockets (TLMPlugin *plugin) |
|
int | getId () const |
|
oms::Component * | getComponent () |
| Recursively find component (i.e. FMU) connected to the TLM bus. Return NULL if not found. More...
|
|
oms::TLMBusConnector * | getActualBus () |
|
◆ TLMBusConnector() [1/2]
◆ ~TLMBusConnector()
oms::TLMBusConnector::~TLMBusConnector |
( |
| ) |
|
◆ TLMBusConnector() [2/2]
◆ addConnector()
◆ deleteConnector()
◆ exportToSSD()
oms_status_enu_t oms::TLMBusConnector::exportToSSD |
( |
pugi::xml_node & |
root | ) |
const |
◆ getActualBus() [1/2]
◆ getActualBus() [2/2]
◆ getCausality()
◆ getComponent() [1/2]
Recursively find component (i.e. FMU) connected to the TLM bus. Return NULL if not found.
◆ getComponent() [2/2]
Recurse into specified system and find component connected to conA.
◆ getConnector()
oms::ComRef oms::TLMBusConnector::getConnector |
( |
int |
id | ) |
const |
◆ getConnectors()
std::vector< oms::ComRef > oms::TLMBusConnector::getConnectors |
( |
std::vector< int > |
ids | ) |
const |
◆ getDelay()
double oms::TLMBusConnector::getDelay |
( |
| ) |
|
|
inline |
◆ getDimensions()
const int oms::TLMBusConnector::getDimensions |
( |
| ) |
const |
|
inline |
◆ getDomain()
◆ getDomainString()
const std::string oms::TLMBusConnector::getDomainString |
( |
| ) |
const |
◆ getGeometry()
◆ getId()
int oms::TLMBusConnector::getId |
( |
| ) |
const |
|
inline |
◆ getInterpolation()
◆ getName()
const oms::ComRef oms::TLMBusConnector::getName |
( |
| ) |
const |
|
inline |
◆ getReal()
void oms::TLMBusConnector::getReal |
( |
int |
i, |
|
|
double & |
value |
|
) |
| |
◆ getReals()
void oms::TLMBusConnector::getReals |
( |
std::vector< int > |
i, |
|
|
std::vector< double > & |
values |
|
) |
| |
◆ getVariableDescriptions()
◆ getVariableTypes()
◆ operator=()
◆ registerToSockets()
◆ setDelay()
void oms::TLMBusConnector::setDelay |
( |
double |
delay | ) |
|
|
inline |
◆ setGeometry()
◆ setName()
void oms::TLMBusConnector::setName |
( |
const oms::ComRef & |
name | ) |
|
◆ setReal()
void oms::TLMBusConnector::setReal |
( |
int |
i, |
|
|
double |
value |
|
) |
| |
◆ setRealInputDerivatives()
void oms::TLMBusConnector::setRealInputDerivatives |
( |
int |
i, |
|
|
int |
order, |
|
|
double |
value |
|
) |
| |
◆ setReals()
void oms::TLMBusConnector::setReals |
( |
std::vector< int > |
i, |
|
|
std::vector< double > |
values |
|
) |
| |
◆ sortConnectors()
void oms::TLMBusConnector::sortConnectors |
( |
| ) |
|
◆ updateConnectors()
void oms::TLMBusConnector::updateConnectors |
( |
| ) |
|
◆ actualBus
◆ causality
◆ component
Component* oms::TLMBusConnector::component = nullptr |
|
private |
◆ connectors
std::map<std::string, oms::ComRef> oms::TLMBusConnector::connectors |
|
private |
◆ id
int oms::TLMBusConnector::id |
|
private |
◆ parentSystem
System* oms::TLMBusConnector::parentSystem |
|
private |
◆ sortedConnectors
std::vector<oms::ComRef> oms::TLMBusConnector::sortedConnectors |
|
private |
◆ variableTypes
std::vector<std::string> oms::TLMBusConnector::variableTypes |
|
private |
The documentation for this class was generated from the following files:
- /var/lib/jenkins/ws/OMSimulator_maintenance_v2.1/src/OMSimulatorLib/TLM/TLMBusConnector.h
- /var/lib/jenkins/ws/OMSimulator_maintenance_v2.1/src/OMSimulatorLib/TLM/TLMBusConnector.cpp