ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

ICB::_event_manager Class Reference

#include <event_manager.h>

Collaboration diagram for ICB::_event_manager:

List of all members.

Public Member Functions

 _event_manager ()
 ~_event_manager ()
void Initialise ()
bool8 HasEventPending (int32 nObjectID)
bool8 CheckEventWaitingForObject (int32 nObjectID, const char *pcEventName)
void ShutDownEventProcessingForObject (int32 nObjectID)
void CycleEventManager ()
bool8 IsObjectRegisteredForEvent (int32 nCallerID, const char *pcEventName)
void Save (Common::WriteStream *stream) const
void Restore (Common::SeekableReadStream *stream)
void RegisterForEvent (int32 nObjectID, const char *pcEventName)
void UnregisterForEvent (int32 nObjectID, const char *pcEventName)
void PostNamedEvent (const char *pcEventName, int32 nSenderID)
void PostNamedEventToObject (const char *pcEventName, int32 nTargetID, int32 nSenderID)
void PostRepeatingEvent (const char *pcEventName, uint32 nStart, uint32 nInterval, uint32 nEnd)
void ClearAllEventsForObject (int32 nObjectID)
bool8 DidObjectSendLastNamedEvent (int32 nCallerID, int32 nObjectID, const char *pcEventName) const
int32 GetIDOfLastObjectToPostEvent (int32 nCallerID, const char *pcEventName) const
void SetSuspendFlagForObject (int32 nObjectID, bool8 bState)

Private Member Functions

 _event_manager (const _event_manager &)
void operator= (const _event_manager &)

Private Attributes

_event_list m_pEventLists [MAX_session_objects]
_event_timer m_pEventTimers [EVENT_MANAGER_MAX_TIMERS]
uint8 m_nNumObjects
bool8 m_pbActiveTimers [EVENT_MANAGER_MAX_TIMERS]
bool8 m_pbRunning [MAX_session_objects]
bool8 m_pbSuspended [MAX_session_objects]

Detailed Description

Definition at line 50 of file event_manager.h.


Constructor & Destructor Documentation

ICB::_event_manager::_event_manager (  )  [inline]

Definition at line 53 of file event_manager.h.

ICB::_event_manager::~_event_manager (  )  [inline]

Definition at line 54 of file event_manager.h.

ICB::_event_manager::_event_manager ( const _event_manager  )  [inline, private]

Definition at line 98 of file event_manager.h.


Member Function Documentation

bool8 ICB::_event_manager::CheckEventWaitingForObject ( int32  nObjectID,
const char *  pcEventName 
)

Definition at line 49 of file event_manager.cpp.

void ICB::_event_manager::ClearAllEventsForObject ( int32  nObjectID  ) 

Definition at line 97 of file event_manager.cpp.

void ICB::_event_manager::CycleEventManager (  ) 

Definition at line 201 of file event_manager.cpp.

bool8 ICB::_event_manager::DidObjectSendLastNamedEvent ( int32  nCallerID,
int32  nObjectID,
const char *  pcEventName 
) const

Definition at line 116 of file event_manager.cpp.

int32 ICB::_event_manager::GetIDOfLastObjectToPostEvent ( int32  nCallerID,
const char *  pcEventName 
) const

Definition at line 130 of file event_manager.cpp.

bool8 ICB::_event_manager::HasEventPending ( int32  nObjectID  ) 

Definition at line 36 of file event_manager.cpp.

void ICB::_event_manager::Initialise (  ) 

Definition at line 163 of file event_manager.cpp.

bool8 ICB::_event_manager::IsObjectRegisteredForEvent ( int32  nCallerID,
const char *  pcEventName 
)

Definition at line 153 of file event_manager.cpp.

void ICB::_event_manager::operator= ( const _event_manager  )  [inline, private]

Definition at line 99 of file event_manager.h.

void ICB::_event_manager::PostNamedEvent ( const char *  pcEventName,
int32  nSenderID 
)

Definition at line 190 of file event_manager.cpp.

void ICB::_event_manager::PostNamedEventToObject ( const char *  pcEventName,
int32  nTargetID,
int32  nSenderID 
)

Definition at line 141 of file event_manager.cpp.

void ICB::_event_manager::PostRepeatingEvent ( const char *  pcEventName,
uint32  nStart,
uint32  nInterval,
uint32  nEnd 
)

Definition at line 232 of file event_manager.cpp.

void ICB::_event_manager::RegisterForEvent ( int32  nObjectID,
const char *  pcEventName 
)

Definition at line 71 of file event_manager.cpp.

void ICB::_event_manager::Restore ( Common::SeekableReadStream stream  ) 

Definition at line 275 of file event_manager.cpp.

void ICB::_event_manager::Save ( Common::WriteStream stream  )  const

Definition at line 255 of file event_manager.cpp.

void ICB::_event_manager::SetSuspendFlagForObject ( int32  nObjectID,
bool8  bState 
)

Definition at line 107 of file event_manager.cpp.

void ICB::_event_manager::ShutDownEventProcessingForObject ( int32  nObjectID  ) 

Definition at line 62 of file event_manager.cpp.

void ICB::_event_manager::UnregisterForEvent ( int32  nObjectID,
const char *  pcEventName 
)

Definition at line 81 of file event_manager.cpp.


Member Data Documentation

Definition at line 92 of file event_manager.h.

bool8 ICB::_event_manager::m_pbActiveTimers[EVENT_MANAGER_MAX_TIMERS] [private]

Definition at line 93 of file event_manager.h.

bool8 ICB::_event_manager::m_pbRunning[MAX_session_objects] [private]

Definition at line 94 of file event_manager.h.

bool8 ICB::_event_manager::m_pbSuspended[MAX_session_objects] [private]

Definition at line 95 of file event_manager.h.

_event_list ICB::_event_manager::m_pEventLists[MAX_session_objects] [private]

Definition at line 90 of file event_manager.h.

_event_timer ICB::_event_manager::m_pEventTimers[EVENT_MANAGER_MAX_TIMERS] [private]

Definition at line 91 of file event_manager.h.


The documentation for this class was generated from the following files:


Generated on Sat Sep 26 2020 05:03:39 for ResidualVM by doxygen 1.7.1
curved edge   curved edge