class CAVERN_builder_NetEventManager : public TcNetEventManager

Network Event Manager class

Inheritance:


Public Methods

CAVERN_builder_NetEventManager()
Constructor.
virtual ~CAVERN_builder_NetEventManager()
Destructor.
virtual void handleNetworkEvents()
Called by the execution control loop once per iteration to handle network events.
void handleModelEvents()
Processes incoming model events.
void handlePublicModelUpdates()
Processes incoming model upates.
void handlePublicSessionEvents()
Process incoming public broadcasts.
void handleAvatarEvents()
Process avatar events.
void handlePublicAvatarUpdates()
Process avatar updates.
void setConnectionManager(CAVERN_builder_NetConnectionManager* cm)
Set method used by the Network manager.
void setNetManager(CAVERN_builder_NetManager *m)
Set method used by the Network manager.
void setKeyReceivingDock(TdNetCavKey &)
Sets a TdNetCavKey's receiving dock
void setAvUpdateDock(TdNetCavKey &)
Set key's receivingDock method.
void setAvEventDock(TdNetCavKey &)
Set key's receivingDock method.
void setAvGeometryDock(TdNetCavKey &)
Set key's receivingDock method.
void createPrivateAvatarKeys(const TcUtString& clientId)
After receiving a confirmation from the server. Private keys are established.
void sendTrackerData(TrackerData &, TrackerData &)
Package transformation and rotation data from two sensors into network events.
void sendSharedModel( const TcUtString &compName, const TcUtString &fileName, float matrix[], const CAVERN_builder_GeometryTransferEvent::CompAtts &compAtts, const bool &collision)
Sends a network event for a script shared model.
void sendSharedModel( const TcUtString &compName, const TcUtString &fileName, const TcUtVector3f &orn, const TcUtVector3f &trans, const TcUtVector3f &scale, const CAVERN_builder_GeometryTransferEvent::CompAtts &compAtts, const bool &collision)
Sends a network event for a runtime shared model.
void sendModelUpdate(CAVERN_builder_NetModelUpdateEvent &event)
Sends model transformation data across the network.
void removeSharedModel(const TcUtString &id)
Sends a delete model event across the network.
static void modelEventCB( CAVERN_irbKey_c::CAVERN_irbKeyEvent_t event, CAVERN_irbKey_c *thisKey, void* userData)
Callback method shared with the publicModelEventKey
void setConnectName(const TcUtString& name)
Sets the requested connect name.
const TcUtString& getClientId()
Returns the client id assigned by the server.

Documentation

Network Event Manager class. This class is the processor of network events. It packages outgoing requests from the application into network events. It maintains receiving docks shared with the connection manager that handle asynchronous incoming network events. It processes events in these docks and delivers them to the approriate application objects, either explicitly through a data member or through the use of an action broadcast.
CAVERN_builder_NetEventManager()
Constructor.

virtual ~CAVERN_builder_NetEventManager()
Destructor.

virtual void handleNetworkEvents()
Called by the execution control loop once per iteration to handle network events.

void handleModelEvents()
Processes incoming model events.

void handlePublicModelUpdates()
Processes incoming model upates.

void handlePublicSessionEvents()
Process incoming public broadcasts.

void handleAvatarEvents()
Process avatar events.

void handlePublicAvatarUpdates()
Process avatar updates.

void setConnectionManager(CAVERN_builder_NetConnectionManager* cm)
Set method used by the Network manager.

void setNetManager(CAVERN_builder_NetManager *m)
Set method used by the Network manager.

void setKeyReceivingDock(TdNetCavKey &)
Sets a TdNetCavKey's receiving dock. This method maintains a mapping between key names and their respective receiving docks.

void setAvUpdateDock(TdNetCavKey &)
Set key's receivingDock method.

void setAvEventDock(TdNetCavKey &)
Set key's receivingDock method.

void setAvGeometryDock(TdNetCavKey &)
Set key's receivingDock method.

void createPrivateAvatarKeys(const TcUtString& clientId)
After receiving a confirmation from the server. Private keys are established.

void sendTrackerData(TrackerData &, TrackerData &)
Package transformation and rotation data from two sensors into network events.

void sendSharedModel( const TcUtString &compName, const TcUtString &fileName, float matrix[], const CAVERN_builder_GeometryTransferEvent::CompAtts &compAtts, const bool &collision)
Sends a network event for a script shared model.

void sendSharedModel( const TcUtString &compName, const TcUtString &fileName, const TcUtVector3f &orn, const TcUtVector3f &trans, const TcUtVector3f &scale, const CAVERN_builder_GeometryTransferEvent::CompAtts &compAtts, const bool &collision)
Sends a network event for a runtime shared model.

void sendModelUpdate(CAVERN_builder_NetModelUpdateEvent &event)
Sends model transformation data across the network.

void removeSharedModel(const TcUtString &id)
Sends a delete model event across the network.

static void modelEventCB( CAVERN_irbKey_c::CAVERN_irbKeyEvent_t event, CAVERN_irbKey_c *thisKey, void* userData)
Callback method shared with the publicModelEventKey

void setConnectName(const TcUtString& name)
Sets the requested connect name.

const TcUtString& getClientId()
Returns the client id assigned by the server.


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de