Atlas-C++
Public Member Functions | List of all members
Atlas::Message::Encoder Class Reference

Encoder that transmits Atlas::Message::Element. More...

#include <MEncoder.h>

Inheritance diagram for Atlas::Message::Encoder:
Atlas::EncoderBase

Public Member Functions

 Encoder (Atlas::Bridge &)
 
void streamMessageElement (const MapType &obj)
 Send a message (must be a map!) in stream state.
 
void mapElementItem (const std::string &, const Element &)
 Send an object as a map item.
 
void mapElementMapItem (const std::string &, const MapType &)
 
void mapElementListItem (const std::string &, const ListType &)
 
void listElementItem (const Element &)
 Send an object as a list item.
 
void listElementMapItem (const MapType &)
 
void listElementListItem (const ListType &)
 
- Public Member Functions inherited from Atlas::EncoderBase
 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

- Protected Attributes inherited from Atlas::EncoderBase
Atlas::Bridgem_b
 The bridge that requests are forwarded to.
 

Detailed Description

Encoder that transmits Atlas::Message::Element.

This encoder can be used to send Atlas::Message::Element objects representing full atlas messages.

See also
Element
Atlas::Bridge
Atlas::EncoderBase
Author
Stefanus Du Toit sdt@g.nosp@m.mx.n.nosp@m.et

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.