The Gaudi Framework  master (1304469f)
Loading...
Searching...
No Matches
BackwardCompatibleAliases.cpp
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3* *
4* This software is distributed under the terms of the Apache version 2 licence, *
5* copied verbatim in the file "LICENSE". *
6* *
7* In applying this licence, CERN does not waive the privileges and immunities *
8* granted to it by virtue of its status as an Intergovernmental Organization *
9* or submit itself to any jurisdiction. *
10\***********************************************************************************/
15
17
18#include <string>
19#include <vector>
20
22 class MyAlg : public Algorithm {
23 public:
25
26 StatusCode execute() override { return StatusCode::SUCCESS; }
27 };
28
29 template <class T1, class T2>
30 class MyTemplatedAlg : public Algorithm {
31 public:
33
34 StatusCode execute() override { return StatusCode::SUCCESS; }
35 };
36} // namespace PluginServiceTest
37
39namespace {
41}
42DECLARE_COMPONENT( _dummy )
#define DECLARE_COMPONENT(type)
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition Algorithm.h:98
This class is used for returning status codes from appropriate routines.
Definition StatusCode.h:64
constexpr static const auto SUCCESS
Definition StatusCode.h:99
Test file used to check if the new Plugin Service is able to handle the strings used in the old one.