ChannelResource() = deleteNo comment in the header yet.
API · fair::mq
fair::mq::MemoryResourceThis is the allocator that interfaces to FairMQ memory management. All allocations are delegated to FairMQ so standard (e.g. STL) containers can construct their stuff in memory regions appropriate for the data channel configuration.
ChannelResource() = deleteNo comment in the header yet.
ChannelResource(TransportFactory* _factory)No comment in the header yet.
virtual MessagePtr getMessage(void* p) overridereturn the message containing data associated with the pointer (to start of buffer), e.g. pointer returned by std::vector::data() return nullptr if returning a message does not make sense!
virtual void* setMessage(MessagePtr message) overrideNo comment in the header yet.
virtual TransportFactory* getTransportFactory() noexcept overrideNo comment in the header yet.
virtual size_t getNumberOfMessages() const noexcept overrideNo comment in the header yet.
void* do_allocate(std::size_t bytes, std::size_t alignment) overrideMemory allocators and interfaces related to managing memory via the trasport layer.
void do_deallocate(void* p, std::size_t, std::size_t) overrideNo comment in the header yet.
bool do_is_equal(const pmr::memory_resource& other) const noexcept overrideNo comment in the header yet.
TransportFactory* factory {nullptr}No comment in the header yet.
boost::container::flat_map<void*, MessagePtr> messageMapNo comment in the header yet.