#include <SEEventManager.h>

Public Member Functions

 SEActiveEvent (eEvent e, const SEScalarTime &duration)
 
 SEActiveEvent (eEvent e, double duration, const TimeUnit &unit)
 
eEvent GetEvent () const
 
const SEScalarTimeGetDuration () const
 

Static Public Member Functions

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

Protected Attributes

eEvent m_Event
 
SEScalarTime m_Duration
 

Constructor & Destructor Documentation

◆ SEActiveEvent() [1/2]

SEActiveEvent::SEActiveEvent ( eEvent  e,
const SEScalarTime duration 
)

◆ SEActiveEvent() [2/2]

SEActiveEvent::SEActiveEvent ( eEvent  e,
double  duration,
const TimeUnit unit 
)

Member Function Documentation

◆ GetDuration()

const SEScalarTime & SEActiveEvent::GetDuration ( ) const
inline

◆ GetEvent()

eEvent SEActiveEvent::GetEvent ( ) const
inline

◆ SerializeFromString()

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

◆ SerializeToString()

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

Member Data Documentation

◆ m_Duration

SEScalarTime SEActiveEvent::m_Duration
protected

◆ m_Event

eEvent SEActiveEvent::m_Event
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.