#include <PulseEngineC.h>

Inherits LoggerForward, and SEEventHandler.

Public Member Functions

 PulseEngineC (const std::string &logFile, const std::string &data_dir)
 
 ~PulseEngineC ()
 
void ForwardDebug (const std::string &msg, const std::string &origin)
 
void ForwardInfo (const std::string &msg, const std::string &origin)
 
void ForwardWarning (const std::string &msg, const std::string &origin)
 
void ForwardError (const std::string &msg, const std::string &origin)
 
void ForwardFatal (const std::string &msg, const std::string &origin)
 
void HandlePatientEvent (ePatient_Event type, bool active, const SEScalarTime *time=nullptr)
 
void HandleAnesthesiaMachineEvent (eAnesthesiaMachine_Event type, bool active, const SEScalarTime *time=nullptr)
 
void SetupDefaultDataRequests ()
 
- Public Member Functions inherited from SEEventHandler
 SEEventHandler ()
 
virtual ~SEEventHandler ()
 

Public Attributes

std::unique_ptr< PulseEngineeng
 
double * requestedData = nullptr
 

Constructor & Destructor Documentation

◆ PulseEngineC()

PulseEngineC::PulseEngineC ( const std::string &  logFile,
const std::string &  data_dir 
)

◆ ~PulseEngineC()

PulseEngineC::~PulseEngineC ( )

Member Function Documentation

◆ ForwardDebug()

void PulseEngineC::ForwardDebug ( const std::string &  msg,
const std::string &  origin 
)
virtual

Reimplemented from LoggerForward.

◆ ForwardError()

void PulseEngineC::ForwardError ( const std::string &  msg,
const std::string &  origin 
)
virtual

Reimplemented from LoggerForward.

◆ ForwardFatal()

void PulseEngineC::ForwardFatal ( const std::string &  msg,
const std::string &  origin 
)
virtual

Reimplemented from LoggerForward.

◆ ForwardInfo()

void PulseEngineC::ForwardInfo ( const std::string &  msg,
const std::string &  origin 
)
virtual

Reimplemented from LoggerForward.

◆ ForwardWarning()

void PulseEngineC::ForwardWarning ( const std::string &  msg,
const std::string &  origin 
)
virtual

Reimplemented from LoggerForward.

◆ HandleAnesthesiaMachineEvent()

void PulseEngineC::HandleAnesthesiaMachineEvent ( eAnesthesiaMachine_Event  type,
bool  active,
const SEScalarTime time = nullptr 
)
virtual

Implements SEEventHandler.

◆ HandlePatientEvent()

void PulseEngineC::HandlePatientEvent ( ePatient_Event  type,
bool  active,
const SEScalarTime time = nullptr 
)
virtual

Implements SEEventHandler.

◆ SetupDefaultDataRequests()

void PulseEngineC::SetupDefaultDataRequests ( )

Member Data Documentation

◆ eng

std::unique_ptr<PulseEngine> PulseEngineC::eng

◆ requestedData

double* PulseEngineC::requestedData = nullptr