Blender V2.61 - r43446
Public Member Functions | Public Attributes

SG_Callbacks Struct Reference

#include <SG_IObject.h>

List of all members.

Public Member Functions

 SG_Callbacks ()
 SG_Callbacks (SG_ReplicationNewCallback repfunc, SG_DestructionNewCallback destructfunc, SG_UpdateTransformCallback updatefunc, SG_ScheduleUpdateCallback schedulefunc, SG_RescheduleUpdateCallback reschedulefunc)

Public Attributes

SG_ReplicationNewCallback m_replicafunc
SG_DestructionNewCallback m_destructionfunc
SG_UpdateTransformCallback m_updatefunc
SG_ScheduleUpdateCallback m_schedulefunc
SG_RescheduleUpdateCallback m_reschedulefunc

Detailed Description

SG_Callbacks hold 2 call backs to the outside world. The first is meant to be called when objects are replicated. And allows the outside world to syncronise external objects with replicated nodes and their children. The second is called when a node is detroyed and again is their for synconisation purposes These callbacks may both be NULL. The efficacy of this approach has not been proved some alternatives might be to perform all replication and destruction externally. To define a class interface rather than a simple function call back so that replication information can be transmitted from parent->child.

Definition at line 120 of file SG_IObject.h.


Constructor & Destructor Documentation

SG_Callbacks::SG_Callbacks ( ) [inline]

Definition at line 122 of file SG_IObject.h.

SG_Callbacks::SG_Callbacks ( SG_ReplicationNewCallback  repfunc,
SG_DestructionNewCallback  destructfunc,
SG_UpdateTransformCallback  updatefunc,
SG_ScheduleUpdateCallback  schedulefunc,
SG_RescheduleUpdateCallback  reschedulefunc 
) [inline]

Definition at line 132 of file SG_IObject.h.


Member Data Documentation

Definition at line 148 of file SG_IObject.h.

Referenced by SG_IObject::ActivateDestructionCallback().

Definition at line 145 of file SG_IObject.h.

Referenced by SG_IObject::ActivateReplicationCallback().

Definition at line 151 of file SG_IObject.h.

Referenced by SG_IObject::ActivateRecheduleUpdateCallback().

Definition at line 150 of file SG_IObject.h.

Referenced by SG_IObject::ActivateScheduleUpdateCallback().

Definition at line 149 of file SG_IObject.h.

Referenced by SG_IObject::ActivateUpdateTransformCallback().


The documentation for this struct was generated from the following file: