TwiceAsNice  2019-02-18
Public Member Functions | Public Attributes | List of all members
Nice::TaskQueueWithRunningDispatchingThread Class Reference

This class is a wrapper around TaskQueue. More...

#include <TaskQueueWithRunningDispatchingThread.h>

Inheritance diagram for Nice::TaskQueueWithRunningDispatchingThread:
Inheritance graph
Collaboration diagram for Nice::TaskQueueWithRunningDispatchingThread:
Collaboration graph

Public Member Functions

 TaskQueueWithRunningDispatchingThread (Nice::TaskQueueImplPtr taskQueue, IceUtil::ThreadPtr thread)
 
virtual ~TaskQueueWithRunningDispatchingThread ()
 
virtual Nice::TaskControlPtr invoke (Nice::TaskPtr t)
 
virtual Nice::TaskControlPtr invokeLater (Nice::TaskPtr t, Nice::TaskQueue::Delay delay)
 
- Public Member Functions inherited from Nice::TaskQueue
virtual ~TaskQueue ()
 

Public Attributes

Nice::TaskQueueImplPtr taskQueue_
 
IceUtil::ThreadPtr dispatchingThread_
 

Additional Inherited Members

- Public Types inherited from Nice::TaskQueue
typedef Nice::Time Delay
 
- Static Public Member Functions inherited from Nice::TaskQueue
static Delay seconds (double t)
 

Detailed Description

This class is a wrapper around TaskQueue.

It holds a reference to a ICE thread because the thread should not be destroyed if the destructor is called.

Constructor & Destructor Documentation

◆ TaskQueueWithRunningDispatchingThread()

Nice::TaskQueueWithRunningDispatchingThread::TaskQueueWithRunningDispatchingThread ( Nice::TaskQueueImplPtr  taskQueue,
IceUtil::ThreadPtr  thread 
)

◆ ~TaskQueueWithRunningDispatchingThread()

virtual Nice::TaskQueueWithRunningDispatchingThread::~TaskQueueWithRunningDispatchingThread ( )
inlinevirtual

Member Function Documentation

◆ invoke()

Nice::TaskControlPtr Nice::TaskQueueWithRunningDispatchingThread::invoke ( Nice::TaskPtr  t)
virtual
Note
thread-safe

Implements Nice::TaskQueue.

◆ invokeLater()

Nice::TaskControlPtr Nice::TaskQueueWithRunningDispatchingThread::invokeLater ( Nice::TaskPtr  t,
Nice::TaskQueue::Delay  delay 
)
virtual
Note
thread-safe

Implements Nice::TaskQueue.

Member Data Documentation

◆ dispatchingThread_

IceUtil::ThreadPtr Nice::TaskQueueWithRunningDispatchingThread::dispatchingThread_

◆ taskQueue_

Nice::TaskQueueImplPtr Nice::TaskQueueWithRunningDispatchingThread::taskQueue_

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