12 #ifndef SST_CORE_TIMEVORTEX_H
13 #define SST_CORE_TIMEVORTEX_H
15 #include "sst/core/activityQueue.h"
16 #include "sst/core/module.h"
36 virtual bool empty()
override = 0;
37 virtual int size()
override = 0;
44 virtual uint64_t getMaxDepth()
const {
return max_depth; }
45 virtual uint64_t getCurrentDepth()
const = 0;
Base Class for a queue of Activities.
Definition: activityQueue.h:22
Base class for all Activities in the SST Event Queue.
Definition: activity.h:46
Definition: paramsInfo.h:41
Output object provides consistent method for outputting data to stdout, stderr and/or sst debug file.
Definition: output.h:52
Parameter store.
Definition: params.h:56
Primary Event Queue.
Definition: timeVortex.h:26
virtual int size() override=0
Returns the number of activities in the queue.
virtual void insert(Activity *activity) override=0
Insert a new activity into the queue.
virtual bool empty() override=0
Returns true if the queue is empty.
virtual Activity * pop() override=0
Remove and return the next activity.
virtual void print(Output &out) const =0
Print the state of the TimeVortex.
virtual Activity * front() override=0
Returns the next activity.