13 #ifndef SST_CORE_THREADSYNCQUEUE_H
14 #define SST_CORE_THREADSYNCQUEUE_H
16 #include <sst/core/activityQueue.h>
31 return activities.empty();
36 return activities.size();
47 activities.push_back(activity);
60 std::vector<Activity*>& getVector() {
65 std::vector<Activity*> activities;
71 #endif // SST_CORE_THREADSYNCQUEUE_H
Base class for all Activities in the SST Event Queue.
Definition: activity.h:54
int size() override
Returns the number of activities in the queue.
Definition: threadSyncQueue.h:35
bool empty() override
Returns true if the queue is empty.
Definition: threadSyncQueue.h:30
Activity * pop() override
Not supported.
Definition: threadSyncQueue.h:40
void insert(Activity *activity) override
Insert a new activity into the queue.
Definition: threadSyncQueue.h:46
Base Class for a queue of Activities.
Definition: threadSyncQueue.h:22
Activity * front() override
Not supported.
Definition: threadSyncQueue.h:51
Base Class for a queue of Activities.
Definition: activityQueue.h:22