Public Member Functions |
Static Public Member Functions |
Protected Attributes |
Friends |
List of all members
SEActionManager Class Reference
#include <SEActionManager.h>
Inheritance diagram for SEActionManager:
Public Member Functions | |
| SEActionManager (SESubstanceManager &subMgr) | |
| ~SEActionManager () | |
| void | Clear () |
| bool | SerializeToString (std::string &output, eSerializationFormat m) const |
| bool | SerializeToFile (const std::string &filename) const |
| bool | SerializeFromString (const std::string &src, eSerializationFormat m) |
| bool | SerializeFromFile (const std::string &filename) |
| bool | ProcessAction (const SEAction &action) |
| const SEScalar * | GetScalar (const std::string &actionName, const std::string &cmptName, const std::string &substance, const std::string &property) |
| SEPatientActionCollection & | GetPatientActions () |
| SEEnvironmentActionCollection & | GetEnvironmentActions () |
| SEEquipmentActionCollection & | GetEquipmentActions () |
| const SEPatientActionCollection & | GetPatientActions () const |
| const SEEnvironmentActionCollection & | GetEnvironmentActions () const |
| const SEEquipmentActionCollection & | GetEquipmentActions () const |
| void | GetAllActions (std::vector< const SEAction * > &v) const |
Public Member Functions inherited from Loggable | |
| Loggable (Logger *logger=nullptr) | |
| Loggable (std::string const &logfile) | |
| virtual | ~Loggable () |
| virtual Logger * | GetLogger () const |
| virtual void | SetLogger (Logger &logger) |
| virtual void | Debug (std::string const &msg) const |
| virtual void | Debug (std::stringstream &msg) const |
| virtual void | Debug (std::ostream &msg) const |
| virtual void | Info (std::string const &msg) const |
| virtual void | Info (std::stringstream &msg) const |
| virtual void | Info (const std::stringstream &msg) const |
| virtual void | Info (std::ostream &msg) const |
| virtual void | Warning (std::string const &msg) const |
| virtual void | Warning (std::stringstream &msg) const |
| virtual void | Warning (std::ostream &msg) const |
| virtual void | Error (std::string const &msg) const |
| virtual void | Error (std::stringstream &msg) const |
| virtual void | Error (std::ostream &msg) const |
| virtual void | Fatal (std::string const &msg) const |
| virtual void | Fatal (std::stringstream &msg) const |
| virtual void | Fatal (std::ostream &msg) const |
Static Public Member Functions | |
| static bool | SerializeFromString (const std::string &src, std::vector< SEAction * > &dst, eSerializationFormat m, const SESubstanceManager &subMgr) |
| static bool | SerializeFromString (const std::string &src, std::map< int, std::vector< const SEAction * >> &dst, eSerializationFormat m, const SESubstanceManager &subMgr) |
Protected Attributes | |
| SESubstanceManager & | m_SubMgr |
| SEPatientActionCollection * | m_PatientActions |
| SEEnvironmentActionCollection * | m_EnvironmentActions |
| SEEquipmentActionCollection * | m_EquipmentActions |
| std::stringstream | m_ss |
Protected Attributes inherited from Loggable | |
| bool | myLogger |
| Logger * | m_Logger |
Friends | |
| class | PBEngine |
Constructor & Destructor Documentation
◆ SEActionManager()
| SEActionManager::SEActionManager | ( | SESubstanceManager & | subMgr | ) |
◆ ~SEActionManager()
| SEActionManager::~SEActionManager | ( | ) |
Member Function Documentation
◆ Clear()
| void SEActionManager::Clear | ( | ) |
◆ GetAllActions()
| void SEActionManager::GetAllActions | ( | std::vector< const SEAction * > & | v | ) | const |
◆ GetEnvironmentActions() [1/2]
|
inline |
◆ GetEnvironmentActions() [2/2]
|
inline |
◆ GetEquipmentActions() [1/2]
|
inline |
◆ GetEquipmentActions() [2/2]
|
inline |
◆ GetPatientActions() [1/2]
|
inline |
◆ GetPatientActions() [2/2]
|
inline |
◆ GetScalar()
| const SEScalar * SEActionManager::GetScalar | ( | const std::string & | actionName, |
| const std::string & | cmptName, | ||
| const std::string & | substance, | ||
| const std::string & | property | ||
| ) |
◆ ProcessAction()
| bool SEActionManager::ProcessAction | ( | const SEAction & | action | ) |
◆ SerializeFromFile()
| bool SEActionManager::SerializeFromFile | ( | const std::string & | filename | ) |
◆ SerializeFromString() [1/3]
| bool SEActionManager::SerializeFromString | ( | const std::string & | src, |
| eSerializationFormat | m | ||
| ) |
◆ SerializeFromString() [2/3]
|
static |
◆ SerializeFromString() [3/3]
|
static |
◆ SerializeToFile()
| bool SEActionManager::SerializeToFile | ( | const std::string & | filename | ) | const |
◆ SerializeToString()
| bool SEActionManager::SerializeToString | ( | std::string & | output, |
| eSerializationFormat | m | ||
| ) | const |
Friends And Related Function Documentation
◆ PBEngine
|
friend |
Member Data Documentation
◆ m_EnvironmentActions
|
protected |
◆ m_EquipmentActions
|
protected |
◆ m_PatientActions
|
protected |
◆ m_ss
|
protected |
◆ m_SubMgr
|
protected |

Public Member Functions inherited from