#include <SEEventManager.h>

Public Member Functions

 SEEventChange (eEvent e, bool active, const SEScalarTime *simTime=nullptr)
 
eEvent GetEvent () const
 
bool GetActive () const
 
const SEScalarTimeGetSimTime () const
 

Static Public Member Functions

static bool SerializeToString (std::vector< const SEEventChange * > &changes, std::string &output, eSerializationFormat m, Logger *logger)
 
static bool SerializeFromString (const std::string &src, std::vector< const SEEventChange * > &changes, eSerializationFormat m, Logger *logger)
 

Protected Attributes

bool m_Active
 
eEvent m_Event
 
SEScalarTime m_SimTime
 

Constructor & Destructor Documentation

◆ SEEventChange()

SEEventChange::SEEventChange ( eEvent  e,
bool  active,
const SEScalarTime simTime = nullptr 
)

Member Function Documentation

◆ GetActive()

bool SEEventChange::GetActive ( ) const
inline

◆ GetEvent()

eEvent SEEventChange::GetEvent ( ) const
inline

◆ GetSimTime()

const SEScalarTime & SEEventChange::GetSimTime ( ) const
inline

◆ SerializeFromString()

bool SEEventChange::SerializeFromString ( const std::string &  src,
std::vector< const SEEventChange * > &  changes,
eSerializationFormat  m,
Logger logger 
)
static

◆ SerializeToString()

bool SEEventChange::SerializeToString ( std::vector< const SEEventChange * > &  changes,
std::string &  output,
eSerializationFormat  m,
Logger logger 
)
static

Member Data Documentation

◆ m_Active

bool SEEventChange::m_Active
protected

◆ m_Event

eEvent SEEventChange::m_Event
protected

◆ m_SimTime

SEScalarTime SEEventChange::m_SimTime
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.