|
AGXDynamics
2.31.1.0
|
FMI export module. More...
#include <Module.h>
Classes | |
| class | SteppingThread |
Public Member Functions | |
| Module (const agx::Name &name, const char *GUID, bool createOsgWindow=false) | |
| ~Module () | |
| void | cleanup () |
| void | exportModelDescriptionFile (const agx::String &filePath) |
| void | finalizeSetup () |
| fmi2Status | fmiCancelStep () |
| fmi2Status | fmiDoStep (fmi2Real currentCommunicationPoint, fmi2Real communicationStepSize, fmi2Boolean commitStep) |
| fmi2Status | fmiEnterInitializationMode () |
| fmi2Status | fmiExitInitializationMode () |
| fmi2Status | fmiFreeFMUstate (fmi2FMUstate *state) |
| fmi2Status | fmiGetBoolean (const fmi2ValueReference vr[], size_t nvr, fmi2Boolean value[]) |
| fmi2Status | fmiGetBooleanStatus (const fmi2StatusKind s, fmi2Boolean *value) |
| fmi2Status | fmiGetDirectionalDerivative (const fmi2ValueReference vUnknown_ref[], size_t nUnknown, const fmi2ValueReference vKnown_ref[], size_t nKnown, const fmi2Real dvKnown[], fmi2Real dvUnknown[]) |
| fmi2Status | fmiGetFMUstate (fmi2FMUstate *state) |
| fmi2Status | fmiGetInteger (const fmi2ValueReference vr[], size_t nvr, fmi2Integer value[]) |
| fmi2Status | fmiGetIntegerStatus (const fmi2StatusKind s, fmi2Integer *value) |
| fmi2Status | fmiGetReal (const fmi2ValueReference vr[], size_t nvr, fmi2Real value[]) |
| fmi2Status | fmiGetRealOutputDerivatives (const fmi2ValueReference vr[], size_t nvr, const fmi2Integer order[], fmi2Real value[]) |
| fmi2Status | fmiGetRealStatus (const fmi2StatusKind s, fmi2Real *value) |
| fmi2Status | fmiGetStatus (const fmi2StatusKind s, fmi2Status *value) |
| fmi2Status | fmiGetString (const fmi2ValueReference vr[], size_t nvr, fmi2String value[]) |
| fmi2Status | fmiGetStringStatus (const fmi2StatusKind s, fmi2String *value) |
| fmi2Status | fmiReset () |
| fmi2Status | fmiSetBoolean (const fmi2ValueReference vr[], size_t nvr, const fmi2Boolean value[]) |
| fmi2Status | fmiSetDebugLogging (fmi2Boolean loggingOn, size_t nCategories, const fmi2String categories[]) |
| fmi2Status | fmiSetFMUstate (fmi2FMUstate state) |
| fmi2Status | fmiSetInteger (const fmi2ValueReference vr[], size_t nvr, const fmi2Integer value[]) |
| fmi2Status | fmiSetReal (const fmi2ValueReference vr[], size_t nvr, const fmi2Real value[]) |
| fmi2Status | fmiSetRealInputDerivatives (const fmi2ValueReference vr[], size_t nvr, const fmi2Integer order[], const fmi2Real value[]) |
| fmi2Status | fmiSetString (const fmi2ValueReference vr[], size_t nvr, const fmi2String value[]) |
| fmi2Status | fmiSetupExperiment (fmi2Boolean toleranceDefined, fmi2Real relativeTolerance, fmi2Real tStart, fmi2Boolean stopTimeDefined, fmi2Real tStop) |
| fmi2Status | fmiTerminate () |
| bool | getCreateOsgWindow () const |
| const agx::String & | getDescription () const |
| const char * | getGUID () const |
| const agx::Name & | getName () const |
| agxOSG::ExampleApplication * | getOsgApplication () |
| osg::Group * | getOsgRoot () |
| const agx::String | getResourcePath () const |
| agxSDK::Simulation * | getSimulation () |
| Variable * | getVariable (const agx::Name &name) |
| void | initRemoteConnection () |
| void | initRendering (agxIO::ArgumentParser *argParser=nullptr) |
| void | registerStrongCoupling (agx::RigidBody *body) |
| Register a rigid body as a strong coupling body. More... | |
| agx::UInt32 | registerVariable (Variable *variable) |
| Register a variable to the module interface. More... | |
| void | setDescription (const agx::String &description) |
| void | setOsgApplication (agxOSG::ExampleApplication *app) |
| void | setOsgRoot (osg::Group *group) |
| void | setResourcePath (const agx::String &path) |
| void | setSimulation (agxSDK::Simulation *simulation) |
Protected Member Functions | |
| void | createRenderObjects () |
| void | setApplicationArguments (const agx::String &args) |
| void | setAutoStepCallback (bool flag) |
| void | setCreateOsgWindow (bool flag) |
| void | setEnableAutoRendering (bool enable) |
| void | setEnableJournalRecord (bool flag) |
| void | setEnableTaskProfiling (bool flag) |
| void | setEnableThreadTimeline (bool flag) |
| void | setInternalStepMultiplier (agx::Int multiplier) |
| void | setJournalConfiguration (const agx::String &config) |
| void | setJournalPath (const agx::String &path) |
| void | setJournalRecordFrequency (agx::Real frequency) |
| void | setRenderFrequency (agx::Real freq) |
| void | setThrottleRealTime (bool flag) |
| void | setUseDebugRendering (bool flag) |
| void | updateViewer (agx::Real dt) |
FMI export module.
The view of the module from inside the FMU.
Definition at line 74 of file export/Module.h.
| agxFMI2::Export::Module::Module | ( | const agx::Name & | name, |
| const char * | GUID, | ||
| bool | createOsgWindow = false |
||
| ) |
| agxFMI2::Export::Module::~Module | ( | ) |
| void agxFMI2::Export::Module::cleanup | ( | ) |
|
protected |
| void agxFMI2::Export::Module::exportModelDescriptionFile | ( | const agx::String & | filePath | ) |
| void agxFMI2::Export::Module::finalizeSetup | ( | ) |
| fmi2Status agxFMI2::Export::Module::fmiCancelStep | ( | ) |
| fmi2Status agxFMI2::Export::Module::fmiDoStep | ( | fmi2Real | currentCommunicationPoint, |
| fmi2Real | communicationStepSize, | ||
| fmi2Boolean | commitStep | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiEnterInitializationMode | ( | ) |
| fmi2Status agxFMI2::Export::Module::fmiExitInitializationMode | ( | ) |
| fmi2Status agxFMI2::Export::Module::fmiFreeFMUstate | ( | fmi2FMUstate * | state | ) |
| fmi2Status agxFMI2::Export::Module::fmiGetBoolean | ( | const fmi2ValueReference | vr[], |
| size_t | nvr, | ||
| fmi2Boolean | value[] | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiGetBooleanStatus | ( | const fmi2StatusKind | s, |
| fmi2Boolean * | value | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiGetDirectionalDerivative | ( | const fmi2ValueReference | vUnknown_ref[], |
| size_t | nUnknown, | ||
| const fmi2ValueReference | vKnown_ref[], | ||
| size_t | nKnown, | ||
| const fmi2Real | dvKnown[], | ||
| fmi2Real | dvUnknown[] | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiGetFMUstate | ( | fmi2FMUstate * | state | ) |
| fmi2Status agxFMI2::Export::Module::fmiGetInteger | ( | const fmi2ValueReference | vr[], |
| size_t | nvr, | ||
| fmi2Integer | value[] | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiGetIntegerStatus | ( | const fmi2StatusKind | s, |
| fmi2Integer * | value | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiGetReal | ( | const fmi2ValueReference | vr[], |
| size_t | nvr, | ||
| fmi2Real | value[] | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiGetRealOutputDerivatives | ( | const fmi2ValueReference | vr[], |
| size_t | nvr, | ||
| const fmi2Integer | order[], | ||
| fmi2Real | value[] | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiGetRealStatus | ( | const fmi2StatusKind | s, |
| fmi2Real * | value | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiGetStatus | ( | const fmi2StatusKind | s, |
| fmi2Status * | value | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiGetString | ( | const fmi2ValueReference | vr[], |
| size_t | nvr, | ||
| fmi2String | value[] | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiGetStringStatus | ( | const fmi2StatusKind | s, |
| fmi2String * | value | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiReset | ( | ) |
| fmi2Status agxFMI2::Export::Module::fmiSetBoolean | ( | const fmi2ValueReference | vr[], |
| size_t | nvr, | ||
| const fmi2Boolean | value[] | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiSetDebugLogging | ( | fmi2Boolean | loggingOn, |
| size_t | nCategories, | ||
| const fmi2String | categories[] | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiSetFMUstate | ( | fmi2FMUstate | state | ) |
| fmi2Status agxFMI2::Export::Module::fmiSetInteger | ( | const fmi2ValueReference | vr[], |
| size_t | nvr, | ||
| const fmi2Integer | value[] | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiSetReal | ( | const fmi2ValueReference | vr[], |
| size_t | nvr, | ||
| const fmi2Real | value[] | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiSetRealInputDerivatives | ( | const fmi2ValueReference | vr[], |
| size_t | nvr, | ||
| const fmi2Integer | order[], | ||
| const fmi2Real | value[] | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiSetString | ( | const fmi2ValueReference | vr[], |
| size_t | nvr, | ||
| const fmi2String | value[] | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiSetupExperiment | ( | fmi2Boolean | toleranceDefined, |
| fmi2Real | relativeTolerance, | ||
| fmi2Real | tStart, | ||
| fmi2Boolean | stopTimeDefined, | ||
| fmi2Real | tStop | ||
| ) |
| fmi2Status agxFMI2::Export::Module::fmiTerminate | ( | ) |
| bool agxFMI2::Export::Module::getCreateOsgWindow | ( | ) | const |
Definition at line 300 of file export/Module.h.
| const agx::String& agxFMI2::Export::Module::getDescription | ( | ) | const |
| const char* agxFMI2::Export::Module::getGUID | ( | ) | const |
| const agx::Name& agxFMI2::Export::Module::getName | ( | ) | const |
| agxOSG::ExampleApplication* agxFMI2::Export::Module::getOsgApplication | ( | ) |
| osg::Group* agxFMI2::Export::Module::getOsgRoot | ( | ) |
| const agx::String agxFMI2::Export::Module::getResourcePath | ( | ) | const |
| agxSDK::Simulation* agxFMI2::Export::Module::getSimulation | ( | ) |
| void agxFMI2::Export::Module::initRemoteConnection | ( | ) |
| void agxFMI2::Export::Module::initRendering | ( | agxIO::ArgumentParser * | argParser = nullptr | ) |
| void agxFMI2::Export::Module::registerStrongCoupling | ( | agx::RigidBody * | body | ) |
Register a rigid body as a strong coupling body.
| agx::UInt32 agxFMI2::Export::Module::registerVariable | ( | Variable * | variable | ) |
Register a variable to the module interface.
|
protected |
|
protected |
|
protected |
| void agxFMI2::Export::Module::setDescription | ( | const agx::String & | description | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| void agxFMI2::Export::Module::setOsgApplication | ( | agxOSG::ExampleApplication * | app | ) |
| void agxFMI2::Export::Module::setOsgRoot | ( | osg::Group * | group | ) |
| void agxFMI2::Export::Module::setResourcePath | ( | const agx::String & | path | ) |
| void agxFMI2::Export::Module::setSimulation | ( | agxSDK::Simulation * | simulation | ) |
|
protected |
|
protected |