This class implements a progress event for tracking components.
More...
#include <TrackerEvent.h>
|
| TrackingProgressEvent (const unsigned int trackerId, const unsigned int componentProgress) |
| Creates a new progress event object.
|
|
std::string | subtypeName () const override |
| Returns the sub-type name of this event object.
|
|
unsigned int | componentProgress () const |
| Returns the progress of a component in percent.
|
|
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 | ~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.
|
|
This class implements a progress event for tracking components.
◆ TrackingProgressEvent()
Ocean::Tracking::Offline::TrackingProgressEvent::TrackingProgressEvent |
( |
const unsigned int |
trackerId, |
|
|
const unsigned int |
componentProgress |
|
) |
| |
|
inline |
Creates a new progress event object.
- Parameters
-
trackerId | Unique id of the tracker that sent this event |
componentProgress | Progress of the sending component in percent, with range [0, 100] |
◆ createEvent()
EventRef Ocean::Tracking::Offline::TrackingProgressEvent::createEvent |
( |
const unsigned int |
trackerId, |
|
|
const unsigned int |
componentProgress |
|
) |
| |
|
inlinestatic |
Creates a new event reference object.
- Parameters
-
trackerId | Unique id of the tracker that sent this event |
componentProgress | Progress of the sending component in percent, with range [0, 100] |
- Returns
- The new event object
The documentation for this class was generated from the following file: