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 () |
|
|
static std::vector< std::string > | getVariableTypes (oms_tlm_domain_t domain, int dimensions, oms_tlm_interpolation_t interpolation) |
|
static std::vector< std::string > | getVariableDescriptions (oms_tlm_domain_t domain, int dimensions, oms_tlm_interpolation_t interpolation) |
|
◆ TLMBusConnector() [1/2]
oms::TLMBusConnector::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::TLMBusConnector::~TLMBusConnector |
( |
| ) |
|
◆ TLMBusConnector() [2/2]
◆ addConnector()
oms_status_enu_t oms::TLMBusConnector::addConnector |
( |
const oms::ComRef & |
cref, |
|
|
std::string |
vartype |
|
) |
| |
◆ deleteConnector()
oms_status_enu_t oms::TLMBusConnector::deleteConnector |
( |
const oms::ComRef & |
cref | ) |
|
◆ exportToSSD()
oms_status_enu_t oms::TLMBusConnector::exportToSSD |
( |
pugi::xml_node & |
root | ) |
const |
◆ getActualBus() [1/2]
◆ getActualBus() [2/2]
◆ getCausality()
const oms_causality_enu_t oms::TLMBusConnector::getCausality |
( |
| ) |
const |
|
inline |
◆ 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()
oms_tlm_domain_t oms::TLMBusConnector::getDomain |
( |
| ) |
const |
|
inline |
◆ getDomainString()
const std::string oms::TLMBusConnector::getDomainString |
( |
| ) |
const |
◆ getGeometry()
◆ getId()
int oms::TLMBusConnector::getId |
( |
| ) |
const |
|
inline |
◆ getInterpolation()
const oms_tlm_interpolation_t oms::TLMBusConnector::getInterpolation |
( |
| ) |
const |
|
inline |
◆ 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()
std::vector< std::string > oms::TLMBusConnector::getVariableDescriptions |
( |
oms_tlm_domain_t |
domain, |
|
|
int |
dimensions, |
|
|
oms_tlm_interpolation_t |
interpolation |
|
) |
| |
|
static |
◆ getVariableTypes()
std::vector< std::string > oms::TLMBusConnector::getVariableTypes |
( |
oms_tlm_domain_t |
domain, |
|
|
int |
dimensions, |
|
|
oms_tlm_interpolation_t |
interpolation |
|
) |
| |
|
static |
◆ operator=()
◆ registerToSockets()
oms_status_enu_t oms::TLMBusConnector::registerToSockets |
( |
TLMPlugin * |
plugin | ) |
|
◆ 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
oms_causality_enu_t oms::TLMBusConnector::causality |
|
private |
◆ 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: