PPL Logo

CkMessage Class Reference

CkMessage is the superclass of all Charm++ messages. More...

#include <ckmessage.h>

Inheritance diagram for CkMessage:

Inheritance graph
[legend]

Public Member Functions

 CkMessage ()
void operator delete (void *ptr)
void pup (PUP::er &p)

Static Public Member Functions

static void ckDebugPup (PUP::er &p, void *msg)
 This is used to display message contents in the debugger.

Private Member Functions

 CkMessage (const CkMessage &)
void operator= (const CkMessage &)

Detailed Description

CkMessage is the superclass of all Charm++ messages.

Typically, a message foo inherits from CMessage_foo, which inherits from CkMessage. In the internals of Charm++, messages are often represented by bare "void *"s, which is silly and dangerous.

Definition at line 13 of file ckmessage.h.


Constructor & Destructor Documentation

CkMessage::CkMessage ( const CkMessage  )  [private]

CkMessage::CkMessage (  )  [inline]

Definition at line 18 of file ckmessage.h.


Member Function Documentation

void CkMessage::operator= ( const CkMessage  )  [private]

void CkMessage::operator delete ( void *  ptr  )  [inline]

Reimplemented in CkArrayMessage.

Definition at line 19 of file ckmessage.h.

References CkFreeMsg().

Here is the call graph for this function:

void CkMessage::pup ( PUP::er p  ) 

Definition at line 144 of file debug-message.C.

References envelope::getGroupDepSize(), envelope::getPrioBytes(), envelope::getTotalsize(), p, and UsrToEnv().

Here is the call graph for this function:

void CkMessage::ckDebugPup ( PUP::er p,
void *  msg 
) [static]

This is used to display message contents in the debugger.

Definition at line 177 of file ck.C.

References PUP::er::comment(), envelope::getTotalsize(), p, and UsrToEnv().

Referenced by CkRegisterMainChareExt(), and CpdPupMessage().

Here is the call graph for this function:

Here is the caller graph for this function:


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

Generated on Mon Sep 21 08:20:40 2020 for Charm++ by  doxygen 1.5.5