#include <SEActionManager.h>

Inherits Loggable.

Public Member Functions

 SEActionManager (SESubstanceManager &)
 
 ~SEActionManager ()
 
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)
 
bool ProcessAction (const SEAction &action)
 
SEPatientActionCollectionGetPatientActions ()
 
SEEnvironmentActionCollectionGetEnvironmentActions ()
 
SEAnesthesiaMachineActionCollectionGetAnesthesiaMachineActions ()
 
SEInhalerActionCollectionGetInhalerActions ()
 
const SEPatientActionCollectionGetPatientActions () const
 
const SEEnvironmentActionCollectionGetEnvironmentActions () const
 
const SEAnesthesiaMachineActionCollectionGetAnesthesiaMachineActions () const
 
const SEInhalerActionCollectionGetInhalerActions () const
 
void GetAllActions (std::vector< const SEAction *> &v) const
 
- 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
 

Static Public Member Functions

static bool SerializeFromString (const std::string &src, std::vector< SEAction *> &dst, SerializationFormat m, SESubstanceManager &subMgr)
 

Protected Attributes

SESubstanceManagerm_Substances
 
SEPatientActionCollectionm_PatientActions
 
SEEnvironmentActionCollectionm_EnvironmentActions
 
SEAnesthesiaMachineActionCollectionm_AnesthesiaMachineActions
 
SEInhalerActionCollectionm_InhalerActions
 
std::stringstream m_ss
 
- 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

◆ SEActionManager()

SEActionManager::SEActionManager ( SESubstanceManager substances)

◆ ~SEActionManager()

SEActionManager::~SEActionManager ( )

Member Function Documentation

◆ Clear()

void SEActionManager::Clear ( )

◆ GetAllActions()

void SEActionManager::GetAllActions ( std::vector< const SEAction *> &  v) const

◆ GetAnesthesiaMachineActions() [1/2]

SEAnesthesiaMachineActionCollection& SEActionManager::GetAnesthesiaMachineActions ( )
inline

◆ GetAnesthesiaMachineActions() [2/2]

const SEAnesthesiaMachineActionCollection& SEActionManager::GetAnesthesiaMachineActions ( ) const
inline

◆ GetEnvironmentActions() [1/2]

SEEnvironmentActionCollection& SEActionManager::GetEnvironmentActions ( )
inline

◆ GetEnvironmentActions() [2/2]

const SEEnvironmentActionCollection& SEActionManager::GetEnvironmentActions ( ) const
inline

◆ GetInhalerActions() [1/2]

SEInhalerActionCollection& SEActionManager::GetInhalerActions ( )
inline

◆ GetInhalerActions() [2/2]

const SEInhalerActionCollection& SEActionManager::GetInhalerActions ( ) const
inline

◆ GetPatientActions() [1/2]

SEPatientActionCollection& SEActionManager::GetPatientActions ( )
inline

◆ GetPatientActions() [2/2]

const SEPatientActionCollection& SEActionManager::GetPatientActions ( ) const
inline

◆ ProcessAction()

bool SEActionManager::ProcessAction ( const SEAction action)

◆ SerializeFromFile()

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

◆ SerializeFromString() [1/2]

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

◆ SerializeFromString() [2/2]

bool SEActionManager::SerializeFromString ( const std::string &  src,
std::vector< SEAction *> &  dst,
SerializationFormat  m,
SESubstanceManager subMgr 
)
static

◆ SerializeToFile()

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

◆ SerializeToString()

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

Friends And Related Function Documentation

◆ PBEngine

friend class PBEngine
friend

Member Data Documentation

◆ m_AnesthesiaMachineActions

SEAnesthesiaMachineActionCollection* SEActionManager::m_AnesthesiaMachineActions
protected

◆ m_EnvironmentActions

SEEnvironmentActionCollection* SEActionManager::m_EnvironmentActions
protected

◆ m_InhalerActions

SEInhalerActionCollection* SEActionManager::m_InhalerActions
protected

◆ m_PatientActions

SEPatientActionCollection* SEActionManager::m_PatientActions
protected

◆ m_ss

std::stringstream SEActionManager::m_ss
protected

◆ m_Substances

SESubstanceManager& SEActionManager::m_Substances
protected