The Gaudi Framework  master (37c0b60a)
PluginServiceV2.h File Reference
#include <Gaudi/Details/PluginServiceDetailsV2.h>
#include <cstdint>
#include <functional>
#include <memory>
#include <sstream>
#include <string>
#include <string_view>
#include <type_traits>
#include <typeinfo>
#include <utility>
Include dependency graph for PluginServiceV2.h:

Go to the source code of this file.

Classes

struct  Gaudi::PluginService::Details::source_location
 
struct  Gaudi::PluginService::v2::Factory< R(Args...)>
 Class wrapping the signature for a factory with any number of arguments. More...
 
struct  Gaudi::PluginService::v2::DeclareFactory< T, F >
 Helper to declare the factory implementation for a user defined type T. More...
 

Namespaces

 Gaudi
 This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from python with a format liks : ( nbins, min, max, title ) where title can be ommited.
 
 Gaudi::PluginService
 See Gaudi::PluginService.
 
 Gaudi::PluginService::Details
 
 Gaudi::PluginService::v2
 

Macros

#define _PS_V2_DECLARE_COMPONENT(type)
 
#define _PS_V2_DECLARE_COMPONENT_WITH_ID(type, id)
 
#define _PS_V2_DECLARE_FACTORY(type, factory)
 
#define _PS_V2_DECLARE_FACTORY_WITH_ID(type, id, factory)
 
#define _PS_V2_DECLARE_COMPONENT_PROPERTY(id, name, value)
 

Macro Definition Documentation

◆ _PS_V2_DECLARE_COMPONENT

#define _PS_V2_DECLARE_COMPONENT (   type)
Value:
namespace { \
::Gaudi::PluginService::v2::DeclareFactory<type> _PS_V2_INTERNAL_FACTORY_REGISTER_CNAME{}; \
}

Definition at line 171 of file PluginServiceV2.h.

◆ _PS_V2_DECLARE_COMPONENT_PROPERTY

#define _PS_V2_DECLARE_COMPONENT_PROPERTY (   id,
  name,
  value 
)
Value:
namespace { \
struct _PS_V2_INTERNAL_SET_PROPERTY { \
_PS_V2_INTERNAL_SET_PROPERTY() { \
::Gaudi::PluginService::v2::Details::Registry::instance().addProperty( #id, name, value ); \
} \
} _ps_v2_internal_set_property; \
}

Definition at line 193 of file PluginServiceV2.h.

◆ _PS_V2_DECLARE_COMPONENT_WITH_ID

#define _PS_V2_DECLARE_COMPONENT_WITH_ID (   type,
  id 
)
Value:
namespace { \
::Gaudi::PluginService::v2::DeclareFactory<type> _PS_V2_INTERNAL_FACTORY_REGISTER_CNAME{ \
::Gaudi::PluginService::v2::Details::stringify_id( id ) }; \
}

Definition at line 176 of file PluginServiceV2.h.

◆ _PS_V2_DECLARE_FACTORY

#define _PS_V2_DECLARE_FACTORY (   type,
  factory 
)
Value:
namespace { \
::Gaudi::PluginService::v2::DeclareFactory<type, factory> _PS_V2_INTERNAL_FACTORY_REGISTER_CNAME{}; \
}

Definition at line 182 of file PluginServiceV2.h.

◆ _PS_V2_DECLARE_FACTORY_WITH_ID

#define _PS_V2_DECLARE_FACTORY_WITH_ID (   type,
  id,
  factory 
)
Value:
namespace { \
::Gaudi::PluginService::v2::DeclareFactory<type, factory> _PS_V2_INTERNAL_FACTORY_REGISTER_CNAME{ \
::Gaudi::PluginService::v2::Details::stringify_id( id ) }; \
}

Definition at line 187 of file PluginServiceV2.h.

Gaudi::PluginService::v2::DeclareFactory
Helper to declare the factory implementation for a user defined type T.
Definition: PluginServiceV2.h:136
ConditionsStallTest.name
name
Definition: ConditionsStallTest.py:77