My Project
|
#include <SerialNeutronExchanger.hh>
Public Member Functions | |
SerialNeutronExchanger (ASIO_local &Al) | |
SerialNeutronExchanger (ASIO_remote &Ar) | |
SerialNeutronExchanger (boost::asio::ip::tcp::iostream *_h) | |
template<typename T > | |
void | Transmit (const T &val) |
template<typename T > | |
void | Receive (T &val) |
UInt4 | ReceiveUInt4 (void) |
Int4 | ReceiveInt4 (void) |
std::string | ReceiveString (void) |
Double | ReceiveDouble (void) |
basic class for the network exchange of Manyo-lib data containers with Boost serialization
SerialNeutronExchanger needs ASIO_local or ASIO_remote for the boost asio iostream.
void SerialNeutronExchanger::Receive | ( | T & | val | ) | [inline] |
Receive any type of object with boost::serialization (binary) and boost::asio
val | reference to the object to receive and write to (mainly UInt4, Int4, std::string, Double and there std::vector, and Manyo's object HeaderBase, {Element, UInt4}Container{, Array, Matrix} |
void SerialNeutronExchanger::Transmit | ( | const T & | val | ) | [inline] |
Transmit any type of object with boost::serialization (binary) and boost::asio
val | reference to the object to transmit (mainly UInt4, Int4, std::string, Double and there std::vector, and Manyo's object HeaderBase, {Element, UInt4}Container{, Array, Matrix} |