PPL Logo

CkMessageWatcher Class Reference

Message watcher: for record/replay support. More...

#include <ck.h>

Inheritance diagram for CkMessageWatcher:

Inheritance graph
[legend]
Collaboration diagram for CkMessageWatcher:

Collaboration graph
[legend]

Public Member Functions

 CkMessageWatcher ()
virtual ~CkMessageWatcher ()
 PROCESS_MACRO (Message, envelope *)
 PROCESS_MACRO (Thread, CthThreadToken)
 PROCESS_MACRO (LBMessage, LBMigrateMsg *)
void setNext (CkMessageWatcher *w)

Protected Member Functions

virtual bool process (envelope **env, CkCoreState *ck)=0
 These are used internally by this class to call the correct subclass method.
virtual bool process (CthThreadToken *token, CkCoreState *ck)
virtual bool process (LBMigrateMsg **msg, CkCoreState *ck)

Protected Attributes

FILE * f
CkMessageWatchernext

Detailed Description

Message watcher: for record/replay support.

Definition at line 162 of file ck.h.


Constructor & Destructor Documentation

CkMessageWatcher::CkMessageWatcher (  )  [inline]

Definition at line 167 of file ck.h.

CkMessageWatcher::~CkMessageWatcher (  )  [virtual]

Definition at line 2583 of file ck.C.

References next.


Member Function Documentation

CkMessageWatcher::PROCESS_MACRO ( Message  ,
envelope  
)

CkMessageWatcher::PROCESS_MACRO ( Thread  ,
CthThreadToken   
)

CkMessageWatcher::PROCESS_MACRO ( LBMessage  ,
LBMigrateMsg  
)

virtual bool CkMessageWatcher::process ( envelope **  env,
CkCoreState ck 
) [protected, pure virtual]

These are used internally by this class to call the correct subclass method.

Implemented in CkMessageRecorder, CkMessageDetailRecorder, CkMessageReplay, and CkMessageDetailReplay.

virtual bool CkMessageWatcher::process ( CthThreadToken token,
CkCoreState ck 
) [inline, protected, virtual]

Reimplemented in CkMessageRecorder, and CkMessageReplay.

Definition at line 190 of file ck.h.

virtual bool CkMessageWatcher::process ( LBMigrateMsg **  msg,
CkCoreState ck 
) [inline, protected, virtual]

Reimplemented in CkMessageRecorder, and CkMessageReplay.

Definition at line 191 of file ck.h.

void CkMessageWatcher::setNext ( CkMessageWatcher w  )  [inline]

Definition at line 193 of file ck.h.

References next.

Referenced by CkCoreState::addWatcher().

Here is the caller graph for this function:


Field Documentation

FILE* CkMessageWatcher::f [protected]

Definition at line 165 of file ck.h.

Referenced by setNext(), and ~CkMessageWatcher().


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

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