Skip to content
Snippets Groups Projects
Commit 8ec32f14 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'proxydict' into 'main'

IProxyDict+AthViews: use modern interface declaration

See merge request !74850
parents 666bd6d6 1f1be619
No related branches found
No related tags found
17 merge requests!78241Draft: FPGATrackSim: GenScan code refactor,!78236Draft: Switching Streams https://its.cern.ch/jira/browse/ATR-27417,!78056AFP monitoring: new synchronization and cleaning,!78041AFP monitoring: new synchronization and cleaning,!77990Updating TRT chip masks for L1TRT trigger simulation - ATR-28372,!77731Draft: Updates to ZDC reconstruction,!77728Draft: updates to ZDC reconstruction,!77522Draft: sTGC Pad Trigger Emulator,!76725ZdcNtuple: Fix cppcheck warning.,!76611L1CaloFEXByteStream: Fix out-of-bounds array accesses.,!76475Punchthrough AF3 implementation in FastG4,!76474Punchthrough AF3 implementation in FastG4,!76343Draft: MooTrackBuilder: Recalibrate NSW hits in refine method,!75729New implementation of ZDC nonlinear FADC correction.,!75703Draft: Update to HI han config for HLT jets,!75184Draft: Update file heavyions_run.config,!74850IProxyDict+AthViews: use modern interface declaration
///////////////////////// -*- C++ -*- /////////////////////////////
/*
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
#ifndef ATHVIEWS_DEBUGVIEW_H
......@@ -28,7 +28,6 @@ class DataObject;
class DebugView : public SimpleView, AthMessaging
{
public:
DeclareInterfaceID( DebugView, 2, 0 );
DebugView() = delete;
DebugView( std::string const& Name, bool AllowFallThrough = true, std::string const& storeName = "StoreGateSvc" );
......
///////////////////////// -*- C++ -*- /////////////////////////////
/*
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
#ifndef ATHVIEWS_SIMPLEVIEW_H
......@@ -31,10 +31,9 @@ class DataObject;
*
* @author Ben Wynne - ATLAS
*/
class SimpleView : public IProxyDict
class SimpleView : public implements<IProxyDict>
{
public:
DeclareInterfaceID( SimpleView, 2, 0 );
SimpleView() = delete;
SimpleView( std::string const& Name, bool AllowFallThrough = true, std::string const& storeName = "StoreGateSvc" );
......@@ -172,9 +171,6 @@ class SimpleView : public IProxyDict
virtual bool tryELRemap ( sgkey_t sgkey_in, size_t index_in,
sgkey_t& sgkey_out, size_t& index_out);
virtual unsigned long addRef();
virtual unsigned long release();
virtual StatusCode queryInterface( const InterfaceID &ti, void** pp );
virtual const std::string& name() const;
//IStringPool
......
/*
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
#include <stdexcept>
......@@ -201,21 +201,6 @@ void SimpleView::unboundHandle( IResetable * handle )
return m_store->unboundHandle( handle );
}
unsigned long SimpleView::addRef()
{
throw std::runtime_error( "Not implemented: SimpleView::addRef" );
return 0;
}
unsigned long SimpleView::release()
{
throw std::runtime_error( "Not implemented: SimpleView::release" );
return 0;
}
StatusCode SimpleView::queryInterface( const InterfaceID &/*ti*/, void** /*pp*/ )
{
throw std::runtime_error( "Not implemented: SimpleView::queryInterface" );
return StatusCode::FAILURE;
}
const std::string& SimpleView::name() const
{
return m_name;
......
///////////////////////// -*- C++ -*- /////////////////////////////
/*
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
#ifndef ATHENAKERNEL_IPROXYDICT_H
......@@ -40,14 +40,10 @@ class IConverter;
* data. This interface also provides methods for converting between
* the two representations.
*
*
* @author Paolo Calafiura - ATLAS
* $Id: IProxyDict.h,v 1.5 2007-12-11 02:56:22 binet Exp $
*/
class IProxyDict : virtual public IStringPool,
virtual public IHiveStore,
virtual public INamedInterface
class IProxyDict : virtual public IStringPool, // not a Gaudi interface
virtual public extend_interfaces<IHiveStore, INamedInterface>
{
public:
DeclareInterfaceID (IProxyDict, 2, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment