|
|
| CSVSink (std::string sSimObjectName, ISimObjectCreator *pCreator) |
| | Constructor.
|
| |
|
void | OdeFcn (const double dT, const double *const adX, double *const adXDot) const override |
| | Calculates the state derivatives.
|
| |
|
void | AcceptedStep (const double dT, const double *const adX) override |
| |
|
void | FinalSetup (const double T, const double *const X, ISimObjectCreator *const creator) |
| |
| | SignalBlock (const std::string &name, ISimObjectCreator *creator, PortWidthRule rule=PortWidthRule::DefaultOne) |
| |
|
|
ISignalPort * | m_input |
| |
|
std::string | m_fname |
| |
|
std::ofstream | m_stream |
| | Opened by FinalSetup; never opened when file output is suppressed.
|
| |
|
std::vector< double > | m_out |
| | The output buffer, PortWidth() elements. A block may resize it, for example to the width of an output port that differs from PortWidth.
|
| |
|
| enum class | PortWidthRule { DefaultOne
, Required
} |
| | Whether the parameter PortWidth must be in the input file. More...
|
| |
| static int | ReadCount (ISimObjectCreator *creator, const std::string &name, int defaultValue) |
| |
|
static int | ReadCount (ISimObjectCreator *creator, const std::string &name) |
| | As above for a count that must be in the file.
|
| |
|
int | PortWidth () const |
| | The number of elements in the signals of the block (the parameter PortWidth).
|
| |
| std::vector< double > | ReadScalarOrVector (ISimObjectCreator *creator, const std::string &name, double defaultValue) const |
| |
| std::vector< double > | ReadScalarOrVector (ISimObjectCreator *creator, const std::string &name) const |
| |
The documentation for this class was generated from the following file:
- webfhsim/reloadrepos/fhsim_base/src/sink/CCSVSink.h