OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Message::MsgItem Class Reference

#include <Message.h>

Collaboration diagram for Message::MsgItem:

Classes

struct  MsgItemBuf

Public Member Functions

 MsgItem ()
 MsgItem (void *d, unsigned int elems, unsigned int totbytes, bool needcopy, bool needdel)
 MsgItem (const MsgItem &m)
 ~MsgItem ()
unsigned int numBytes () const
unsigned int numElems () const
unsigned int elemSize () const
bool willNeedDelete () const
void cancelDelete ()
void * data ()
void deleteData ()

Private Attributes

void * item
unsigned int elements
unsigned int bytesize
MsgItemBuf defbuf
bool needDelete

Detailed Description

Definition at line 150 of file Message.h.

Constructor & Destructor Documentation

◆ MsgItem() [1/3]

Message::MsgItem::MsgItem ( )
inline

Definition at line 166 of file Message.h.

References bytesize, elements, item, and needDelete.

Referenced by MsgItem().

◆ MsgItem() [2/3]

Message::MsgItem::MsgItem ( void * d,
unsigned int elems,
unsigned int totbytes,
bool needcopy,
bool needdel )
inline

Definition at line 169 of file Message.h.

References bytesize, defbuf, elements, item, and needDelete.

◆ MsgItem() [3/3]

Message::MsgItem::MsgItem ( const MsgItem & m)
inline

Definition at line 206 of file Message.h.

References bytesize, defbuf, elements, item, MsgItem(), and needDelete.

Here is the call graph for this function:

◆ ~MsgItem()

Message::MsgItem::~MsgItem ( )
inline

Definition at line 215 of file Message.h.

Member Function Documentation

◆ cancelDelete()

void Message::MsgItem::cancelDelete ( )
inline

Definition at line 238 of file Message.h.

References needDelete.

Referenced by Message::remove().

◆ data()

void * Message::MsgItem::data ( )
inline

◆ deleteData()

void Message::MsgItem::deleteData ( )
inline

Definition at line 250 of file Message.h.

References item, and willNeedDelete().

Here is the call graph for this function:

◆ elemSize()

unsigned int Message::MsgItem::elemSize ( ) const
inline

Definition at line 226 of file Message.h.

References bytesize, and elements.

◆ numBytes()

unsigned int Message::MsgItem::numBytes ( ) const
inline

◆ numElems()

unsigned int Message::MsgItem::numElems ( ) const
inline

◆ willNeedDelete()

bool Message::MsgItem::willNeedDelete ( ) const
inline

Definition at line 232 of file Message.h.

References item, and needDelete.

Referenced by deleteData(), operator<<(), and Message::remove().

Member Data Documentation

◆ bytesize

unsigned int Message::MsgItem::bytesize
private

Definition at line 261 of file Message.h.

Referenced by elemSize(), MsgItem(), MsgItem(), MsgItem(), and numBytes().

◆ defbuf

MsgItemBuf Message::MsgItem::defbuf
private

Definition at line 264 of file Message.h.

Referenced by MsgItem(), and MsgItem().

◆ elements

unsigned int Message::MsgItem::elements
private

Definition at line 261 of file Message.h.

Referenced by elemSize(), MsgItem(), MsgItem(), MsgItem(), and numElems().

◆ item

void* Message::MsgItem::item
private

Definition at line 258 of file Message.h.

Referenced by data(), deleteData(), MsgItem(), MsgItem(), MsgItem(), and willNeedDelete().

◆ needDelete

bool Message::MsgItem::needDelete
private

Definition at line 267 of file Message.h.

Referenced by cancelDelete(), MsgItem(), MsgItem(), MsgItem(), and willNeedDelete().


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