Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
Task< T, C > Class Template Reference

#include <TaskQueue.h>

Inheritance diagram for Task< T, C >:
[legend]
Collaboration diagram for Task< T, C >:
[legend]

Public Member Functions

void exec (const C &context) override
 
 Task (T &&t)
 

Data Fields

task
 

Detailed Description

template<typename T, typename C>
class Task< T, C >

Definition at line 45 of file TaskQueue.h.

Constructor & Destructor Documentation

◆ Task()

template<typename T , typename C >
Task< T, C >::Task ( T &&  t)
inline

Definition at line 47 of file TaskQueue.h.

Member Function Documentation

◆ exec()

template<typename T , typename C >
void Task< T, C >::exec ( const C &  context)
inlineoverridevirtual

Implements TaskBase< C >.

Definition at line 48 of file TaskQueue.h.

References Task< T, C >::task.

Field Documentation

◆ task

template<typename T , typename C >
T Task< T, C >::task

Definition at line 52 of file TaskQueue.h.

Referenced by Task< T, C >::exec().


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