Simplified XF 1.1.0
|
Event status returned after event processing. More...
#include <eventstatus.h>
Public Types | |
enum | eEventStatus { Unknown = 0 , Consumed = 0x0001 , NotConsumed = 0x0002 , RegionFinished = 0x0004 , Terminate = 0x0008 } |
Public Member Functions | |
XFEventStatus (eEventStatus eventStatus=Unknown) | |
bool | operator== (const XFEventStatus::eEventStatus &eventStatus) const |
void | operator|= (const XFEventStatus &eventStatus) |
OR assignment. More... | |
bool | is (const eEventStatus eventStatus) const |
Checks if the given event status (r-value) is present in the actual (l-value). | |
Public Attributes | |
eEventStatus | status_ |
Attribute containing the status of the event. | |
Event status returned after event processing.
The XFEventStatus is used after consumption of an event. It gives an information on how the event was consument and how the framework should react.
|
inline |
Constructor
eventStatus | Initial value of the event status. |
|
inline |
Checks if both variables contain the same event status.
|
inline |
OR assignment.
OR's the right event status with the left event status.