| The Gaudi Framework v28r2-patches (bc4ad17a)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | List of all members
ForwardSchedulerSvc::enqueueSchedulerActionTask Struct Reference
Inheritance diagram for ForwardSchedulerSvc::enqueueSchedulerActionTask:
[legend]
Collaboration diagram for ForwardSchedulerSvc::enqueueSchedulerActionTask:
[legend]

## Public Member Functions
| enqueueSchedulerActionTask (ForwardSchedulerSvc *scheduler, std::function< StatusCode()> _closure)
tbb::task * | execute () override

## Public Attributes
std::function< StatusCode()> | m_closure
SmartIF< ForwardSchedulerSvc > | m_scheduler

## Detailed Description

Definition at line 212 of file ForwardSchedulerSvc.h.

## Constructor & Destructor Documentation

ForwardSchedulerSvc::enqueueSchedulerActionTask::enqueueSchedulerActionTask | ( | ForwardSchedulerSvc * | scheduler,
|  | std::function< StatusCode()> | _closure
| ) |  |
| inline

Definition at line 217 of file ForwardSchedulerSvc.h.

217 :
218 m_closure(_closure), m_scheduler(scheduler) {}
ForwardSchedulerSvc::enqueueSchedulerActionTask::m_closure
std::function< StatusCode()> m_closure
Definition: ForwardSchedulerSvc.h:214
ForwardSchedulerSvc::enqueueSchedulerActionTask::m_scheduler
SmartIF< ForwardSchedulerSvc > m_scheduler
Definition: ForwardSchedulerSvc.h:215

## Member Function Documentation

tbb::task* ForwardSchedulerSvc::enqueueSchedulerActionTask::execute | ( |  | ) |
| inline override

Definition at line 220 of file ForwardSchedulerSvc.h.

220 {
221 m_scheduler->m_actionsQueue.push(m_closure);
222 return nullptr;
223 }
ForwardSchedulerSvc::enqueueSchedulerActionTask::m_closure
std::function< StatusCode()> m_closure
Definition: ForwardSchedulerSvc.h:214
ForwardSchedulerSvc::enqueueSchedulerActionTask::m_scheduler
SmartIF< ForwardSchedulerSvc > m_scheduler
Definition: ForwardSchedulerSvc.h:215
ForwardSchedulerSvc::m_actionsQueue
tbb::concurrent_bounded_queue< action > m_actionsQueue
Queue where closures are stored and picked for execution.
Definition: ForwardSchedulerSvc.h:209

## Member Data Documentation

std::function<StatusCode()> ForwardSchedulerSvc::enqueueSchedulerActionTask::m_closure

Definition at line 214 of file ForwardSchedulerSvc.h.

SmartIF<ForwardSchedulerSvc> ForwardSchedulerSvc::enqueueSchedulerActionTask::m_scheduler

Definition at line 215 of file ForwardSchedulerSvc.h.

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

- GaudiHive/src/ForwardSchedulerSvc.h