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

SCA_ILogicBrick Class Reference

#include <SCA_ILogicBrick.h>

Inheritance diagram for SCA_ILogicBrick:

CValue PyObjectPlus PyObject SCA_IActuator SCA_IController SCA_ISensor DebugActuator KX_CameraActuator KX_ConstraintActuator KX_IpoActuator KX_ObjectActuator KX_SceneActuator KX_SoundActuator KX_TrackToActuator SCA_AddObjectActuator SCA_EndObjectActuator SCA_GroupActuator SCA_PropertyActuator SCA_RandomActuator SCA_ReplaceMeshActuator SCA_ANDController SCA_ExpressionController SCA_ORController SCA_PythonController KX_RaySensor KX_TouchSensor SCA_AlwaysSensor SCA_KeyboardSensor SCA_MouseSensor SCA_PropertySensor SCA_RandomSensor List of all members.

Public Types

enum  KX_BOOL_TYPE { KX_BOOL_NODEF = 0, KX_TRUE, KX_FALSE, KX_BOOL_MAX }

Public Methods

 SCA_ILogicBrick (SCA_IObject* gameobj,PyTypeObject* T )
virtual ~SCA_ILogicBrick ()
void SetExecutePriority (int execute_Priority)
void SetUeberExecutePriority (int execute_Priority)
SCA_IObjectGetParent ()
virtual void ReParent (SCA_IObject* parent)
virtual CValueCalc (VALUE_OPERATOR op, CValue *val)
virtual CValueCalcFinal (VALUE_DATA_TYPE dtype, VALUE_OPERATOR op, CValue *val)
virtual const CCStringGetText ()
virtual float GetNumber ()
virtual CCString GetName ()
virtual void SetName (CCString name)
virtual void ReplicaSetName (CCString name)
bool IsActive ()
void SetActive (bool active)
virtual PyObject_getattr (char *attr)
PyObjectPyGetOwner (PyObject* self, PyObject* args, PyObject* kwds)

Static Public Methods

PyObjectsPyGetOwner (PyObject* self, PyObject* args, PyObject* kwds)

Static Public Attributes

class SCA_LogicManagerm_sCurrentLogicManager = NULL

Protected Methods

void RegisterEvent (CValue* eventval)
void RemoveEvent ()
CValueGetEvent ()

Member Enumeration Documentation

enum SCA_ILogicBrick::KX_BOOL_TYPE
 

Enumeration values:
KX_BOOL_NODEF  
KX_TRUE  
KX_FALSE  
KX_BOOL_MAX  

Definition at line 148 of file SCA_ILogicBrick.h.


Constructor & Destructor Documentation

SCA_ILogicBrick::SCA_ILogicBrick ( SCA_IObject * gameobj,
PyTypeObject * T ) [inline]
 

Definition at line 46 of file SCA_ILogicBrick.h.

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

Definition at line 51 of file SCA_ILogicBrick.h.


Member Function Documentation

CValue * SCA_ILogicBrick::Calc ( VALUE_OPERATOR op,
CValue * val ) [inline, virtual]
 

Reimplemented from CValue.

Definition at line 72 of file SCA_ILogicBrick.h.

CValue * SCA_ILogicBrick::CalcFinal ( VALUE_DATA_TYPE dtype,
VALUE_OPERATOR op,
CValue * val ) [inline, virtual]
 

Reimplemented from CValue.

Definition at line 78 of file SCA_ILogicBrick.h.

CValue * SCA_ILogicBrick::GetEvent ( ) [inline, protected]
 

Definition at line 37 of file SCA_ILogicBrick.h.

CCString SCA_ILogicBrick::GetName ( ) [inline, virtual]
 

Reimplemented from CValue.

Definition at line 92 of file SCA_ILogicBrick.h.

Referenced by SCA_ExpressionController::FindIdentifier(), and KX_Scene::ReplicateLogic().

float SCA_ILogicBrick::GetNumber ( ) [inline, virtual]
 

Reimplemented from CValue.

Reimplemented in SCA_ISensor.

Definition at line 91 of file SCA_ILogicBrick.h.

SCA_IObject * SCA_ILogicBrick::GetParent ( ) [inline]
 

Definition at line 68 of file SCA_ILogicBrick.h.

