#include <SCA_ISensor.h>
Inheritance diagram for SCA_ISensor:
Public Methods | |
SCA_ISensor (SCA_IObject* gameobj, class SCA_EventManager* eventmgr, PyTypeObject* T ) | |
~SCA_ISensor () | |
virtual void | ReParent (SCA_IObject* parent) |
Abstract class for sensor logic bricks. More... | |
void | Activate (class SCA_LogicManager* logicmgr,CValue* event) |
virtual bool | Evaluate (CValue* event) = 0 |
virtual bool | IsPositiveTrigger () |
virtual PyObject* | _getattr (char *attr) |
virtual CValue* | GetReplica () = 0 |
void | SetPulseMode (bool posmode, bool negmode, int posfreq, int negfreq) |
void | SetInvert (bool inv) |
void | RegisterToManager () |
virtual float | GetNumber () |
KX_PYMETHOD_DOC (SCA_ISensor,IsPositive) | |
KX_PYMETHOD_DOC (SCA_ISensor,GetUsePosPulseMode) | |
getInvert. | |
KX_PYMETHOD_DOC (SCA_ISensor,SetUsePosPulseMode) | |
setInvert. | |
KX_PYMETHOD_DOC (SCA_ISensor,GetPosFrequency) | |
getInvert. | |
KX_PYMETHOD_DOC (SCA_ISensor,SetPosFrequency) | |
setInvert. | |
KX_PYMETHOD_DOC (SCA_ISensor,GetUseNegPulseMode) | |
getInvert. | |
KX_PYMETHOD_DOC (SCA_ISensor,SetUseNegPulseMode) | |
setInvert. | |
KX_PYMETHOD_DOC (SCA_ISensor,GetNegFrequency) | |
getInvert. | |
KX_PYMETHOD_DOC (SCA_ISensor,SetNegFrequency) | |
setInvert. | |
KX_PYMETHOD_DOC (SCA_ISensor,GetInvert) | |
getInvert. | |
KX_PYMETHOD_DOC (SCA_ISensor,SetInvert) | |
setInvert. |
Implements pulsemode,pulsefrequency
Definition at line 11 of file SCA_ISensor.h.
|
Definition at line 27 of file SCA_ISensor.h. |
|
Definition at line 44 of file SCA_ISensor.h. |
|
Definition at line 72 of file SCA_ISensor.cpp. Referenced by SCA_RandomEventManager::NextFrame(), SCA_MouseManager::NextFrame(), SCA_KeyboardManager::NextFrame(), SCA_AlwaysEventManager::NextFrame(), and KX_RayEventManager::NextFrame(). |
|
Reimplemented in SCA_AlwaysSensor, SCA_KeyboardSensor, SCA_MouseSensor, SCA_PropertySensor, SCA_RandomSensor, KX_NearSensor, KX_RaySensor, and KX_TouchSensor. Referenced by Activate(). |
|
Reimplemented from SCA_ILogicBrick. Definition at line 82 of file SCA_ISensor.h. |
|
Reimplemented from CValue. Reimplemented in SCA_AlwaysSensor, SCA_KeyboardSensor, SCA_MouseSensor, SCA_PropertySensor, SCA_RandomSensor, KX_NearSensor, KX_RaySensor, and KX_TouchSensor. |
|
Reimplemented in SCA_AlwaysSensor, SCA_KeyboardSensor, SCA_MouseSensor, SCA_PropertySensor, SCA_RandomSensor, KX_RaySensor, and KX_TouchSensor. Definition at line 53 of file SCA_ISensor.h. Referenced by Activate(), SCA_ExpressionController::FindIdentifier(), GetNumber(), SCA_ORController::Trigger(), and SCA_ANDController::Trigger(). |
|
setInvert.
Reimplemented in SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_PropertySensor, SCA_PropertySensor, SCA_PropertySensor, and SCA_RandomSensor. |
|
getInvert.
Reimplemented in SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_MouseSensor, SCA_MouseSensor, SCA_PropertySensor, SCA_PropertySensor, SCA_PropertySensor, SCA_RandomSensor, and SCA_RandomSensor. |
|
setInvert.
Reimplemented in SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_PropertySensor, SCA_PropertySensor, SCA_PropertySensor, and SCA_RandomSensor. |
|
getInvert.
Reimplemented in SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_MouseSensor, SCA_MouseSensor, SCA_PropertySensor, SCA_PropertySensor, SCA_PropertySensor, SCA_RandomSensor, and SCA_RandomSensor. |
|
setInvert.
Reimplemented in SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_PropertySensor, SCA_PropertySensor, SCA_PropertySensor, and SCA_RandomSensor. |
|
getInvert.
Reimplemented in SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_MouseSensor, SCA_MouseSensor, SCA_PropertySensor, SCA_PropertySensor, SCA_PropertySensor, SCA_RandomSensor, and SCA_RandomSensor. |
|
setInvert.
Reimplemented in SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_PropertySensor, SCA_PropertySensor, SCA_PropertySensor, and SCA_RandomSensor. |
|
getInvert.
Reimplemented in SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_MouseSensor, SCA_MouseSensor, SCA_PropertySensor, SCA_PropertySensor, SCA_PropertySensor, SCA_RandomSensor, and SCA_RandomSensor. |
|
setInvert.
Reimplemented in SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_PropertySensor, SCA_PropertySensor, SCA_PropertySensor, and SCA_RandomSensor. |
|
getInvert.
Reimplemented in SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_KeyboardSensor, SCA_MouseSensor, SCA_MouseSensor, SCA_PropertySensor, SCA_PropertySensor, SCA_PropertySensor, SCA_RandomSensor, and SCA_RandomSensor. |
|
|
|
Abstract class for sensor logic bricks. Version:
Reimplemented from SCA_ILogicBrick. Reimplemented in KX_TouchSensor. Definition at line 11 of file SCA_ISensor.cpp. Referenced by KX_TouchSensor::ReParent(), and SCA_IObject::ReParentLogic(). |
|
Definition at line 67 of file SCA_ISensor.cpp. Referenced by BL_ConvertSensors(), CreateSampleLogic(), and main(). |
|
Definition at line 76 of file SCA_ISensor.h. Referenced by BL_ConvertSensors(). |
|
Definition at line 69 of file SCA_ISensor.h. Referenced by BL_ConvertSensors(), and CreateSampleLogic(). |
|
Reimplemented from SCA_ILogicBrick. Reimplemented in SCA_AlwaysSensor, SCA_KeyboardSensor, SCA_MouseSensor, SCA_PropertySensor, SCA_RandomSensor, KX_NearSensor, KX_RaySensor, and KX_TouchSensor. Definition at line 61 of file SCA_ISensor.cpp. |