12 #ifndef SST_CORE_ACTIVITYQUEUE_H
13 #define SST_CORE_ACTIVITYQUEUE_H
15 #include "sst/core/activity.h"
28 virtual bool empty() = 0;
30 virtual int size() = 0;
43 #endif // SST_CORE_ACTIVITYQUEUE_H
Base class for all Activities in the SST Event Queue.
Definition: activity.h:48
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:21
virtual int size()=0
Returns the number of activities in the queue.