eq::net::Object to distribute a model, holds a VertexBufferBase node. More...
#include <vertexBufferDist.h>


Public Member Functions | |
| VertexBufferDist (const mesh::VertexBufferRoot *root) | |
| void | registerTree (eq::net::Session *session) |
| void | deregisterTree () |
| mesh::VertexBufferRoot * | mapModel (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. | |
eq::net::Object to distribute a model, holds a VertexBufferBase node.
Definition at line 29 of file vertexBufferDist.h.
| 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.
| os | The output stream. |
Implements eq::net::Object.
Definition at line 129 of file vertexBufferDist.cpp.
References eq::net::Object::getID().

| 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.
| 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().

0.9.1 by
1.6.1