|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef ATHENASERVICES_ITEMLISTSVC_H
13 #define ATHENASERVICES_ITEMLISTSVC_H
32 #include "GaudiKernel/IAlgManager.h"
33 #include "GaudiKernel/ISvcLocator.h"
34 #include "GaudiKernel/IProperty.h"
35 #include "GaudiKernel/MsgStream.h"
49 bool operator() (std::pair<const std::string, std::string> elem) {
84 virtual bool containsItem(
const std::string& itemname,
const std::string&
stream=
"ANY")
const override;
86 virtual std::vector<std::string>
getStreamsForItem(
const std::string& itemname)
const override;
95 typedef std::lock_guard<std::mutex>
lock_t;
104 #endif //> !ATHENASERVICES_ITEMLISTSVC_H
virtual StatusCode addStreamItem(const std::string &stream, const std::string &itemname) override
bool operator()(std::pair< const std::string, std::string > elem)
ItemListSvc(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
StatusCode initialize() override
Gaudi Service Implementation.
::StatusCode StatusCode
StatusCode definition for legacy code.
std::map< std::string, std::set< std::string > > m_streamItems
virtual std::vector< std::string > getStreamsForItem(const std::string &itemname) const override
value_equals(const std::string &v)
StatusCode finalize() override
This implementes the methods for IItemListSvc.
virtual StatusCode removeStreamItem(const std::string &stream, const std::string &itemname) override
ItemListSvc(const ItemListSvc &)
virtual ~ItemListSvc()
Destructor.
virtual std::vector< std::string > getItemsForStream(const std::string &stream) const override
ItemListSvc & operator=(const ItemListSvc &)
std::lock_guard< std::mutex > lock_t
virtual bool containsItem(const std::string &itemname, const std::string &stream="ANY") const override