#include <STAnalogMessageCreator.h>
Public Member Functions | |
STAnalogMessageCreator (SingleThreadAnalogMsgDispatcher &analogMsgDispatcher, SingleThreadSimEngine &simulationEngine, AnalogDelayObjectMap &delayObjectMap, delay_t minDelay) | |
virtual | ~STAnalogMessageCreator () |
template<typename srcType, typename destType> | |
int | addAnalogMessage (const SimObject::ID &sender, srcType senderPortOrField, const SimObject::ID &receiver, destType recvPortOrField, delay_t delay) |
Protected Attributes | |
SingleThreadAnalogMsgDispatcher & | dispatcher |
SingleThreadSimEngine & | simEngine |
AnalogDelayObjectMap & | delay_objects_map |
delay_t | min_delay |
Definition at line 9 of file STAnalogMessageCreator.h.
STAnalogMessageCreator::STAnalogMessageCreator | ( | SingleThreadAnalogMsgDispatcher & | analogMsgDispatcher, | |
SingleThreadSimEngine & | simulationEngine, | |||
AnalogDelayObjectMap & | delayObjectMap, | |||
delay_t | minDelay | |||
) |
Definition at line 3 of file STAnalogMessageCreator.cpp.
STAnalogMessageCreator::~STAnalogMessageCreator | ( | ) | [virtual] |
Definition at line 14 of file STAnalogMessageCreator.cpp.
int STAnalogMessageCreator::addAnalogMessage | ( | const SimObject::ID & | sender, | |
srcType | senderPortOrField, | |||
const SimObject::ID & | receiver, | |||
destType | recvPortOrField, | |||
delay_t | delay | |||
) | [inline] |
Definition at line 39 of file STAnalogMessageCreator.h.
References SingleThreadAnalogMsgDispatcher::addAnalogMessage(), SingleThreadSimEngine::addObject(), AnalogDelayObject::announceDelayedRead(), delay_objects_map, dispatcher, AnalogDelayObjectMap::find(), SingleThreadSimEngine::getObject(), AnalogDelayObjectMap::insert(), min_delay, and simEngine.
Referenced by SingleThreadNetwork::_addAnalogMessage_(), and DistributedSingleThreadNetwork::addGenericAnalogMessage().
SingleThreadSimEngine& STAnalogMessageCreator::simEngine [protected] |
delay_t STAnalogMessageCreator::min_delay [protected] |