|
typedef std::shared_ptr< DataLogger > | Ptr |
|
typedef std::vector< DataLogger::Ptr > | List |
|
|
| DataLogger (Bool enabled=true) |
|
| DataLogger (String name, Bool enabled=true, UInt downsampling=1) |
|
void | open () |
|
void | close () |
|
void | reopen () |
|
void | logPhasorNodeValues (Real time, const Matrix &data, Int freqNum=1) |
|
void | logEMTNodeValues (Real time, const Matrix &data) |
|
void | setColumnNames (std::vector< String > names) |
|
void | logAttribute (const String &name, CPS::AttributeBase::Ptr attr, UInt rowsMax=0, UInt colsMax=0) |
|
void | logAttribute (const std::vector< String > &name, CPS::AttributeBase::Ptr attr) |
| DEPRECATED: Only use for compatiblity, otherwise this just adds extra overhead to the logger. Instead just call logAttribute multiple times for every coefficient using attr->deriveCoeff<>(a,b) .
|
|
void | log (Real time, Int timeStepCount) |
|
CPS::Task::Ptr | getTask () |
|
|
void | logDataLine (Real time, Real data) |
|
void | logDataLine (Real time, const Matrix &data) |
|
void | logDataLine (Real time, const MatrixComp &data) |
|
|
std::ofstream | mLogFile |
|
String | mName |
|
Bool | mEnabled |
|
UInt | mDownsampling |
|
fs::path | mFilename |
|
std::map< String, CPS::AttributeBase::Ptr > | mAttributes |
|
|
static std::shared_ptr< DataLogger > | make (Args &&...args) |
|
Definition at line 25 of file DataLogger.h.
The documentation for this class was generated from the following files: