Atlas-C++
|
Objects hierarchy encoder. More...
#include <Encoder.h>
Public Member Functions | |
ObjectsEncoder (Atlas::Bridge &b) | |
The default constructor. More... | |
~ObjectsEncoder () | |
The default destructor. | |
template<class ObjectData > | |
void | streamObjectsMessage (const Atlas::Objects::SmartPtr< ObjectData > &o) |
Send an object to the bridge. More... | |
![]() | |
EncoderBase (Atlas::Bridge &b) | |
You will need to implement this in subclasses. | |
void | streamBegin () |
void | streamMessage () |
void | streamEnd () |
void | mapMapItem (const std::string &name) |
void | mapListItem (const std::string &name) |
void | mapIntItem (const std::string &name, long i) |
void | mapFloatItem (const std::string &name, double d) |
void | mapStringItem (const std::string &name, const std::string &s) |
void | mapEnd () |
void | listMapItem () |
void | listListItem () |
void | listIntItem (long i) |
void | listFloatItem (double d) |
void | listStringItem (const std::string &s) |
void | listEnd () |
Additional Inherited Members | |
![]() | |
Atlas::Bridge & | m_b |
The bridge that requests are forwarded to. | |
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.
|
inlineexplicit |
The default constructor.
b | The Bridge to which objects are to be sent. |
|
inline |
Send an object to the bridge.
o | The object that is to be sent. |
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.