12 #ifndef SST_CORE_POLLINGLINKQUEUE_H
13 #define SST_CORE_POLLINGLINKQUEUE_H
15 #include "sst/core/activityQueue.h"
30 bool empty()
override;
37 std::multiset<Activity*, Activity::less<true, false, false>> data;
42 #endif // SST_CORE_POLLINGLINKQUEUE_H
Base class for all Activities in the SST Event Queue.
Definition: activity.h:46
bool empty() override
Returns true if the queue is empty.
Definition: pollingLinkQueue.cc:29
Activity * pop() override
Remove and return the next activity.
Definition: pollingLinkQueue.cc:47
int size() override
Returns the number of activities in the queue.
Definition: pollingLinkQueue.cc:35
void insert(Activity *activity) override
Insert a new activity into the queue.
Definition: pollingLinkQueue.cc:41
A link queue which is used for polling only.
Definition: pollingLinkQueue.h:24
Base Class for a queue of Activities.
Definition: activityQueue.h:21
Activity * front() override
Returns the next activity.
Definition: pollingLinkQueue.cc:57