#include <DistributedAnalogMessageCreator.h>
Public Member Functions | |
DistributedAnalogMessageCreator (SingleThreadSimEngine &singleThreadEngine, DistributedAnalogMessageDispatcher &distAnalogMsgDispatcher, delay_t minAnalogDelay) | |
virtual | ~DistributedAnalogMessageCreator () |
template<class AnalogSrcType> | |
void | addOutgoingAnalogMessage (const SimObject::ID &src, AnalogSrcType srcFieldOrPort, nodeid_t dest_node) |
template<class AnalogSrcType, class AnalogDestType> | |
void | addIncomingAnalogMessage (const SimObject::ID &src, AnalogSrcType srcFieldOrPort, const SimObject::ID &receiver, AnalogDestType destFieldOrPort, delay_t delay) |
Protected Attributes | |
DistributedAnalogMessageDispatcher & | dispatcher |
SingleThreadSimEngine & | stEngine |
delay_t | min_analog_delay |
Definition at line 10 of file DistributedAnalogMessageCreator.h.
DistributedAnalogMessageCreator::DistributedAnalogMessageCreator | ( | SingleThreadSimEngine & | singleThreadEngine, | |
DistributedAnalogMessageDispatcher & | distAnalogMsgDispatcher, | |||
delay_t | minAnalogDelay | |||
) | [inline] |
Definition at line 13 of file DistributedAnalogMessageCreator.h.
DistributedAnalogMessageCreator::~DistributedAnalogMessageCreator | ( | ) | [virtual] |
Definition at line 3 of file DistributedAnalogMessageCreator.cpp.
void DistributedAnalogMessageCreator::addOutgoingAnalogMessage | ( | const SimObject::ID & | src, | |
AnalogSrcType | srcFieldOrPort, | |||
nodeid_t | dest_node | |||
) | [inline] |
Definition at line 38 of file DistributedAnalogMessageCreator.h.
References dispatcher, SingleThreadSimEngine::getObject(), DistributedAnalogMessageDispatcher::outgoing(), and stEngine.
void DistributedAnalogMessageCreator::addIncomingAnalogMessage | ( | const SimObject::ID & | src, | |
AnalogSrcType | srcFieldOrPort, | |||
const SimObject::ID & | receiver, | |||
AnalogDestType | destFieldOrPort, | |||
delay_t | delay | |||
) | [inline] |
Definition at line 44 of file DistributedAnalogMessageCreator.h.
References MTIncomingAnalogMessageDispatcher::addAnalogMessage(), AnalogDelayObject::announceDelayedRead(), DistributedAnalogMessageDispatcher::cycledLocal(), dispatcher, SingleThreadSimEngine::getObject(), DistributedAnalogMessageDispatcher::incoming(), SimObject::ID::node, and stEngine.
Definition at line 32 of file DistributedAnalogMessageCreator.h.
Referenced by addIncomingAnalogMessage(), and addOutgoingAnalogMessage().
Definition at line 33 of file DistributedAnalogMessageCreator.h.
Referenced by addIncomingAnalogMessage(), and addOutgoingAnalogMessage().
Definition at line 34 of file DistributedAnalogMessageCreator.h.