SEScenario Class Reference
#include <SEScenario.h>
Inherits Loggable.
Inherited by PulseScenario.
Public Member Functions | |
SEScenario (std::string const &dataDir="./") | |
SEScenario (Logger *logger, std::string const &dataDir="./") | |
virtual | ~SEScenario () |
virtual void | Clear () |
virtual void | Copy (const SEScenario &src) |
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 | IsValid () const |
virtual std::string | GetName () const |
virtual void | SetName (const std::string &name) |
virtual bool | HasName () const |
virtual std::string | GetDescription () const |
virtual void | SetDescription (const std::string &desc) |
virtual bool | HasDescription () const |
virtual std::string | GetEngineStateFile () const |
virtual void | SetEngineStateFile (const std::string &file) |
virtual bool | HasEngineStateFile () const |
virtual SEPatientConfiguration & | GetPatientConfiguration () |
virtual const SEPatientConfiguration * | GetPatientConfiguration () const |
virtual bool | HasPatientConfiguration () const |
virtual void | AddAction (const SEAction &action) |
virtual const std::vector< SEAction * > & | GetActions () |
virtual const std::vector< const SEAction * > | GetActions () const |
virtual SEDataRequestManager & | GetDataRequestManager () |
virtual const SEDataRequestManager & | GetDataRequestManager () const |
virtual std::vector< std::string > & | GetDataRequestFiles () |
virtual const std::vector< std::string > & | GetDataRequestFiles () const |
virtual SESubstanceManager & | GetSubstanceManager () |
virtual const SESubstanceManager & | GetSubstanceManager () const |
virtual bool | ProcessDataRequestFiles (const std::set< std::string > &search) |
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 |
Protected Attributes | |
SESubstanceManager * | m_SubMgr |
std::string | m_Name |
std::string | m_Description |
std::string | m_EngineStateFile |
SEPatientConfiguration * | m_PatientConfiguration |
SEDataRequestManager * | m_DataRequestMgr |
std::vector< std::string > | m_DataRequestFiles |
std::vector< SEAction * > | m_Actions |
Protected Attributes inherited from Loggable | |
bool | myLogger |
Logger * | m_Logger |
Friends | |
class | PBScenario |
Constructor & Destructor Documentation
◆ SEScenario() [1/2]
SEScenario::SEScenario | ( | std::string const & | dataDir = "./" | ) |
◆ SEScenario() [2/2]
SEScenario::SEScenario | ( | Logger * | logger, |
std::string const & | dataDir = "./" |
||
) |
◆ ~SEScenario()
|
virtual |
Member Function Documentation
◆ AddAction()
|
virtual |
◆ Clear()
|
virtual |
Reimplemented in PulseScenario.
◆ Copy()
|
virtual |
Reimplemented in PulseScenario.
◆ GetActions() [1/2]
|
virtual |
◆ GetActions() [2/2]
|
virtual |
◆ GetDataRequestFiles() [1/2]
|
inlinevirtual |
◆ GetDataRequestFiles() [2/2]
|
inlinevirtual |
◆ GetDataRequestManager() [1/2]
|
inlinevirtual |
◆ GetDataRequestManager() [2/2]
|
inlinevirtual |
◆ GetDescription()
|
virtual |
◆ GetEngineStateFile()
|
virtual |
◆ GetName()
|
virtual |
◆ GetPatientConfiguration() [1/2]
|
virtual |
◆ GetPatientConfiguration() [2/2]
|
virtual |
◆ GetSubstanceManager() [1/2]
|
inlinevirtual |
◆ GetSubstanceManager() [2/2]
|
inlinevirtual |
◆ HasDescription()
|
virtual |
◆ HasEngineStateFile()
|
virtual |
◆ HasName()
|
virtual |
◆ HasPatientConfiguration()
|
virtual |
◆ IsValid()
bool SEScenario::IsValid | ( | ) | const |
◆ ProcessDataRequestFiles()
|
virtual |
◆ SerializeFromFile()
bool SEScenario::SerializeFromFile | ( | const std::string & | filename | ) |
◆ SerializeFromString()
bool SEScenario::SerializeFromString | ( | const std::string & | src, |
eSerializationFormat | m | ||
) |
◆ SerializeToFile()
bool SEScenario::SerializeToFile | ( | const std::string & | filename | ) | const |
◆ SerializeToString()
bool SEScenario::SerializeToString | ( | std::string & | output, |
eSerializationFormat | m | ||
) | const |
◆ SetDescription()
|
virtual |
◆ SetEngineStateFile()
|
virtual |
◆ SetName()
|
virtual |
Friends And Related Function Documentation
◆ PBScenario
|
friend |
Member Data Documentation
◆ m_Actions
|
protected |
◆ m_DataRequestFiles
|
protected |
◆ m_DataRequestMgr
|
protected |
◆ m_Description
|
protected |
◆ m_EngineStateFile
|
protected |
◆ m_Name
|
protected |
◆ m_PatientConfiguration
|
protected |
◆ m_SubMgr
|
protected |