ATLAS Offline Software
Loading...
Searching...
No Matches
AthCheckedComponent< PBASE > Class Template Reference

Mixin class to perform additional checks on a component. More...

#include <AthCheckedComponent.h>

Inheritance diagram for AthCheckedComponent< PBASE >:
Collaboration diagram for AthCheckedComponent< PBASE >:

Public Member Functions

virtual StatusCode sysInitialize () override
 Perform system initialization for the component.

Private Member Functions

StatusCode isConfigured ()
 Check if component is configured in JobOptionsSvc.

Detailed Description

template<class PBASE>
class AthCheckedComponent< PBASE >

Mixin class to perform additional checks on a component.

Use this only in case additional checks are supposed to be performed during the component initialization.

Can be used on Algorithms, Tools and Services like so:

class MyTool : public AthCheckedComponent<AthAlgTool> {
};
Mixin class to perform additional checks on a component.
Author
Frank Winklmeier

Definition at line 25 of file AthCheckedComponent.h.

Member Function Documentation

◆ isConfigured()

template<class PBASE>
StatusCode AthCheckedComponent< PBASE >::isConfigured ( )
private

Check if component is configured in JobOptionsSvc.

Checks if at least one property of the component is configured in the JobOptionsSvc. Can be used to detect if a component is missing its python configuration.

◆ sysInitialize()

template<class PBASE>
virtual StatusCode AthCheckedComponent< PBASE >::sysInitialize ( )
overridevirtual

Perform system initialization for the component.

We overwrite this to call the additional checkers below.


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