eqPly::VertexBufferDist Class Reference

eq::net::Object to distribute a model, holds a VertexBufferBase node. More...

#include <vertexBufferDist.h>

Inheritance diagram for eqPly::VertexBufferDist:
Inheritance graph
[legend]
Collaboration diagram for eqPly::VertexBufferDist:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 VertexBufferDist (const mesh::VertexBufferRoot *root)
void registerTree (eq::net::Session *session)
void deregisterTree ()
mesh::VertexBufferRootmapModel (eq::net::Session *session, const uint32_t modelID)
void unmapTree ()

Protected Member Functions

 VertexBufferDist (const mesh::VertexBufferRoot *root, const mesh::VertexBufferBase *node)
virtual void getInstanceData (eq::net::DataOStream &os)
 Serialize the instance information about this managed object.
virtual void applyInstanceData (eq::net::DataIStream &is)
 Deserialize the instance data.

Detailed Description

eq::net::Object to distribute a model, holds a VertexBufferBase node.

Definition at line 29 of file vertexBufferDist.h.


Member Function Documentation

void eqPly::VertexBufferDist::getInstanceData ( eq::net::DataOStream os  )  [protected, virtual]

Serialize the instance information about this managed object.

The default implementation uses the data provided by setInstanceData.

Parameters:
os The output stream.

Implements eq::net::Object.

Definition at line 129 of file vertexBufferDist.cpp.

References eq::net::Object::getID().

Here is the call graph for this function:

void eqPly::VertexBufferDist::applyInstanceData ( eq::net::DataIStream is  )  [protected, virtual]

Deserialize the instance data.

This method is called during object mapping to populate slave instances with the master object's data. The default implementation writes the data into the memory declared by setInstanceData.

Parameters:
is the input stream.

Implements eq::net::Object.

Definition at line 162 of file vertexBufferDist.cpp.

References eq::net::Object::getSession(), eq::net::Session::mapObjectNB(), and eq::net::Session::mapObjectSync().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Sat Feb 6 13:15:42 2010 for Equalizer 0.9.1 by  doxygen 1.6.1