![]() |
Dataflow Runtime API
2.7.4.0
|
Event arguments which are passed when a timer is fired. More...
#include <Imt.Base.Dff.Runtime/RuntimeTimerEvent.h>
Public Member Functions | |
RuntimeTimerEvent (void) | |
Default Constructor. | |
RuntimeTimerEvent (imt::base::core::serialization::Deserializer &deserializer) | |
Constructor from deserializer. More... | |
virtual | ~RuntimeTimerEvent (void) |
Destructor. | |
virtual void | deserialize (imt::base::core::serialization::Deserializer &deserializer) |
virtual void | serialize (imt::base::core::serialization::Serializer &serializer) const |
void | setTimerIdentifier (const RuntimeTimer::TimerHandle timerHandle) |
Set the timer handle identifier which can be serialized. More... | |
RuntimeTimer::TimerHandle | getTimerIdentifier (void) const |
Get the timer handle identifier which has been deserialized. More... | |
bool | isEqual (const RuntimeTimer::TimerHandle timerHandle) const |
Determines whether the passed timerHandle is equal to the current event timer handle. More... | |
![]() | |
virtual | ~SerializableIfc (void) |
Destructor. | |
Static Public Attributes | |
static const uint32_t | MAX_SERIALIZED_SIZE_BYTES = sizeof(RuntimeTimer::TimerHandle) |
Maximum serialized data bytes. | |
Event arguments which are passed when a timer is fired.
Protocol Identifier = RuntimeProtocolIdentifiers::TIMER
|
explicit |
Constructor from deserializer.
deserializer | Deserializer. |
|
virtual |
Implements imt::base::core::serialization::SerializableIfc.
RuntimeTimer::TimerHandle imt::base::dff::runtime::RuntimeTimerEvent::getTimerIdentifier | ( | void | ) | const |
Get the timer handle identifier which has been deserialized.
bool imt::base::dff::runtime::RuntimeTimerEvent::isEqual | ( | const RuntimeTimer::TimerHandle | 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 |
Implements imt::base::core::serialization::SerializableIfc.
void imt::base::dff::runtime::RuntimeTimerEvent::setTimerIdentifier | ( | const RuntimeTimer::TimerHandle | timerHandle | ) |
Set the timer handle identifier which can be serialized.
timerHandle | Timer handle to set. |