Dataflow Runtime API
4.0.1.0
|
Event arguments which are passed when a timer is fired. More...
#include <Imt.Base.Dff.Runtime/RuntimeTimerEvent.h>
Public Member Functions | |
RuntimeTimerEvent () | |
Default Constructor. More... | |
RuntimeTimerEvent (::imt::base::core::serialization::Deserializer &deserializer) | |
Constructor from deserializer. More... | |
virtual | ~RuntimeTimerEvent () |
Destructor. More... | |
virtual uint16_t | getEventIdentifier () const |
virtual size_t | getEventSize () const |
virtual void | deserialize (::imt::base::core::serialization::Deserializer &deserializer) |
virtual void | serialize (::imt::base::core::serialization::Serializer &serializer) const |
void | setTimerIdentifier (RuntimeTimer::TimerHandle const timerHandle) |
Set the timer handle identifier which can be serialized. More... | |
RuntimeTimer::TimerHandle | getTimerIdentifier () const |
Get the timer handle identifier which has been deserialized. More... | |
bool | isEqual (RuntimeTimer::TimerHandle const timerHandle) const |
Determines whether the passed timerHandle is equal to the current event timer handle. More... | |
Public Member Functions inherited from imt::base::dff::runtime::EventIfc | |
virtual | ~EventIfc () |
Destructor. More... | |
Public Member Functions inherited from imt::base::core::serialization::SerializableIfc | |
virtual | ~SerializableIfc () |
Destructor. More... | |
virtual void | deserialize (Deserializer &deserializer)=0 |
Deserialize this object from the given deserializer. More... | |
virtual void | serialize (Serializer &serializer) const =0 |
Serialize this object into the given serializer. More... | |
Static Public Attributes | |
static uint32_t const | MAX_SERIALIZED_SIZE_BYTES = sizeof(RuntimeTimer::TimerHandle) |
Maximum serialized data bytes. More... | |
Event arguments which are passed when a timer is fired.
Protocol Identifier = RuntimeProtocolIdentifiers::TIMER
|
explicit |
Default Constructor.
|
explicit |
Constructor from deserializer.
deserializer | Deserializer. |
|
virtual |
Destructor.
|
virtual |
|
virtual |
Implements imt::base::dff::runtime::EventIfc.
|
virtual |
Implements imt::base::dff::runtime::EventIfc.
RuntimeTimer::TimerHandle imt::base::dff::runtime::RuntimeTimerEvent::getTimerIdentifier | ( | ) | const |
Get the timer handle identifier which has been deserialized.
bool imt::base::dff::runtime::RuntimeTimerEvent::isEqual | ( | RuntimeTimer::TimerHandle const | timerHandle | ) | const |
Determines whether the passed timerHandle is equal to the current event timer handle.
timerHandle | The timer handle to compare with the current event timer handle. |
|
virtual |
void imt::base::dff::runtime::RuntimeTimerEvent::setTimerIdentifier | ( | RuntimeTimer::TimerHandle const | timerHandle | ) |
Set the timer handle identifier which can be serialized.
timerHandle | Timer handle to set. |
|
static |
Maximum serialized data bytes.