SEDataRequestManager Class Reference

#include <SEDataRequestManager.h>

Inherits Loggable.

Public Member Functions

 SEDataRequestManager (Logger *logger)
 
 ~SEDataRequestManager ()
 
void Clear ()
 
void Copy (const SEDataRequestManager &src, const SESubstanceManager &subMgr)
 
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, const SESubstanceManager &subMgr)
 
bool SerializeFromFile (const std::string &filename, SerializationFormat m, const SESubstanceManager &subMgr)
 
bool HasResultsFilename () const
 
std::string GetResultFilename () const
 
void SetResultsFilename (const std::string &name)
 
double GetSamplesPerSecond () const
 
void SetSamplesPerSecond (double num)
 
bool HasDataRequests () const
 
const std::vector< SEDataRequest * > & GetDataRequests () const
 
virtual bool HasDefaultDecimalFormatting () const
 
virtual SEDecimalFormatGetDefaultDecimalFormatting ()
 
virtual void RemoveDefaultDecimalFormatting ()
 
virtual bool HasOverrideDecimalFormatting () const
 
virtual SEDecimalFormatGetOverrideDecimalFormatting ()
 
virtual void RemoveOverrideDecimalFormatting ()
 
SEDataRequestCopyDataRequest (const SEDataRequest &dr)
 
