The Gaudi Framework  master (37c0b60a)
HiveDataBrokerSvc::AlgEntry Struct Reference
Collaboration diagram for HiveDataBrokerSvc::AlgEntry:

Public Member Functions

 AlgEntry (size_t i, SmartIF< IAlgorithm > &&p)
 

Public Attributes

size_t index
 
SmartIF< IAlgorithmialg
 
Gaudi::Algorithmalg
 
std::set< AlgEntry const * > dependsOn
 

Friends

bool operator< (AlgEntry const &lhs, AlgEntry const &rhs)
 
bool operator== (AlgEntry const &lhs, AlgEntry const &rhs)
 

Detailed Description

Definition at line 58 of file HiveDataBroker.cpp.

Constructor & Destructor Documentation

◆ AlgEntry()

HiveDataBrokerSvc::AlgEntry::AlgEntry ( size_t  i,
SmartIF< IAlgorithm > &&  p 
)
inline

Definition at line 68 of file HiveDataBroker.cpp.

69  : index{ i }, ialg{ std::move( p ) }, alg{ dynamic_cast<Gaudi::Algorithm*>( ialg.get() ) } {
70  if ( !alg ) throw std::runtime_error( "algorithm pointer == nullptr???" );
71  }

Friends And Related Function Documentation

◆ operator<

bool operator< ( AlgEntry const &  lhs,
AlgEntry const &  rhs 
)
friend

Definition at line 64 of file HiveDataBroker.cpp.

64 { return lhs.index < rhs.index; }

◆ operator==

bool operator== ( AlgEntry const &  lhs,
AlgEntry const &  rhs 
)
friend

Definition at line 66 of file HiveDataBroker.cpp.

66 { return lhs.index == rhs.index; }

Member Data Documentation

◆ alg

Gaudi::Algorithm* HiveDataBrokerSvc::AlgEntry::alg

Definition at line 61 of file HiveDataBroker.cpp.

◆ dependsOn

std::set<AlgEntry const*> HiveDataBrokerSvc::AlgEntry::dependsOn

Definition at line 62 of file HiveDataBroker.cpp.

◆ ialg

SmartIF<IAlgorithm> HiveDataBrokerSvc::AlgEntry::ialg

Definition at line 60 of file HiveDataBroker.cpp.

◆ index

size_t HiveDataBrokerSvc::AlgEntry::index

Definition at line 59 of file HiveDataBroker.cpp.


The documentation for this struct was generated from the following file:
HiveDataBrokerSvc::AlgEntry::index
size_t index
Definition: HiveDataBroker.cpp:59
std::move
T move(T... args)
Gaudi::Algorithm
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:90
std::runtime_error
STL class.
SmartIF::get
TYPE * get() const
Get interface pointer.
Definition: SmartIF.h:86
HiveDataBrokerSvc::AlgEntry::ialg
SmartIF< IAlgorithm > ialg
Definition: HiveDataBroker.cpp:60
HiveDataBrokerSvc::AlgEntry::alg
Gaudi::Algorithm * alg
Definition: HiveDataBroker.cpp:61