SST 12.1.0
Structural Simulation Toolkit
SST::PollingLinkQueue Class Reference

A link queue which is used for polling only. More...

#include <pollingLinkQueue.h>

Inheritance diagram for SST::PollingLinkQueue:
SST::ActivityQueue

Public Member Functions

bool empty () override
 Returns true if the queue is empty. More...
 
int size () override
 Returns the number of activities in the queue. More...
 
void insert (Activity *activity) override
 Insert a new activity into the queue. More...
 
Activitypop () override
 Remove and return the next activity. More...
 
Activityfront () override
 Returns the next activity. More...
 
virtual bool empty ()=0
 Returns true if the queue is empty. More...
 
virtual int size ()=0
 Returns the number of activities in the queue. More...
 
virtual Activitypop ()=0
 Remove and return the next activity. More...
 
virtual void insert (Activity *activity)=0
 Insert a new activity into the queue. More...
 
virtual Activityfront ()=0
 Returns the next activity. More...
 

Detailed Description

A link queue which is used for polling only.

Member Function Documentation

◆ empty()

bool SST::PollingLinkQueue::empty ( )
overridevirtual

Returns true if the queue is empty.

Implements SST::ActivityQueue.

◆ front()

Activity * SST::PollingLinkQueue::front ( )
overridevirtual

Returns the next activity.

Implements SST::ActivityQueue.

◆ insert()

void SST::PollingLinkQueue::insert ( Activity activity)
overridevirtual

Insert a new activity into the queue.

Implements SST::ActivityQueue.

◆ pop()

Activity * SST::PollingLinkQueue::pop ( )
overridevirtual

Remove and return the next activity.

Implements SST::ActivityQueue.

◆ size()

int SST::PollingLinkQueue::size ( )
overridevirtual

Returns the number of activities in the queue.

Implements SST::ActivityQueue.


The documentation for this class was generated from the following files: