Project
Loading...
Searching...
No Matches
o2::framework::MessageContext::AlignedMemoryResource Class Reference

#include <MessageContext.h>

Inherits pmr::FairMQMemoryResource.

Public Member Functions

 AlignedMemoryResource (fair::mq::MemoryResource *other)
 
 AlignedMemoryResource (AlignedMemoryResource const &other)
 
bool isValid ()
 
fair::mq::MessagePtr getMessage (void *p) override
 
voidsetMessage (fair::mq::MessagePtr fmm) override
 
fair::mq::TransportFactory * getTransportFactory () noexcept override
 
size_t getNumberOfMessages () const noexcept override
 

Protected Member Functions

voiddo_allocate (size_t bytes, size_t alignment) override
 
void do_deallocate (void *p, size_t bytes, size_t alignment) override
 
bool do_is_equal (const pmr::memory_resource &other) const noexcept override
 

Detailed Description

Definition at line 185 of file MessageContext.h.

Constructor & Destructor Documentation

◆ AlignedMemoryResource() [1/2]

o2::framework::MessageContext::AlignedMemoryResource::AlignedMemoryResource ( fair::mq::MemoryResource *  other)
inline

Definition at line 188 of file MessageContext.h.

◆ AlignedMemoryResource() [2/2]

o2::framework::MessageContext::AlignedMemoryResource::AlignedMemoryResource ( AlignedMemoryResource const &  other)
inline

Definition at line 193 of file MessageContext.h.

Member Function Documentation

◆ do_allocate()

void * o2::framework::MessageContext::AlignedMemoryResource::do_allocate ( size_t  bytes,
size_t  alignment 
)
inlineoverrideprotected

Definition at line 223 of file MessageContext.h.

◆ do_deallocate()

void o2::framework::MessageContext::AlignedMemoryResource::do_deallocate ( void p,
size_t  bytes,
size_t  alignment 
)
inlineoverrideprotected

Definition at line 228 of file MessageContext.h.

◆ do_is_equal()

bool o2::framework::MessageContext::AlignedMemoryResource::do_is_equal ( const pmr::memory_resource &  other) const
inlineoverrideprotectednoexcept

Definition at line 233 of file MessageContext.h.

◆ getMessage()

fair::mq::MessagePtr o2::framework::MessageContext::AlignedMemoryResource::getMessage ( void p)
inlineoverride

Definition at line 202 of file MessageContext.h.

◆ getNumberOfMessages()

size_t o2::framework::MessageContext::AlignedMemoryResource::getNumberOfMessages ( ) const
inlineoverridenoexcept

Definition at line 217 of file MessageContext.h.

◆ getTransportFactory()

fair::mq::TransportFactory * o2::framework::MessageContext::AlignedMemoryResource::getTransportFactory ( )
inlineoverridenoexcept

Definition at line 212 of file MessageContext.h.

◆ isValid()

bool o2::framework::MessageContext::AlignedMemoryResource::isValid ( )
inline

Definition at line 198 of file MessageContext.h.

◆ setMessage()

void * o2::framework::MessageContext::AlignedMemoryResource::setMessage ( fair::mq::MessagePtr  fmm)
inlineoverride

Definition at line 207 of file MessageContext.h.


The documentation for this class was generated from the following file: