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
bool empty()
Returns true if the queue is empty.
Definition: threadSyncQueue.h:30
Base class for all Activities in the SST Event Queue.
Definition: activity.h:53
void insert(Activity *activity)
Insert a new activity into the queue.
Definition: threadSyncQueue.h:46
Activity * pop()
Not supported.
Definition: threadSyncQueue.h:40
Base Class for a queue of Activities.
Definition: threadSyncQueue.h:22
Activity * front()
Not supported.
Definition: threadSyncQueue.h:51
int size()
Returns the number of activities in the queue.
Definition: threadSyncQueue.h:35
Base Class for a queue of Activities.
Definition: activityQueue.h:22