Logo Search packages:      
Sourcecode: blender version File versions  Download package

KX_NetworkMessageActuator Class Reference

#include <KX_NetworkMessageActuator.h>

Inheritance diagram for KX_NetworkMessageActuator:

SCA_IActuator SCA_ILogicBrick SG_QList SG_DList

List of all members.

Detailed Description

KX_NetworkMessageActuator.h 19826 2009-04-20 23:17:52Z campbellbarton


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

The Original Code is Copyright (C) 2001-2002 by NaN Holding BV. All rights reserved.

The Original Code is: all of this file.

Contributor(s): none yet.

***** END GPL LICENSE BLOCK ***** Ketsji Logic Extenstion: Network Message Actuator class

Definition at line 37 of file KX_NetworkMessageActuator.h.

Public Types

enum  AllocationTYPE { STACKVALUE = 0, HEAPVALUE = 1 }

Public Member Functions

virtual void Activate (SG_DList &head)
bool AddBack (SG_DList *item)
void AddEvent (bool event)
bool AddFront (SG_DList *item)
CValue * AddRef ()
SG_DListBack ()
virtual CValue * Calc (VALUE_OPERATOR op, CValue *val)
virtual CValue * CalcFinal (VALUE_DATA_TYPE dtype, VALUE_OPERATOR op, CValue *val)
virtual void ClearProperties ()
void ClrLink ()
virtual PyObject * ConvertKeysToPython (void)
virtual CValue * ConvertPythonToValue (PyObject *pyobj, const char *error_prefix)
virtual PyObject * ConvertValueToPython ()
virtual void Deactivate ()
void DecLink ()
virtual void Delete ()
bool Delink ()
bool Empty ()
void Execute (const CAction &a)
virtual CValue * FindIdentifier (const STR_String &identifiername)
virtual STR_StringGetName ()
virtual double GetNumber ()
SCA_IObject * GetParent ()
virtual CValue * GetProperty (int inIndex)
virtual CValue * GetProperty (const STR_String &inName)
virtual CValue * GetProperty (const char *inName)
virtual int GetPropertyCount ()
virtual vector< STR_StringGetPropertyNames ()
float GetPropertyNumber (const STR_String &inName, float defnumber)
const STR_StringGetPropertyText (const STR_String &inName)
int GetRefCount ()
 Reference Counting.
virtual CValue * GetReplica ()
virtual const STR_StringGetText ()
virtual double * GetVector3 (bool bGetTransformedVec=false)
void IncLink ()
void InsertActiveQList (SG_QList &head)
void InsertSelfActiveQList (SG_QList &head, SG_QList **current)
void InvalidateProxy ()
bool isA (const char *mytypename)
bool isA (PyTypeObject *T)
bool IsActive ()
virtual bool IsAffected ()
virtual bool IsAnyPropertyModified ()
virtual bool IsCustomFlag1 ()
virtual bool IsCustomFlag2 ()
bool IsError ()
virtual bool IsModified ()
bool IsNegativeEvent () const
bool IsNoLink () const
bool IsReleaseRequested ()
virtual bool IsSelected ()
virtual bool IsVisible ()
 KX_NetworkMessageActuator (SCA_IObject *gameobj, NG_NetworkScene *networkscene, const STR_String &toPropName, const STR_String &subject, int bodyType, const STR_String &body, PyTypeObject *T=&Type)
 KX_PYMETHOD (KX_NetworkMessageActuator, SetBody)
 KX_PYMETHOD (KX_NetworkMessageActuator, SetBodyType)
 KX_PYMETHOD (KX_NetworkMessageActuator, SetSubject)
 KX_PYMETHOD (KX_NetworkMessageActuator, SetToPropName)
 KX_PYMETHOD_NOARGS (SCA_ILogicBrick, GetExecutePriority)
 KX_PYMETHOD_O (PyObjectPlus, isA)
 KX_PYMETHOD_VARARGS (SCA_ILogicBrick, SetExecutePriority)
