The Gaudi Framework  master (37c0b60a)
AvalancheSchedulerSvc::TaskSpec Struct Reference

Struct to hold entries in the alg queues. More...

Collaboration diagram for AvalancheSchedulerSvc::TaskSpec:

Public Member Functions

 TaskSpec ()
 Default constructor. More...
 
 TaskSpec (IAlgorithm *algPtr, unsigned int algIndex, const std::string &algName, unsigned int algRank, bool asynchronous, int slotIndex, EventContext *eventContext)
 
 TaskSpec (const TaskSpec &)=default
 Copy constructor (to keep a lambda capturing a TaskSpec storable as a std::function value) More...
 
TaskSpecoperator= (const TaskSpec &)=delete
 Assignment operator. More...
 
 TaskSpec (TaskSpec &&)=default
 Move constructor. More...
 
TaskSpecoperator= (TaskSpec &&)=default
 Move assignment. More...
 

Public Attributes

IAlgorithmalgPtr { nullptr }
 
unsigned int algIndex { 0 }
 
std::string_view algName
 
unsigned int algRank { 0 }
 
bool asynchronous { false }
 
int slotIndex { 0 }
 
EventContextcontextPtr { nullptr }
 

Detailed Description

Struct to hold entries in the alg queues.

Definition at line 322 of file AvalancheSchedulerSvc.h.

Constructor & Destructor Documentation

◆ TaskSpec() [1/4]

AvalancheSchedulerSvc::TaskSpec::TaskSpec ( )
inline

Default constructor.

Definition at line 324 of file AvalancheSchedulerSvc.h.

324 {}

◆ TaskSpec() [2/4]

AvalancheSchedulerSvc::TaskSpec::TaskSpec ( IAlgorithm algPtr,
unsigned int  algIndex,
const std::string algName,
unsigned int  algRank,
bool  asynchronous,
int  slotIndex,
EventContext eventContext 
)
inline

Definition at line 325 of file AvalancheSchedulerSvc.h.

327  : algPtr( algPtr )
328  , algIndex( algIndex )
329  , algName( algName )
330  , algRank( algRank )
332  , slotIndex( slotIndex )
333  , contextPtr( eventContext ) {}

◆ TaskSpec() [3/4]

AvalancheSchedulerSvc::TaskSpec::TaskSpec ( const TaskSpec )
default

Copy constructor (to keep a lambda capturing a TaskSpec storable as a std::function value)

◆ TaskSpec() [4/4]

AvalancheSchedulerSvc::TaskSpec::TaskSpec ( TaskSpec &&  )
default

Move constructor.

Member Function Documentation

◆ operator=() [1/2]

TaskSpec& AvalancheSchedulerSvc::TaskSpec::operator= ( const TaskSpec )
delete

Assignment operator.

◆ operator=() [2/2]

TaskSpec& AvalancheSchedulerSvc::TaskSpec::operator= ( TaskSpec &&  )
default

Move assignment.

Member Data Documentation

◆ algIndex

unsigned int AvalancheSchedulerSvc::TaskSpec::algIndex { 0 }

Definition at line 344 of file AvalancheSchedulerSvc.h.

◆ algName

std::string_view AvalancheSchedulerSvc::TaskSpec::algName

Definition at line 345 of file AvalancheSchedulerSvc.h.

◆ algPtr

IAlgorithm* AvalancheSchedulerSvc::TaskSpec::algPtr { nullptr }

Definition at line 343 of file AvalancheSchedulerSvc.h.

◆ algRank

unsigned int AvalancheSchedulerSvc::TaskSpec::algRank { 0 }

Definition at line 346 of file AvalancheSchedulerSvc.h.

◆ asynchronous

bool AvalancheSchedulerSvc::TaskSpec::asynchronous { false }

Definition at line 347 of file AvalancheSchedulerSvc.h.

◆ contextPtr

EventContext* AvalancheSchedulerSvc::TaskSpec::contextPtr { nullptr }

Definition at line 349 of file AvalancheSchedulerSvc.h.

◆ slotIndex

int AvalancheSchedulerSvc::TaskSpec::slotIndex { 0 }

Definition at line 348 of file AvalancheSchedulerSvc.h.


The documentation for this struct was generated from the following file:
AvalancheSchedulerSvc::TaskSpec::algPtr
IAlgorithm * algPtr
Definition: AvalancheSchedulerSvc.h:343
AvalancheSchedulerSvc::TaskSpec::algRank
unsigned int algRank
Definition: AvalancheSchedulerSvc.h:346
AvalancheSchedulerSvc::TaskSpec::algName
std::string_view algName
Definition: AvalancheSchedulerSvc.h:345
AvalancheSchedulerSvc::TaskSpec::asynchronous
bool asynchronous
Definition: AvalancheSchedulerSvc.h:347
AvalancheSchedulerSvc::TaskSpec::contextPtr
EventContext * contextPtr
Definition: AvalancheSchedulerSvc.h:349
AvalancheSchedulerSvc::TaskSpec::algIndex
unsigned int algIndex
Definition: AvalancheSchedulerSvc.h:344
AvalancheSchedulerSvc::TaskSpec::slotIndex
int slotIndex
Definition: AvalancheSchedulerSvc.h:348