Blender V2.61 - r43446
|
#include <KX_ClientObjectInfo.h>
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 ©) | |
virtual | ~KX_ClientObjectInfo () |
virtual bool | hasCollisionCallback () |
bool | isActor () |
bool | isSensor () |
Public Attributes | |
enum KX_ClientObjectInfo::clienttype | m_type |
KX_GameObject * | m_gameobject |
void * | m_auxilary_info |
std::list< SCA_ISensor * > | m_sensors |
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.
Definition at line 46 of file KX_ClientObjectInfo.h.
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.
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.
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().
Definition at line 55 of file KX_ClientObjectInfo.h.
Referenced by KX_TouchSensor::BroadPhaseSensorFilterCollision(), KX_RaySensor::NeedRayCast(), KX_TouchSensor::NewHandleCollision(), KX_RaySensor::RayHit(), and KX_ConstraintActuator::RayHit().
Definition at line 54 of file KX_ClientObjectInfo.h.
Referenced by KX_NearSensor::BroadPhaseFilterCollision(), KX_TouchSensor::BroadPhaseSensorFilterCollision(), KX_GameObject::GetClientObject(), KX_RaySensor::NeedRayCast(), KX_NearSensor::NewHandleCollision(), KX_TouchSensor::NewHandleCollision(), KX_Scene::PhysicsCullingCallback(), KX_NearSensor::ProcessReplica(), KX_GameObject::ProcessReplica(), KX_MouseFocusSensor::RayHit(), KX_RaySensor::RayHit(), KX_ConstraintActuator::RayHit(), and KX_NearSensor::ReParent().
std::list<SCA_ISensor*> KX_ClientObjectInfo::m_sensors |
Definition at line 56 of file KX_ClientObjectInfo.h.
Referenced by hasCollisionCallback(), KX_NearSensor::KX_NearSensor(), KX_TouchSensor::KX_TouchSensor(), KX_TouchEventManager::NextFrame(), KX_TouchSensor::ReParent(), and KX_NearSensor::ReParent().