Skip to main content

sendUntimedData

void sendUntimedData(Event* data);

Send an event during SST's init() or complete() phase.

Parameters

  • data (Event*) Event to send
  • returns none

Example

Excerpt from sst-elements/src/sst/elements/simpleElementExample/basicSimLifeCycle.cc
void basicSimLifeCycle::init(unsigned int phase) {

// Only send our info on phase 0
if (phase == 0) {
basicLifeCycleEvent* event = new basicLifeCycleEvent(getName(), eventsToSend);
leftLink->sendUntimedData(event);
}

/** Rest of init() handling **/
}
#include <sst/core/link.h>