#include <MultiThreadAnalogMsgDispatcher.h>
Public Member Functions | |
MultiThreadAnalogMsgDispatcher (delay_t minDelay) | |
virtual | ~MultiThreadAnalogMsgDispatcher () |
virtual void | dispatchAnalogMsgs () |
virtual void | initialize () |
virtual void | setBarrier (boost::barrier *barrier) |
SingleThreadAnalogMsgDispatcher & | sTLocalDispatcher () |
MTImmediateAnalogMsgDispatcher & | mTImmediateDispatcher () |
MTIncomingAnalogMessageDispatcher & | mTDelayedDispatcher () |
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 |
Definition at line 25 of file MultiThreadAnalogMsgDispatcher.h.
MultiThreadAnalogMsgDispatcher::MultiThreadAnalogMsgDispatcher | ( | delay_t | minDelay | ) | [inline] |
MultiThreadAnalogMsgDispatcher::~MultiThreadAnalogMsgDispatcher | ( | ) | [virtual] |
Definition at line 3 of file MultiThreadAnalogMsgDispatcher.cpp.
void MultiThreadAnalogMsgDispatcher::dispatchAnalogMsgs | ( | ) | [virtual] |
Implements AnalogMessageDispatcher.
Definition at line 6 of file MultiThreadAnalogMsgDispatcher.cpp.
References currentStep, SingleThreadAnalogMsgDispatcher::dispatchAnalogMsgs(), MTIncomingAnalogMessageDispatcher::dispatchIncomingAnalogMsgs(), min_delay, mt_incoming_delayed_analog_msgs_dispatcher, mt_incoming_immediate_analog_msgs_dispatcher, st_analog_msgs_dispatcher, and thr_barrier.
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] |
Definition at line 51 of file MultiThreadAnalogMsgDispatcher.h.
References mt_incoming_immediate_analog_msgs_dispatcher.
MTIncomingAnalogMessageDispatcher& MultiThreadAnalogMsgDispatcher::mTDelayedDispatcher | ( | ) | [inline] |
Definition at line 56 of file MultiThreadAnalogMsgDispatcher.h.
References mt_incoming_delayed_analog_msgs_dispatcher.
void MultiThreadAnalogMsgDispatcher::setMinDelay | ( | delay_t | delay | ) | [inline] |
void MultiThreadAnalogMsgDispatcher::reset | ( | double | dt | ) | [virtual] |
Implements AnalogMessageDispatcher.
Definition at line 22 of file MultiThreadAnalogMsgDispatcher.cpp.
References currentStep.
SingleThreadAnalogMsgDispatcher MultiThreadAnalogMsgDispatcher::st_analog_msgs_dispatcher [protected] |
Definition at line 70 of file MultiThreadAnalogMsgDispatcher.h.
Referenced by dispatchAnalogMsgs(), and sTLocalDispatcher().
MTImmediateAnalogMsgDispatcher MultiThreadAnalogMsgDispatcher::mt_incoming_immediate_analog_msgs_dispatcher [protected] |
Definition at line 72 of file MultiThreadAnalogMsgDispatcher.h.
Referenced by dispatchAnalogMsgs(), and mTImmediateDispatcher().
MTIncomingAnalogMessageDispatcher MultiThreadAnalogMsgDispatcher::mt_incoming_delayed_analog_msgs_dispatcher [protected] |
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().
delay_t MultiThreadAnalogMsgDispatcher::min_delay [protected] |
Definition at line 78 of file MultiThreadAnalogMsgDispatcher.h.
Referenced by dispatchAnalogMsgs(), and setMinDelay().
int MultiThreadAnalogMsgDispatcher::currentStep [protected] |
Definition at line 80 of file MultiThreadAnalogMsgDispatcher.h.
Referenced by dispatchAnalogMsgs(), MultiThreadAnalogMsgDispatcher(), and reset().