13 #ifndef SST_CORE_ACTION_H
14 #define SST_CORE_ACTION_H
16 #include "sst/core/serialization/serializer.h"
20 #include "sst/core/activity.h"
21 #include "sst/core/output.h"
33 #ifdef SST_ENFORCE_EVENT_ORDERING
34 enforce_link_order = 0;
39 void print(
const std::string& header,
Output &out)
const override {
40 out.
output(
"%s Generic Action to be delivered at %" PRIu64
" with priority %d\n",
56 #endif // SST_CORE_ACTION_H
Output object provides consistent method for outputting data to stdout, stderr and/or sst debug file...
Definition: output.h:54
An Action is a schedulable Activity which is not an Event.
Definition: action.h:30
Base class for all Activities in the SST Event Queue.
Definition: activity.h:52
SimTime_t getDeliveryTime() const
Return the time at which this Activity will be delivered.
Definition: activity.h:205
void print(const std::string &header, Output &out) const override
Generic print-print function for this Activity.
Definition: action.h:39
void output(uint32_t line, const char *file, const char *func, const char *format,...) const
Output the message with formatting as specified by the format parameter.
Definition: output.h:186
int getPriority() const
Return the Priority of this Activity.
Definition: activity.h:210
void endSimulation()
Called to signal to the Simulation object to end the simulation.
Definition: action.cc:19