#include <SEScenarioExec.h>

Inherits Loggable.

Inherited by PulseScenarioExec.

Public Member Functions

 SEScenarioExec (PhysiologyEngine &engine)
 
virtual ~SEScenarioExec ()
 
virtual PhysiologyEngineGetEngine ()
 
virtual void Cancel ()
 
virtual bool Execute (const std::string &scenarioFile, const std::string &resultsFile)
 
virtual bool Execute (const SEScenario &scenario, const std::string &resultsFile)
 
- 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 Member Functions

virtual bool ProcessActions (const SEScenario &scenario)
 
virtual bool ProcessAction (const SEAction &action)
 
virtual void AdvanceEngine ()
 

Protected Attributes

bool m_Cancel
 
PhysiologyEnginem_Engine
 
const SEEngineConfigurationm_EngineConfiguration
 
std::stringstream m_ss
 
- Protected Attributes inherited from Loggable
Loggerm_Logger
 

Additional Inherited Members

- Static Public Attributes inherited from Loggable
static const std::string empty
 

Constructor & Destructor Documentation

◆ SEScenarioExec()

SEScenarioExec::SEScenarioExec ( PhysiologyEngine engine)

◆ ~SEScenarioExec()

SEScenarioExec::~SEScenarioExec ( )
virtual

Member Function Documentation

◆ AdvanceEngine()

void SEScenarioExec::AdvanceEngine ( )
protectedvirtual

Reimplemented in PulseScenarioExec.

◆ Cancel()

void SEScenarioExec::Cancel ( )
virtual

◆ Execute() [1/2]

bool SEScenarioExec::Execute ( const std::string &  scenarioFile,
const std::string &  resultsFile 
)
virtual

Reimplemented in PulseScenarioExec.

◆ Execute() [2/2]

bool SEScenarioExec::Execute ( const SEScenario scenario,
const std::string &  resultsFile 
)
virtual

◆ GetEngine()

virtual PhysiologyEngine& SEScenarioExec::GetEngine ( )
inlinevirtual

◆ ProcessAction()

bool SEScenarioExec::ProcessAction ( const SEAction action)
protectedvirtual

This does not include advance time actions To override default functionality with those actions override the ProcessActions method

Reimplemented in PulseScenarioExec.

◆ ProcessActions()

bool SEScenarioExec::ProcessActions ( const SEScenario scenario)
protectedvirtual

Reimplemented in PulseScenarioExec.

Member Data Documentation

◆ m_Cancel

bool SEScenarioExec::m_Cancel
protected

◆ m_Engine

PhysiologyEngine& SEScenarioExec::m_Engine
protected

◆ m_EngineConfiguration

const SEEngineConfiguration* SEScenarioExec::m_EngineConfiguration
protected

◆ m_ss

std::stringstream SEScenarioExec::m_ss
protected