|
|
| CPulse (std::string sSimObjectName, ISimObjectCreator *pCreator) |
| | Constructor sets parameters.
|
| |
|
| CSrcBase (std::string sSimObjectName, ISimObjectCreator *pCreator) |
| | The constructor.
|
| |
|
virtual | ~CSrcBase () |
| | The destructor.
|
| |
| virtual void | OdeFcn (const double dT, const double *const adX, double *const adXDot) const |
| | Calculates the state derivatives.
|
| |
| | SignalBlock (const std::string &name, ISimObjectCreator *creator, PortWidthRule rule=PortWidthRule::DefaultOne) |
| |
|
| 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.
|
| |
|
bool | ReadTwinParameters (std::string sTagA, double dDefaultA, std::string sTagB, double dDefaultB, std::vector< double > &vals, ISimObjectCreator *pCreator) |
| | Utility function to read a parameter with two possible representations or units.
|
| |
|
virtual const double * | Signal (const double dT, const double *const adX) |
| | The output signal.
|
| |
|
virtual const double * | SignalDot (const double dT, const double *const adX) |
| | The derivative of the output signal.
|
| |
|
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 |
| |
|
std::vector< double > | m_outDot |
| | The derivative of the output signal (the output signal is m_out).
|
| |
|
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.
|
| |
The documentation for this class was generated from the following file:
- webfhsim/reloadrepos/fhsim_base/src/source/CPulse.h