ATLAS Offline Software
Loading...
Searching...
No Matches
IOVSvcDefs.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ATHENAKERNEL_IOVSVCDEFS_H
6#define ATHENAKERNEL_IOVSVCDEFS_H
13
14#include <list>
15#include <string>
16
24#define IOVSVC_CALLBACK_ARGS int&,std::list<std::string>&
25
33#define IOVSVC_CALLBACK_ARGS_K(K) int&,std::list<std::string>& K
34
42#define IOVSVC_CALLBACK_ARGS_P(I,K) int& I,std::list<std::string>& K
43
44
45#include "boost/function.hpp"
46
47
48#ifndef KERNEL_STATUSCODES_H
49 #include "GaudiKernel/StatusCode.h"
50#endif
51
52/* This can also be done as:
53typedef boost::function2< StatusCode, IOVSVC_CALLBACK_ARGS > IOVSvcCallBackFcn;
54*/
55
58typedef boost::function< StatusCode (IOVSVC_CALLBACK_ARGS) > IOVSvcCallBackFcn;
59
60#endif
#define IOVSVC_CALLBACK_ARGS
short hand for IOVSvc call back argument list, to be used when no access to formal arguments is neede...
Definition IOVSvcDefs.h:24
boost::function< StatusCode(IOVSVC_CALLBACK_ARGS) > IOVSvcCallBackFcn
the type of an IOVSvc call back: it wraps both the method and the object the method is called on
Definition IOVSvcDefs.h:58