The Gaudi Framework  v36r16 (ea80daf8)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
IMyTool.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 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 \***********************************************************************************/
11 #ifndef GAUDIEXAMPLE_IMYTOOL_H
12 #define GAUDIEXAMPLE_IMYTOOL_H 1
13 
14 // Include files
15 #include "GaudiKernel/IAlgTool.h"
16 
22 class IMyTool : virtual public IAlgTool {
23 public:
26 
28  virtual const std::string& message() const = 0;
30  virtual void doIt() const = 0;
31 };
32 
39 class IMyOtherTool : virtual public IAlgTool {
40 public:
43 
45  virtual void doItAgain() = 0;
46 };
47 
48 #endif // GAUDIEXAMPLE_IMYTOOL_H
IMyTool::message
virtual const std::string & message() const =0
Get a message.
IMyOtherTool
Definition: IMyTool.h:39
IMyOtherTool::DeclareInterfaceID
DeclareInterfaceID(IMyOtherTool, 2, 0)
InterfaceID.
std::string
STL class.
IAlgTool
Definition: IAlgTool.h:33
IMyTool::doIt
virtual void doIt() const =0
Do something.
IMyTool
Definition: IMyTool.h:22
IAlgTool.h
IMyTool::DeclareInterfaceID
DeclareInterfaceID(IMyTool, 2, 0)
InterfaceID.
IMyOtherTool::doItAgain
virtual void doItAgain()=0
Do something else.