An EventOccurance is passed to all listening classes when an event occurs.
More...
#include <EventOccurance.h>
List of all members.
Detailed Description
An EventOccurance is passed to all listening classes when an event occurs.
Constructor & Destructor Documentation
Constructor.
- Parameters:
-
pEventType | Type of event |
pFunctor | Function to call |
prioriy | Proirity of the event |
pEventData | Event data |
LibCT::EventOccurance::~EventOccurance |
( |
| ) |
|
Copy-constructor.
- Parameters:
-
Member Function Documentation
const void* LibCT::EventOccurance::GetData |
( |
| ) |
const |
Get the event data
- Returns:
- The data associated with the event
template<typename T >
const T* LibCT::EventOccurance::GetData |
( |
| ) |
const [inline] |
Get the data cast to a specific type
- Returns:
- The data cast to a specific type
const EventType* LibCT::EventOccurance::GetEventType |
( |
| ) |
const |
int LibCT::EventOccurance::GetPriority |
( |
| ) |
const |
Get the priority of the event
- Returns:
- The events priority
Assignment operator
- Returns:
- A referance to this
- Parameters:
-
void LibCT::EventOccurance::Run |
( |
| ) |
|
Calls the callback method.
Member Data Documentation
The documentation for this class was generated from the following file: