#include <SEEngineTracker.h>

Inherits Loggable.

Public Member Functions

 SEEngineTracker (PhysiologyEngine &engine)
 
virtual ~SEEngineTracker ()
 
void Clear ()
 
DataTrackGetDataTrack ()
 
SEDataRequestManagerGetDataRequestManager ()
 
void ResetFile ()
 
bool ConnectRequest (SEDataRequest &dr, SEDataRequestScalar &ds)
 
const SEDataRequestScalarGetScalar (const SEDataRequest &dr) const
 
virtual void SetupRequests ()
 
virtual void TrackData (double currentTime_s)
 
virtual void PullData ()
 
virtual bool TrackRequest (SEDataRequest &dr)
 
virtual void ForceConnection ()
 
- 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_ForceConnection
 
DataTrackm_DataTrack
 
std::stringstream m_ss
 
std::ofstream m_ResultsStream
 
SEDataRequestManagerm_DataRequestMgr
 
SEPatientm_Patient
 
SESubstanceManagerm_SubMgr
 
SECompartmentManagerm_CmptMgr
 
SEEnvironmentm_Environment
 
std::vector< SESystem * > m_PhysiologySystems
 
SESystemm_AnesthesiaMachine
 
SESystemm_ECG
 
SESystemm_Inhaler
 
std::map< const SEDataRequest *, SEDataRequestScalar * > m_Request2Scalar
 
- Protected Attributes inherited from Loggable
Loggerm_Logger
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ SEEngineTracker()

SEEngineTracker::SEEngineTracker ( PhysiologyEngine engine)

◆ ~SEEngineTracker()

SEEngineTracker::~SEEngineTracker ( )
virtual

Member Function Documentation

◆ Clear()

void SEEngineTracker::Clear ( )

◆ ConnectRequest()

bool SEEngineTracker::ConnectRequest ( SEDataRequest dr,
SEDataRequestScalar ds 
)

◆ ForceConnection()

virtual void SEEngineTracker::ForceConnection ( )
inlinevirtual

◆ GetDataRequestManager()

SEDataRequestManager& SEEngineTracker::GetDataRequestManager ( )
inline

◆ GetDataTrack()

DataTrack & SEEngineTracker::GetDataTrack ( )

◆ GetScalar()

const SEDataRequestScalar * SEEngineTracker::GetScalar ( const SEDataRequest dr) const

◆ PullData()

void SEEngineTracker::PullData ( )
virtual

◆ ResetFile()

void SEEngineTracker::ResetFile ( )

◆ SetupRequests()

void SEEngineTracker::SetupRequests ( )
virtual

◆ TrackData()

void SEEngineTracker::TrackData ( double  currentTime_s)
virtual

◆ TrackRequest()

bool SEEngineTracker::TrackRequest ( SEDataRequest dr)
virtual

Member Data Documentation

◆ m_AnesthesiaMachine

SESystem* SEEngineTracker::m_AnesthesiaMachine
protected

◆ m_CmptMgr

SECompartmentManager& SEEngineTracker::m_CmptMgr
protected

◆ m_DataRequestMgr

SEDataRequestManager* SEEngineTracker::m_DataRequestMgr
protected

◆ m_DataTrack

DataTrack* SEEngineTracker::m_DataTrack
protected

◆ m_ECG

SESystem* SEEngineTracker::m_ECG
protected

◆ m_Environment

SEEnvironment* SEEngineTracker::m_Environment
protected

◆ m_ForceConnection

bool SEEngineTracker::m_ForceConnection
protected

◆ m_Inhaler

SESystem* SEEngineTracker::m_Inhaler
protected

◆ m_Patient

SEPatient& SEEngineTracker::m_Patient
protected

◆ m_PhysiologySystems

std::vector<SESystem*> SEEngineTracker::m_PhysiologySystems
protected

◆ m_Request2Scalar

std::map<const SEDataRequest*, SEDataRequestScalar*> SEEngineTracker::m_Request2Scalar
protected

◆ m_ResultsStream

std::ofstream SEEngineTracker::m_ResultsStream
protected

◆ m_ss

std::stringstream SEEngineTracker::m_ss
protected

◆ m_SubMgr

SESubstanceManager& SEEngineTracker::m_SubMgr
protected