Atlas 0.7.0
Networking protocol for the Worldforge system.
Atlas::Net::LoopBridge Class Reference
Inheritance diagram for Atlas::Net::LoopBridge:
Collaboration diagram for Atlas::Net::LoopBridge:

Public Member Functions

 LoopBridge (Bridge *bridge)
 
void streamBegin () override
 
void streamMessage () override
 
void streamEnd () override
 
void mapMapItem (std::string name) override
 
void mapListItem (std::string name) override
 
void mapIntItem (std::string name, std::int64_t data) override
 
void mapFloatItem (std::string name, double data) override
 
void mapStringItem (std::string name, std::string data) override
 
virtual void mapNoneItem (std::string name) override
 
void mapEnd () override
 
void listMapItem () override
 
void listListItem () override
 
void listIntItem (std::int64_t data) override
 
void listFloatItem (double data) override
 
void listStringItem (std::string data) override
 
void listNoneItem () override
 
void listEnd () override
 

Detailed Description

Definition at line 11 of file Loopback.cpp.

Constructor & Destructor Documentation

◆ LoopBridge()

Atlas::Net::LoopBridge::LoopBridge ( Bridge bridge)
inlineexplicit

Definition at line 15 of file Loopback.cpp.

Member Function Documentation

◆ listEnd()

void Atlas::Net::LoopBridge::listEnd ( )
inlineoverridevirtual

Ends the currently streamed list.

Implements Atlas::Bridge.

Definition at line 98 of file Loopback.cpp.

References Atlas::Bridge::listEnd().

◆ listFloatItem()

void Atlas::Net::LoopBridge::listFloatItem ( double  )
inlineoverridevirtual

Adds a float to the currently streamed list.

Implements Atlas::Bridge.

Definition at line 82 of file Loopback.cpp.

References Atlas::Bridge::listFloatItem().

◆ listIntItem()

void Atlas::Net::LoopBridge::listIntItem ( std::int64_t  )
inlineoverridevirtual

Adds an integer to the currently streamed list.

Implements Atlas::Bridge.

Definition at line 77 of file Loopback.cpp.

References Atlas::Bridge::listIntItem().

◆ listListItem()

void Atlas::Net::LoopBridge::listListItem ( )
inlineoverridevirtual

Starts a list object in the currently streamed list.

Implements Atlas::Bridge.

Definition at line 72 of file Loopback.cpp.

References Atlas::Bridge::listListItem().

◆ listMapItem()

void Atlas::Net::LoopBridge::listMapItem ( )
inlineoverridevirtual

Starts a map object in the currently streamed list.

Implements Atlas::Bridge.

Definition at line 67 of file Loopback.cpp.

References Atlas::Bridge::listMapItem().

◆ listNoneItem()

void Atlas::Net::LoopBridge::listNoneItem ( )
inlineoverridevirtual

Adds an empty item to the currently streamed list.

Implements Atlas::Bridge.

Definition at line 92 of file Loopback.cpp.

References Atlas::Bridge::listNoneItem().

◆ listStringItem()

void Atlas::Net::LoopBridge::listStringItem ( std::string  )
inlineoverridevirtual

Adds a string to the currently streamed list.

Implements Atlas::Bridge.

Definition at line 87 of file Loopback.cpp.

References Atlas::Bridge::listStringItem().

◆ mapEnd()

void Atlas::Net::LoopBridge::mapEnd ( )
inlineoverridevirtual

Ends the currently streamed map.

Implements Atlas::Bridge.

Definition at line 62 of file Loopback.cpp.

References Atlas::Bridge::mapEnd().

◆ mapFloatItem()

void Atlas::Net::LoopBridge::mapFloatItem ( std::string  name,
double   
)
inlineoverridevirtual

Adds a float to the currently streamed map.

Implements Atlas::Bridge.

Definition at line 47 of file Loopback.cpp.

References Atlas::Bridge::mapFloatItem().

◆ mapIntItem()

void Atlas::Net::LoopBridge::mapIntItem ( std::string  name,
std::int64_t   
)
inlineoverridevirtual

Adds an integer to the currently streamed map.

Implements Atlas::Bridge.

Definition at line 42 of file Loopback.cpp.

References Atlas::Bridge::mapIntItem().

◆ mapListItem()

void Atlas::Net::LoopBridge::mapListItem ( std::string  name)
inlineoverridevirtual

Starts a list object to the currently streamed map.

Implements Atlas::Bridge.

Definition at line 37 of file Loopback.cpp.

References Atlas::Bridge::mapListItem().

◆ mapMapItem()

void Atlas::Net::LoopBridge::mapMapItem ( std::string  name)
inlineoverridevirtual

Starts a map object to the currently streamed map.

Implements Atlas::Bridge.

Definition at line 32 of file Loopback.cpp.

References Atlas::Bridge::mapMapItem().

◆ mapNoneItem()

virtual void Atlas::Net::LoopBridge::mapNoneItem ( std::string  name)
inlineoverridevirtual

Adds a none item to the currently streamed map.

Implements Atlas::Bridge.

Definition at line 57 of file Loopback.cpp.

References Atlas::Bridge::mapNoneItem().

◆ mapStringItem()

void Atlas::Net::LoopBridge::mapStringItem ( std::string  name,
std::string   
)
inlineoverridevirtual

Adds a string to the currently streamed map.

Implements Atlas::Bridge.

Definition at line 52 of file Loopback.cpp.

References Atlas::Bridge::mapStringItem().

◆ streamBegin()

void Atlas::Net::LoopBridge::streamBegin ( )
inlineoverridevirtual

Begin an Atlas stream.

Implements Atlas::Bridge.

Definition at line 17 of file Loopback.cpp.

References Atlas::Bridge::streamBegin().

◆ streamEnd()

void Atlas::Net::LoopBridge::streamEnd ( )
inlineoverridevirtual

Ends the Atlas stream.

Implements Atlas::Bridge.

Definition at line 27 of file Loopback.cpp.

References Atlas::Bridge::streamEnd().

◆ streamMessage()

void Atlas::Net::LoopBridge::streamMessage ( )
inlineoverridevirtual

Start a message in an Atlas stream.

Implements Atlas::Bridge.

Definition at line 22 of file Loopback.cpp.

References Atlas::Bridge::streamMessage().


The documentation for this class was generated from the following file: