The Gaudi Framework  v29r0 (ff2e7097)
RecordStream.h
Go to the documentation of this file.
1 #ifndef GAUDISVC_PERSISTENCYSVC_RECORDSTREAM_H
2 #define GAUDISVC_PERSISTENCYSVC_RECORDSTREAM_H
3 
4 // Required for inheritance
5 #include "OutputStream.h"
6 
13 class RecordStream : public OutputStream
14 {
15 public:
19  ~RecordStream() override = default;
21  StatusCode execute() override { return StatusCode::SUCCESS; }
23  StatusCode finalize() override;
24 };
25 
26 #endif // GAUDISVC_PERSISTENCYSVC_RECORDSTREAM_H
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
Extension of OutputStream to write run records after last event.
Definition: RecordStream.h:13
A small to stream Data I/O.
Definition: OutputStream.h:29
STL class.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
~RecordStream() override=default
Standard Destructor.
StatusCode execute() override
Runrecords do not get written for each event: Event processing hence dummy....
Definition: RecordStream.h:21
StatusCode finalize() override
Algorithm overload: finalization.
RecordStream(const std::string &, ISvcLocator *)
Standard algorithm Constructor.