DPsim
Public Types | Public Member Functions | Protected Attributes | List of all members
DPsim::DataLoggerInterface Class Referenceabstract
Inheritance diagram for DPsim::DataLoggerInterface:
[legend]

Public Types

typedef std::shared_ptr< DataLoggerInterfacePtr
 
typedef std::vector< DataLoggerInterface::Ptr > List
 

Public Member Functions

virtual void start ()=0
 
virtual void stop ()=0
 
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)
 
virtual void log (Real time, Int timeStepCount)=0
 
virtual CPS::Task::Ptr getTask ()=0
 

Protected Attributes

std::map< String, CPS::AttributeBase::PtrmAttributes
 

Detailed Description

Definition at line 21 of file DataLoggerInterface.h.

Member Function Documentation

◆ logAttribute()

void DPsim::DataLoggerInterface::logAttribute ( const std::vector< String > &  name,
CPS::AttributeBase::Ptr  attr 
)
inline

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).

Definition at line 94 of file DataLoggerInterface.h.


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