Atlas-C++
|
#include <Codec.h>
Public Member Functions | |
virtual void | poll (bool can_get=true)=0 |
![]() | |
virtual void | streamBegin ()=0 |
Begin an Atlas stream. | |
virtual void | streamMessage ()=0 |
Start a message in an Atlas stream. | |
virtual void | streamEnd ()=0 |
Ends the Atlas stream. | |
virtual void | mapMapItem (const std::string &name)=0 |
Starts a map object to the currently streamed map. | |
virtual void | mapListItem (const std::string &name)=0 |
Starts a list object to the currently streamed map. | |
virtual void | mapIntItem (const std::string &name, long)=0 |
Adds an integer to the currently streames map. | |
virtual void | mapFloatItem (const std::string &name, double)=0 |
Adds a float to the currently streamed map. | |
virtual void | mapStringItem (const std::string &name, const std::string &)=0 |
Adds a string to the currently streamed map. | |
virtual void | mapEnd ()=0 |
Ends the currently streamed map. | |
virtual void | listMapItem ()=0 |
Starts a map object in the currently streamed list. | |
virtual void | listListItem ()=0 |
Starts a list object in the currently streamed list. | |
virtual void | listIntItem (long)=0 |
Adds an integer to the currently streames list. | |
virtual void | listFloatItem (double)=0 |
Adds a float to the currently streamed list. | |
virtual void | listStringItem (const std::string &)=0 |
Adds a string to the currently streamed list. | |
virtual void | listEnd ()=0 |
Ends the currently streamed list. | |
Atlas stream codec.
This class presents an interface for sending and receiving Atlas messages. Each outgoing message is converted to a byte stream and piped through an optional chain of filters for compression or other transformations, then passed to a socket for transmission. Incoming messages are read from the socket, piped through the filters in the opposite direction and passed to a user specified Bridge callback class.
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.