SST 12.1.0
Structural Simulation Toolkit
SST::SyncQueue Class Reference

Internal API. More...

#include <syncQueue.h>

Inheritance diagram for SST::SyncQueue:
SST::ActivityQueue

Data Structures

struct  Header
 

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...
 
void clear ()
 Clear elements from the queue.
 
char * getData ()
 Accessor method to the internal queue.
 
uint64_t getDataSize ()
 
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

Internal API.

Activity Queue for use by Sync Objects

Member Function Documentation

◆ empty()

bool SST::SyncQueue::empty ( )
overridevirtual

Returns true if the queue is empty.

Implements SST::ActivityQueue.

◆ front()

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

Returns the next activity.

Implements SST::ActivityQueue.

◆ insert()

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

Insert a new activity into the queue.

Implements SST::ActivityQueue.

◆ pop()

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

Remove and return the next activity.

Implements SST::ActivityQueue.

◆ size()

int SST::SyncQueue::size ( )
overridevirtual

Returns the number of activities in the queue.

Implements SST::ActivityQueue.


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