Public Member Functions | Private Member Functions | Private Attributes
icl_core::dispatch::PeriodicDispatchThread Class Reference

Dispatches the contained operations periodically. More...

#include <PeriodicDispatchThread.h>

Inheritance diagram for icl_core::dispatch::PeriodicDispatchThread:
Inheritance graph

List of all members.

Public Member Functions

void addOperation (Operation *op)
 Add the operation op to the dispatch queue.
 PeriodicDispatchThread (icl_core::String const &description, icl_core::TimeSpan const &period, ThreadPriority priority=0)
virtual ~PeriodicDispatchThread ()
 Destroys a periodic dispatch thread.

Private Member Functions

virtual void run ()
 Perform the periodic dispatching.

Private Attributes

icl_core::List< Operation * > m_dispatch_queue

Detailed Description

Dispatches the contained operations periodically.

Definition at line 36 of file PeriodicDispatchThread.h.

Constructor & Destructor Documentation

Initializes a periodic dispatch thread.

descriptionThe thread's description.
periodThe relative period after which the thread is cyclically woken up.
priorityThe thread's priority.

Definition at line 32 of file PeriodicDispatchThread.cpp.

Destroys a periodic dispatch thread.

Definition at line 39 of file PeriodicDispatchThread.cpp.

Member Function Documentation

Add the operation op to the dispatch queue.

Definition at line 45 of file PeriodicDispatchThread.cpp.

Perform the periodic dispatching.

Implements icl_core::thread::Thread.

Definition at line 50 of file PeriodicDispatchThread.cpp.

Member Data Documentation

Definition at line 58 of file PeriodicDispatchThread.h.

The documentation for this class was generated from the following files:

autogenerated on Thu Jun 6 2019 20:22:26