The WarningEvent class is the event that will be generated if an asynchronous warning occurs.
More...
#include <hps.h>
The WarningEvent class is the event that will be generated if an asynchronous warning occurs.
◆ 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.
|
◆ WarningEvent() [1/4]
HPS::WarningEvent::WarningEvent |
( |
| ) |
|
|
inline |
The default constructor creates a WarningEvent object with an empty message and code of Unknown.
◆ WarningEvent() [2/4]
HPS::WarningEvent::WarningEvent |
( |
char const * |
in_message | ) |
|
This constructor creates a WarningEvent object with a specified message and code of Unknown.
- Parameters
-
in_message | A message describing the nature of the warning. |
◆ WarningEvent() [3/4]
HPS::WarningEvent::WarningEvent |
( |
char const * |
in_message, |
|
|
HPS::Info::Code |
in_code |
|
) |
| |
This constructor creates a WarningEvent object with a specified message and code.
- Parameters
-
in_message | A message describing the nature of the warning. |
in_code | A code describing the nature of the warning. |
◆ WarningEvent() [4/4]
HPS::WarningEvent::WarningEvent |
( |
Event const & |
in_event | ) |
|
|
inline |
◆ ~WarningEvent()
HPS::WarningEvent::~WarningEvent |
( |
| ) |
|
◆ Clone()
Event* HPS::WarningEvent::Clone |
( |
| ) |
const |
|
inlinevirtual |
◆ Drop()
virtual bool HPS::Event::Drop |
( |
Event const * |
in_that_event | ) |
const |
|
inlinevirtualinherited |
◆ Equals()
virtual bool HPS::WarningEvent::Equals |
( |
WarningEvent const & |
in_that | ) |
const |
|
inlinevirtual |
Check if the source object is equivalent to this object.
- Parameters
-
in_kit | The source object to compare to this object. |
- Returns
- true if the objects are equivalent, false otherwise.
◆ 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 |
◆ operator!=()
virtual bool HPS::WarningEvent::operator!= |
( |
WarningEvent const & |
in_that | ) |
const |
|
inlinevirtual |
Check if the source object is not equivalent to this object.
- Parameters
-
in_kit | The source object to compare to this object. |
- Returns
- true if the objects are not equivalent, false otherwise.
◆ operator==()
virtual bool HPS::WarningEvent::operator== |
( |
WarningEvent const & |
in_that | ) |
const |
|
inlinevirtual |
Check if the source object is equivalent to this object.
- Parameters
-
in_kit | The source object to compare to this object. |
- Returns
- true if the objects are equivalent, false otherwise.
◆ channel
intptr_t HPS::Event::channel |
|
protectedinherited |
◆ code
◆ consumable
bool HPS::Event::consumable |
|
protectedinherited |
◆ message
UTF8 HPS::WarningEvent::message |
The documentation for this class was generated from the following file: