#include <scheduler.h>
|
typedef std::function< void(void)> | Function |
|
Definition at line 38 of file scheduler.h.
◆ Function
◆ CScheduler()
CScheduler::CScheduler |
( |
| ) |
|
◆ ~CScheduler()
CScheduler::~CScheduler |
( |
| ) |
|
◆ AreThreadsServicingQueue()
bool CScheduler::AreThreadsServicingQueue |
( |
| ) |
const |
◆ getQueueInfo()
size_t CScheduler::getQueueInfo |
( |
boost::chrono::system_clock::time_point & |
first, |
|
|
boost::chrono::system_clock::time_point & |
last |
|
) |
| const |
◆ schedule()
void CScheduler::schedule |
( |
CScheduler::Function |
f, |
|
|
boost::chrono::system_clock::time_point |
t = boost::chrono::system_clock::now() |
|
) |
| |
◆ scheduleEvery()
◆ scheduleFromNow()
◆ serviceQueue()
void CScheduler::serviceQueue |
( |
| ) |
|
◆ shouldStop()
bool CScheduler::shouldStop |
( |
| ) |
const |
|
inlineprivate |
◆ stop()
void CScheduler::stop |
( |
bool |
drain = false | ) |
|
◆ newTaskMutex
boost::mutex CScheduler::newTaskMutex |
|
mutableprivate |
◆ newTaskScheduled
boost::condition_variable CScheduler::newTaskScheduled |
|
private |
◆ nThreadsServicingQueue
int CScheduler::nThreadsServicingQueue |
|
private |
◆ stopRequested
bool CScheduler::stopRequested |
|
private |
◆ stopWhenEmpty
bool CScheduler::stopWhenEmpty |
|
private |
◆ taskQueue
std::multimap<boost::chrono::system_clock::time_point, Function> CScheduler::taskQueue |
|
private |
The documentation for this class was generated from the following files: