![]() |
ATLAS Offline Software
|
#include <PayloadCodecBase.h>
Public Member Functions | |
| virtual StatusCode | initialize () override |
| virtual const std::string & | key () const override final |
| virtual const std::string & | schema () const override final |
| virtual StatusCode | decode (const EventContext &ctx, const Payload &payload) const override final |
| virtual StatusCode | encode (const EventContext &ctx, Payload &payload, const std::vector< const IPayloadCodec * > &alsoCrossing, std::vector< std::string > &dangling) const override final |
Protected Member Functions | |
| bool | writingToSG () const |
| Codec direction. | |
| virtual StatusCode | initializeBoundary () |
| Called from initialize(). | |
| virtual StatusCode | doDecode (const EventContext &ctx, IProxyDict &store, const Payload &payload) const =0 |
Decode payload.data and record it onto a SG. | |
| virtual StatusCode | doEncode (const EventContext &ctx, IProxyDict &store, Payload &payload, const std::vector< const IPayloadCodec * > &alsoCrossing, std::vector< std::string > &dangling) const =0 |
Read input data (SG, RawEvent, etc.) and encode it into a payload.data. | |
Private Member Functions | |
| IProxyDict * | storeOf (const EventContext &ctx) const |
The store belonging to ctx. Errors and returns null if there is none. | |
Private Attributes | |
| Gaudi::Property< std::string > | m_key {this, "Key", "", "see BoundaryInfo::key"} |
| Gaudi::Property< std::string > | m_schema |
| Gaudi::Property< std::string > | m_direction |
| bool | m_writing = false |
Definition at line 28 of file PayloadCodecBase.h.
|
finaloverridevirtual |
Definition at line 47 of file PayloadCodecBase.cxx.
|
protectedpure virtual |
Decode payload.data and record it onto a SG.
Implemented in AthRemoteExec::BytestreamCodec, AthRemoteExec::EDMSerialiserCodec, AthRemoteExec::Example::DemoDoublesCodec, AthRemoteExec::Example::DemoIntsCodec, and AthRemoteExec::Example::DemoWordsCodec.
|
protectedpure virtual |
Read input data (SG, RawEvent, etc.) and encode it into a payload.data.
Implemented in AthRemoteExec::BytestreamCodec, AthRemoteExec::EDMSerialiserCodec, AthRemoteExec::Example::DemoDoublesCodec, AthRemoteExec::Example::DemoIntsCodec, and AthRemoteExec::Example::DemoWordsCodec.
|
finaloverridevirtual |
Definition at line 70 of file PayloadCodecBase.cxx.
|
overridevirtual |
Definition at line 19 of file PayloadCodecBase.cxx.
|
inlineprotectedvirtual |
Called from initialize().
Reimplemented in AthRemoteExec::BytestreamCodec, AthRemoteExec::EDMSerialiserCodec, AthRemoteExec::Example::DemoDoublesCodec, AthRemoteExec::Example::DemoIntsCodec, and AthRemoteExec::Example::DemoWordsCodec.
Definition at line 49 of file PayloadCodecBase.h.
|
inlinefinaloverridevirtual |
Definition at line 34 of file PayloadCodecBase.h.
|
inlinefinaloverridevirtual |
Definition at line 35 of file PayloadCodecBase.h.
|
private |
The store belonging to ctx. Errors and returns null if there is none.
Definition at line 85 of file PayloadCodecBase.cxx.
|
inlineprotected |
Codec direction.
Definition at line 46 of file PayloadCodecBase.h.
|
private |
Definition at line 65 of file PayloadCodecBase.h.
|
private |
Definition at line 62 of file PayloadCodecBase.h.
|
private |
Definition at line 63 of file PayloadCodecBase.h.
|
private |
Definition at line 73 of file PayloadCodecBase.h.