DPsim
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DPsim::DataLogger Class Reference
Inheritance diagram for DPsim::DataLogger:
[legend]
Collaboration diagram for DPsim::DataLogger:
[legend]

Classes

class  Step
 

Public Types

typedef std::shared_ptr< DataLoggerPtr
 
- Public Types inherited from DPsim::DataLoggerInterface
typedef std::shared_ptr< DataLoggerInterfacePtr
 
typedef std::vector< DataLoggerInterface::Ptr > List
 

Public Member Functions

 DataLogger (Bool enabled=true)
 
 DataLogger (String name, Bool enabled=true, UInt downsampling=1)
 
virtual void start () override
 
virtual void stop () override
 
virtual void setColumnNames (std::vector< String > names)
 
void logPhasorNodeValues (Real time, const Matrix &data, Int freqNum=1)
 
void logEMTNodeValues (Real time, const Matrix &data)
 
virtual void log (Real time, Int timeStepCount) override
 
virtual CPS::Task::Ptr getTask () override
 
- Public Member Functions inherited from DPsim::DataLoggerInterface
virtual 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)
 

Protected Member Functions

virtual void logDataLine (Real time, Real data)
 
virtual void logDataLine (Real time, const Matrix &data)
 
virtual void logDataLine (Real time, const MatrixComp &data)
 

Protected Attributes

std::ofstream mLogFile
 
String mName
 
Bool mEnabled
 
UInt mDownsampling
 
fs::path mFilename
 
- Protected Attributes inherited from DPsim::DataLoggerInterface
std::map< String, CPS::AttributeBase::PtrmAttributes
 

Additional Inherited Members

- Static Public Member Functions inherited from SharedFactory< DataLogger >
static std::shared_ptr< DataLogger > make (Args &&...args)
 

Detailed Description

Definition at line 26 of file DataLogger.h.


The documentation for this class was generated from the following files: