SST
11.0.0
StructuralSimulationToolkit
|
Always uninitialized queue. More...
#include <uninitializedQueue.h>
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. | |
Always uninitialized queue.
Used for debugging, and preventing accidentally sending messages into an incorrect queue
SST::UninitializedQueue::UninitializedQueue | ( | const std::string & | message | ) |
Create a new Queue.
message | - Message to print when something attempts to use this Queue |