The Gaudi Framework  master (594c33fa)
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 blocking, 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 blocking { false }
 
int slotIndex { 0 }
 
EventContextcontextPtr { nullptr }
 

Detailed Description

Struct to hold entries in the alg queues.

Definition at line 298 of file AvalancheSchedulerSvc.h.

Constructor & Destructor Documentation

◆ TaskSpec() [1/4]

AvalancheSchedulerSvc::TaskSpec::TaskSpec ( )
inline

Default constructor.

Definition at line 300 of file AvalancheSchedulerSvc.h.

300 {};

◆ TaskSpec() [2/4]

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

Definition at line 301 of file AvalancheSchedulerSvc.h.

303  : algPtr( algPtr )
304  , algIndex( algIndex )
305  , algName( algName )
306  , algRank( algRank )
307  , blocking( blocking )
308  , slotIndex( slotIndex )
309  , 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 320 of file AvalancheSchedulerSvc.h.

◆ algName

std::string_view AvalancheSchedulerSvc::TaskSpec::algName

Definition at line 321 of file AvalancheSchedulerSvc.h.

◆ algPtr

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

Definition at line 319 of file AvalancheSchedulerSvc.h.

◆ algRank

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

Definition at line 322 of file AvalancheSchedulerSvc.h.

◆ blocking

bool AvalancheSchedulerSvc::TaskSpec::blocking { false }

Definition at line 323 of file AvalancheSchedulerSvc.h.

◆ contextPtr

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

Definition at line 325 of file AvalancheSchedulerSvc.h.

◆ slotIndex

int AvalancheSchedulerSvc::TaskSpec::slotIndex { 0 }

Definition at line 324 of file AvalancheSchedulerSvc.h.


The documentation for this struct was generated from the following file:
AvalancheSchedulerSvc::TaskSpec::algPtr
IAlgorithm * algPtr
Definition: AvalancheSchedulerSvc.h:319
AvalancheSchedulerSvc::TaskSpec::algRank
unsigned int algRank
Definition: AvalancheSchedulerSvc.h:322
AvalancheSchedulerSvc::TaskSpec::algName
std::string_view algName
Definition: AvalancheSchedulerSvc.h:321
AvalancheSchedulerSvc::TaskSpec::blocking
bool blocking
Definition: AvalancheSchedulerSvc.h:323
AvalancheSchedulerSvc::TaskSpec::contextPtr
EventContext * contextPtr
Definition: AvalancheSchedulerSvc.h:325
AvalancheSchedulerSvc::TaskSpec::algIndex
unsigned int algIndex
Definition: AvalancheSchedulerSvc.h:320
AvalancheSchedulerSvc::TaskSpec::slotIndex
int slotIndex
Definition: AvalancheSchedulerSvc.h:324