Atlas-C++
Public Member Functions | List of all members
Atlas::Message::Layer< Decoder > Class Template Reference

Layer that combines Atlas::Message::Encoder and a decoder. More...

#include <Layer.h>

Inheritance diagram for Atlas::Message::Layer< Decoder >:
Atlas::Message::Encoder Atlas::EncoderBase

Public Member Functions

 Layer (Atlas::Bridge *b)
 
- Public Member Functions inherited from Atlas::Message::Encoder
 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

template<class Decoder>
class Atlas::Message::Layer< Decoder >

Layer that combines Atlas::Message::Encoder and a decoder.

This class simply combines Atlas::Message::Encoder and a decoder of your choice (derived from DecoderBase) into a single layer.

See also
DecoderBase
Encoder
Object

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.