The TimerTickEvent class is the event that will be triggered for each timer tick.
More...
#include <hps.h>
The TimerTickEvent class is the event that will be triggered for each timer tick.
◆ Status
Event Status - returned from a notifier to give the status of the event.
Enumerator |
---|
InProgress | Event is still in progress.
|
Completed | Event has completed.
|
Failed | Event failed.
|
◆ TimerTickEvent() [1/2]
HPS::TimerTickEvent::TimerTickEvent |
( |
| ) |
|
|
inline |
◆ TimerTickEvent() [2/2]
HPS::TimerTickEvent::TimerTickEvent |
( |
Event const & |
in_event | ) |
|
|
inline |
◆ ~TimerTickEvent()
HPS::TimerTickEvent::~TimerTickEvent |
( |
| ) |
|
◆ Clone()
Event* HPS::TimerTickEvent::Clone |
( |
| ) |
const |
|
inlinevirtual |
Allocates and returns a copy of this TimerEvent.
- Returns
- A copy of this TimerEvent.
Implements HPS::Event.
◆ Drop()
virtual bool HPS::TimerTickEvent::Drop |
( |
Event const * |
in_that_event | ) |
const |
|
inlinevirtual |
Determines if this TimerTickEvent can be drop in favor of the following time tick event.
- Parameters
-
- Returns
- true if this event can be dropped, false otherwise.
Reimplemented from HPS::Event.
◆ Freshen()
virtual intptr_t HPS::TimerTickEvent::Freshen |
( |
| ) |
const |
|
inlinevirtual |
This optional function is used to determine if the current event can be dropped in favor of newer event of the same type if one is available.
- Returns
- A cookie representing the freshen category. Zero indicates a non-freshening event.
Reimplemented from HPS::Event.
◆ GetChannel()
intptr_t HPS::Event::GetChannel |
( |
| ) |
const |
|
inlineinherited |
Returns the channel ID assigned to an event.
◆ GetClassID()
intptr_t HPS::Event::GetClassID |
( |
| ) |
const |
|
inherited |
Returns a unique identifier that is shared by all objects of the same class.
◆ GetTimeStamp()
Time HPS::Event::GetTimeStamp |
( |
| ) |
const |
|
inlineinherited |
Returns the time an event was injected into the event queue.
◆ IsConsumable()
bool HPS::Event::IsConsumable |
( |
| ) |
const |
|
inlineinherited |
Indicates whether an event will be consumed when it is handled or passed on to the next handler anyway.
◆ operator delete()
static void HPS::Event::operator delete |
( |
void * |
in_ptr, |
|
|
size_t |
in_size |
|
) |
| |
throw | ( | |
| ) | | |
|
inlinestaticinherited |
◆ operator new()
static void* HPS::Event::operator new |
( |
size_t |
in_size | ) |
|
|
inlinestaticinherited |
◆ channel
intptr_t HPS::Event::channel |
|
protectedinherited |
◆ consumable
bool HPS::Event::consumable |
|
protectedinherited |
The documentation for this class was generated from the following file: