Imt.Base C++ API V4.1.1.0
Loading...
Searching...
No Matches
imt::base::dff::runtime::EventIfc Class Referenceabstract

Interface for any event data. More...

#include <Imt.Base.Dff.Runtime/inc/Imt.Base.Dff.Runtime/EventIfc.h>

Inheritance diagram for imt::base::dff::runtime::EventIfc:
imt::base::core::serialization::SerializableIfc imt::base::dff::runtime::RuntimeTimerEvent

Public Member Functions

virtual uint16_t getEventIdentifier () const =0
 Get the event identifier.
 
virtual size_t getEventSize () const =0
 Get the size of this event data in bytes.
 
- Public Member Functions inherited from imt::base::core::serialization::SerializableIfc
virtual void deserialize (Deserializer &buffer)=0
 Deserialize this object from the given deserialize.
 
virtual void serialize (Serializer &buffer) const =0
 Serialize this object into the given serializer.
 

Protected Member Functions

 EventIfc () noexcept=default
 
 EventIfc (EventIfc const &) noexcept=default
 
 EventIfc (EventIfc &&) noexcept=default
 
 ~EventIfc () noexcept=default
 
EventIfcoperator= (EventIfc const &) &noexcept=default
 
EventIfcoperator= (EventIfc &&) &noexcept=default
 
- Protected Member Functions inherited from imt::base::core::serialization::SerializableIfc
 SerializableIfc () noexcept=default
 
 SerializableIfc (SerializableIfc const &) noexcept=default
 
 SerializableIfc (SerializableIfc &&) noexcept=default
 
 ~SerializableIfc () noexcept=default
 
SerializableIfcoperator= (SerializableIfc const &) &noexcept=default
 
SerializableIfcoperator= (SerializableIfc &&) &noexcept=default
 

Detailed Description

Interface for any event data.

This interface can be used to keep ownership of an event data object and delete it at the end of its lifetime. As an extension of a serializable object, events can be copied and moved.

Definition at line 53 of file EventIfc.h.

Constructor & Destructor Documentation

◆ EventIfc() [1/3]

imt::base::dff::runtime::EventIfc::EventIfc ( )
protecteddefaultnoexcept

◆ EventIfc() [2/3]

imt::base::dff::runtime::EventIfc::EventIfc ( EventIfc const &  )
protecteddefaultnoexcept

◆ EventIfc() [3/3]

imt::base::dff::runtime::EventIfc::EventIfc ( EventIfc &&  )
protecteddefaultnoexcept

◆ ~EventIfc()

imt::base::dff::runtime::EventIfc::~EventIfc ( )
protecteddefaultnoexcept

Member Function Documentation

◆ getEventIdentifier()

virtual uint16_t imt::base::dff::runtime::EventIfc::getEventIdentifier ( ) const
pure virtual

Get the event identifier.

Returns
Event identifier as 2 byte unsigned integer.

Implemented in imt::base::dff::runtime::RuntimeTimerEvent.

◆ getEventSize()

virtual size_t imt::base::dff::runtime::EventIfc::getEventSize ( ) const
pure virtual

Get the size of this event data in bytes.

Returns
Number of bytes > 0.

Implemented in imt::base::dff::runtime::RuntimeTimerEvent.

◆ operator=() [1/2]

EventIfc & imt::base::dff::runtime::EventIfc::operator= ( EventIfc &&  ) &
protecteddefaultnoexcept

◆ operator=() [2/2]

EventIfc & imt::base::dff::runtime::EventIfc::operator= ( EventIfc const &  ) &
protecteddefaultnoexcept

The documentation for this class was generated from the following file: