27 #ifndef ICB_EVENTMANAGER_H_INCLUDED 28 #define ICB_EVENTMANAGER_H_INCLUDED 31 #include "engines/icb/common/px_string.h" 32 #include "engines/icb/p4.h" 33 #include "engines/icb/event_timer.h" 34 #include "engines/icb/event_list.h" 35 #include "engines/icb/session.h" 39 #define EVENT_MANAGER_LOG "event_manager_log.txt" 42 #define EVENT_MANAGER_MAX_TIMERS 4 56 bool8 HasEventPending(int32 nObjectID);
59 bool8 CheckEventWaitingForObject(int32 nObjectID,
const char *pcEventName);
62 void ShutDownEventProcessingForObject(int32 nObjectID);
65 void CycleEventManager();
68 bool8 IsObjectRegisteredForEvent(int32 nCallerID,
const char *pcEventName);
75 void RegisterForEvent(int32 nObjectID,
const char *pcEventName);
76 void UnregisterForEvent(int32 nObjectID,
const char *pcEventName);
77 void PostNamedEvent(
const char *pcEventName, int32 nSenderID);
78 void PostNamedEventToObject(
const char *pcEventName, int32 nTargetID, int32 nSenderID);
79 void PostRepeatingEvent(
const char *pcEventName, uint32 nStart, uint32 nInterval, uint32 nEnd);
80 void ClearAllEventsForObject(int32 nObjectID);
81 bool8 DidObjectSendLastNamedEvent(int32 nCallerID, int32 nObjectID,
const char *pcEventName)
const;
82 int32 GetIDOfLastObjectToPostEvent(int32 nCallerID,
const char *pcEventName)
const;
83 void SetSuspendFlagForObject(int32 nObjectID, bool8 bState);
89 bool8 m_pbActiveTimers[EVENT_MANAGER_MAX_TIMERS];
90 bool8 m_pbRunning[MAX_session_objects];
91 bool8 m_pbSuspended[MAX_session_objects];
102 #endif // #if !defined( EVENTMANAGER_H_INCLUDED )
Definition: event_manager.h:46
Definition: event_list.h:101
Definition: event_timer.h:41