SST 12.1.0
Structural Simulation Toolkit
SST::ThreadSyncQueue Class Reference

Base Class for a queue of Activities. More...

#include <threadSyncQueue.h>

Inheritance diagram for SST::ThreadSyncQueue:
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...
 
Activity * pop () override
 Not supported. More...
 
void insert (Activity *activity) override
 Insert a new activity into the queue. More...
 
Activity * front () override
 Not supported. More...
 
void clear ()
 
std::vector< Activity * > & getVector ()
 
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 Activity * pop ()=0
 Remove and return the next activity. More...
 
virtual void insert (Activity *activity)=0
 Insert a new activity into the queue. More...
 
virtual Activity * front ()=0
 Returns the next activity. More...
 

Detailed Description

Base Class for a queue of Activities.

Member Function Documentation

◆ empty()

bool SST::ThreadSyncQueue::empty ( )
inlineoverridevirtual

Returns true if the queue is empty.

Implements SST::ActivityQueue.

◆ front()

Activity * SST::ThreadSyncQueue::front ( )
inlineoverridevirtual

Not supported.

Implements SST::ActivityQueue.

◆ insert()

void SST::ThreadSyncQueue::insert ( Activity *  activity)
inlineoverridevirtual

Insert a new activity into the queue.

Implements SST::ActivityQueue.

◆ pop()

Activity * SST::ThreadSyncQueue::pop ( )
inlineoverridevirtual

Not supported.

Implements SST::ActivityQueue.

◆ size()

int SST::ThreadSyncQueue::size ( )
inlineoverridevirtual

Returns the number of activities in the queue.

Implements SST::ActivityQueue.


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