DistributedAnalogMessageDispatcher Class Reference

#include <DistributedAnalogMessageDispatcher.h>

Inheritance diagram for DistributedAnalogMessageDispatcher:

Inheritance graph
[legend]
Collaboration diagram for DistributedAnalogMessageDispatcher:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 DistributedAnalogMessageDispatcher (int numNodes, int minimumDelay, vector< DistributedIncomingAnalogMsgDispatcher * > &incomingDispatchers, vector< DistributedOutgoingAnalogMsgDispatcher * > &outgoingDispatchers, AnalogMessageDispatcher &localDispatcher)
virtual ~DistributedAnalogMessageDispatcher ()
void dispatchOutgoingAnalogMsgs ()
 Used in distributed engine or interleaved outgoing dispatching -> mpi exchange -> incoming dispatching.
void dispatchIncomingAnalogMsgs (int step)
virtual void dispatchDelayerCycledIncomingAnalogMsgs ()
 Used to update new mpi incoming values to analog delayer objects at the beginning.
virtual void dispatchAnalogMsgs ()
 Invoked in the single thread engine for a distributed scenario.
virtual void initialize ()
virtual void reset (double dt)
vector
< DistributedIncomingAnalogMsgDispatcher * > & 
incoming ()
vector
< DistributedOutgoingAnalogMsgDispatcher * > & 
outgoing ()
MTIncomingAnalogMessageDispatchercycledLocal ()

Protected Attributes

int nNodes
int minDelay
vector
< DistributedIncomingAnalogMsgDispatcher * > & 
incoming_dispatchers
vector
< DistributedOutgoingAnalogMsgDispatcher * > & 
outgoing_dispatchers
MTIncomingAnalogMessageDispatcher cycledLocalDispatcher
AnalogMessageDispatcherlocal_dispatcher
int currentStep


Detailed Description

Definition at line 12 of file DistributedAnalogMessageDispatcher.h.


Constructor & Destructor Documentation

DistributedAnalogMessageDispatcher::DistributedAnalogMessageDispatcher ( int  numNodes,
int  minimumDelay,
vector< DistributedIncomingAnalogMsgDispatcher * > &  incomingDispatchers,
vector< DistributedOutgoingAnalogMsgDispatcher * > &  outgoingDispatchers,
AnalogMessageDispatcher localDispatcher 
)

Definition at line 3 of file DistributedAnalogMessageDispatcher.cpp.

DistributedAnalogMessageDispatcher::~DistributedAnalogMessageDispatcher (  )  [virtual]

Definition at line 14 of file DistributedAnalogMessageDispatcher.cpp.


Member Function Documentation

void DistributedAnalogMessageDispatcher::dispatchOutgoingAnalogMsgs (  ) 

Used in distributed engine or interleaved outgoing dispatching -> mpi exchange -> incoming dispatching.

Definition at line 18 of file DistributedAnalogMessageDispatcher.cpp.

References currentStep, and outgoing_dispatchers.

Referenced by dispatchAnalogMsgs().

void DistributedAnalogMessageDispatcher::dispatchIncomingAnalogMsgs ( int  step  ) 

Definition at line 26 of file DistributedAnalogMessageDispatcher.cpp.

void DistributedAnalogMessageDispatcher::dispatchDelayerCycledIncomingAnalogMsgs (  )  [virtual]

Used to update new mpi incoming values to analog delayer objects at the beginning.

Implements DistributedCycledAnalogMsgDispatcher.

Definition at line 33 of file DistributedAnalogMessageDispatcher.cpp.

References currentStep, and incoming_dispatchers.

void DistributedAnalogMessageDispatcher::dispatchAnalogMsgs (  )  [virtual]

Invoked in the single thread engine for a distributed scenario.

Implements AnalogMessageDispatcher.

Definition at line 43 of file DistributedAnalogMessageDispatcher.cpp.

References currentStep, cycledLocalDispatcher, AnalogMessageDispatcher::dispatchAnalogMsgs(), MTIncomingAnalogMessageDispatcher::dispatchIncomingAnalogMsgs(), dispatchOutgoingAnalogMsgs(), and local_dispatcher.

Here is the call graph for this function:

void DistributedAnalogMessageDispatcher::initialize (  )  [virtual]

void DistributedAnalogMessageDispatcher::reset ( double  dt  )  [virtual]

Implements AnalogMessageDispatcher.

Definition at line 65 of file DistributedAnalogMessageDispatcher.cpp.

References currentStep, incoming_dispatchers, local_dispatcher, and AnalogMessageDispatcher::reset().

Referenced by DistributedSingleThreadNetwork::_reset_().

Here is the call graph for this function:

vector<DistributedIncomingAnalogMsgDispatcher*>& DistributedAnalogMessageDispatcher::incoming (  )  [inline]

vector<DistributedOutgoingAnalogMsgDispatcher*>& DistributedAnalogMessageDispatcher::outgoing (  )  [inline]

MTIncomingAnalogMessageDispatcher& DistributedAnalogMessageDispatcher::cycledLocal (  )  [inline]


Member Data Documentation

Definition at line 56 of file DistributedAnalogMessageDispatcher.h.

Definition at line 58 of file DistributedAnalogMessageDispatcher.h.

Definition at line 66 of file DistributedAnalogMessageDispatcher.h.

Referenced by dispatchAnalogMsgs(), and reset().


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

Generated on Wed Jul 9 16:34:47 2008 for PCSIM by  doxygen 1.5.5