SST 15.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.
 
int size () override
 Returns the number of activities in the queue.
 
void insert (Activity *activity) override
 Insert a new activity into the queue.
 
Activitypop () override
 Remove and return the next activity.
 
Activityfront () override
 Returns the next activity.
 
void serialize_order (SST::Core::Serialization::serializer &ser)
 

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: