Project
Loading...
Searching...
No Matches
o2::framework::AsyncTask Struct Reference

An actuatual task to be executed. More...

#include <AsyncQueue.h>

Public Member Functions

template<typename T >
T & user ()
 
template<typename T >
AsyncTaskuser (T &&value)
 

Public Attributes

TimesliceId timeslice = {TimesliceId::INVALID}
 
AsyncTaskId id = {-1}
 
int8_t debounce = 0
 
bool runnable = false
 
int32_t unused = 0
 
void(* callback )(AsyncTask &task, size_t id)
 
voiddata [5] = {nullptr, nullptr, nullptr, nullptr, nullptr}
 

Detailed Description

An actuatual task to be executed.

Definition at line 32 of file AsyncQueue.h.

Member Function Documentation

◆ user() [1/2]

template<typename T >
T & o2::framework::AsyncTask::user ( )
inline

Definition at line 61 of file AsyncQueue.h.

◆ user() [2/2]

template<typename T >
AsyncTask & o2::framework::AsyncTask::user ( T &&  value)
inline

Definition at line 78 of file AsyncQueue.h.

Member Data Documentation

◆ callback

void(* o2::framework::AsyncTask::callback) (AsyncTask &task, size_t id)

Definition at line 52 of file AsyncQueue.h.

◆ data

void* o2::framework::AsyncTask::data[5] = {nullptr, nullptr, nullptr, nullptr, nullptr}

Definition at line 57 of file AsyncQueue.h.

◆ debounce

int8_t o2::framework::AsyncTask::debounce = 0

Definition at line 41 of file AsyncQueue.h.

◆ id

AsyncTaskId o2::framework::AsyncTask::id = {-1}

Definition at line 39 of file AsyncQueue.h.

◆ runnable

bool o2::framework::AsyncTask::runnable = false

Definition at line 42 of file AsyncQueue.h.

◆ timeslice

TimesliceId o2::framework::AsyncTask::timeslice = {TimesliceId::INVALID}

Definition at line 34 of file AsyncQueue.h.

◆ unused

int32_t o2::framework::AsyncTask::unused = 0

Definition at line 44 of file AsyncQueue.h.


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