Gaudi Framework, version v23r9

Home   Generated: Thu Jul 18 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
OutputStream.h
Go to the documentation of this file.
1 #ifndef GAUDISVC_PERSISTENCYSVC_OUTPUTSTREAM_H
2 #define GAUDISVC_PERSISTENCYSVC_OUTPUTSTREAM_H
3 
4 // Required for inheritance
7 #include "GaudiKernel/Property.h"
8 
9 // STL include files
10 #include <memory>
11 #include <vector>
12 #include <string>
13 
14 // forward declarations
15 template <class ConcreteAlgorithm> class AlgFactory;
16 namespace { template <class P, class S> class Factory; }
17 
18 class IIncidentSvc;
19 class IRegistry;
20 class IConversionSvc;
21 class IDataManagerSvc;
22 class OutputStreamAgent;
23 class DataStoreItem;
24 
30 class OutputStream : public Algorithm {
31  friend class AlgFactory<OutputStream>;
33 
34 public:
37 protected:
77  int m_events;
90 
91 public:
93  OutputStream(const std::string& name, ISvcLocator* pSvcLocator);
95  virtual ~OutputStream();
96 protected:
100  void acceptAlgsHandler( Property& theProp );
104  void requireAlgsHandler( Property& theProp );
108  void vetoAlgsHandler( Property& theProp );
111  std::vector<Algorithm*>* theAlgs );
113  bool isEventAccepted() const;
117  virtual StatusCode writeObjects();
118 
121 
123  virtual bool hasInput() const;
124 
125 public:
127  virtual StatusCode initialize();
129  virtual StatusCode finalize();
131  virtual StatusCode execute();
132  // Connect to proper conversion service
135  virtual bool collect(IRegistry* dir, int level);
137  virtual StatusCode collectObjects();
139  void clearItems(Items& itms);
141  void addItem(Items& itms, const std::string& descriptor);
143  void clearSelection();
146 };
147 
148 #endif // GAUDISVC_PERSISTENCYSVC_OUTPUTSTREAM_H

Generated at Thu Jul 18 2013 12:18:01 for Gaudi Framework, version v23r9 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004