#include <DataBlock_Function.h>
Inheritance diagram for RNReplicaNet::DataBlock_Function:
Public Member Functions | |
DataBlock_Function () | |
virtual | ~DataBlock_Function () |
virtual void | Poll (DataBlockReason *reason) |
virtual void | ParseMessage (MessageHelper *message) |
void | RegisterInClassPointer (void *classp, void *funcp) |
void | AddFunctionStateChange (void *data, int len, const char *debug=0) |
bool | IsAttached (void *data) |
Static Public Member Functions | |
static DataBlock_Function * | Register (void *classp, void *funcp) |
static void | SetSessionIDFilter (const int numSessionIDs=0, const int *sessionIDs=0) |
|
The ctor performs some basic initialisation |
|
The dtor makes sure everything is tidy |
|
Given a data pointer this function identifies if this data block is attached to the pointer.
Reimplemented from RNReplicaNet::DataBlock. |
|
This parses a message for the derived class of this data block
Reimplemented from RNReplicaNet::DataBlock. |
|
A poll function that is called by ReplicaNet to check for updates to this particular data block. If this virtual method is implemented by a derived class this base class method should be called before a data packet is created.
Reimplemented from RNReplicaNet::DataBlock. |
|
This registers the memory area with this data block type and returns a new pointer
|
|
This registers the memory area with this data block type. This is used when the memory is in datablocks that are allocated as part of a bigger class.
|
|
This configures the next networked function call from a master object to send the function call to the nominated sessionIDs. After the function call is completed all subsequent network function calls are sent without this filter unless this function is used. The NOMINATED_REPLICAS_FUNCTION_CALL() macro also uses this function.
|