You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3dpcp/.svn/pristine/0b/0bd8fcfb82e0a325a9450fccd86...

29 lines
602 B
Plaintext

/**
* @file
* @brief
*
* @author Thomas Escher
*/
#ifndef SHARED_FRAME_H
#define SHARED_FRAME_H
#include "slam6d/frame.h"
#include <boost/interprocess/managed_shared_memory.hpp>
#include <boost/interprocess/containers/vector.hpp>
// hide the boost namespace and shorten others
namespace
{
namespace ip = boost::interprocess;
// the segment manager providing the allocations
typedef ip::managed_shared_memory::segment_manager SegmentManager;
}
typedef ip::allocator<Frame, SegmentManager> FrameAllocator;
typedef ip::vector<Frame, FrameAllocator> FrameVector;
#endif //SHARED_FRAME_H