
#include <ComlibStrategy.h>


Public Member Functions | |
| CharmMessageHolder (char *msg, int proc, CmhMessageType t) | |
| CharmMessageHolder (CkMigrateMessage *m) | |
| Verfiy that the bug_trap array has not been corrupted. Noone should ever write to that array. | |
| ~CharmMessageHolder () | |
| char * | getCharmMessage () |
| void | saveCopyOf_sec_id () |
| Store a local copy of the sec_id, so I can use it later. | |
| void | freeCopyOf_sec_id () |
| virtual void | pup (PUP::er &p) |
| PUPable_decl (CharmMessageHolder) | |
Data Fields | |
| CkSectionID * | sec_id |
| An unused, and probably unnecessary array that was used to avoid a memory corruption that clobbers members in this class. The bug has likely been fixed. | |
| CkSectionID * | copy_of_sec_id |
| Saves a copy of the CkSectionID sec_id when enqueing a multicast message. | |
| CkArrayID | array_id |
| CmhMessageType | type |
| Type of message we are buffering. | |
It is aware of envelopes, arrays, etc
Definition at line 32 of file ComlibStrategy.h.
| CharmMessageHolder::CharmMessageHolder | ( | char * | msg, | |
| int | proc, | |||
| CmhMessageType | t | |||
| ) | [inline] |
| CharmMessageHolder::CharmMessageHolder | ( | CkMigrateMessage * | m | ) | [inline] |
Verfiy that the bug_trap array has not been corrupted. Noone should ever write to that array.
Definition at line 77 of file ComlibStrategy.h.
| CharmMessageHolder::~CharmMessageHolder | ( | ) | [inline] |
Definition at line 88 of file ComlibStrategy.h.
| char* CharmMessageHolder::getCharmMessage | ( | ) | [inline] |
Definition at line 92 of file ComlibStrategy.h.
References MessageHolder::data, and EnvToUsr().
Referenced by ComlibSectionInfo::getNewMulticastMessage(), RectMulticastStrategy::insertMessage(), PrioStreaming::insertMessage(), OneTimeMulticastStrategy::insertMessage(), MulticastStrategy::insertMessage(), EachToManyMulticastStrategy::insertMessage(), ChunkMulticastStrategy::insertMessage(), BroadcastStrategy::insertMessage(), OneTimeMulticastStrategy::localMulticast(), ChunkMulticastStrategy::localMulticast(), ComlibManager::multicast(), ComlibSectionInfo::processOldSectionMessage(), and rewritePEs().
| void CharmMessageHolder::saveCopyOf_sec_id | ( | ) | [inline] |
Store a local copy of the sec_id, so I can use it later.
Definition at line 97 of file ComlibStrategy.h.
References CkSectionID::_cookie, CkSectionID::_elems, CkSectionID::_nElems, copy_of_sec_id, CkSectionID::npes, CkSectionID::pelist, and sec_id.
Referenced by ComlibManager::multicast().
| void CharmMessageHolder::freeCopyOf_sec_id | ( | ) | [inline] |
Definition at line 134 of file ComlibStrategy.h.
| CharmMessageHolder::PUPable_decl | ( | CharmMessageHolder | ) |
An unused, and probably unnecessary array that was used to avoid a memory corruption that clobbers members in this class. The bug has likely been fixed.
The section information for an enqueued multicast message
Definition at line 41 of file ComlibStrategy.h.
Referenced by ComlibManager::ArrayBroadcast(), ComlibManager::ArraySectionSend(), CharmMessageHolder(), ConvComlibManager::enableStrategy(), ComlibSectionInfo::getNewMulticastMessage(), RectMulticastStrategy::insertMessage(), OneTimeMulticastStrategy::insertMessage(), MulticastStrategy::insertMessage(), ChunkMulticastStrategy::insertMessage(), OneTimeMulticastStrategy::localMulticast(), ChunkMulticastStrategy::localMulticast(), ComlibSectionInfo::processOldSectionMessage(), pup(), saveCopyOf_sec_id(), and ComlibManager::sendBufferedMessages().
Saves a copy of the CkSectionID sec_id when enqueing a multicast message.
Definition at line 44 of file ComlibStrategy.h.
Referenced by CharmMessageHolder(), ConvComlibManager::enableStrategy(), saveCopyOf_sec_id(), and ComlibManager::sendBufferedMessages().
Definition at line 46 of file ComlibStrategy.h.
Referenced by ComlibManager::ArrayBroadcast(), and ComlibManager::ArraySectionSend().
Type of message we are buffering.
Definition at line 49 of file ComlibStrategy.h.
Referenced by CharmMessageHolder(), and ComlibManager::sendBufferedMessages().
1.5.5