This class implements the base class for all tracker events.
More...
#include <TrackerEvent.h>
|
| unsigned int | trackerId () const |
| | Returns the unique id of the tracker that sent this event.
|
| |
| std::string | typeName () const |
| | Returns the type name of this event.
|
| |
| virtual std::string | subtypeName () const =0 |
| | Returns the sub-type name of this event object.
|
| |
| virtual | ~Event () |
| | Destructs an event object.
|
| |
| unsigned int | type () const |
| | Returns the type of this event.
|
| |
| unsigned int | subtype () const |
| | Returns the sub-type of this event.
|
| |
| template<typename T > |
| const T & | cast () const |
| | Casts this event to an event with specified type.
|
| |
| template<typename T > |
| T & | cast () |
| | Casts this event to an event with specified type.
|
| |
|
| unsigned int | trackerId_ = 0u |
| | The unique tracker id of the tracker that sent this event.
|
| |
| unsigned int | eventType |
| | The type of the event.
|
| |
| unsigned int | eventSubtype |
| | The sub-type of the event.
|
| |
This class implements the base class for all tracker events.
◆ TrackerEvent()
| Ocean::Tracking::Offline::TrackerEvent::TrackerEvent |
( |
const unsigned int |
type, |
|
|
const unsigned int |
subtype, |
|
|
const unsigned int |
trackerId |
|
) |
| |
|
protected |
Creates a new tracker event object.
- Parameters
-
| type | The type of the event |
| subtype | The subtype of the event |
| trackerId | Id of the tracker that is sending this event |
◆ subtypeName()
| virtual std::string Ocean::Tracking::Offline::TrackerEvent::subtypeName |
( |
| ) |
const |
|
pure virtual |
◆ trackerId()
| unsigned int Ocean::Tracking::Offline::TrackerEvent::trackerId |
( |
| ) |
const |
|
inline |
Returns the unique id of the tracker that sent this event.
- Returns
- Unique tracker id
◆ typeName()
| std::string Ocean::Tracking::Offline::TrackerEvent::typeName |
( |
| ) |
const |
Returns the type name of this event.
- Returns
- Event type name
◆ trackerId_
| unsigned int Ocean::Tracking::Offline::TrackerEvent::trackerId_ = 0u |
|
protected |
The unique tracker id of the tracker that sent this event.
The documentation for this class was generated from the following file: