Public Member Functions |
Protected Member Functions |
Protected Attributes |
Friends |
List of all members
SEScenarioExec Class Reference
#include <SEScenarioExec.h>
Inherits Loggable.
Inherited by PulseScenarioExec.
Public Member Functions | |
SEScenarioExec (Logger *logger) | |
virtual | ~SEScenarioExec () |
virtual void | Clear () |
void | Copy (const SEScenarioExec &src) |
eSwitch | LogToConsole () const |
void | LogToConsole (eSwitch s) |
virtual eRelativeSerialization | GetRelativeSerialization () const |
virtual void | SetRelativeSerialization (eRelativeSerialization rt) |
std::string | GetDataRootDirectory () const |
void | SetDataRootDirectory (const std::string &fn) |
std::string | GetOutputRootDirectory () const |
void | SetOutputRootDirectory (const std::string &d) |
eSwitch | OrganizeOutputDirectory () const |
void | OrganizeOutputDirectory (eSwitch s) |
std::string | GetScenarioContent () const |
void | SetScenarioContent (const std::string &sc) |
std::string | GetScenarioFilename () const |
void | SetScenarioFilename (const std::string &fn) |
std::string | GetScenarioDirectory () const |
void | SetScenarioDirectory (const std::string &dir) |
std::string | GetScenarioExecListFilename () const |
void | SetScenarioExecListFilename (const std::string &fn) |
std::string | GetScenarioLogFilename () const |
void | SetScenarioLogFilename (const std::string &fn) |
std::string | GetScenarioLogDirectory () const |
void | SetScenarioLogDirectory (const std::string &dir) |
std::set< std::string > & | GetDataRequestFilesSearch () |
const std::set< std::string > & | GetDataRequestFilesSearch () const |
eSerializationFormat | GetContentFormat () const |
void | SetContentFormat (eSerializationFormat s) |
int | GetThreadCount () const |
void | SetThreadCount (int c) |
std::string | GetEngineConfigurationContent () const |
void | SetEngineConfigurationContent (const std::string &ecc) |
std::string | GetEngineConfigurationFilename () const |
void | SetEngineConfigurationFilename (const std::string &fn) |
eSwitch | AutoSerializeAfterActions () const |
void | AutoSerializeAfterActions (eSwitch s) |
double | GetAutoSerializePeriod_s () const |
void | SetAutoSerializePeriod_s (double s) |
eSwitch | TimeStampSerializedStates () const |
void | TimeStampSerializedStates (eSwitch s) |
bool | SerializeToString (std::string &output, eSerializationFormat m) const |
bool | SerializeFromString (const std::string &src, eSerializationFormat m) |
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 Member Functions | |
bool | ConvertLog () |
bool | Execute (PhysiologyEngine &pe, SEScenario &sce, SEScenarioExecStatus *status=nullptr) |
bool | Process (PhysiologyEngine &pe, SEScenario &sce, SEScenarioExecStatus *status=nullptr) |
bool | ProcessActions (PhysiologyEngine &pe, SEScenario &sce, SEScenarioExecStatus *status=nullptr) |
bool | ProcessAction (PhysiologyEngine &pe, SEAction &action) |
void | AdvanceEngine (PhysiologyEngine &pe) |
Friends | |
class | PBScenario |
Constructor & Destructor Documentation
◆ SEScenarioExec()
SEScenarioExec::SEScenarioExec | ( | Logger * | logger | ) |
◆ ~SEScenarioExec()
|
virtual |
Member Function Documentation
◆ AdvanceEngine()
|
protected |
◆ AutoSerializeAfterActions() [1/2]
|
inline |
◆ AutoSerializeAfterActions() [2/2]
|
inline |
◆ Clear()
|
virtual |
Reimplemented in PulseScenarioExec.
◆ ConvertLog()
|
protected |
◆ Copy()
void SEScenarioExec::Copy | ( | const SEScenarioExec & | src | ) |
◆ Execute()
|
protected |
◆ GetAutoSerializePeriod_s()
|
inline |
◆ GetContentFormat()
|
inline |
◆ GetDataRequestFilesSearch() [1/2]
|
inline |
◆ GetDataRequestFilesSearch() [2/2]
|
inline |
◆ GetDataRootDirectory()
|
inline |
◆ GetEngineConfigurationContent()
|
inline |
◆ GetEngineConfigurationFilename()
|
inline |
◆ GetOutputRootDirectory()
|
inline |
◆ GetRelativeSerialization()
|
inlinevirtual |
◆ GetScenarioContent()
|
inline |
◆ GetScenarioDirectory()
|
inline |
◆ GetScenarioExecListFilename()
|
inline |
◆ GetScenarioFilename()
|
inline |
◆ GetScenarioLogDirectory()
|
inline |
◆ GetScenarioLogFilename()
|
inline |
◆ GetThreadCount()
|
inline |
◆ LogToConsole() [1/2]
|
inline |
◆ LogToConsole() [2/2]
|
inline |
◆ OrganizeOutputDirectory() [1/2]
|
inline |
◆ OrganizeOutputDirectory() [2/2]
|
inline |
◆ Process()
|
protected |
◆ ProcessAction()
|
protected |
This does not include advance time actions To override default functionality with those actions override the ProcessActions method
◆ ProcessActions()
|
protected |
◆ SerializeFromString()
bool SEScenarioExec::SerializeFromString | ( | const std::string & | src, |
eSerializationFormat | m | ||
) |
◆ SerializeToString()
bool SEScenarioExec::SerializeToString | ( | std::string & | output, |
eSerializationFormat | m | ||
) | const |
◆ SetAutoSerializePeriod_s()
|
inline |
◆ SetContentFormat()
|
inline |
◆ SetDataRootDirectory()
|
inline |
◆ SetEngineConfigurationContent()
|
inline |
◆ SetEngineConfigurationFilename()
|
inline |
◆ SetOutputRootDirectory()
void SEScenarioExec::SetOutputRootDirectory | ( | const std::string & | d | ) |
◆ SetRelativeSerialization()
|
inlinevirtual |
◆ SetScenarioContent()
|
inline |
◆ SetScenarioDirectory()
|
inline |
◆ SetScenarioExecListFilename()
|
inline |
◆ SetScenarioFilename()
|
inline |
◆ SetScenarioLogDirectory()
|
inline |
◆ SetScenarioLogFilename()
|
inline |
◆ SetThreadCount()
|
inline |
◆ TimeStampSerializedStates() [1/2]
|
inline |
◆ TimeStampSerializedStates() [2/2]
|
inline |
Friends And Related Function Documentation
◆ PBScenario
|
friend |
Member Data Documentation
◆ m_AutoSerializeAfterActions
|
protected |
◆ m_AutoSerializeBaseFilename
|
protected |
◆ m_AutoSerializeFilename
|
protected |
◆ m_AutoSerializeFilenameExt
|
protected |
◆ m_AutoSerializePeriod_s
|
protected |
◆ m_AutoSerializeTime_s
|
protected |
◆ m_BaseFilename
|
protected |
◆ m_ContentFormat
|
protected |
◆ m_DataRequestCSVFilename
|
protected |
◆ m_DataRequestFilesSearch
|
protected |
◆ m_DataRootDirectory
|
protected |
◆ m_EngineConfigurationContent
|
protected |
◆ m_EngineConfigurationFilename
|
protected |
◆ m_LogFilename
|
protected |
◆ m_LogToConsole
|
protected |
◆ m_OrganizeOutputDirectory
|
protected |
◆ m_OutputRootDirectory
|
protected |
◆ m_RelativeSerialization
|
protected |
◆ m_ReloadSerializedState
|
protected |
◆ m_SaveNextStep
|
protected |
◆ m_ScenarioContent
|
protected |
◆ m_ScenarioDirectory
|
protected |
◆ m_ScenarioExecListFilename
|
protected |
◆ m_ScenarioFilename
|
protected |
◆ m_ScenarioLogDirectory
|
protected |
◆ m_ScenarioLogFilename
|
protected |
◆ m_SerializationActions
|
protected |
◆ m_SerializationOutput
|
protected |
◆ m_ThreadCount
|
protected |
◆ m_TimeStampSerializedStates
|
protected |