#include <SEScenario.h>

Inherits Loggable.

Public Member Functions

 SEScenario (Logger *logger=nullptr, 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 SEPatientConfigurationGetPatientConfiguration ()
 
virtual const SEPatientConfigurationGetPatientConfiguration () 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 SEDataRequestManagerGetDataRequestManager ()
 
virtual const SEDataRequestManagerGetDataRequestManager () const
 
virtual SESubstanceManagerGetSubstanceManager ()
 
virtual const SESubstanceManagerGetSubstanceManager () const
 
- Public Member Functions inherited from Loggable
 Loggable (Logger *logger=nullptr)
 
 Loggable (std::string const &logfile)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () const
 
virtual void SetLogger (Logger &logger)
 
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

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

Friends

class PBScenario
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ SEScenario()

SEScenario::SEScenario ( Logger logger = nullptr,
std::string const &  dataDir = "./" 
)

◆ ~SEScenario()

SEScenario::~SEScenario ( )
virtual

Member Function Documentation

◆ AddAction()

void SEScenario::AddAction ( const SEAction action)
virtual

◆ Clear()

void SEScenario::Clear ( )
virtual

◆ Copy()

void SEScenario::Copy ( const SEScenario src)
virtual

◆ GetActions() [1/2]

const std::vector< SEAction * > & SEScenario::GetActions ( )
virtual

◆ GetActions() [2/2]

const std::vector< const SEAction * > & SEScenario::GetActions ( ) const
virtual

◆ GetDataRequestManager() [1/2]

virtual SEDataRequestManager& SEScenario::GetDataRequestManager ( )
inlinevirtual

◆ GetDataRequestManager() [2/2]

virtual const SEDataRequestManager& SEScenario::GetDataRequestManager ( ) const
inlinevirtual

◆ GetDescription()

std::string SEScenario::GetDescription ( ) const
virtual

◆ GetEngineStateFile()

std::string SEScenario::GetEngineStateFile ( ) const
virtual

◆ GetName()

std::string SEScenario::GetName ( ) const
virtual

◆ GetPatientConfiguration() [1/2]

SEPatientConfiguration & SEScenario::GetPatientConfiguration ( )
virtual

◆ GetPatientConfiguration() [2/2]

const SEPatientConfiguration * SEScenario::GetPatientConfiguration ( ) const
virtual

◆ GetSubstanceManager() [1/2]

virtual SESubstanceManager& SEScenario::GetSubstanceManager ( )
inlinevirtual

◆ GetSubstanceManager() [2/2]

virtual const SESubstanceManager& SEScenario::GetSubstanceManager ( ) const
inlinevirtual

◆ HasDescription()

bool SEScenario::HasDescription ( ) const
virtual

◆ HasEngineStateFile()

bool SEScenario::HasEngineStateFile ( ) const
virtual

◆ HasName()

bool SEScenario::HasName ( ) const
virtual

◆ HasPatientConfiguration()

bool SEScenario::HasPatientConfiguration ( ) const
virtual

◆ IsValid()

bool SEScenario::IsValid ( ) const

◆ 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()

void SEScenario::SetDescription ( const std::string &  desc)
virtual

◆ SetEngineStateFile()

void SEScenario::SetEngineStateFile ( const std::string &  file)
virtual

◆ SetName()

void SEScenario::SetName ( const std::string &  name)
virtual

Friends And Related Function Documentation

◆ PBScenario

friend class PBScenario
friend

Member Data Documentation

◆ m_Actions

std::vector<SEAction*> SEScenario::m_Actions
protected

◆ m_DataRequestMgr

SEDataRequestManager* SEScenario::m_DataRequestMgr
protected

◆ m_Description

std::string SEScenario::m_Description
protected

◆ m_EngineStateFile

std::string SEScenario::m_EngineStateFile
protected

◆ m_Name

std::string SEScenario::m_Name
protected

◆ m_PatientConfiguration

SEPatientConfiguration* SEScenario::m_PatientConfiguration
protected

◆ m_SubMgr

SESubstanceManager* SEScenario::m_SubMgr
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.