SST
11.0.0
StructuralSimulationToolkit
|
Self Links are links from a component to itself. More...
#include <link.h>
Additional Inherited Members | |
Public Member Functions inherited from SST::Link | |
Link (LinkId_t id) | |
Create a new link with a given ID. | |
void | addSendLatency (int cycles, const std::string &timebase) |
Set additional Latency to be added to events being sent out of this link. More... | |
void | addSendLatency (SimTime_t cycles, TimeConverter *timebase) |
Set additional Latency to be added to events being sent out of this link. More... | |
void | addRecvLatency (int cycles, const std::string &timebase) |
Set additional Latency to be added on to events coming in on this link. More... | |
void | addRecvLatency (SimTime_t cycles, TimeConverter *timebase) |
Set additional Latency to be added on to events coming in on this link. More... | |
void | setFunctor (Event::HandlerBase *functor) |
Set the callback function to be called when a message is delivered. More... | |
void | replaceFunctor (Event::HandlerBase *functor) |
Replace the callback function to be called when a message is delivered. More... | |
void | setPolling () |
Specifies that this link has no callback, and is poll-based only. | |
void | send (SimTime_t delay, TimeConverter *tc, Event *event) |
Send an event over the link with additional delay. More... | |
void | send (SimTime_t delay, Event *event) |
Send an event with additional delay. More... | |
void | send (Event *event) |
Send an event with the Link's default delay. More... | |
Event * | recv () |
Retrieve a pending event from the Link. More... | |
void | setDefaultTimeBase (TimeConverter *tc) |
Manually set the default detaulTimeBase. More... | |
TimeConverter * | getDefaultTimeBase () |
Return the default Time Base for this link. More... | |
const TimeConverter * | getDefaultTimeBase () const |
Return the default Time Base for this link. More... | |
void | deliverEvent (Event *event) const |
Causes an event to be delivered to the registered callback. | |
LinkId_t | getId () |
Return the ID of this link. More... | |
void | sendUntimedData (Event *data) |
Send data during the init() or complete() phase. More... | |
Event * | recvUntimedData () |
Receive an event (if any) during the init() or complete() phase. More... | |
void | sendInitData (Event *init_data) |
Send data during the init() or complete() phase. More... | |
Event * | recvInitData () |
Receive an event (if any) during the init() or complete() phase. More... | |
void | setAsConfigured () |
bool | isConfigured () |
Return whether link has been configured. More... | |
Protected Attributes inherited from SST::Link | |
ActivityQueue * | recvQueue |
Queue of events to be received by the owning component. | |
ActivityQueue * | untimedQueue |
Queue of events to be received during init by the owning component. | |
ActivityQueue * | configuredQueue |
Currently active Queue. | |
Event::HandlerBase * | rFunctor |
Receive functor. More... | |
TimeConverter * | defaultTimeBase |
Timebase used if no other timebase is specified. More... | |
SimTime_t | latency |
Latency of the link. More... | |
Link * | pair_link |
Pointer to the opposite side of this link. | |
Static Protected Attributes inherited from SST::Link | |
static ActivityQueue * | uninitQueue = new UninitializedQueue("ERROR: Trying to send or recv from link during initialization. Send and Recv cannot be called before setup.") |
Uninitialized queue. More... | |
static ActivityQueue * | afterInitQueue = new UninitializedQueue("ERROR: Trying to call sendUntimedData/sendInitData or recvUntimedData/recvInitData during the run phase.") |
Uninitialized queue. More... | |
static ActivityQueue * | afterRunQueue = new UninitializedQueue("ERROR: Trying to call send or recv during complete phase.") |
Uninitialized queue. More... | |
Self Links are links from a component to itself.