|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
    9 #ifndef ASG_SERVICES_ASG_SERVICE_CONFIG_H 
   10 #define ASG_SERVICES_ASG_SERVICE_CONFIG_H 
   16 #ifndef XAOD_STANDALONE 
   17 #include <GaudiKernel/Service.h> 
  113 #ifdef XAOD_STANDALONE 
  118     using namespace msgComponentConfig;
 
  120     std::unique_ptr<T> myservice;
 
  121     ANA_CHECK (makeComponentExpert (myservice, 
"new %1% (\"%2%\", nullptr)", 
false, 
""));
 
  125     service = std::move (myservice);
 
  129     return StatusCode::SUCCESS;
 
  135     using namespace msgComponentConfig;
 
  137     std::shared_ptr<T> myservice;
 
  140     return StatusCode::SUCCESS;
 
  148     using namespace msgComponentConfig;
 
  160     service = std::shared_ptr<T> (std::shared_ptr<void>(), &*serviceHandle);
 
  163     return StatusCode::SUCCESS;
 
  169     using namespace msgComponentConfig;
 
  174     if (
auto svc = 
dynamic_cast<::
AthService*
> (service.get())) {
 
  179       return StatusCode::FAILURE;
 
  183     return StatusCode::SUCCESS;
 
  
virtual ~AsgServiceConfig()=default
Virtual destructor, to make PyROOT happy.
an object that stores the configuration for an AsgComponent and is able to create one from it
::StatusCode makeService(ServiceHandle< T > &service) const
Base class for the dual-use service implementation classes.
virtual StatusCode initialize()
set up/tear down functions
::StatusCode StatusCode
StatusCode definition for legacy code.
AthROOTErrorHandlerSvc * svc
const std::string & type() const noexcept
the type of the component
an object that can create a AsgService
StatusCode configureComponentExpert(const std::string &prefix, bool nestedNames) const
add component configuration to configuration service (expert only)
std::string typeAndName() const
get type and name at the same time
::StatusCode makeService(std::shared_ptr< T > &service) const
make a service with the given configuration
AsgServiceConfig()=default
standard constructor