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

SCA_IController Class Reference

#include <SCA_IController.h>

Inheritance diagram for SCA_IController:

SCA_ILogicBrick CValue PyObjectPlus PyObject SCA_ANDController SCA_ExpressionController SCA_ORController SCA_PythonController List of all members.

Public Methods

 SCA_IController (SCA_IObject* gameobj,PyTypeObject* T )
virtual ~SCA_IController ()
virtual void Trigger (class SCA_LogicManager* logicmgr) = 0
void LinkToSensor (SCA_ISensor* sensor)
void LinkToActuator (SCA_IActuator*)
const std::vector<class SCA_ISensor*>& GetLinkedSensors ()
const std::vector<class SCA_IActuator*>& GetLinkedActuators ()
void UnlinkAllSensors ()
void UnlinkAllActuators ()

Protected Attributes

std::vector<class SCA_ISensor*> m_linkedsensors
std::vector<class SCA_IActuator*> m_linkedactuators

Constructor & Destructor Documentation

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

Definition at line 12 of file SCA_IController.h.

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

Definition at line 14 of file SCA_IController.h.


Member Function Documentation

const std::vector< class SCA_IActuator *>& SCA_IController::GetLinkedActuators<class SCA_IActuator*> ( ) [inline]
 

Definition at line 19 of file SCA_IController.h.

Referenced by KX_Scene::ReplicateLogic().

const std::vector< class SCA_ISensor *>& SCA_IController::GetLinkedSensors<class SCA_ISensor*> ( ) [inline]
 

Definition at line 18 of file SCA_IController.h.

Referenced by KX_Scene::ReplicateLogic().

void SCA_IController::LinkToActuator ( SCA_IActuator * actua )
 

Definition at line 19 of file SCA_IController.cpp.

Referenced by SCA_LogicManager::RegisterToActuator().

void SCA_IController::LinkToSensor ( SCA_ISensor * sensor )
 

Definition at line 23 of file SCA_IController.cpp.

Referenced by SCA_LogicManager::RegisterToSensor().

virtual void SCA_IController::Trigger ( class SCA_LogicManager * logicmgr ) [pure virtual]
 

Reimplemented in SCA_PythonController, SCA_ANDController, SCA_ExpressionController, SCA_ORController, and SCA_PythonController.

Referenced by SCA_LogicManager::BeginFrame().

void SCA_IController::UnlinkAllActuators ( ) [inline]
 

Definition at line 21 of file SCA_IController.h.

Referenced by KX_Scene::ReplicateLogic().

void SCA_IController::UnlinkAllSensors ( ) [inline]
 

Definition at line 20 of file SCA_IController.h.

Referenced by KX_Scene::ReplicateLogic().


Member Data Documentation

std::vector< class SCA_IActuator *> SCA_IController::m_linkedactuators [protected]
 

Definition at line 10 of file SCA_IController.h.

std::vector< class SCA_ISensor *> SCA_IController::m_linkedsensors [protected]
 

Definition at line 9 of file SCA_IController.h.


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