Orocos Real-Time Toolkit  2.9.0
Classes | Namespaces | Macros
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/version.hpp>
#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>

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...
 
struct  RTT::mqueue::binary_data_iarchive::use_array_optimization::apply< T >
 
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...
 
struct  RTT::mqueue::binary_data_oarchive::use_array_optimization::apply< T >
 

Namespaces

 RTT
 Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
 
 RTT::mqueue
 

Macros

#define BOOST_PFTO
 

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.

Macro Definition Documentation

#define BOOST_PFTO

Definition at line 92 of file binary_data_archive.hpp.