SST
6.1.0
StructuralSimulationToolkit
|
Always unitialized queue. More...
#include <uninitializedQueue.h>
Public Member Functions | |
UninitializedQueue (std::string message) | |
Create a new Queue. More... | |
bool | empty () |
Returns true if the queue is empty. | |
int | size () |
Returns the number of activities in the queue. | |
void | insert (Activity *activity) |
Insert a new activity into the queue. | |
Activity * | pop () |
Remove and return the next activity. | |
Activity * | front () |
Returns the next activity. | |
Always unitialized queue.
Used for debugging, and preventing accidentally sending messages into an incorrect queue
SST::UninitializedQueue::UninitializedQueue | ( | std::string | message | ) |
Create a new Queue.
message | - Message to print when something attempts to use this Queue |