ATLAS Offline Software
Loading...
Searching...
No Matches
AuxDiscoverySvc.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef AUXDISCOVERYSVC_H
6#define AUXDISCOVERYSVC_H
7
12
13#include "GaudiKernel/StatusCode.h"
14
17
18#include <string>
19
20// Forward declarations
21class Guid;
23class IAthenaIPCTool;
25namespace SG {
26 class IAuxStoreIO;
27 class IAuxStoreHolder;
28}
29
34public:
36
37 bool getAuxStore(void* obj, const Guid& classId, const std::string& contId);
38
39 bool setData(SG::auxid_t auxid, void* data, const RootType& type);
40
41 bool setAuxStore();
42
43 SG::auxid_t getAuxID(const std::string& attrName, const std::string& elemName, const std::string& typeName);
44
45 SG::auxid_set_t getAuxIDs(const void* obj, const Guid& classId, const std::string& contId);
46
47 const void* getData(SG::auxid_t auxid);
48
49 const std::type_info* getType(SG::auxid_t auxid);
50
51 std::string getAttrName(SG::auxid_t auxid);
52
53 std::string getTypeName(SG::auxid_t auxid);
54
55 std::string getElemName(SG::auxid_t auxid);
56
58 StatusCode receiveStore(const IAthenaSerializeSvc* serSvc, IAthenaIPCTool* ipcTool, void* obj, int num = 0);
59
61 StatusCode sendStore(const IAthenaSerializeSvc* serSvc,
62 IAthenaIPCTool* ipcTool,
63 const void* obj,
64 const Guid& classId,
65 const std::string& contName,
66 int num = 0);
67
68private: // data
72};
73
74#endif
Basic definitions for auxiliary types.
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
TTypeAdapter RootType
Definition RootType.h:211
bool getAuxStore(void *obj, const Guid &classId, const std::string &contId)
StatusCode sendStore(const IAthenaSerializeSvc *serSvc, IAthenaIPCTool *ipcTool, const void *obj, const Guid &classId, const std::string &contName, int num=0)
Send dynamic aux store variables to streaming tool.
std::string getElemName(SG::auxid_t auxid)
SG::auxid_set_t getAuxIDs(const void *obj, const Guid &classId, const std::string &contId)
const SG::IAuxStoreIO * m_store
std::string getTypeName(SG::auxid_t auxid)
bool setData(SG::auxid_t auxid, void *data, const RootType &type)
SG::auxid_t getAuxID(const std::string &attrName, const std::string &elemName, const std::string &typeName)
const std::type_info * getType(SG::auxid_t auxid)
AthenaPoolAuxStore * m_storeInt
const void * getData(SG::auxid_t auxid)
std::string getAttrName(SG::auxid_t auxid)
StatusCode receiveStore(const IAthenaSerializeSvc *serSvc, IAthenaIPCTool *ipcTool, void *obj, int num=0)
Receive dynamic aux store variables from streaming tool.
SG::IAuxStoreHolder * m_storeHolder
This class provides a encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number).
Definition Guid.h:25
Interface for objects taking part in direct ROOT I/O.
Interface providing I/O for a generic auxiliary store.
Definition IAuxStoreIO.h:44
A set of aux data identifiers.
Definition AuxTypes.h:47
Forward declaration.
size_t auxid_t
Identifier for a particular aux data item.
Definition AuxTypes.h:27