|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ITRIGSERIALIZERTOOLBASE_H
6 #define ITRIGSERIALIZERTOOLBASE_H
8 #include "GaudiKernel/IAlgTool.h"
9 #include "GaudiKernel/ClassID.h"
20 static const InterfaceID IID_ITrigSerializerToolBase(
"ITrigSerializerToolBase", 1 , 0);
30 virtual void serialize(
const std::string &nameOfClass,
const void*
instance, std::vector<uint32_t> &
v) = 0;
36 virtual std::vector<uint32_t>
serialize(
const std::string &nameOfClass,
const void*
instance) = 0;
42 virtual void*
deserialize(
const std::string &nameOfClass,
const std::vector<uint32_t>&
v) = 0;
92 static const InterfaceID&
interfaceID() {
return IID_ITrigSerializerToolBase; }
virtual void serialize(const std::string &nameOfClass, const void *instance, std::vector< uint32_t > &v)=0
serializes an object of a class nameOfClass pointed to by instance and recursively also other objects...
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual void reset()=0
clean internal serializer state.
virtual void * deserialize(const std::string &nameOfClass, const std::vector< uint32_t > &v)=0
deserializes an object of a class nameOfClass (and recursively other objects) found in std::vector<ui...
virtual void setCLID(const uint32_t *guid)=0
access clid of the payload virtual CLID getCLID() const = 0;
virtual ~ITrigSerializer()
virtual StatusCode initClass(const std::string &nameOfClass) const =0
initialize framework to be ready to serialize a given class method to be called to prevent delayed in...
virtual std::vector< uint32_t > serialize(const std::string &nameOfClass, const void *instance)=0
serializes an object of a class nameOfClass pointed to by instance and recursively also other objects...
virtual StatusCode peekCLID(const std::vector< uint32_t > &v, uint32_t *guid) const =0
access clid of the payload (stored in BS)