OMSimulatorLib
The OMSimulator project is a FMI-based co-simulation environment that supports ordinary (i.e., non-delayed) and TLM connections.
|
#include <ResultWriter.h>
Public Member Functions | |
VoidWriter (unsigned int bufferSize) | |
~VoidWriter () | |
![]() | |
ResultWriter (unsigned int bufferSize) | |
virtual | ~ResultWriter () |
unsigned int | addSignal (const std::string &name, const std::string &description, SignalType_t type) |
void | addParameter (const std::string &name, const std::string &description, SignalType_t type, SignalValue_t value) |
bool | create (const std::string &filename, double startTime, double stopTime) |
void | close () |
void | updateSignal (unsigned int id, SignalValue_t value) |
void | emit (double time) |
Protected Member Functions | |
bool | createFile (const std::string &filename, double startTime, double stopTime) |
void | closeFile () |
void | writeFile () |
Additional Inherited Members | |
![]() | |
std::vector< Signal > | signals |
std::vector< Parameter > | parameters |
double * | data_2 |
unsigned int | bufferSize |
unsigned int | nEmits |
|
inline |
|
inline |
|
inlineprotectedvirtual |
Implements oms::ResultWriter.
|
inlineprotectedvirtual |
Implements oms::ResultWriter.
|
inlineprotectedvirtual |
Implements oms::ResultWriter.