Orocos Real-Time Toolkit  2.6.0
Classes | Namespaces
binary_data_archive.hpp File Reference

This file implements a 'level 2' binary archiver of serializable objects. More...

#include <cassert>
#include <istream>
#include <ostream>
#include <streambuf>
#include <cstring>
#include <boost/serialization/serialization.hpp>
#include <boost/serialization/is_bitwise_serializable.hpp>
#include <boost/archive/detail/iserializer.hpp>
#include <boost/archive/detail/oserializer.hpp>
#include <boost/archive/archive_exception.hpp>
#include <boost/config.hpp>
#include <boost/mpl/bool.hpp>
#include <boost/version.hpp>

Go to the source code of this file.

Classes

class  RTT::mqueue::binary_data_iarchive
 This archive is capable of loading objects of serialization level 1 and 2 from a binary, non-portable format. More...
struct  RTT::mqueue::binary_data_iarchive::use_array_optimization
 We provide an optimized load for all fundamental types typedef serialization::is_bitwise_serializable<mpl::_1> use_array_optimization;. More...
class  RTT::mqueue::binary_data_oarchive
 This archive is capable of saving objects of serialization level 1 and 2 in a binary, non-portable format. More...
struct  RTT::mqueue::binary_data_oarchive::use_array_optimization
 We provide an optimized load for all fundamental types typedef serialization::is_bitwise_serializable<mpl::_1> use_array_optimization;. More...

Namespaces

namespace  RTT
 

Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.



Detailed Description

This file implements a 'level 2' binary archiver of serializable objects.

It can be used if only 'Plain Old Data' must be stored and has the advantage that it doesn't allocate memory, nor during construction of the archive, nor during serializing/deserializing.

No class information or cross-references are stored.

This archive is header-only and does not depend on the serialization DLL.

Definition in file binary_data_archive.hpp.