13 #ifndef SST_CORE_ACTIVITYQUEUE_H 14 #define SST_CORE_ACTIVITYQUEUE_H 16 #include <sst/core/activity.h> 28 virtual bool empty() = 0;
30 virtual int size() = 0;
44 #endif // SST_CORE_ACTIVITYQUEUE_H Base class for all Activities in the SST Event Queue.
Definition: activity.h:54
virtual bool empty()=0
Returns true if the queue is empty.
virtual void insert(Activity *activity)=0
Insert a new activity into the queue.
virtual Activity * front()=0
Returns the next activity.
virtual Activity * pop()=0
Remove and return the next activity.
Base Class for a queue of Activities.
Definition: activityQueue.h:22
virtual int size()=0
Returns the number of activities in the queue.