SST 15.0
Structural Simulation Toolkit
SST::RankSyncQueue Class Reference
Inheritance diagram for SST::RankSyncQueue:
SST::SyncQueue SST::ActivityQueue

Data Structures

struct  Header
 

Public Member Functions

 RankSyncQueue (RankInfo to_rank)
 
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 clear ()
 Clear elements from the queue.
 
char * getData ()
 Accessor method to the internal queue.
 
uint64_t getDataSize ()
 
- Public Member Functions inherited from SST::SyncQueue
 SyncQueue (RankInfo to_rank)
 
RankInfo getToRank ()
 Accessor method to get to_rank.
 

Member Function Documentation

◆ empty()

bool SST::RankSyncQueue::empty ( )
overridevirtual

Returns true if the queue is empty.

Implements SST::ActivityQueue.

References empty().

Referenced by empty().

◆ front()

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

Returns the next activity.

Implements SST::ActivityQueue.

References front().

Referenced by front().

◆ insert()

void SST::RankSyncQueue::insert ( Activity * activity)
overridevirtual

Insert a new activity into the queue.

Implements SST::ActivityQueue.

References insert().

Referenced by insert().

◆ pop()

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

Remove and return the next activity.

Implements SST::ActivityQueue.

References pop().

Referenced by pop().

◆ size()

int SST::RankSyncQueue::size ( )
overridevirtual

Returns the number of activities in the queue.

Implements SST::ActivityQueue.

References size().

Referenced by getData(), and size().


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