OpenJAUS SAE SDK
6.0.0
|
#include <Queue.h>
Inherits openjaus::system::IQueue< Type >.
Inherited by openjaus::system::Queue< Type >.
Public Member Functions | |
AbstractQueue () | |
virtual | ~AbstractQueue () |
bool | isEmpty () const |
int | getSize () const |
void | push (Type item) |
Type | pop () |
bool | timedWait_ms (int value) |
void | wakeAll () |
Wake up all threads that might be in a timedWait state. More... | |
void | flush () |
Public Member Functions inherited from openjaus::system::IQueue< Type > | |
IQueue () | |
virtual | ~IQueue () |
Protected Member Functions | |
virtual void | pushInternal (Type item, std::list< Type > &objects) |
virtual void | flushInternal (std::list< Type > &objects)=0 |
Private Attributes | |
Mutex | mutex |
Condition | condition |
std::list< Type > | objects |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Implements openjaus::system::IQueue< Type >.
|
protectedpure virtual |
Implemented in openjaus::system::Queue< Type *>, openjaus::system::Queue< Type >, openjaus::system::Queue< openjaus::system::Prioritized * >, openjaus::system::Queue< openjaus::system::Prioritized *>, openjaus::system::Queue< Prioritized *>, and openjaus::system::Queue< openjaus::transport::AS5669::JudpPacket *>.
|
inlinevirtual |
Implements openjaus::system::IQueue< Type >.
|
inlinevirtual |
Implements openjaus::system::IQueue< Type >.
|
inlinevirtual |
Implements openjaus::system::IQueue< Type >.
|
inlinevirtual |
Implements openjaus::system::IQueue< Type >.
|
inlineprotectedvirtual |
|
inlinevirtual |
Implements openjaus::system::IQueue< Type >.
|
inlinevirtual |
Implements openjaus::system::IQueue< Type >.
|
private |
|
private |
|
private |