My Project
Public Member Functions
SerialNeutronExchanger Class Reference

#include <SerialNeutronExchanger.hh>

List of all members.

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)

Detailed Description

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.


Member Function Documentation

template<typename T >
void SerialNeutronExchanger::Receive ( T &  val) [inline]

Receive any type of object with boost::serialization (binary) and boost::asio

Parameters:
valreference 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}
template<typename T >
void SerialNeutronExchanger::Transmit ( const T &  val) [inline]

Transmit any type of object with boost::serialization (binary) and boost::asio

Parameters:
valreference 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}

The documentation for this class was generated from the following file:
 All Classes Functions Variables Friends