OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Classes | Public Member Functions | Private Attributes | List of all members
Message::MsgItem Class Reference

#include <Message.h>

Collaboration diagram for Message::MsgItem:
Collaboration graph
[legend]

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 158 of file Message.h.

Constructor & Destructor Documentation

Message::MsgItem::MsgItem ( )
inline

Definition at line 174 of file Message.h.

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

Definition at line 177 of file Message.h.

References item, and needDelete.

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

Definition at line 214 of file Message.h.

References defbuf, and item.

Message::MsgItem::~MsgItem ( )
inline

Definition at line 223 of file Message.h.

Member Function Documentation

void Message::MsgItem::cancelDelete ( )
inline

Definition at line 246 of file Message.h.

References needDelete.

Referenced by Message::remove().

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

Definition at line 258 of file Message.h.

References item, and willNeedDelete().

Here is the call graph for this function:

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

Definition at line 234 of file Message.h.

References bytesize.

unsigned int Message::MsgItem::numBytes ( ) const
inline
unsigned int Message::MsgItem::numElems ( ) const
inline
bool Message::MsgItem::willNeedDelete ( ) const
inline

Definition at line 240 of file Message.h.

References item, and needDelete.

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

Member Data Documentation

unsigned int Message::MsgItem::bytesize
private

Definition at line 269 of file Message.h.

Referenced by elemSize(), and numBytes().

MsgItemBuf Message::MsgItem::defbuf
private

Definition at line 272 of file Message.h.

Referenced by MsgItem().

unsigned int Message::MsgItem::elements
private

Definition at line 269 of file Message.h.

Referenced by numElems().

void* Message::MsgItem::item
private

Definition at line 266 of file Message.h.

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

bool Message::MsgItem::needDelete
private

Definition at line 275 of file Message.h.

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


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