A Pulse specific scenario (i.e. holds a Pulse configuration object) More...

#include <PulseScenario.h>

Inherits SEScenario.

Public Member Functions

 PulseScenario (SESubstanceManager &subMgr)
 
virtual ~PulseScenario ()
 
virtual 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)
 
virtual PulseConfigurationGetConfiguration ()
 
virtual const PulseConfigurationGetConfiguration () const
 
virtual bool HasConfiguration () const
 
virtual void InvalidateConfiguration ()
 
- Public Member Functions inherited from SEScenario
 SEScenario (SESubstanceManager &subMgr)
 
virtual ~SEScenario ()
 
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 IsValid () const
 
virtual std::string GetName () const
 
virtual void SetName (const std::string &name)
 
virtual bool HasName () const
 
virtual void InvalidateName ()
 
virtual std::string GetDescription () const
 
virtual void SetDescription (const std::string &desc)
 
virtual bool HasDescription () const
 
virtual void InvalidateDescription ()
 
virtual std::string GetEngineStateFile () const
 
virtual void SetEngineStateFile (const std::string &file)
 
virtual bool HasEngineStateFile () const
 
virtual void InvalidateEngineStateFile ()
 
virtual SEPatientConfigurationGetPatientConfiguration ()
 
virtual const SEPatientConfigurationGetPatientConfiguration () const
 
virtual bool HasPatientConfiguration () const
 
virtual void InvalidatePatientConfiguration ()
 
virtual void AddAction (const SEAction &action)
 
virtual const std::vector< const SEAction * > & GetActions () const
 
virtual SEDataRequestManagerGetDataRequestManager ()
 
virtual const SEDataRequestManagerGetDataRequestManager () 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
 

Protected Attributes

PulseConfigurationm_Configuration
 
- Protected Attributes inherited from SEScenario
SESubstanceManagerm_SubMgr
 
std::string m_Name
 
std::string m_Description
 
std::string m_EngineStateFile
 
SEPatientConfigurationm_PatientConfiguration
 
SEDataRequestManagerm_DataRequestMgr
 
std::vector< const SEAction * > m_Actions
 
- Protected Attributes inherited from Loggable
Loggerm_Logger
 

Friends

class PBPulse
 

Additional Inherited Members

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

Detailed Description

A Pulse specific scenario (i.e. holds a Pulse configuration object)

Constructor & Destructor Documentation

◆ PulseScenario()

PulseScenario::PulseScenario ( SESubstanceManager subMgr)

◆ ~PulseScenario()

PulseScenario::~PulseScenario ( )
virtual

Member Function Documentation

◆ Clear()

void PulseScenario::Clear ( )
virtual

Reimplemented from SEScenario.

◆ GetConfiguration() [1/2]

PulseConfiguration & PulseScenario::GetConfiguration ( )
virtual

◆ GetConfiguration() [2/2]

const PulseConfiguration * PulseScenario::GetConfiguration ( ) const
virtual

◆ HasConfiguration()

bool PulseScenario::HasConfiguration ( ) const
virtual

◆ InvalidateConfiguration()

void PulseScenario::InvalidateConfiguration ( )
virtual

◆ SerializeFromFile()

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

◆ SerializeFromString()

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

◆ SerializeToFile()

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

◆ SerializeToString()

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

Friends And Related Function Documentation

◆ PBPulse

friend class PBPulse
friend

Member Data Documentation

◆ m_Configuration

PulseConfiguration* PulseScenario::m_Configuration
protected