#include <ai_event.hpp>
Static Public Member Functions | |
static const char * | GetClassName () |
The name of the class, needed by several sub-processes. | |
static bool | IsEventWaiting () |
Check if there is an event waiting. | |
static AIEvent * | GetNextEvent () |
Get the next event. | |
static void | InsertEvent (AIEvent *event) |
Insert an event to the queue for the company. | |
static void | FreeEventPointer () |
Free the event pointer. | |
Static Private Member Functions | |
static void | CreateEventPointer () |
Create the event pointer. |
Definition at line 79 of file ai_event.hpp.
bool AIEventController::IsEventWaiting | ( | ) | [static] |
Check if there is an event waiting.
Definition at line 42 of file ai_event.cpp.
References CreateEventPointer(), and AIObject::GetEventPointer().
AIEvent * AIEventController::GetNextEvent | ( | ) | [static] |
Get the next event.
Definition at line 50 of file ai_event.cpp.
References CreateEventPointer(), and AIObject::GetEventPointer().
void AIEventController::InsertEvent | ( | AIEvent * | event | ) | [static] |
Insert an event to the queue for the company.
event | The event to insert. |
Definition at line 62 of file ai_event.cpp.
References CreateEventPointer(), and AIObject::GetEventPointer().
void AIEventController::FreeEventPointer | ( | ) | [static] |
Free the event pointer.
Definition at line 27 of file ai_event.cpp.
References AIObject::GetEventPointer(), and SimpleCountedObject::Release().