RSC  0.17.1
rsc::threading Namespace Reference

Classes

class  Future
 Class providing access to the result of a process that is asynchronously running. More...
 
class  FutureException
 Thrown when the result of the computation represented by a future is not available for some reason. More...
 
class  FutureTaskExecutionException
 Exception that is thrown if the result of a Future is not available because the underlying process generated an error. More...
 
class  FutureTimeoutException
 Thrown when the execution of a Future's task does not complete within the specified amount of time. More...
 
class  InterruptedException
 An exception thrown if a blocking operation was interrupted. More...
 
class  OrderedQueueDispatcherPool
 A thread pool that dispatches messages to a list of receivers. More...
 
class  PeriodicTask
 A specialization of Task that executes a task in a periodic manner by providing an special implementation of continueExec. More...
 
class  QueueEmptyException
 Indicates that a queue was empty while trying to pop an element from it. More...
 
class  RepetitiveTask
 A task that already provides a base frame for common logic of interruptible tasks. More...
 
class  SimpleTask
 A Task subclass which maintains interruption through a volatile boolean flag which should be processed by the user code. More...
 
class  SynchronizedQueue
 A queue with synchronized access and interruption support. More...
 
class  Task
 A task is a self.contained piece of work that can be executed by another thread. More...
 
class  TaskExecutor
 Interface for different scheduling strategies for Task instances. More...
 
class  ThreadedTaskExecutor
 A very simple TaskExecutor that uses a new thread for each incomming task. More...
 

Typedefs

typedef boost::shared_ptr< TaskTaskPtr
 
typedef boost::shared_ptr< TaskExecutorTaskExecutorPtr
 

Functions

ostream & operator<< (ostream &out, const RepetitiveTask &t)
 

Typedef Documentation

typedef boost::shared_ptr<TaskExecutor> rsc::threading::TaskExecutorPtr

Definition at line 75 of file TaskExecutor.h.

typedef boost::shared_ptr<Task> rsc::threading::TaskPtr

Definition at line 103 of file Task.h.

Function Documentation

std::ostream & rsc::threading::operator<< ( ostream &  out,
const RepetitiveTask t 
)

Definition at line 121 of file RepetitiveTask.cpp.

References rsc::threading::RepetitiveTask::cancelRequest.