ddt 1.2.1
Loading...
Searching...
No Matches
Classes | Namespaces
ddtMemoryAccessor.hpp File Reference

Accessor for a shared memory. This class provides the functionalities to access created shared memories (especially read and write functionality). More...

#include <boost/circular_buffer.hpp>
#include <boost/interprocess/containers/string.hpp>
#include <boost/interprocess/containers/vector.hpp>
#include <boost/interprocess/managed_shared_memory.hpp>
#include <boost/signals2/signal.hpp>
#include <fstream>
#include <future>
#include <iostream>
#include "ddt/ddtConstants.hpp"
#include "ddt/ddtCrc32.hpp"
#include "ddt/ddtLogger.hpp"

Go to the source code of this file.

Classes

struct  ddt::DataSampleShared
 
struct  ddt::DataPacketShared
 
struct  ddt::DataSample
 
struct  ddt::DataPacket
 
class  ddt::DdtMemoryAccessor
 

Namespaces

namespace  ddt
 

Typedefs

typedef ip::managed_shared_memory::segment_manager segment_manager_t
 
typedef ip::allocator< void, segment_manager_tvoid_allocator
 
typedef ip::allocator< uint8_t, segment_manager_tuint8_allocator
 
typedef ip::vector< uint8_t, uint8_allocatoruint8_vector
 
typedef ip::allocator< uint16_t, segment_manager_tuint16_allocator
 
typedef ip::vector< uint16_t, uint16_allocatoruint16_vector
 
typedef ip::allocator< char, segment_manager_tchar_allocator
 
typedef ip::basic_string< char, std::char_traits< char >, char_allocatorchar_string
 
typedef boost::signals2::signal< void()> SignalT
 

Detailed Description

Accessor for a shared memory. This class provides the functionalities to access created shared memories (especially read and write functionality).

Author
Matthias Grimm, CGI
Since
2020/01/16

Typedef Documentation

◆ char_allocator

typedef ip::allocator<char, segment_manager_t> char_allocator

Allocator for chars

◆ char_string

typedef ip::basic_string<char, std::char_traits<char>, char_allocator> char_string

Basic string that uses the char allocator

◆ segment_manager_t

typedef ip::managed_shared_memory::segment_manager segment_manager_t

Typedef of the segment manager

◆ SignalT

typedef boost::signals2::signal<void()> SignalT

Boost signal used for the event handling

◆ uint16_allocator

typedef ip::allocator<uint16_t, segment_manager_t> uint16_allocator

Allocator for uint16_t

◆ uint16_vector

typedef ip::vector<uint16_t, uint16_allocator> uint16_vector

Vector used for 16 bit data

◆ uint8_allocator

typedef ip::allocator<uint8_t, segment_manager_t> uint8_allocator

Allocator for uint8_t

◆ uint8_vector

typedef ip::vector<uint8_t, uint8_allocator> uint8_vector

Vector used for 8 bit data

◆ void_allocator

typedef ip::allocator<void, segment_manager_t> void_allocator

Void allocator for the segment manager