1 #ifndef FWCore_SharedMemory_WriteBuffer_h 2 #define FWCore_SharedMemory_WriteBuffer_h 28 #include "boost/interprocess/managed_shared_memory.hpp" 77 boost::interprocess::managed_shared_memory*
operator->() {
return sm_.get(); }
78 boost::interprocess::managed_shared_memory*
get() {
return sm_.get(); }
84 std::unique_ptr<boost::interprocess::managed_shared_memory>
sm_;
constexpr char const *const kBuffer0
struct edm::shared_memory::WriteBuffer::SMOwner sm_
boost::interprocess::managed_shared_memory * operator->()
std::unique_ptr< boost::interprocess::managed_shared_memory > sm_
void growBuffer(std::size_t iLength)
std::array< std::string, 2 > bufferNames_
const WriteBuffer & operator=(const WriteBuffer &)=delete
constexpr char const *const kBuffer1
WriteBuffer(std::string const &iUniqueName, BufferInfo *iBufferInfo)
SMOwner & operator=(SMOwner &&)
void copyToBuffer(const char *iStart, std::size_t iLength)