| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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 public:
16 RecordStream(const std::string&, ISvcLocator*);
18 ~RecordStream() override = default;
20 StatusCode execute() override { return StatusCode::SUCCESS; }
22 StatusCode finalize() override;
23 };
24
25 #endif // GAUDISVC_PERSISTENCYSVC_RECORDSTREAM_H
StatusCode::SUCCESS
Definition: StatusCode.h:30
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
RecordStream
Extension of OutputStream to write run records after last event.
Definition: RecordStream.h:13
OutputStream
A small to stream Data I/O.
Definition: OutputStream.h:29
std::string
STL class.
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
RecordStream::~RecordStream
~RecordStream() override=default
Standard Destructor.
RecordStream::execute
StatusCode execute() override
Runrecords do not get written for each event: Event processing hence dummy....
Definition: RecordStream.h:20
RecordStream::finalize
StatusCode finalize() override
Algorithm overload: finalization.
Definition: RecordStream.cpp:23
RecordStream::RecordStream
RecordStream(const std::string &, ISvcLocator *)
Standard algorithm Constructor.
Definition: RecordStream.cpp:15
OutputStream.h