All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SequentialOutputStream.h
Go to the documentation of this file.
1 #ifndef GAUDISVC_PERSISTENCYSVC_SEQUENTIALOUTPUTSTREAM_H
2 #define GAUDISVC_PERSISTENCYSVC_SEQUENTIALOUTPUTSTREAM_H
3 
4 // Required for inheritance
5 #include "OutputStream.h"
6 
14 
15  protected:
16 
18  virtual StatusCode writeObjects();
19 
20  public:
21 
23  SequentialOutputStream(const std::string& nam, ISvcLocator* svc);
26 
27  virtual StatusCode execute();
28 
29  private:
30 
31  // Properties
32  unsigned int m_eventsPerFile;
33  unsigned int m_nNumbersAdded;
35 
36  // Data members
37  unsigned int m_events;
38  unsigned int m_iFile;
39 
40  // Helper Methods
41  void makeFilename();
42 
43 };
44 
45 #endif // GAUDISVC_PERSISTENCYSVC_SEQUENTIALOUTPUTSTREAM_H
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:26
virtual StatusCode writeObjects()
OutputStream override: Select the different objects and write them to file.
A small to stream Data I/O.
Definition: OutputStream.h:27
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
SequentialOutputStream(const std::string &nam, ISvcLocator *svc)
Standard algorithm Constructor.
virtual ~SequentialOutputStream()
Standard Destructor.
Extension of OutputStream to write run records after last event.
virtual StatusCode execute()
Working entry point.