SEDataRequestCreateDataRequest (eDataRequest_Category category, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreatePatientDataRequest (const std::string &property, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreatePatientDataRequest (const std::string &property, const CCompoundUnit &unit, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreatePhysiologyDataRequest (const std::string &property, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreatePhysiologyDataRequest (const std::string &property, const CCompoundUnit &unit, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateEnvironmentDataRequest (const std::string &property, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateEnvironmentDataRequest (const std::string &property, const CCompoundUnit &unit, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateGasCompartmentDataRequest (const std::string &cmptName, const std::string &property, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateGasCompartmentDataRequest (const std::string &cmptName, const std::string &property, const CCompoundUnit &unit, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateGasCompartmentDataRequest (const std::string &cmptName, const SESubstance &sub, const std::string &property, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateGasCompartmentDataRequest (const std::string &cmptName, const SESubstance &sub, const std::string &property, const CCompoundUnit &unit, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateLiquidCompartmentDataRequest (const std::string &cmptName, const std::string &property, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateLiquidCompartmentDataRequest (const std::string &cmptName, const std::string &property, const CCompoundUnit &unit, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateLiquidCompartmentDataRequest (const std::string &cmptName, const SESubstance &sub, const std::string &property, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateLiquidCompartmentDataRequest (const std::string &cmptName, const SESubstance &sub, const std::string &property, const CCompoundUnit &unit, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateThermalCompartmentDataRequest (const std::string &property, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateThermalCompartmentDataRequest (const std::string &property, const CCompoundUnit &unit, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateTissueCompartmentDataRequest (const std::string &property, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateTissueCompartmentDataRequest (const std::string &property, const CCompoundUnit &unit, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateSubstanceDataRequest (const SESubstance &sub, const std::string &property, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateSubstanceDataRequest (const SESubstance &sub, const std::string &property, const CCompoundUnit &unit, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateAnesthesiaMachineDataRequest (const std::string &property, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateAnesthesiaMachineDataRequest (const std::string &property, const CCompoundUnit &unit, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateECGDataRequest (const std::string &property, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateECGDataRequest (const std::string &property, const CCompoundUnit &unit, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateInhalerDataRequest (const std::string &property, const SEDecimalFormat *dfault=nullptr)
 
SEDataRequestCreateInhalerDataRequest (const std::string &property, const CCompoundUnit &unit, const SEDecimalFormat *dfault=nullptr)
 
- 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

std::string m_ResultsFilename
 
double m_SamplesPerSecond
 
std::vector< SEDataRequest * > m_Requests
 
SEDecimalFormatm_DefaultDecimalFormatting
 
SEDecimalFormatm_OverrideDecimalFormatting
 
- 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

◆ SEDataRequestManager()

SEDataRequestManager::SEDataRequestManager ( Logger logger)

◆ ~SEDataRequestManager()

SEDataRequestManager::~SEDataRequestManager ( )

Member Function Documentation

◆ Clear()

void SEDataRequestManager::Clear ( )

◆ Copy()

void SEDataRequestManager::Copy ( const SEDataRequestManager src,
const SESubstanceManager subMgr 
)

◆ CopyDataRequest()

SEDataRequest & SEDataRequestManager::CopyDataRequest ( const SEDataRequest dr)

◆ CreateAnesthesiaMachineDataRequest() [1/2]

SEDataRequest & SEDataRequestManager::CreateAnesthesiaMachineDataRequest ( const std::string &  property,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateAnesthesiaMachineDataRequest() [2/2]

SEDataRequest & SEDataRequestManager::CreateAnesthesiaMachineDataRequest ( const std::string &  property,
const CCompoundUnit unit,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateDataRequest()

SEDataRequest & SEDataRequestManager::CreateDataRequest ( eDataRequest_Category  category,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateECGDataRequest() [1/2]

SEDataRequest & SEDataRequestManager::CreateECGDataRequest ( const std::string &  property,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateECGDataRequest() [2/2]

SEDataRequest & SEDataRequestManager::CreateECGDataRequest ( const std::string &  property,
const CCompoundUnit unit,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateEnvironmentDataRequest() [1/2]

SEDataRequest & SEDataRequestManager::CreateEnvironmentDataRequest ( const std::string &  property,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateEnvironmentDataRequest() [2/2]

SEDataRequest & SEDataRequestManager::CreateEnvironmentDataRequest ( const std::string &  property,
const CCompoundUnit unit,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateGasCompartmentDataRequest() [1/4]

SEDataRequest & SEDataRequestManager::CreateGasCompartmentDataRequest ( const std::string &  cmptName,
const std::string &  property,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateGasCompartmentDataRequest() [2/4]

SEDataRequest & SEDataRequestManager::CreateGasCompartmentDataRequest ( const std::string &  cmptName,
const std::string &  property,
const CCompoundUnit unit,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateGasCompartmentDataRequest() [3/4]

SEDataRequest & SEDataRequestManager::CreateGasCompartmentDataRequest ( const std::string &  cmptName,
const SESubstance sub,
const std::string &  property,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateGasCompartmentDataRequest() [4/4]

SEDataRequest & SEDataRequestManager::CreateGasCompartmentDataRequest ( const std::string &  cmptName,
const SESubstance sub,
const std::string &  property,
const CCompoundUnit unit,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateInhalerDataRequest() [1/2]

SEDataRequest & SEDataRequestManager::CreateInhalerDataRequest ( const std::string &  property,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateInhalerDataRequest() [2/2]

SEDataRequest & SEDataRequestManager::CreateInhalerDataRequest ( const std::string &  property,
const CCompoundUnit unit,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateLiquidCompartmentDataRequest() [1/4]

SEDataRequest & SEDataRequestManager::CreateLiquidCompartmentDataRequest ( const std::string &  cmptName,
const std::string &  property,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateLiquidCompartmentDataRequest() [2/4]

SEDataRequest & SEDataRequestManager::CreateLiquidCompartmentDataRequest ( const std::string &  cmptName,
const std::string &  property,
const CCompoundUnit unit,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateLiquidCompartmentDataRequest() [3/4]

SEDataRequest & SEDataRequestManager::CreateLiquidCompartmentDataRequest ( const std::string &  cmptName,
const SESubstance sub,
const std::string &  property,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateLiquidCompartmentDataRequest() [4/4]

SEDataRequest & SEDataRequestManager::CreateLiquidCompartmentDataRequest ( const std::string &  cmptName,
const SESubstance sub,
const std::string &  property,
const CCompoundUnit unit,
const SEDecimalFormat dfault = nullptr 
)

◆ CreatePatientDataRequest() [1/2]

SEDataRequest & SEDataRequestManager::CreatePatientDataRequest ( const std::string &  property,
const SEDecimalFormat dfault = nullptr 
)

◆ CreatePatientDataRequest() [2/2]

SEDataRequest & SEDataRequestManager::CreatePatientDataRequest ( const std::string &  property,
const CCompoundUnit unit,
const SEDecimalFormat dfault = nullptr 
)

◆ CreatePhysiologyDataRequest() [1/2]

SEDataRequest & SEDataRequestManager::CreatePhysiologyDataRequest ( const std::string &  property,
const SEDecimalFormat dfault = nullptr 
)

◆ CreatePhysiologyDataRequest() [2/2]

SEDataRequest & SEDataRequestManager::CreatePhysiologyDataRequest ( const std::string &  property,
const CCompoundUnit unit,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateSubstanceDataRequest() [1/2]

SEDataRequest & SEDataRequestManager::CreateSubstanceDataRequest ( const SESubstance sub,
const std::string &  property,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateSubstanceDataRequest() [2/2]

SEDataRequest & SEDataRequestManager::CreateSubstanceDataRequest ( const SESubstance sub,
const std::string &  property,
const CCompoundUnit unit,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateThermalCompartmentDataRequest() [1/2]

SEDataRequest & SEDataRequestManager::CreateThermalCompartmentDataRequest ( const std::string &  property,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateThermalCompartmentDataRequest() [2/2]

SEDataRequest & SEDataRequestManager::CreateThermalCompartmentDataRequest ( const std::string &  property,
const CCompoundUnit unit,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateTissueCompartmentDataRequest() [1/2]

SEDataRequest & SEDataRequestManager::CreateTissueCompartmentDataRequest ( const std::string &  property,
const SEDecimalFormat dfault = nullptr 
)

◆ CreateTissueCompartmentDataRequest() [2/2]

SEDataRequest & SEDataRequestManager::CreateTissueCompartmentDataRequest ( const std::string &  property,
const CCompoundUnit unit,
const SEDecimalFormat dfault = nullptr 
)

◆ GetDataRequests()

const std::vector<SEDataRequest*>& SEDataRequestManager::GetDataRequests ( ) const
inline

◆ GetDefaultDecimalFormatting()

SEDecimalFormat & SEDataRequestManager::GetDefaultDecimalFormatting ( )
virtual

◆ GetOverrideDecimalFormatting()

SEDecimalFormat & SEDataRequestManager::GetOverrideDecimalFormatting ( )
virtual

◆ GetResultFilename()

std::string SEDataRequestManager::GetResultFilename ( ) const
inline

◆ GetSamplesPerSecond()

double SEDataRequestManager::GetSamplesPerSecond ( ) const
inline

◆ HasDataRequests()

bool SEDataRequestManager::HasDataRequests ( ) const
inline

◆ HasDefaultDecimalFormatting()

bool SEDataRequestManager::HasDefaultDecimalFormatting ( ) const
virtual

◆ HasOverrideDecimalFormatting()

bool SEDataRequestManager::HasOverrideDecimalFormatting ( ) const
virtual

◆ HasResultsFilename()

bool SEDataRequestManager::HasResultsFilename ( ) const
inline

◆ RemoveDefaultDecimalFormatting()

void SEDataRequestManager::RemoveDefaultDecimalFormatting ( )
virtual

◆ RemoveOverrideDecimalFormatting()

void SEDataRequestManager::RemoveOverrideDecimalFormatting ( )
virtual

◆ SerializeFromFile()

bool SEDataRequestManager::SerializeFromFile ( const std::string &  filename,
SerializationFormat  m,
const SESubstanceManager subMgr 
)

◆ SerializeFromString()

bool SEDataRequestManager::SerializeFromString ( const std::string &  src,
SerializationFormat  m,
const SESubstanceManager subMgr 
)

◆ SerializeToFile()

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

◆ SerializeToString()

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

◆ SetResultsFilename()

void SEDataRequestManager::SetResultsFilename ( const std::string &  name)
inline

◆ SetSamplesPerSecond()

void SEDataRequestManager::SetSamplesPerSecond ( double  num)
inline

Friends And Related Function Documentation

◆ PBEngine

friend class PBEngine
friend

Member Data Documentation

◆ m_DefaultDecimalFormatting

SEDecimalFormat* SEDataRequestManager::m_DefaultDecimalFormatting
protected

◆ m_OverrideDecimalFormatting

SEDecimalFormat* SEDataRequestManager::m_OverrideDecimalFormatting
protected

◆ m_Requests

std::vector<SEDataRequest*> SEDataRequestManager::m_Requests
protected

◆ m_ResultsFilename

std::string SEDataRequestManager::m_ResultsFilename
protected

◆ m_SamplesPerSecond

double SEDataRequestManager::m_SamplesPerSecond
protected