#include <SEEngineInitialization.h>

Inherits Loggable.

Public Member Functions

 SEEngineInitialization (Logger *logger=nullptr)
 
virtual ~SEEngineInitialization ()
 
 SEEngineInitialization (const SEEngineInitialization &)=delete
 
SEEngineInitialization operator= (const SEEngineInitialization &)=delete
 
virtual void Copy (const SEEngineInitialization &from, const SESubstanceManager &subMgr)
 
virtual void Clear ()
 
bool SerializeToString (std::string &output, eSerializationFormat m) const
 
bool SerializeFromString (const std::string &src, eSerializationFormat m, const SESubstanceManager &subMgr)
 
virtual bool IsValid () const
 
virtual int GetID () const
 
virtual void SetID (int id)
 
virtual bool HasPatientConfiguration () const
 
virtual SEPatientConfigurationGetPatientConfiguration ()
 
virtual const SEPatientConfigurationGetPatientConfiguration () const
 
virtual bool HasStateFilename () const
 
virtual std::string GetStateFilename () const
 
virtual void SetStateFilename (const std::string &filename)
 
virtual bool HasState () const
 
virtual std::string GetState () const
 
virtual void SetState (const std::string &s, eSerializationFormat fmt)
 
virtual eSerializationFormat GetStateFormat () const
 
virtual bool HasDataRequestManager () const
 
virtual SEDataRequestManagerGetDataRequestManager ()
 
virtual const SEDataRequestManagerGetDataRequestManager () const
 
virtual bool HasLogFilename () const
 
virtual std::string GetLogFilename () const
 
virtual void SetLogFilename (const std::string &filename)
 
virtual bool KeepLogMessages () const
 
virtual void KeepLogMessages (bool b)
 
virtual bool KeepEventChanges () const
 
virtual void KeepEventChanges (bool b)
 
- 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
 

Static Public Member Functions

static bool SerializeFromString (const std::string &src, std::vector< SEEngineInitialization *> &dst, eSerializationFormat m, const SESubstanceManager &subMgr)
 

Protected Attributes

int m_ID
 
SEPatientConfigurationm_PatientConfiguration
 
std::string m_StateFilename
 
std::string m_State
 
eSerializationFormat m_StateFormat
 
SEDataRequestManagerm_DataRequestManager
 
std::string m_LogFilename
 
bool m_KeepLogMessages
 
bool m_KeepEventChanges
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Friends

class PBEngine
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ SEEngineInitialization() [1/2]

SEEngineInitialization::SEEngineInitialization ( Logger logger = nullptr)
explicit

◆ ~SEEngineInitialization()

SEEngineInitialization::~SEEngineInitialization ( )
virtual

◆ SEEngineInitialization() [2/2]

SEEngineInitialization::SEEngineInitialization ( const SEEngineInitialization )
delete

Member Function Documentation

◆ Clear()

void SEEngineInitialization::Clear ( )
virtual

◆ Copy()

void SEEngineInitialization::Copy ( const SEEngineInitialization from,
const SESubstanceManager subMgr 
)
virtual

◆ GetDataRequestManager() [1/2]

SEDataRequestManager & SEEngineInitialization::GetDataRequestManager ( )
virtual

◆ GetDataRequestManager() [2/2]

const SEDataRequestManager * SEEngineInitialization::GetDataRequestManager ( ) const
virtual

◆ GetID()

int SEEngineInitialization::GetID ( ) const
virtual

◆ GetLogFilename()

std::string SEEngineInitialization::GetLogFilename ( ) const
virtual

◆ GetPatientConfiguration() [1/2]

SEPatientConfiguration & SEEngineInitialization::GetPatientConfiguration ( )
virtual

◆ GetPatientConfiguration() [2/2]

const SEPatientConfiguration * SEEngineInitialization::GetPatientConfiguration ( ) const
virtual

◆ GetState()

std::string SEEngineInitialization::GetState ( ) const
virtual

◆ GetStateFilename()

std::string SEEngineInitialization::GetStateFilename ( ) const
virtual

◆ GetStateFormat()

eSerializationFormat SEEngineInitialization::GetStateFormat ( ) const
virtual

◆ HasDataRequestManager()

bool SEEngineInitialization::HasDataRequestManager ( ) const
virtual

◆ HasLogFilename()

bool SEEngineInitialization::HasLogFilename ( ) const
virtual

◆ HasPatientConfiguration()

bool SEEngineInitialization::HasPatientConfiguration ( ) const
virtual

◆ HasState()

bool SEEngineInitialization::HasState ( ) const
virtual

◆ HasStateFilename()

bool SEEngineInitialization::HasStateFilename ( ) const
virtual

◆ IsValid()

bool SEEngineInitialization::IsValid ( ) const
virtual

◆ KeepEventChanges() [1/2]

bool SEEngineInitialization::KeepEventChanges ( ) const
virtual

◆ KeepEventChanges() [2/2]

void SEEngineInitialization::KeepEventChanges ( bool  b)
virtual

◆ KeepLogMessages() [1/2]

bool SEEngineInitialization::KeepLogMessages ( ) const
virtual

◆ KeepLogMessages() [2/2]

void SEEngineInitialization::KeepLogMessages ( bool  b)
virtual

◆ operator=()

SEEngineInitialization SEEngineInitialization::operator= ( const SEEngineInitialization )
delete

◆ SerializeFromString() [1/2]

bool SEEngineInitialization::SerializeFromString ( const std::string &  src,
eSerializationFormat  m,
const SESubstanceManager subMgr 
)

◆ SerializeFromString() [2/2]

bool SEEngineInitialization::SerializeFromString ( const std::string &  src,
std::vector< SEEngineInitialization *> &  dst,
eSerializationFormat  m,
const SESubstanceManager subMgr 
)
static

◆ SerializeToString()

bool SEEngineInitialization::SerializeToString ( std::string &  output,
eSerializationFormat  m 
) const

◆ SetID()

void SEEngineInitialization::SetID ( int  id)
virtual

◆ SetLogFilename()

void SEEngineInitialization::SetLogFilename ( const std::string &  filename)
virtual

◆ SetState()

void SEEngineInitialization::SetState ( const std::string &  s,
eSerializationFormat  fmt 
)
virtual

◆ SetStateFilename()

void SEEngineInitialization::SetStateFilename ( const std::string &  filename)
virtual

Friends And Related Function Documentation

◆ PBEngine

friend class PBEngine
friend

Member Data Documentation

◆ m_DataRequestManager

SEDataRequestManager* SEEngineInitialization::m_DataRequestManager
protected

◆ m_ID

int SEEngineInitialization::m_ID
protected

◆ m_KeepEventChanges

bool SEEngineInitialization::m_KeepEventChanges
protected

◆ m_KeepLogMessages

bool SEEngineInitialization::m_KeepLogMessages
protected

◆ m_LogFilename

std::string SEEngineInitialization::m_LogFilename
protected

◆ m_PatientConfiguration

SEPatientConfiguration* SEEngineInitialization::m_PatientConfiguration
protected

◆ m_State

std::string SEEngineInitialization::m_State
protected

◆ m_StateFilename

std::string SEEngineInitialization::m_StateFilename
protected

◆ m_StateFormat

eSerializationFormat SEEngineInitialization::m_StateFormat
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.