SEAutoSerialization Class Reference

#include <SEAutoSerialization.h>

Inherits Loggable.

Public Member Functions

 SEAutoSerialization (Logger *logger)
 
virtual ~SEAutoSerialization ()
 
virtual void Clear ()
 
virtual bool IsValid () const
 
virtual bool HasPeriod () const
 
virtual SEScalarTimeGetPeriod ()
 
virtual double GetPeriod (const TimeUnit &unit) const
 
virtual eSwitch GetPeriodTimeStamps () const
 
virtual void SetPeriodTimeStamps (eSwitch v)
 
virtual eSwitch GetAfterActions () const
 
virtual void SetAfterActions (eSwitch v)
 
virtual eSwitch GetReloadState () const
 
virtual void SetReloadState (eSwitch v)
 
virtual bool HasDirectory () const
 
virtual std::string GetDirectory () const
 
virtual void SetDirectory (const std::string &dir)
 
virtual void InvalidateDirectory ()
 
virtual bool HasFileName () const
 
virtual std::string GetFileName () const
 
virtual void SetFileName (const std::string &dir)
 
virtual void InvalidateFileName ()
 
- 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

SEScalarTimem_Period
 
eSwitch m_PeriodTimeStamps
 
eSwitch m_AfterActions
 
eSwitch m_ReloadState
 
std::string m_Directory
 
std::string m_FileName
 
- Protected Attributes inherited from Loggable
Loggerm_Logger
 

Friends

class PBEngine
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ SEAutoSerialization()

SEAutoSerialization::SEAutoSerialization ( Logger logger)

◆ ~SEAutoSerialization()

SEAutoSerialization::~SEAutoSerialization ( )
virtual

Member Function Documentation

◆ Clear()

void SEAutoSerialization::Clear ( )
virtual

◆ GetAfterActions()

eSwitch SEAutoSerialization::GetAfterActions ( ) const
virtual

◆ GetDirectory()

std::string SEAutoSerialization::GetDirectory ( ) const
virtual

◆ GetFileName()

std::string SEAutoSerialization::GetFileName ( ) const
virtual

◆ GetPeriod() [1/2]

SEScalarTime & SEAutoSerialization::GetPeriod ( )
virtual

◆ GetPeriod() [2/2]

double SEAutoSerialization::GetPeriod ( const TimeUnit unit) const
virtual

◆ GetPeriodTimeStamps()

eSwitch SEAutoSerialization::GetPeriodTimeStamps ( ) const
virtual

◆ GetReloadState()

eSwitch SEAutoSerialization::GetReloadState ( ) const
virtual

◆ HasDirectory()

bool SEAutoSerialization::HasDirectory ( ) const
virtual

◆ HasFileName()

bool SEAutoSerialization::HasFileName ( ) const
virtual

◆ HasPeriod()

bool SEAutoSerialization::HasPeriod ( ) const
virtual

◆ InvalidateDirectory()

void SEAutoSerialization::InvalidateDirectory ( )
virtual

◆ InvalidateFileName()

void SEAutoSerialization::InvalidateFileName ( )
virtual

◆ IsValid()

bool SEAutoSerialization::IsValid ( ) const
virtual

◆ SetAfterActions()

void SEAutoSerialization::SetAfterActions ( eSwitch  v)
virtual

◆ SetDirectory()

void SEAutoSerialization::SetDirectory ( const std::string &  dir)
virtual

◆ SetFileName()

void SEAutoSerialization::SetFileName ( const std::string &  dir)
virtual

◆ SetPeriodTimeStamps()

void SEAutoSerialization::SetPeriodTimeStamps ( eSwitch  v)
virtual

◆ SetReloadState()

void SEAutoSerialization::SetReloadState ( eSwitch  v)
virtual

Friends And Related Function Documentation

◆ PBEngine

friend class PBEngine
friend

Member Data Documentation

◆ m_AfterActions

eSwitch SEAutoSerialization::m_AfterActions
protected

◆ m_Directory

std::string SEAutoSerialization::m_Directory
protected

◆ m_FileName

std::string SEAutoSerialization::m_FileName
protected

◆ m_Period

SEScalarTime* SEAutoSerialization::m_Period
protected

◆ m_PeriodTimeStamps

eSwitch SEAutoSerialization::m_PeriodTimeStamps
protected

◆ m_ReloadState

eSwitch SEAutoSerialization::m_ReloadState
protected