2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 #ifndef SGTOOLS_CALLBACKID_ICC
6 #define SGTOOLS_CALLBACKID_ICC
8 /*****************************************************************************
13 * Author: Charles Leggett
14 * $Id: CallBackID.icc,v 1.4 2005-11-08 22:01:30 ssnyder Exp $
16 * Provides means to identify a callback function.
18 *****************************************************************************/
21 #include "GaudiKernel/System.h"
24 void CallBackID::set( StatusCode (T::*updF)(IOVSVC_CALLBACK_ARGS),
28 StatusCode (T::*updF)(IOVSVC_CALLBACK_ARGS);
36 std::ostringstream ost;
37 ost << std::hex << "[0x" << (long)p_obj << "]+" << m_offset;
39 m_objName = System::typeinfoName(typeid(*obj));
40 m_name = m_objName + ost.str();