#include <ware/PluggableWare.hpp>
Enumerator |
---|
UNDEFINED |
|
OBSERVER |
|
SIMULATOR |
|
OTHER |
|
openfluid::ware::PluggableWare::PluggableWare |
( |
WareType |
WType | ) |
|
|
protected |
virtual openfluid::ware::PluggableWare::~PluggableWare |
( |
| ) |
|
|
virtual |
virtual void openfluid::ware::PluggableWare::finalizeWare |
( |
| ) |
|
|
virtual |
static boost::property_tree::ptree openfluid::ware::PluggableWare::getParamsAsPropertyTree |
( |
const WareParams_t & |
Params | ) |
|
|
static |
virtual void openfluid::ware::PluggableWare::initializeWare |
( |
const WareID_t & |
ID | ) |
|
|
virtual |
virtual bool openfluid::ware::PluggableWare::isLinked |
( |
| ) |
const |
|
inlineprotectedvirtual |
Return false if ParameterKey starts nor ends with a dot, true otherwise
bool openfluid::ware::PluggableWare::OPENFLUID_GetRunEnvironment |
( |
std::string |
Key, |
|
|
std::string & |
Val |
|
) |
| |
|
protected |
Gets an environment string value associated to a Key
- Parameters
-
[in] | Key | the sender of the message |
[out] | Val | the value associated with the environment key |
bool openfluid::ware::PluggableWare::OPENFLUID_GetRunEnvironment |
( |
std::string |
Key, |
|
|
bool & |
Val |
|
) |
| |
|
protected |
Gets an environment boolean value associated to a Key
- Parameters
-
[in] | Key | the sender of the message |
[out] | Val | the value associated with the environment key |
WareID_t openfluid::ware::PluggableWare::OPENFLUID_GetWareID |
( |
| ) |
const |
|
inlineprotected |
Returns the ID of the ware (itself)
- Returns
- the ID
virtual void openfluid::ware::PluggableWare::OPENFLUID_RaiseError |
( |
const std::string & |
Msg | ) |
|
|
protectedvirtual |
Raises an error message to the kernel. This stops the simulation the next time the kernel has the control
- Parameters
-
[in] | Msg | the content of the message |
Reimplemented in openfluid::ware::SimulationDrivenWare.
bool openfluid::ware::PluggableWare::m_Initialized |
|
protected |
WareType openfluid::ware::PluggableWare::m_WareType |
|
protected |
The documentation for this class was generated from the following file: