DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Protected Attributes | List of all members
dd4hep::cond::DependencyBuilder Class Reference

Condition dependency builder. More...

#include <ConditionDerived.h>

Public Member Functions

 DependencyBuilder (DetElement de, Condition::itemkey_type item_key, std::shared_ptr< ConditionUpdateCall > call)
 Initializing constructor. More...
 
 DependencyBuilder (DetElement de, const std::string &item, std::shared_ptr< ConditionUpdateCall > call)
 Initializing constructor. More...
 
virtual ~DependencyBuilder ()
 Default destructor. More...
 
ConditionDependencyoperator-> ()
 Access underlying object directly. More...
 
void add (const ConditionKey &source_key)
 Add a new dependency. More...
 
ConditionDependencyrelease ()
 Release the created dependency and take ownership. More...
 

Protected Attributes

std::unique_ptr< ConditionDependencym_dependency
 The created dependency. More...
 

Detailed Description

Condition dependency builder.

Author
M.Frank
Version
1.0

Definition at line 365 of file ConditionDerived.h.

Constructor & Destructor Documentation

◆ DependencyBuilder() [1/2]

DependencyBuilder::DependencyBuilder ( DetElement  de,
Condition::itemkey_type  item_key,
std::shared_ptr< ConditionUpdateCall call 
)

Initializing constructor.

Definition at line 166 of file ConditionDerived.cpp.

◆ DependencyBuilder() [2/2]

DependencyBuilder::DependencyBuilder ( DetElement  de,
const std::string &  item,
std::shared_ptr< ConditionUpdateCall call 
)

Initializing constructor.

Definition at line 174 of file ConditionDerived.cpp.

◆ ~DependencyBuilder()

DependencyBuilder::~DependencyBuilder ( )
virtual

Default destructor.

Definition at line 182 of file ConditionDerived.cpp.

Member Function Documentation

◆ add()

void DependencyBuilder::add ( const ConditionKey source_key)

Add a new dependency.

Definition at line 186 of file ConditionDerived.cpp.

◆ operator->()

ConditionDependency* dd4hep::cond::DependencyBuilder::operator-> ( )
inline

Access underlying object directly.

Definition at line 377 of file ConditionDerived.h.

◆ release()

ConditionDependency * DependencyBuilder::release ( )

Release the created dependency and take ownership.

Definition at line 195 of file ConditionDerived.cpp.

Member Data Documentation

◆ m_dependency

std::unique_ptr<ConditionDependency> dd4hep::cond::DependencyBuilder::m_dependency
protected

The created dependency.

Definition at line 368 of file ConditionDerived.h.


The documentation for this class was generated from the following files: