MultiThreadAnalogMsgDispatcher Class Reference

Handles analog message dispatching in multi-thread scenario. More...

#include <MultiThreadAnalogMsgDispatcher.h>

Inheritance diagram for MultiThreadAnalogMsgDispatcher:

Inheritance graph
[legend]
Collaboration diagram for MultiThreadAnalogMsgDispatcher:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MultiThreadAnalogMsgDispatcher (delay_t minDelay)
virtual ~MultiThreadAnalogMsgDispatcher ()
virtual void dispatchAnalogMsgs ()
virtual void initialize ()
virtual void setBarrier (boost::barrier *barrier)
SingleThreadAnalogMsgDispatchersTLocalDispatcher ()
MTImmediateAnalogMsgDispatchermTImmediateDispatcher ()
MTIncomingAnalogMessageDispatchermTDelayedDispatcher ()
void setMinDelay (delay_t delay)
virtual void reset (double dt)

Protected Attributes

SingleThreadAnalogMsgDispatcher st_analog_msgs_dispatcher
MTImmediateAnalogMsgDispatcher mt_incoming_immediate_analog_msgs_dispatcher
MTIncomingAnalogMessageDispatcher mt_incoming_delayed_analog_msgs_dispatcher
boost::barrier * thr_barrier
delay_t min_delay
int currentStep


Detailed Description

Handles analog message dispatching in multi-thread scenario.

Definition at line 25 of file MultiThreadAnalogMsgDispatcher.h.


Constructor & Destructor Documentation

MultiThreadAnalogMsgDispatcher::MultiThreadAnalogMsgDispatcher ( delay_t  minDelay  )  [inline]

Definition at line 28 of file MultiThreadAnalogMsgDispatcher.h.

References currentStep.

MultiThreadAnalogMsgDispatcher::~MultiThreadAnalogMsgDispatcher (  )  [virtual]

Definition at line 3 of file MultiThreadAnalogMsgDispatcher.cpp.


Member Function Documentation

void MultiThreadAnalogMsgDispatcher::dispatchAnalogMsgs (  )  [virtual]

void MultiThreadAnalogMsgDispatcher::initialize (  )  [virtual]

Implements AnalogMessageDispatcher.

Definition at line 18 of file MultiThreadAnalogMsgDispatcher.cpp.

virtual void MultiThreadAnalogMsgDispatcher::setBarrier ( boost::barrier *  barrier  )  [inline, virtual]

Reimplemented from AnalogMessageDispatcher.

Definition at line 41 of file MultiThreadAnalogMsgDispatcher.h.

References thr_barrier.

SingleThreadAnalogMsgDispatcher& MultiThreadAnalogMsgDispatcher::sTLocalDispatcher (  )  [inline]

Definition at line 46 of file MultiThreadAnalogMsgDispatcher.h.

References st_analog_msgs_dispatcher.

MTImmediateAnalogMsgDispatcher& MultiThreadAnalogMsgDispatcher::mTImmediateDispatcher (  )  [inline]

MTIncomingAnalogMessageDispatcher& MultiThreadAnalogMsgDispatcher::mTDelayedDispatcher (  )  [inline]

void MultiThreadAnalogMsgDispatcher::setMinDelay ( delay_t  delay  )  [inline]

Definition at line 61 of file MultiThreadAnalogMsgDispatcher.h.

References min_delay.

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

Implements AnalogMessageDispatcher.

Definition at line 22 of file MultiThreadAnalogMsgDispatcher.cpp.

References currentStep.


Member Data Documentation

Definition at line 70 of file MultiThreadAnalogMsgDispatcher.h.

Referenced by dispatchAnalogMsgs(), and sTLocalDispatcher().

Definition at line 72 of file MultiThreadAnalogMsgDispatcher.h.

Referenced by dispatchAnalogMsgs(), and mTImmediateDispatcher().

Definition at line 74 of file MultiThreadAnalogMsgDispatcher.h.

Referenced by dispatchAnalogMsgs(), and mTDelayedDispatcher().

boost::barrier* MultiThreadAnalogMsgDispatcher::thr_barrier [protected]

Definition at line 76 of file MultiThreadAnalogMsgDispatcher.h.

Referenced by dispatchAnalogMsgs(), and setBarrier().

Definition at line 78 of file MultiThreadAnalogMsgDispatcher.h.

Referenced by dispatchAnalogMsgs(), and setMinDelay().


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

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