SST  14.1.0
StructuralSimulationToolkit
SST::UninitializedQueue Class Reference

Always uninitialized queue. More...

#include <uninitializedQueue.h>

Inheritance diagram for SST::UninitializedQueue:
SST::ActivityQueue

Public Member Functions

 UninitializedQueue (const std::string &message)
 Create a new Queue. More...
 
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.
 
Activity * pop () override
 Remove and return the next activity.
 
Activity * front () override
 Returns the next activity.
 

Detailed Description

Always uninitialized queue.

Used for debugging, and preventing accidentally sending messages into an incorrect queue

Constructor & Destructor Documentation

◆ UninitializedQueue()

SST::UninitializedQueue::UninitializedQueue ( const std::string &  message)

Create a new Queue.

Parameters
message- Message to print when something attempts to use this Queue

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