SEEngineStabilization Class Referenceabstract

#include <SEEngineStabilization.h>

Inherits Loggable.

Inherited by SEDynamicStabilization, and SETimedStabilization.

Public Member Functions

 SEEngineStabilization (Logger *logger)
 
virtual ~SEEngineStabilization ()
 
virtual void Clear ()
 
virtual bool SerializeToString (std::string &output, SerializationFormat) const =0
 
virtual bool SerializeToFile (const std::string &filename, SerializationFormat) const =0
 
virtual bool SerializeFromString (const std::string &src, SerializationFormat)=0
 
virtual bool SerializeFromFile (const std::string &filename, SerializationFormat)=0
 
virtual bool StabilizeRestingState (PhysiologyEngine &engine)=0
 
virtual bool StabilizeFeedbackState (PhysiologyEngine &engine)=0
 
virtual bool StabilizeConditions (PhysiologyEngine &engine, const SEConditionManager &conditions)=0
 
virtual void LogProgress (bool b)
 
virtual void CancelStabilization ()
 
virtual void TrackStabilization (eSwitch state)
 
virtual bool IsTrackingStabilization ()
 
virtual bool HasStabilizationDuration ()
 
virtual SEScalarTimeGetStabilizationDuration ()
 
- Public Member Functions inherited from Loggable
 Loggable ()
 
 Loggable (Logger *log)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () const
 
virtual void Debug (std::string const &msg, std::string const &origin=empty) const
 
virtual void Debug (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Debug (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Info (std::string const &msg, std::string const &origin=empty) const
 
virtual void Info (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (const std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::string const &msg, std::string const &origin=empty) const
 
virtual void Warning (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Error (std::string const &msg, std::string const &origin=empty) const
 
virtual void Error (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Error (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::string const &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::ostream &msg, std::string const &origin=empty) const
 

Protected Attributes

bool m_Cancelled
 
bool m_LogProgress
 
eSwitch m_TrackingStabilization
 
double m_currentTime_s
 
std::stringstream m_ss
 
SEScalarTimem_StabilizationDuration
 
std::vector< const SECondition * > m_Conditions
 
- Protected Attributes inherited from Loggable
Loggerm_Logger
 

Additional Inherited Members

- Static Public Attributes inherited from Loggable
static const std::string empty
 

Constructor & Destructor Documentation

◆ SEEngineStabilization()

SEEngineStabilization::SEEngineStabilization ( Logger logger)

◆ ~SEEngineStabilization()

SEEngineStabilization::~SEEngineStabilization ( )
virtual

Member Function Documentation

◆ CancelStabilization()

void SEEngineStabilization::CancelStabilization ( )
virtual

◆ Clear()

void SEEngineStabilization::Clear ( )
virtual

◆ GetStabilizationDuration()

SEScalarTime & SEEngineStabilization::GetStabilizationDuration ( )
virtual

◆ HasStabilizationDuration()

bool SEEngineStabilization::HasStabilizationDuration ( )
virtual

◆ IsTrackingStabilization()

bool SEEngineStabilization::IsTrackingStabilization ( )
virtual

◆ LogProgress()

void SEEngineStabilization::LogProgress ( bool  b)
virtual

◆ SerializeFromFile()

virtual bool SEEngineStabilization::SerializeFromFile ( const std::string &  filename,
SerializationFormat   
)
pure virtual

◆ SerializeFromString()

virtual bool SEEngineStabilization::SerializeFromString ( const std::string &  src,
SerializationFormat   
)
pure virtual

◆ SerializeToFile()

virtual bool SEEngineStabilization::SerializeToFile ( const std::string &  filename,
SerializationFormat   
) const
pure virtual

◆ SerializeToString()

virtual bool SEEngineStabilization::SerializeToString ( std::string &  output,
SerializationFormat   
) const
pure virtual

◆ StabilizeConditions()

virtual bool SEEngineStabilization::StabilizeConditions ( PhysiologyEngine engine,
const SEConditionManager conditions 
)
pure virtual

◆ StabilizeFeedbackState()

virtual bool SEEngineStabilization::StabilizeFeedbackState ( PhysiologyEngine engine)
pure virtual

◆ StabilizeRestingState()

virtual bool SEEngineStabilization::StabilizeRestingState ( PhysiologyEngine engine)
pure virtual

◆ TrackStabilization()

void SEEngineStabilization::TrackStabilization ( eSwitch  state)
virtual

Member Data Documentation

◆ m_Cancelled

bool SEEngineStabilization::m_Cancelled
protected

◆ m_Conditions

std::vector<const SECondition*> SEEngineStabilization::m_Conditions
protected

◆ m_currentTime_s

double SEEngineStabilization::m_currentTime_s
protected

◆ m_LogProgress

bool SEEngineStabilization::m_LogProgress
protected

◆ m_ss

std::stringstream SEEngineStabilization::m_ss
protected

◆ m_StabilizationDuration

SEScalarTime* SEEngineStabilization::m_StabilizationDuration
protected

◆ m_TrackingStabilization

eSwitch SEEngineStabilization::m_TrackingStabilization
protected