12#ifndef SST_CORE_POLLINGLINKQUEUE_H
13#define SST_CORE_POLLINGLINKQUEUE_H
15#include "sst/core/activityQueue.h"
24class PollingLinkQueue :
public ActivityQueue
27 PollingLinkQueue() =
default;
30 bool empty()
override;
39 std::multiset<Activity*, Activity::less<true, false, false>> data;
Base class for all Activities in the SST Event Queue.
Definition activity.h:46
This class is basically a wrapper for objects to declare the order in which their members should be s...
Definition serializer.h:45
void insert(Activity *activity) override
Insert a new activity into the queue.
Definition pollingLinkQueue.cc:40
bool empty() override
Returns true if the queue is empty.
Definition pollingLinkQueue.cc:28
Activity * pop() override
Remove and return the next activity.
Definition pollingLinkQueue.cc:46
int size() override
Returns the number of activities in the queue.
Definition pollingLinkQueue.cc:34
Activity * front() override
Returns the next activity.
Definition pollingLinkQueue.cc:56