PPL Logo

VidBlock Class Reference

A set of "Virtual ChareID"'s. More...

#include <ck.h>

Collaboration diagram for VidBlock:

Collaboration graph
[legend]

Public Member Functions

 VidBlock ()
void send (envelope *env)
void fill (int onPE, void *oPtr)
void * getLocalChare (void)
void * getLocalChareObj (void)
void pup (PUP::er &p)

Private Types

enum  VidState { FILLED, UNFILLED }

Private Member Functions

void msgDeliver (envelope *env)

Private Attributes

VidState state
PtrQmsgQ
CkChareID actualID

Detailed Description

A set of "Virtual ChareID"'s.

Definition at line 100 of file ck.h.


Member Enumeration Documentation

enum VidBlock::VidState [private]

Enumerator:
FILLED 
UNFILLED 

Definition at line 101 of file ck.h.


Constructor & Destructor Documentation

VidBlock::VidBlock (  ) 

Definition at line 35 of file ck.C.

References msgQ, state, and UNFILLED.


Member Function Documentation

void VidBlock::msgDeliver ( envelope env  )  [inline, private]

Definition at line 105 of file ck.h.

References _CldEnqueue(), _infoIdx, actualID, ForChareMsg, CkChareID::objPtr, CkChareID::onPE, envelope::setMsgtype(), and envelope::setObjPtr().

Referenced by fill(), and send().

Here is the call graph for this function:

Here is the caller graph for this function:

void VidBlock::send ( envelope env  )  [inline]

Definition at line 115 of file ck.h.

References CkQ< T >::enq(), msgDeliver(), msgQ, state, and UNFILLED.

Referenced by _prepareMsg(), and _processForVidMsg().

Here is the call graph for this function:

Here is the caller graph for this function:

void VidBlock::fill ( int  onPE,
void *  oPtr 
) [inline]

Definition at line 122 of file ck.h.

References actualID, CkQ< T >::deq(), FILLED, msgDeliver(), msgQ, CkChareID::objPtr, CkChareID::onPE, and state.

Referenced by _processFillVidMsg().

Here is the call graph for this function:

Here is the caller graph for this function:

void* VidBlock::getLocalChare ( void   )  [inline]

Definition at line 132 of file ck.h.

References actualID, Converse::CkMyPe(), FILLED, CkChareID::objPtr, CkChareID::onPE, and state.

Referenced by _prepareMsg().

Here is the call graph for this function:

Here is the caller graph for this function:

void* VidBlock::getLocalChareObj ( void   )  [inline]

Definition at line 137 of file ck.h.

References actualID, Converse::CkMyPe(), FILLED, CkChareID::objPtr, CkChareID::onPE, and state.

Referenced by CkLocalChare().

Here is the call graph for this function:

Here is the caller graph for this function:

void VidBlock::pup ( PUP::er p  )  [inline]

Definition at line 147 of file ck.h.

References actualID, FILLED, PUP::er::isUnpacking(), msgQ, PUP::s, and state.

Referenced by CkPupChareData().

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

Definition at line 102 of file ck.h.

Referenced by fill(), getLocalChare(), getLocalChareObj(), pup(), send(), and VidBlock().

PtrQ* VidBlock::msgQ [private]

Definition at line 103 of file ck.h.

Referenced by fill(), pup(), send(), and VidBlock().

Definition at line 104 of file ck.h.

Referenced by fill(), getLocalChare(), getLocalChareObj(), msgDeliver(), and pup().


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

Generated on Mon Sep 21 08:31:41 2020 for Charm++ by  doxygen 1.5.5