PPL Logo

PipelineStrategy Class Reference
[Strategies for use in converse]

#include <pipelinestrategy.h>

Inheritance diagram for PipelineStrategy:

Inheritance graph
[legend]
Collaboration diagram for PipelineStrategy:

Collaboration graph
[legend]

Public Member Functions

 PipelineStrategy (int size=DEFAULT_PIPE, Strategy *st=NULL)
 PipelineStrategy (CkMigrateMessage *)
int getPipeSize ()
void commonInit ()
void deliverer (char *msg, int dim)
void storing (char *msg)
void conversePipeline (char *env, int size, int destination)
void insertMessage (MessageHolder *msg)
 Called for each message.
void doneInserting ()
 Called after all messages have been deposited in this processor.
virtual void pup (PUP::er &p)
 Each strategy must define his own Pup interface.
 PUPable_decl (PipelineStrategy)

Protected Attributes

int pipeSize
int seqNumber
CkQ< MessageHolder * > * messageBuf
CkHashtableT< PipelineHashKey,
PipelineHashObj * > 
fragments
int deliverHandle

Detailed Description

Definition at line 72 of file pipelinestrategy.h.


Constructor & Destructor Documentation

PipelineStrategy::PipelineStrategy ( int  size = DEFAULT_PIPE,
Strategy st = NULL 
)

PipelineStrategy::PipelineStrategy ( CkMigrateMessage  )  [inline]

Definition at line 84 of file pipelinestrategy.h.


Member Function Documentation

int PipelineStrategy::getPipeSize (  )  [inline]

Definition at line 85 of file pipelinestrategy.h.

void PipelineStrategy::commonInit (  ) 

void PipelineStrategy::deliverer ( char *  msg,
int  dim 
)

void PipelineStrategy::storing ( char *  msg  ) 

void PipelineStrategy::conversePipeline ( char *  env,
int  size,
int  destination 
)

void PipelineStrategy::insertMessage ( MessageHolder msg  )  [virtual]

Called for each message.

Implements Strategy.

void PipelineStrategy::doneInserting ( void   )  [virtual]

Called after all messages have been deposited in this processor.

This corresponds to a call to ComlibEnd(cinst), where cinst is the ComlibInstanceHandle returned when registering the Strategy with Comlib. In higher levels this may need many ComlibEnd calls before invoking doneInserting.

Reimplemented from Strategy.

virtual void PipelineStrategy::pup ( PUP::er p  )  [virtual]

Each strategy must define his own Pup interface.

Reimplemented from Strategy.

PipelineStrategy::PUPable_decl ( PipelineStrategy   ) 


Field Documentation

Definition at line 75 of file pipelinestrategy.h.

Definition at line 77 of file pipelinestrategy.h.

Definition at line 78 of file pipelinestrategy.h.

Definition at line 79 of file pipelinestrategy.h.

Definition at line 80 of file pipelinestrategy.h.


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

Generated on Fri May 25 08:04:47 2012 for Charm++ by  doxygen 1.5.5