Referenced by SCA_PropertySensor::CheckPropertyCondition(), KX_RaySensor::Evaluate(), KX_NearSensor::Evaluate(), SCA_PropertySensor::FindIdentifier(), SCA_ExpressionController::FindIdentifier(), KX_TouchSensor::HandleCollision(), KX_NearSensor::HandleCollision(), PyGetOwner(), KX_TouchSensor::SynchronizeTransform(), SCA_ReplaceMeshActuator::Update(), SCA_RandomActuator::Update(), SCA_PropertyActuator::Update(), SCA_EndObjectActuator::Update(), SCA_AddObjectActuator::Update(), KX_TrackToActuator::Update(), KX_SoundActuator::Update(), KX_ObjectActuator::Update(), KX_IpoActuator::Update(), KX_ConstraintActuator::Update(), and KX_CameraActuator::Update().

const CCString & SCA_ILogicBrick::GetText ( ) [inline, virtual]
 

Reimplemented from CValue.

Definition at line 86 of file SCA_ILogicBrick.h.

bool SCA_ILogicBrick::IsActive ( ) [inline]
 

Definition at line 97 of file SCA_ILogicBrick.h.

Referenced by SCA_LogicManager::AddActivatedSensor(), and SCA_LogicManager::AddActiveActuator().

PyObject * SCA_ILogicBrick::PyGetOwner ( PyObject * self,
PyObject * args,
PyObject * kwds ) [inline]
 

Definition at line 125 of file SCA_ILogicBrick.h.

void SCA_ILogicBrick::ReParent ( SCA_IObject * parent ) [inline, virtual]
 

Reimplemented in SCA_ISensor, and KX_TouchSensor.

Definition at line 69 of file SCA_ILogicBrick.h.

Referenced by SCA_ISensor::ReParent(), and SCA_IObject::ReParentLogic().

void SCA_ILogicBrick::RegisterEvent ( CValue * eventval ) [inline, protected]
 

Definition at line 23 of file SCA_ILogicBrick.h.

void SCA_ILogicBrick::RemoveEvent ( ) [inline, protected]
 

Definition at line 28 of file SCA_ILogicBrick.h.

Referenced by ~SCA_ILogicBrick().

void SCA_ILogicBrick::ReplicaSetName ( CCString name ) [inline, virtual]
 

Reimplemented from CValue.

Definition at line 94 of file SCA_ILogicBrick.h.

void SCA_ILogicBrick::SetActive ( bool active )
 

Definition at line 43 of file SCA_ILogicBrick.cpp.

Referenced by SCA_LogicManager::AddActivatedSensor(), SCA_LogicManager::AddActiveActuator(), SCA_LogicManager::EndFrame(), SCA_ISensor::ReParent(), SCA_IObject::ReParentLogic(), and SCA_LogicManager::UpdateFrame().

void SCA_ILogicBrick::SetExecutePriority ( int execute_Priority ) [inline]
 

Definition at line 57 of file SCA_ILogicBrick.h.

Referenced by BL_ConvertActuators(), BL_ConvertControllers(), BL_ConvertSensors(), and CreateSampleLogic().

void SCA_ILogicBrick::SetName ( CCString name ) [inline, virtual]
 

Reimplemented from CValue.

Definition at line 93 of file SCA_ILogicBrick.h.

Referenced by BL_ConvertActuators(), BL_ConvertControllers(), and BL_ConvertSensors().

void SCA_ILogicBrick::SetUeberExecutePriority ( int execute_Priority ) [inline]
 

Definition at line 61 of file SCA_ILogicBrick.h.

Referenced by KX_Scene::ReplicateLogic().

PyObject * SCA_ILogicBrick::_getattr ( char * attr ) [virtual]
 

Reimplemented from CValue.

Reimplemented in DebugActuator, SCA_PythonController, SCA_AddObjectActuator, SCA_AlwaysSensor, SCA_ANDController, SCA_EndObjectActuator, SCA_ISensor, SCA_KeyboardSensor, SCA_MouseSensor, SCA_ORController, SCA_PropertyActuator, SCA_PropertySensor, SCA_PythonController, SCA_RandomActuator, SCA_RandomSensor, SCA_ReplaceMeshActuator, KX_CameraActuator, KX_ConstraintActuator, KX_IpoActuator, KX_NearSensor, KX_ObjectActuator, KX_RaySensor, KX_SceneActuator, KX_SoundActuator, KX_TouchSensor, and KX_TrackToActuator.

Definition at line 37 of file SCA_ILogicBrick.cpp.

PyObject * SCA_ILogicBrick::sPyGetOwner ( PyObject * self,
PyObject * args,
PyObject * kwds ) [inline, static]
 

Definition at line 140 of file SCA_ILogicBrick.h.


Member Data Documentation

class SCA_LogicManager * SCA_ILogicBrick::m_sCurrentLogicManager = NULL [static]
 

Definition at line 123 of file SCA_ILogicBrick.h.


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