The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.

#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

◆ GetEvent()

eEvent SEActiveEvent::GetEvent ( ) const

◆ SerializeFromString()

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

◆ SerializeToString()

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

Member Data Documentation

◆ m_Duration

SEScalarTime SEActiveEvent::m_Duration

◆ m_Event

eEvent SEActiveEvent::m_Event

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.