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

This object takes Task from the TaskContainer and executes them at the right time. More...

#include <TaskDispatcher.h>

Collaboration diagram for Nice::TaskDispatcher:
Collaboration graph

Public Member Functions

 TaskDispatcher (Nice::TaskContainerPtr taskContaine)
 
virtual ~TaskDispatcher ()
 
void step ()
 

Private Member Functions

bool executeTimedTask ()
 
bool isDelayedTaskUrgent (Nice::DelayedTaskControlPtr taskControl)
 
void executeUntimedTaskIfAny ()
 
void waitUntilTaskIsReadyForExecution ()
 
void waitUntilTimedTaskIsReadyForExecution ()
 

Private Attributes

Nice::TaskContainerPtr taskContainer_
 

Detailed Description

This object takes Task from the TaskContainer and executes them at the right time.

Constructor & Destructor Documentation

◆ TaskDispatcher()

Nice::TaskDispatcher::TaskDispatcher ( Nice::TaskContainerPtr  taskContaine)

◆ ~TaskDispatcher()

virtual Nice::TaskDispatcher::~TaskDispatcher ( )
inlinevirtual

Member Function Documentation

◆ executeTimedTask()

bool Nice::TaskDispatcher::executeTimedTask ( )
private

◆ executeUntimedTaskIfAny()

void Nice::TaskDispatcher::executeUntimedTaskIfAny ( )
private

◆ isDelayedTaskUrgent()

bool Nice::TaskDispatcher::isDelayedTaskUrgent ( Nice::DelayedTaskControlPtr  taskControl)
private

◆ step()

void Nice::TaskDispatcher::step ( )

◆ waitUntilTaskIsReadyForExecution()

void Nice::TaskDispatcher::waitUntilTaskIsReadyForExecution ( )
private

◆ waitUntilTimedTaskIsReadyForExecution()

void Nice::TaskDispatcher::waitUntilTimedTaskIsReadyForExecution ( )
private

Member Data Documentation

◆ taskContainer_

Nice::TaskContainerPtr Nice::TaskDispatcher::taskContainer_
private

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