Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SCA_EventManager Class Reference

#include <SCA_EventManager.h>

Inheritance diagram for SCA_EventManager:

KX_RayEventManager KX_TouchEventManager NG_NetworkEventManager SCA_AlwaysEventManager SCA_KeyboardManager SCA_MouseManager SCA_PropertyEventManager SCA_RandomEventManager SCA_TimeEventManager List of all members.

Public Types

enum  EVENT_MANAGER_TYPE {
  KEYBOARD_EVENTMGR = 0, MOUSE_EVENTMGR, ALWAYS_EVENTMGR, TOUCH_EVENTMGR,
  PROPERTY_EVENTMGR, TIME_EVENTMGR, RANDOM_EVENTMGR, RAY_EVENTMGR,
  RADAR_EVENTMGR, NETWORK_EVENTMGR
}

Public Methods

 SCA_EventManager ()
virtual ~SCA_EventManager ()
 SCA_EventManager (EVENT_MANAGER_TYPE mgrtype)
virtual void RemoveSensor (class SCA_ISensor* sensor)
virtual void NextFrame (double curtime,double deltatime) = 0
virtual void EndFrame ()
virtual void RegisterSensor (class SCA_ISensor* sensor) = 0
int GetType ()

Protected Attributes

std::vector<class SCA_ISensor*> m_sensors
EVENT_MANAGER_TYPE m_mgrtype

Member Enumeration Documentation

enum SCA_EventManager::EVENT_MANAGER_TYPE
 

Enumeration values:
KEYBOARD_EVENTMGR  
MOUSE_EVENTMGR  
ALWAYS_EVENTMGR  
TOUCH_EVENTMGR  
PROPERTY_EVENTMGR  
TIME_EVENTMGR  
RANDOM_EVENTMGR  
RAY_EVENTMGR  
RADAR_EVENTMGR  
NETWORK_EVENTMGR  

Definition at line 13 of file SCA_EventManager.h.


Constructor & Destructor Documentation

SCA_EventManager::SCA_EventManager ( ) [inline]
 

Definition at line 25 of file SCA_EventManager.h.

SCA_EventManager::~SCA_EventManager ( ) [inline, virtual]
 

Definition at line 26 of file SCA_EventManager.h.

SCA_EventManager::SCA_EventManager ( EVENT_MANAGER_TYPE mgrtype ) [inline]
 

Definition at line 27 of file SCA_EventManager.h.


Member Function Documentation

void SCA_EventManager::EndFrame ( ) [inline, virtual]
 

Reimplemented in KX_TouchEventManager, and NG_NetworkEventManager.

Definition at line 40 of file SCA_EventManager.h.

int SCA_EventManager::GetType ( ) [inline]
 

Definition at line 42 of file SCA_EventManager.h.

Referenced by SCA_LogicManager::FindEventManager().

virtual void SCA_EventManager::NextFrame ( double curtime,
double deltatime ) [pure virtual]
 

Reimplemented in SCA_AlwaysEventManager, SCA_KeyboardManager, SCA_MouseManager, SCA_PropertyEventManager, SCA_RandomEventManager, SCA_TimeEventManager, KX_RayEventManager, KX_TouchEventManager, and NG_NetworkEventManager.

virtual void SCA_EventManager::RegisterSensor ( class SCA_ISensor * sensor ) [pure virtual]
 

Reimplemented in SCA_AlwaysEventManager, SCA_KeyboardManager, SCA_MouseManager, SCA_PropertyEventManager, SCA_RandomEventManager, SCA_TimeEventManager, KX_RayEventManager, KX_TouchEventManager, and NG_NetworkEventManager.

Referenced by SCA_ISensor::ReParent(), and SCA_ISensor::RegisterToManager().

void SCA_EventManager::RemoveSensor ( class SCA_ISensor * sensor ) [inline, virtual]
 

Reimplemented in KX_TouchEventManager.

Definition at line 29 of file SCA_EventManager.h.

Referenced by KX_TouchEventManager::RemoveSensor().


Member Data Documentation

EVENT_MANAGER_TYPE SCA_EventManager::m_mgrtype [protected]
 

Definition at line 44 of file SCA_EventManager.h.

std::vector< class SCA_ISensor *> SCA_EventManager::m_sensors [protected]
 

Definition at line 10 of file SCA_EventManager.h.


The documentation for this class was generated from the following file:
Generated at Thu Feb 1 13:03:51 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000