#include <SETimedStabilization.h>

Inherits SEEngineStabilization.

Public Member Functions

 SETimedStabilization (Logger *logger)
 
virtual ~SETimedStabilization ()
 
virtual void Clear ()
 
bool SerializeToString (std::string &output, SerializationFormat m) const
 
bool SerializeToFile (const std::string &filename, SerializationFormat m) const
 
bool SerializeFromString (const std::string &src, SerializationFormat m)
 
bool SerializeFromFile (const std::string &filename, SerializationFormat m)
 
virtual bool StabilizeRestingState (PhysiologyEngine &engine)
 
virtual bool StabilizeFeedbackState (PhysiologyEngine &engine)
 
virtual bool StabilizeConditions (PhysiologyEngine &engine, const SEConditionManager &conditions)
 
virtual SEScalarTimeGetRestingStabilizationTime ()
 
virtual double GetRestingStabilizationTime (const TimeUnit &unit) const
 
virtual bool HasFeedbackStabilizationTime () const
 
virtual SEScalarTimeGetFeedbackStabilizationTime ()
 
virtual double GetFeedbackStabilizationTime (const TimeUnit &unit) const
 
virtual bool HasConditionTime (const std::string &name) const
 
virtual void RemoveConditionTime (const std::string &name)
 
virtual const std::map< std::string, SEScalarTime * > & GetConditionTimes () const
 
virtual SEScalarTimeGetConditionTime (const std::string &name)
 
virtual const SEScalarTimeGetConditionTime (const std::string &name) const
 
- Public Member Functions inherited from SEEngineStabilization
 SEEngineStabilization (Logger *logger)
 
virtual ~SEEngineStabilization ()
 
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 Member Functions

virtual bool Stabilize (PhysiologyEngine &engine, const SEScalarTime &time)
 

Protected Attributes

SEScalarTimem_RestingStabilizationTime
 
SEScalarTimem_FeedbackStabilizationTime
 
std::map< std::string, SEScalarTime * > m_ConditionTimes
 
- Protected Attributes inherited from SEEngineStabilization
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
 

Friends

class PBEngine
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ SETimedStabilization()

SETimedStabilization::SETimedStabilization ( Logger logger)

◆ ~SETimedStabilization()

SETimedStabilization::~SETimedStabilization ( )
virtual

Member Function Documentation

◆ Clear()

void SETimedStabilization::Clear ( )
virtual

Reimplemented from SEEngineStabilization.

◆ GetConditionTime() [1/2]

SEScalarTime & SETimedStabilization::GetConditionTime ( const std::string &  name)
virtual

◆ GetConditionTime() [2/2]

const SEScalarTime * SETimedStabilization::GetConditionTime ( const std::string &  name) const
virtual

◆ GetConditionTimes()

const std::map< std::string, SEScalarTime * > & SETimedStabilization::GetConditionTimes ( ) const
virtual

◆ GetFeedbackStabilizationTime() [1/2]

SEScalarTime & SETimedStabilization::GetFeedbackStabilizationTime ( )
virtual

◆ GetFeedbackStabilizationTime() [2/2]

double SETimedStabilization::GetFeedbackStabilizationTime ( const TimeUnit unit) const
virtual

◆ GetRestingStabilizationTime() [1/2]

SEScalarTime & SETimedStabilization::GetRestingStabilizationTime ( )
virtual

◆ GetRestingStabilizationTime() [2/2]

double SETimedStabilization::GetRestingStabilizationTime ( const TimeUnit unit) const
virtual

◆ HasConditionTime()

bool SETimedStabilization::HasConditionTime ( const std::string &  name) const
virtual

◆ HasFeedbackStabilizationTime()

bool SETimedStabilization::HasFeedbackStabilizationTime ( ) const
virtual

◆ RemoveConditionTime()

void SETimedStabilization::RemoveConditionTime ( const std::string &  name)
virtual

◆ SerializeFromFile()

bool SETimedStabilization::SerializeFromFile ( const std::string &  filename,
SerializationFormat  m 
)
virtual

Implements SEEngineStabilization.

◆ SerializeFromString()

bool SETimedStabilization::SerializeFromString ( const std::string &  src,
SerializationFormat  m 
)
virtual

Implements SEEngineStabilization.

◆ SerializeToFile()

bool SETimedStabilization::SerializeToFile ( const std::string &  filename,
SerializationFormat  m 
) const
virtual

Implements SEEngineStabilization.

◆ SerializeToString()

bool SETimedStabilization::SerializeToString ( std::string &  output,
SerializationFormat  m 
) const
virtual

Implements SEEngineStabilization.

◆ Stabilize()

bool SETimedStabilization::Stabilize ( PhysiologyEngine engine,
const SEScalarTime time 
)
protectedvirtual

◆ StabilizeConditions()

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

Implements SEEngineStabilization.

◆ StabilizeFeedbackState()

bool SETimedStabilization::StabilizeFeedbackState ( PhysiologyEngine engine)
virtual

Implements SEEngineStabilization.

◆ StabilizeRestingState()

bool SETimedStabilization::StabilizeRestingState ( PhysiologyEngine engine)
virtual

Implements SEEngineStabilization.

Friends And Related Function Documentation

◆ PBEngine

friend class PBEngine
friend

Member Data Documentation

◆ m_ConditionTimes

std::map<std::string,SEScalarTime*> SETimedStabilization::m_ConditionTimes
protected

◆ m_FeedbackStabilizationTime

SEScalarTime* SETimedStabilization::m_FeedbackStabilizationTime
protected

◆ m_RestingStabilizationTime

SEScalarTime* SETimedStabilization::m_RestingStabilizationTime
protected