eq::server::ConfigSerializer Class Reference

Serializes all data for a Config, which is a net::Session and can't be a net::Object at the same time. More...

#include <configSerializer.h>

Inheritance diagram for eq::server::ConfigSerializer:

Inheritance graph
[legend]
Collaboration diagram for eq::server::ConfigSerializer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ConfigSerializer (Config *const config)

Protected Member Functions

virtual Object::ChangeType getChangeType () const
virtual void getInstanceData (net::DataOStream &os)
 Serialize the instance information about this managed object.
virtual void applyInstanceData (net::DataIStream &is)
 Deserialize the instance data.


Detailed Description

Serializes all data for a Config, which is a net::Session and can't be a net::Object at the same time.

Definition at line 34 of file configSerializer.h.


Member Function Documentation

virtual Object::ChangeType eq::server::ConfigSerializer::getChangeType (  )  const [inline, protected, virtual]

Returns:
how the changes are to be handled.

Reimplemented from eq::net::Object.

Definition at line 43 of file configSerializer.h.

References eq::net::Object::INSTANCE.

void eq::server::ConfigSerializer::getInstanceData ( 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 91 of file configSerializer.cpp.

References eq::server::Config::accept(), eq::server::Config::getFAttribute(), and eq::server::Config::getLatency().

Here is the call graph for this function:

virtual void eq::server::ConfigSerializer::applyInstanceData ( net::DataIStream is  )  [inline, 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 47 of file configSerializer.h.


The documentation for this class was generated from the following files:
Generated on Mon Aug 10 18:58:45 2009 for Equalizer 0.9 by  doxygen 1.5.8