#include <SEScenarioExec.h>

Inherits SEEngineInitializationStatus.

Public Member Functions

 SEScenarioExecStatus ()
 
virtual ~SEScenarioExecStatus ()
 
void ForwardError (std::string const &) override
 
void ForwardFatal (std::string const &) override
 
void Clear () override
 
void ClearStatus ()
 
void Copy (const SEScenarioExecStatus &src)
 
bool SerializeToString (std::string &output, eSerializationFormat m, Logger *logger) const override
 
bool SerializeFromString (const std::string &src, eSerializationFormat m, Logger *logger) override
 
bool HasScenarioFilename () const
 
std::string GetScenarioFilename () const
 
void SetScenarioFilename (const std::string &fn)
 
eScenarioExecutionState GetScenarioExecutionState () const
 
void SetScenarioExecutionState (eScenarioExecutionState s)
 
bool HasRuntimeError () const
 
void SetRuntimeError (bool e)
 
bool HasFatalRuntimeError () const
 
void SetFatalRuntimeError (bool e)
 
double GetFinalSimulationTime_s () const
 
void SetFinalSimulationTime_s (double t)
 
- Public Member Functions inherited from SEEngineInitializationStatus
 SEEngineInitializationStatus ()
 
virtual ~SEEngineInitializationStatus ()
 
virtual void Clear ()
 
void Copy (const SEEngineInitializationStatus &src)
 
virtual bool SerializeToString (std::string &output, eSerializationFormat m, Logger *) const
 
virtual bool SerializeFromString (const std::string &src, eSerializationFormat m, Logger *)
 
eEngineInitializationState GetEngineInitializationState () const
 
void SetEngineInitializationState (eEngineInitializationState s)
 
bool HasCSVFilename () const
 
std::string GetCSVFilename () const
 
void SetCSVFilename (const std::string &fn)
 
bool HasLogFilename () const
 
std::string GetLogFilename () const
 
void SetLogFilename (const std::string &fn)
 
double GetStabilizationTime_s () const
 
void SetStabilizationTime_s (double t)
 
- Public Member Functions inherited from LoggerForward
virtual ~LoggerForward ()=default
 
virtual void ForwardDebug (std::string const &)
 
virtual void ForwardInfo (std::string const &)
 
virtual void ForwardWarning (std::string const &)
 
virtual void ForwardError (std::string const &)
 
virtual void ForwardFatal (std::string const &)
 

Static Public Member Functions

static bool SerializeToFile (const std::vector< SEScenarioExecStatus > &src, const std::string &filename, Logger *logger)
 
static bool SerializeFromFile (const std::string &filename, std::vector< SEScenarioExecStatus > &dst, Logger *logger)
 

Protected Attributes

std::string m_ScenarioFilename
 
eScenarioExecutionState m_ScenarioExecutionState
 
bool m_RuntimeError
 
bool m_FatalRuntimeError
 
double m_FinalSimulationTime_s
 
- Protected Attributes inherited from SEEngineInitializationStatus
eEngineInitializationState m_EngineInitializationState
 
std::string m_CSVFilename
 
std::string m_LogFilename
 
double m_StabilizationTime_s
 

Friends

class PBScenario
 

Constructor & Destructor Documentation

◆ SEScenarioExecStatus()

SEScenarioExecStatus::SEScenarioExecStatus ( )

◆ ~SEScenarioExecStatus()

SEScenarioExecStatus::~SEScenarioExecStatus ( )
virtual

Member Function Documentation

◆ Clear()

void SEScenarioExecStatus::Clear ( )
overridevirtual

Reimplemented from SEEngineInitializationStatus.

◆ ClearStatus()

void SEScenarioExecStatus::ClearStatus ( )

◆ Copy()

void SEScenarioExecStatus::Copy ( const SEScenarioExecStatus src)

◆ ForwardError()

void SEScenarioExecStatus::ForwardError ( std::string const &  )
inlineoverridevirtual

Reimplemented from LoggerForward.

◆ ForwardFatal()

void SEScenarioExecStatus::ForwardFatal ( std::string const &  )
inlineoverridevirtual

Reimplemented from LoggerForward.

◆ GetFinalSimulationTime_s()

double SEScenarioExecStatus::GetFinalSimulationTime_s ( ) const
inline

◆ GetScenarioExecutionState()

eScenarioExecutionState SEScenarioExecStatus::GetScenarioExecutionState ( ) const
inline

◆ GetScenarioFilename()

std::string SEScenarioExecStatus::GetScenarioFilename ( ) const
inline

◆ HasFatalRuntimeError()

bool SEScenarioExecStatus::HasFatalRuntimeError ( ) const
inline

◆ HasRuntimeError()

bool SEScenarioExecStatus::HasRuntimeError ( ) const
inline

◆ HasScenarioFilename()

bool SEScenarioExecStatus::HasScenarioFilename ( ) const
inline

◆ SerializeFromFile()

bool SEScenarioExecStatus::SerializeFromFile ( const std::string &  filename,
std::vector< SEScenarioExecStatus > &  dst,
Logger logger 
)
static

◆ SerializeFromString()

bool SEScenarioExecStatus::SerializeFromString ( const std::string &  src,
eSerializationFormat  m,
Logger logger 
)
overridevirtual

Reimplemented from SEEngineInitializationStatus.

◆ SerializeToFile()

bool SEScenarioExecStatus::SerializeToFile ( const std::vector< SEScenarioExecStatus > &  src,
const std::string &  filename,
Logger logger 
)
static

◆ SerializeToString()

bool SEScenarioExecStatus::SerializeToString ( std::string &  output,
eSerializationFormat  m,
Logger logger 
) const
overridevirtual

Reimplemented from SEEngineInitializationStatus.

◆ SetFatalRuntimeError()

void SEScenarioExecStatus::SetFatalRuntimeError ( bool  e)
inline

◆ SetFinalSimulationTime_s()

void SEScenarioExecStatus::SetFinalSimulationTime_s ( double  t)
inline

◆ SetRuntimeError()

void SEScenarioExecStatus::SetRuntimeError ( bool  e)
inline

◆ SetScenarioExecutionState()

void SEScenarioExecStatus::SetScenarioExecutionState ( eScenarioExecutionState  s)
inline

◆ SetScenarioFilename()

void SEScenarioExecStatus::SetScenarioFilename ( const std::string &  fn)
inline

Friends And Related Function Documentation

◆ PBScenario

friend class PBScenario
friend

Member Data Documentation

◆ m_FatalRuntimeError

bool SEScenarioExecStatus::m_FatalRuntimeError
protected

◆ m_FinalSimulationTime_s

double SEScenarioExecStatus::m_FinalSimulationTime_s
protected

◆ m_RuntimeError

bool SEScenarioExecStatus::m_RuntimeError
protected

◆ m_ScenarioExecutionState

eScenarioExecutionState SEScenarioExecStatus::m_ScenarioExecutionState
protected

◆ m_ScenarioFilename

std::string SEScenarioExecStatus::m_ScenarioFilename
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.