#include <PionLockedQueue.hpp>
Definition at line 123 of file PionLockedQueue.hpp.
Public Member Functions | |
| ConsumerThread (void) | |
| template<typename DurationType> | |
| ConsumerThread (const DurationType &d) | |
| bool | isRunning (void) const |
| returns true while the consumer thread is active/running | |
| void | stop (void) |
| stops the thread -- if waiting on pop() will return immediately | |
| void | reset (void) |
| stops the thread -- if waiting on pop() will return immediately | |
| bool | hasWakeupTimer (void) const |
| returns true if an inactivity wakeup timer is set for the thread | |
| const boost::posix_time::time_duration & | getWakeupTimer (void) const |
| returns absolute wakeup time based on current time | |
Friends | |
| class | PionLockedQueue |
| allow PionLockedQueue direct access to members | |
| pion::PionLockedQueue< T, MaxSize, SleepMilliSec >::ConsumerThread::ConsumerThread | ( | void | ) | [inline] |
default constructor used to disable idle wakeup timer (assumes thread is active/running)
Definition at line 130 of file PionLockedQueue.hpp.
| pion::PionLockedQueue< T, MaxSize, SleepMilliSec >::ConsumerThread::ConsumerThread | ( | const DurationType & | d | ) | [inline] |
constructor used to enable an idle wakeup timer for the thread (assumes thread is active/running)
| d | inactivity wakeup timer duration |
Definition at line 140 of file PionLockedQueue.hpp.
1.4.7