Blender V2.61 - r43446
Public Types | Public Member Functions | Public Attributes

KX_ClientObjectInfo Struct Reference

#include <KX_ClientObjectInfo.h>

List of all members.

Public Types

enum  clienttype {
  STATIC, ACTOR, RESERVED1, SENSOR,
  OBSENSOR, OBACTORSENSOR
}

Public Member Functions

 KX_ClientObjectInfo (KX_GameObject *gameobject, clienttype type=STATIC, void *auxilary_info=NULL)
 KX_ClientObjectInfo (const KX_ClientObjectInfo &copy)
virtual ~KX_ClientObjectInfo ()
virtual bool hasCollisionCallback ()
bool isActor ()
bool isSensor ()

Public Attributes

enum
KX_ClientObjectInfo::clienttype 
m_type
KX_GameObjectm_gameobject
void * m_auxilary_info
std::list< SCA_ISensor * > m_sensors

Detailed Description

Client Type and Additional Info. This structure can be use instead of a bare void* pointer, for safeness, and additional info for callbacks

Definition at line 44 of file KX_ClientObjectInfo.h.


Member Enumeration Documentation

Enumerator:
STATIC 
ACTOR 
RESERVED1 
SENSOR 
OBSENSOR 
OBACTORSENSOR 

Definition at line 46 of file KX_ClientObjectInfo.h.


Constructor & Destructor Documentation

KX_ClientObjectInfo::KX_ClientObjectInfo ( KX_GameObject gameobject,
clienttype  type = STATIC,
void *  auxilary_info = NULL 
) [inline]

Definition at line 58 of file KX_ClientObjectInfo.h.

KX_ClientObjectInfo::KX_ClientObjectInfo ( const KX_ClientObjectInfo copy) [inline]

Definition at line 64 of file KX_ClientObjectInfo.h.

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

Definition at line 71 of file KX_ClientObjectInfo.h.


Member Function Documentation

virtual bool KX_ClientObjectInfo::hasCollisionCallback ( ) [inline, virtual]

Definition at line 73 of file KX_ClientObjectInfo.h.

References m_sensors.

bool KX_ClientObjectInfo::isActor ( ) [inline]

Definition at line 78 of file KX_ClientObjectInfo.h.

References ACTOR, and m_type.

Referenced by KX_TouchSensor::NewHandleCollision().

bool KX_ClientObjectInfo::isSensor ( ) [inline]

Definition at line 79 of file KX_ClientObjectInfo.h.

References m_type, OBACTORSENSOR, and SENSOR.

Referenced by KX_TouchSensor::RegisterSumo(), and KX_TouchSensor::UnregisterSumo().


Member Data Documentation


The documentation for this struct was generated from the following file: