Atlas_Bridge(3)

Atlas::Bridge(3) Library Functions Manual Atlas::Bridge(3)

NAME

Atlas::Bridge - Atlas stream bridge.

SYNOPSIS

#include <Bridge.h>

Inherited by Atlas::Codec, Atlas::Formatter, Atlas::Message::DecoderBase, Atlas::PresentationBridge, DebugBridge, and DebugBridge.

Public Member Functions


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.

Detailed Description

Atlas stream bridge.

This class presents an interface that accepts an Atlas stream. The stream begins with a call to streamBegin() and finishes with streamEnd(). While the Bridge is in this stream context, a message can be sent using streamMessage(). This puts the Bridge into a map context, allowing various map*Item() calls.

Several classes are derived from Bridge, the most notable of which is Codec, which accepts an Atlas stream for encoding and transmission.

See also:

Codec

Author

Generated automatically by Doxygen for Atlas-C++ from the source code.

Tue Oct 10 2017 Atlas-C++