Atlas::Objects::ObjectsEncoder Class Reference

Objects hierarchy encoder. More...

#include <Encoder.h>

Inheritance diagram for Atlas::Objects::ObjectsEncoder:

Atlas::EncoderBase

List of all members.

Public Member Functions

 ObjectsEncoder (Atlas::Bridge &b)
 The default constructor.
 ~ObjectsEncoder ()
 The default destructor.
template<class ObjectData >
void streamObjectsMessage (const Atlas::Objects::SmartPtr< ObjectData > &o)
 Send an object to the bridge.


Detailed Description

Objects hierarchy encoder.

This Encoder can be used to send objects in the Atlas::Objects hierarchy to a certain Bridge (e.g. a codec).

Simply call the streamMessage member with a pointer to the object to be sent.

See also:
Atlas::Objects::Decoder
Author:
Stefanus Du Toit <sdt@gmx.net>

Constructor & Destructor Documentation

Atlas::Objects::ObjectsEncoder::ObjectsEncoder ( Atlas::Bridge b  )  [inline, explicit]

The default constructor.

Parameters:
b The Bridge to which objects are to be sent.


Member Function Documentation

template<class ObjectData >
void Atlas::Objects::ObjectsEncoder::streamObjectsMessage ( const Atlas::Objects::SmartPtr< ObjectData > &  o  )  [inline]

Send an object to the bridge.

Parameters:
o The object that is to be sent.


The documentation for this class was generated from the following file:

Copyright 2000-2004 the respective authors.

This document can be licensed under the terms of the GNU Free Documentation License or the GNU General Public License and may be freely distributed under the terms given by one of these licenses.