The Gaudi Framework  master (b9786168)
Loading...
Searching...
No Matches
IPublishSvc.h
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 1998-2025 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#pragma once
12
14#include <string>
15
23class GAUDI_API IPublishSvc : virtual public IInterface {
24public:
27
32 virtual void declarePubItem( const std::string& name, const bool& var ) = 0;
33 virtual void declarePubItem( const std::string& name, const int& var ) = 0;
34 virtual void declarePubItem( const std::string& name, const long& var ) = 0;
35 virtual void declarePubItem( const std::string& name, const double& var ) = 0;
36 virtual void declarePubItem( const std::string& name, const std::string& var ) = 0;
37
41
42 virtual void undeclarePubItem( const std::string& name ) = 0;
45
46 virtual void undeclarePubAll() = 0;
50
51 virtual void updateItem( const std::string& name ) = 0;
52
55 virtual void updateAll() = 0;
56};
#define GAUDI_API
Definition Kernel.h:49
Definition of the basic interface.
Definition IInterface.h:225
Definition of the IPublishSvc interface, which publishes variables to outside monitoring processes.
Definition IPublishSvc.h:23
virtual void undeclarePubItem(const std::string &name)=0
Undeclare publishing information.
virtual void declarePubItem(const std::string &name, const int &var)=0
virtual void declarePubItem(const std::string &name, const std::string &var)=0
virtual void undeclarePubAll()=0
Undeclare all publishing information.
virtual void updateItem(const std::string &name)=0
Update pblishing information.
virtual void declarePubItem(const std::string &name, const double &var)=0
virtual void declarePubItem(const std::string &name, const long &var)=0
virtual void declarePubItem(const std::string &name, const bool &var)=0
Declare publishing information.
virtual void updateAll()=0
Update all declared publishing items.
DeclareInterfaceID(IPublishSvc, 1, 0)
InterfaceID.