|
Atlas
0.7.0
Networking protocol for the Worldforge system.
|
#include <MEncoder.h>


Public Member Functions | |
| Encoder (Atlas::Bridge &) | |
| void | streamMessageElement (const MapType &obj) |
| Send a message (must be a map!) in stream state. More... | |
| void | mapElementItem (const std::string &, const Element &) |
| Send an object as a map item. More... | |
| 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. More... | |
| void | listElementMapItem (const MapType &) |
| void | listElementListItem (const ListType &) |
| void | streamBegin () |
| void | streamMessage () |
| void | streamEnd () |
| void | mapMapItem (const std::string &name) |
| void | mapListItem (const std::string &name) |
| void | mapIntItem (const std::string &name, std::int64_t 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 (std::int64_t i) |
| void | listFloatItem (double d) |
| void | listStringItem (const std::string &s) |
| void | listEnd () |
Protected Attributes | |
| Atlas::Bridge & | m_b |
| The bridge that requests are forwarded to. More... | |
Encoder that transmits Atlas::Message::Element.
This encoder can be used to send Atlas::Message::Element objects representing full atlas messages.
Definition at line 33 of file MEncoder.h.
| void Atlas::Message::Encoder::listElementItem | ( | const Element & | obj | ) |
Send an object as a list item.
Definition at line 19 of file MEncoder.cpp.
| void Atlas::Message::Encoder::mapElementItem | ( | const std::string & | name, |
| const Element & | obj | ||
| ) |
Send an object as a map item.
Definition at line 66 of file MEncoder.cpp.
| void Atlas::Message::Encoder::streamMessageElement | ( | const MapType & | obj | ) |
Send a message (must be a map!) in stream state.
Definition at line 114 of file MEncoder.cpp.
|
protectedinherited |
The bridge that requests are forwarded to.
Definition at line 64 of file EncoderBase.h.
Referenced by Atlas::Objects::ObjectsEncoder::streamObjectsMessage().