12#ifndef SST_CORE_TIMEVORTEX_H
13#define SST_CORE_TIMEVORTEX_H
15#include "sst/core/activity.h"
16#include "sst/core/activityQueue.h"
17#include "sst/core/module.h"
18#include "sst/core/serialization/serialize_impl_fwd.h"
31class TimeVortex :
public ActivityQueue
34 SST_ELI_DECLARE_BASE(TimeVortex)
42 virtual bool empty()
override = 0;
43 virtual int size()
override = 0;
50 virtual uint64_t getMaxDepth()
const {
return max_depth; }
51 virtual uint64_t getCurrentDepth()
const = 0;
52 virtual void dbg_print(
Output& out)
const {
print(out); }
62 virtual void getContents(std::vector<Activity*>& activities)
const = 0;
Base class for all Activities in the SST Event Queue.
Definition activity.h:48
This class is basically a wrapper for objects to declare the order in which their members should be s...
Definition serializer.h:43
Definition paramsInfo.h:41
Output object provides consistent method for outputting data to stdout, stderr and/or sst debug file.
Definition output.h:58
Parameter store.
Definition params.h:65
Main control class for a SST Simulation.
Definition simulation.h:121
Primary Event Queue.
Definition timeVortex.h:32
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 void print(Output &out) const
Print the state of the TimeVortex.
Definition timeVortex.cc:52
virtual Activity * pop() override=0
Remove and return the next activity.
virtual Activity * front() override=0
Returns the next activity.
virtual void getContents(std::vector< Activity * > &activities) const =0
Get a copy of the contents of the TimeVortex.