1 #ifndef FWCore_SharedMemory_ReadBuffer_h
2 #define FWCore_SharedMemory_ReadBuffer_h
25 #include "boost/interprocess/managed_shared_memory.hpp"
33 namespace edm::shared_memory {
54 std::pair<char*, std::size_t>
buffer() {
56 using namespace boost::interprocess;
71 std::unique_ptr<boost::interprocess::managed_shared_memory>
sm_;
std::pair< char *, std::size_t > buffer()
constexpr char const *const kBuffer0
constexpr char const *const kBuffer
std::unique_ptr< boost::interprocess::managed_shared_memory > sm_
bool mustGetBufferAgain() const
ReadBuffer(std::string const &iUniqueName, BufferInfo *iBufferInfo)
constexpr char const *const kBuffer1
std::array< std::string, 2 > bufferNames_
int bufferIdentifier() const
const ReadBuffer & operator=(const ReadBuffer &)=delete
std::pair< char *, std::size_t > buffer_