| 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
AvalancheSchedulerSvc::enqueueSchedulerActionTask Struct Reference
Inheritance diagram for AvalancheSchedulerSvc::enqueueSchedulerActionTask:
[legend]
Collaboration diagram for AvalancheSchedulerSvc::enqueueSchedulerActionTask:
[legend]

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

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

## Detailed Description

Definition at line 246 of file AvalancheSchedulerSvc.h.

## Constructor & Destructor Documentation

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

Definition at line 251 of file AvalancheSchedulerSvc.h.

251 :
252 m_closure(_closure), m_scheduler(scheduler) {}
AvalancheSchedulerSvc::enqueueSchedulerActionTask::m_scheduler
SmartIF< AvalancheSchedulerSvc > m_scheduler
Definition: AvalancheSchedulerSvc.h:249
AvalancheSchedulerSvc::enqueueSchedulerActionTask::m_closure
std::function< StatusCode()> m_closure
Definition: AvalancheSchedulerSvc.h:248

## Member Function Documentation

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

Definition at line 254 of file AvalancheSchedulerSvc.h.

254 {
255 m_scheduler->m_actionsQueue.push(m_closure);
256 return nullptr;
257 }
AvalancheSchedulerSvc::enqueueSchedulerActionTask::m_scheduler
SmartIF< AvalancheSchedulerSvc > m_scheduler
Definition: AvalancheSchedulerSvc.h:249
AvalancheSchedulerSvc::enqueueSchedulerActionTask::m_closure
std::function< StatusCode()> m_closure
Definition: AvalancheSchedulerSvc.h:248
AvalancheSchedulerSvc::m_actionsQueue
tbb::concurrent_bounded_queue< action > m_actionsQueue
Queue where closures are stored and picked for execution.
Definition: AvalancheSchedulerSvc.h:243

## Member Data Documentation

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

Definition at line 248 of file AvalancheSchedulerSvc.h.

SmartIF<AvalancheSchedulerSvc> AvalancheSchedulerSvc::enqueueSchedulerActionTask::m_scheduler

Definition at line 249 of file AvalancheSchedulerSvc.h.

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

- GaudiHive/src/AvalancheSchedulerSvc.h