The Gaudi Framework  v33r1 (b1225454)
IPublishSvc.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 GAUDIKERNEL_IPUBLISH_H
12 #define GAUDIKERNEL_IPUBLISH_H
13 
14 #include "GaudiKernel/IInterface.h"
15 #include <string>
16 
24 class GAUDI_API IPublishSvc : virtual public IInterface {
25 public:
28 
33  virtual void declarePubItem( const std::string& name, const bool& var ) = 0;
34  virtual void declarePubItem( const std::string& name, const int& var ) = 0;
35  virtual void declarePubItem( const std::string& name, const long& var ) = 0;
36  virtual void declarePubItem( const std::string& name, const double& var ) = 0;
37  virtual void declarePubItem( const std::string& name, const std::string& var ) = 0;
38 
43  virtual void undeclarePubItem( const std::string& name ) = 0;
47  virtual void undeclarePubAll() = 0;
52  virtual void updateItem( const std::string& name ) = 0;
53 
56  virtual void updateAll() = 0;
57 };
58 
59 #endif // GAUDIKERNEL_IPUBLISH_H
Definition of the IPublishSvc interface, which publishes variables to outside monitoring processes.
Definition: IPublishSvc.h:24
STL class.
Definition of the basic interface.
Definition: IInterface.h:254
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:23
#define GAUDI_API
Definition: Kernel.h:81