DABC (Data Acquisition Backbone Core)  2.9.9
Public Member Functions | Data Fields
dabc::Thread::WorkerRec Struct Reference

#include <dabc/Thread.h>

Public Member Functions

 WorkerRec (Worker *w, WorkerAddon *a)
 

Data Fields

WorkerAddonaddon
 addon for the worker, maybe thread-specific More...
 
CommandsQueue cmds
 postponed commands, which are waiting until object is destroyed or halted More...
 
unsigned doinghalt
 indicates that events will not be longer accepted by the worker, all submitted commands still should be executed More...
 
unsigned processed
 current number of processed events, when balance between processed and fired is 0, worker can be halted More...
 
int recursion
 recursion calls of the worker More...
 
TimeoutRec tmout_addon
 timeout handling for addon More...
 
TimeoutRec tmout_worker
 timeout handling for worker More...
 
Workerwork
 pointer on the worker, should we use reference? More...
 

Detailed Description

Definition at line 231 of file Thread.h.

Constructor & Destructor Documentation

◆ WorkerRec()

dabc::Thread::WorkerRec::WorkerRec ( Worker w,
WorkerAddon a 
)
inline

Definition at line 242 of file Thread.h.

Field Documentation

◆ work

Worker* dabc::Thread::WorkerRec::work

pointer on the worker, should we use reference?

Definition at line 232 of file Thread.h.

◆ addon

WorkerAddon* dabc::Thread::WorkerRec::addon

addon for the worker, maybe thread-specific

Definition at line 233 of file Thread.h.

◆ doinghalt

unsigned dabc::Thread::WorkerRec::doinghalt

indicates that events will not be longer accepted by the worker, all submitted commands still should be executed

Definition at line 234 of file Thread.h.

◆ recursion

int dabc::Thread::WorkerRec::recursion

recursion calls of the worker

Definition at line 235 of file Thread.h.

◆ processed

unsigned dabc::Thread::WorkerRec::processed

current number of processed events, when balance between processed and fired is 0, worker can be halted

Definition at line 236 of file Thread.h.

◆ cmds

CommandsQueue dabc::Thread::WorkerRec::cmds

postponed commands, which are waiting until object is destroyed or halted

Definition at line 237 of file Thread.h.

◆ tmout_worker

TimeoutRec dabc::Thread::WorkerRec::tmout_worker

timeout handling for worker

Definition at line 239 of file Thread.h.

◆ tmout_addon

TimeoutRec dabc::Thread::WorkerRec::tmout_addon

timeout handling for addon

Definition at line 240 of file Thread.h.


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