virtual bool LessComparedTo (SCA_ILogicBrick *other)
void LinkToController (SCA_IController *controller)
STR_String op2str (VALUE_OPERATOR op)
SG_DListPeek ()
virtual void ProcessReplica ()
virtual int py_delattro (PyObject *attr)
virtual PyObject * py_getattro (PyObject *attr)
virtual PyObject * py_getattro_dict ()
virtual PyObject * py_repr (void)
virtual int py_setattro (PyObject *attr, PyObject *value)
bool QAddBack (SG_QList *item)
bool QAddFront (SG_QList *item)
SG_QListQBack ()
bool QDelink ()
bool QEmpty ()
SG_QListQPeek ()
SG_QListQRemove ()
int Release ()
virtual void Relink (GEN_Map< GEN_HashedPtr, void * > *obj_map)
SG_DListRemove ()
virtual bool RemoveProperty (const char *inName)
virtual void ReParent (SCA_IObject *parent)
SG_DListSelf ()
void SetActive (bool active)
virtual void SetAffected (bool bAffected=true)
virtual void SetColorOperator (VALUE_OPERATOR op)
virtual void SetCustomFlag1 (bool bCustomFlag)
virtual void SetCustomFlag2 (bool bCustomFlag)
void SetError (bool err)
void SetExecutePriority (int execute_Priority)
virtual void SetModified (bool bModified)
virtual void SetName (const char *)
virtual void SetOwnerExpression (class CExpression *expr)
virtual void SetPropertiesModified (bool inModified)
virtual void SetProperty (const char *name, CValue *ioProperty)
virtual void SetProperty (const STR_String &name, CValue *ioProperty)
 Property Management.
void SetReleaseRequested (bool bReleaseRequested)
void SetSelected (bool bSelected)
void SetUeberExecutePriority (int execute_Priority)
virtual void SetValue (CValue *newval)
void SetVisible (bool vis)
void UnlinkAllControllers ()
void UnlinkController (class SCA_IController *cont)
virtual bool UnlinkObject (SCA_IObject *clientobj)
virtual bool Update (double curtime, bool frame)
virtual bool Update ()
double * ZeroVector ()

Static Public Member Functions

static int CheckProperty (void *self, const PyAttributeDef *attrdef)
static void ClearDeprecationWarning ()
static WarnLink * GetDeprecationWarningLinkFirst (void)
static WarnLink * GetDeprecationWarningLinkLast (void)
static PyObject * GetProxy_Ext (PyObjectPlus *self, PyTypeObject *tp)
static PyObject * NewProxy_Ext (PyObjectPlus *self, PyTypeObject *tp, bool py_owns)
static void NullDeprecationWarning ()
static void py_base_dealloc (PyObject *self)
static PyObject * py_base_getattro (PyObject *self, PyObject *attr)
static PyObject * py_base_repr (PyObject *self)
static int py_base_setattro (PyObject *self, PyObject *attr, PyObject *value)
static PyObject * py_get_attrdef (void *self, const PyAttributeDef *attrdef)
static int py_set_attrdef (void *self, const PyAttributeDef *attrdef, PyObject *value)
static PyObject * pyattr_get_invalid (void *self_v, const KX_PYATTRIBUTE_DEF *attrdef)
static PyObject * pyattr_get_name (void *self, const KX_PYATTRIBUTE_DEF *attrdef)
static PyObject * pyattr_get_owner (void *self_v, const KX_PYATTRIBUTE_DEF *attrdef)
static void SetDeprecationWarningFirst (WarnLink *wlink)
static void SetDeprecationWarningLinkLast (WarnLink *wlink)
static void SetDeprecationWarnings (bool ignoreDeprecationWarnings)
static void ShowDeprecationWarning_func (const char *method, const char *prop)

Public Attributes

PyObject * m_proxy

Static Public Attributes

static bool m_ignore_deprecation_warnings
static class SCA_LogicManagerm_sCurrentLogicManager = NULL

Protected Member Functions

PyObject * BoolToPyArg (bool)
virtual void DisableRefCount ()
CValue * GetEvent ()
bool PyArgToBool (int boolArg)
void RegisterEvent (CValue *eventval)
void RemoveAllEvents ()
void RemoveEvent ()

Protected Attributes

bool m_bActive
CValue * m_eventval
int m_Execute_Priority
int m_Execute_Ueber_Priority
SCA_IObject * m_gameobj
std::vector< class
SCA_IController * > 
int m_links
STR_String m_name
bool m_negevent
bool m_posevent
STR_String m_text

Private Attributes

STR_String m_body
bool m_bPropBody
bool m_lastEvent
class NG_NetworkScene * m_networkscene
STR_String m_subject
STR_String m_toPropName

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index