12 #ifndef SST_CORE_POLLINGLINKQUEUE_H
13 #define SST_CORE_POLLINGLINKQUEUE_H
17 #include <sst/core/activityQueue.h>
37 std::multiset<Activity*,Activity::less_time> data;
43 #endif // SST_CORE_POLLINGLINKQUEUE_H
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: pollingLinkQueue.cc:39
A link queue which is used for polling only.
Definition: pollingLinkQueue.h:24
Activity * pop()
Remove and return the next activity.
Definition: pollingLinkQueue.cc:44
int size()
Returns the number of activities in the queue.
Definition: pollingLinkQueue.cc:34
Activity * front()
Returns the next activity.
Definition: pollingLinkQueue.cc:53
bool empty()
Returns true if the queue is empty.
Definition: pollingLinkQueue.cc:29
Base Class for a queue of Activities.
Definition: activityQueue.h:22