The FocusLostEvent class is the event that is generated when an application loses focus.
More...
#include <hps.h>
|
| FocusLostEvent () |
| The default constructor creates a FocusLostEvent. More...
|
|
| ~FocusLostEvent () |
|
Event * | Clone () const |
| Allocates and returns a copy of this FocusLostEvent. More...
|
|
intptr_t | GetClassID () const |
| Returns a unique identifier that is shared by all objects of the same class. More...
|
|
virtual bool | Drop (Event const *in_that_event) const |
| This optional function is used to determine if the current event can be dropped based on the following event in the queue. More...
|
|
virtual intptr_t | Freshen () const |
| 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. More...
|
|
intptr_t | GetChannel () const |
| Returns the channel ID assigned to an event. More...
|
|
Time | GetTimeStamp () const |
| Returns the time an event was injected into the event queue. More...
|
|
bool | IsConsumable () const |
| Indicates whether an event will be consumed when it is handled or passed on to the next handler anyway. More...
|
|
The FocusLostEvent class is the event that is generated when an application loses focus.
◆ 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.
|
◆ FocusLostEvent()
HPS::FocusLostEvent::FocusLostEvent |
( |
| ) |
|
|
inline |
◆ ~FocusLostEvent()
HPS::FocusLostEvent::~FocusLostEvent |
( |
| ) |
|
◆ Clone()
Event* HPS::FocusLostEvent::Clone |
( |
| ) |
const |
|
inlinevirtual |
◆ Drop()
virtual bool HPS::Event::Drop |
( |
Event const * |
in_that_event | ) |
const |
|
inlinevirtualinherited |
◆ Freshen()
virtual intptr_t HPS::Event::Freshen |
( |
| ) |
const |
|
inlinevirtualinherited |
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 in HPS::MouseEvent, HPS::TimerTickEvent, and HPS::CameraChangedEvent.
◆ 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: