Message Class Reference

#include <Message.h>

Collaboration diagram for Message:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Message (unsigned int numelems=8)
 ~Message ()
size_t size () const
size_t removed () const
bool empty () const
MsgItemitem (size_t n)
const MsgItemitem (size_t n) const
MessagesetCopy (const bool c)
bool willCopy () const
MessagesetDelete (const bool c)
bool willDelete () const
Messageclear ()
void * remove ()
void useCommunicate (Communicate *c, void *d)
template<class T>
Messageput (const T &val)
Messageput (const char *d)
Messageput (const string &s)
template<class ForwardIterator>
Messageput (ForwardIterator beg, ForwardIterator end)
template<class RandomAccessIterator>
Messageput (const vector< size_t > &indices, RandomAccessIterator beg)
Messageputmsg (void *, int, int=0)
template<class T>
Messageget (const T &cval)
Messageget (const string &s)
Messageget ()
template<class OutputIterator>
Messageget_iter (OutputIterator o)
Messagegetmsg (void *)

Classes

class  MsgItem

Detailed Description

Definition at line 167 of file Message.h.


Constructor & Destructor Documentation

Message::Message unsigned int  numelems = 8  )  [inline]
 

Definition at line 271 of file Message.h.

Message::~Message  ) 
 

Definition at line 50 of file MessageFunctions.cpp.

References Communicate::cleanupMessage(), clear(), TAU_MESSAGE, and TAU_PROFILE.

Here is the call graph for this function:


Member Function Documentation

Message & Message::clear  ) 
 

Definition at line 143 of file MessageFunctions.cpp.

References empty(), TAU_MESSAGE, and TAU_PROFILE.

Referenced by ~Message().

Here is the call graph for this function:

bool Message::empty  )  const [inline]
 

Definition at line 287 of file Message.h.

References size().

Referenced by clear(), PutSingleItem< T, false, false >::get_iter(), and getmsg().

Here is the call graph for this function:

Message& Message::get  )  [inline]
 

Definition at line 462 of file Message.h.

References getmsg().

Referenced by get().

Here is the call graph for this function:

Message& Message::get const string s  )  [inline]
 

Definition at line 450 of file Message.h.

References get().

Here is the call graph for this function:

template<class T>
Message& Message::get const T &  cval  )  [inline]
 

Definition at line 442 of file Message.h.

References get().

Referenced by PawsDataConnect::barrier(), BoundsHolder< T, D >::getMessage(), AnyHolder< T, OP >::getMessage(), ParticleBase< PLayout >::getMessage(), getMessage(), Index::getMessage(), Vnode< Dim >::getMessage(), CompressedBrickIterator< T, Dim >::getMessage(), BrickIterator< T, Dim >::getMessage(), AntiSymTenzor< T, 1 >::getMessage(), ParticleBase< PLayout >::ghostGetMessage(), pap(), ParticleBase< PLayout >::resetID(), spap(), ParticleUniformLayout< T, Dim >::update(), ParticleSpatialLayout< T, Dim, Mesh >::update(), and ParticleInteractLayout< T, Dim, Mesh >::update().

Here is the call graph for this function:

template<class OutputIterator>
Message& Message::get_iter OutputIterator  o  )  [inline]
 

Definition at line 472 of file Message.h.

Referenced by vec< unsigned, Dim >::getMessage(), PRegion< T >::getMessage(), getMessage(), and getMessage_iter().

Message & Message::getmsg void *   ) 
 

Definition at line 113 of file MessageFunctions.cpp.

References Message::MsgItem::data(), empty(), endl(), ERRORMSG, item(), Message::MsgItem::numBytes(), PAssert, TAU_MESSAGE, and TAU_PROFILE.

Referenced by get(), PutSingleItem< T, true, true >::get(), and PutSingleItem< T, true, false >::get().

Here is the call graph for this function:

const MsgItem& Message::item size_t  n  )  const [inline]
 

Definition at line 293 of file Message.h.

MsgItem& Message::item size_t  n  )  [inline]
 

Definition at line 292 of file Message.h.

Referenced by Communicate::fill_msg_buffer(), Communicate::find_msg_length(), getmsg(), operator<<(), and remove().

template<class RandomAccessIterator>
Message& Message::put const vector< size_t > &  indices,
RandomAccessIterator  beg
[inline]
 

Definition at line 417 of file Message.h.

References put().

Here is the call graph for this function:

template<class ForwardIterator>
Message& Message::put ForwardIterator  beg,
ForwardIterator  end
[inline]
 

Definition at line 405 of file Message.h.

References put().

Here is the call graph for this function:

Message& Message::put const string s  )  [inline]
 

Definition at line 393 of file Message.h.

References put().

Here is the call graph for this function:

Message& Message::put const char *  d  )  [inline]
 

Definition at line 389 of file Message.h.

References putmsg().

Here is the call graph for this function:

template<class T>
Message& Message::put const T &  val  )  [inline]
 

Definition at line 377 of file Message.h.

Referenced by BareField< T, Dim >::accumGuardCells(), PawsDataConnect::barrier(), BareField< T, Dim >::fillGuardCells(), ParticleBase< PLayout >::ghostPutMessage(), pap(), put(), vec< unsigned, Dim >::putMessage(), PRegion< T >::putMessage(), BoundsHolder< T, D >::putMessage(), AnyHolder< T, OP >::putMessage(), ParticleBase< PLayout >::putMessage(), putMessage(), Index::putMessage(), Vnode< Dim >::putMessage(), CompressedBrickIterator< T, Dim >::putMessage(), AntiSymTenzor< T, 1 >::putMessage(), Communicate::request_retransmission(), Communicate::send_ok_message(), ParticleUniformLayout< T, Dim >::update(), ParticleSpatialLayout< T, Dim, Mesh >::update(), ParticleInteractLayout< T, Dim, Mesh >::update(), ACLVISParticleBaseDataSource< PLayout >::update(), and DiscParticle::write().

Message & Message::putmsg void *  ,
int  ,
int  = 0
 

Definition at line 82 of file MessageFunctions.cpp.

References TAU_MESSAGE, and TAU_PROFILE.

Referenced by put(), PutSingleItem< T, true, true >::put(), PutSingleItem< T, true, false >::put(), PutSingleItem< T, false, false >::put(), spap(), and Communicate::unpack_message().

void * Message::remove  ) 
 

Definition at line 162 of file MessageFunctions.cpp.

References Message::MsgItem::cancelDelete(), Message::MsgItem::data(), item(), TAU_MESSAGE, TAU_PROFILE, and Message::MsgItem::willNeedDelete().

Referenced by ACLVISParticleAttribDataSource< T >::insert_data().

Here is the call graph for this function:

size_t Message::removed  )  const [inline]
 

Definition at line 286 of file Message.h.

Referenced by operator<<().

Message& Message::setCopy const bool  c  )  [inline]
 

Definition at line 299 of file Message.h.

Referenced by PutSingleItem< T, false, false >::put(), Vektor< T, Dim >::putMessage(), Tenzor< T, D >::putMessage(), SymTenzor< T, D >::putMessage(), AntiSymTenzor< T, 1 >::putMessage(), AntiSymTenzor< T, D >::putMessage(), and Communicate::unpack_message().

Message& Message::setDelete const bool  c  )  [inline]
 

Definition at line 307 of file Message.h.

Referenced by PutSingleItem< T, false, false >::put(), and Communicate::unpack_message().

size_t Message::size void   )  const [inline]
 

Definition at line 285 of file Message.h.

Referenced by empty(), Communicate::fill_msg_buffer(), Communicate::find_msg_length(), IndexedReceive(), CommSHMEMPI::mysend(), CommMPI::mysend(), and operator<<().

void Message::useCommunicate Communicate c,
void *  d
[inline]
 

Definition at line 330 of file Message.h.

Referenced by CommSHMEMPI::myreceive(), CommPM::myreceive(), CommMPI::myreceive(), CommACLMPL::myreceive(), CommSHMEMPI::mysend(), and CommMPI::mysend().

bool Message::willCopy  )  const [inline]
 

Definition at line 303 of file Message.h.

Referenced by PutSingleItem< T, false, false >::put().

bool Message::willDelete  )  const [inline]
 

Definition at line 311 of file Message.h.


The documentation for this class was generated from the following files:
Generated on Mon Jan 16 14:43:18 2006 for IPPL by  doxygen 1.4.6