DABC (Data Acquisition Backbone Core)  2.9.9
Factory.h
Go to the documentation of this file.
1 /********************************************************************
2  * The Data Acquisition Backbone Core (DABC)
3  ********************************************************************
4  * Copyright (C) 2009-
5  * GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
6  * Planckstr. 1
7  * 64291 Darmstadt
8  * Germany
9  * Contact: http://dabc.gsi.de
10  ********************************************************************
11  * This software can be used under the GPL license agreements as stated
12  * in LICENSE.txt file which is part of the distribution.
13  ********************************************************************/
14 #ifndef USER_Factory
15 #define USER_Factory
16 
17 #include "dabc/Factory.h"
18 
19 namespace user
20 {
21 
22 class Factory: public dabc::Factory
23 {
24 public:
25 
26  Factory (const std::string name) :
27  dabc::Factory (name)
28  {
29  }
30  virtual dabc::DataInput* CreateDataInput(const std::string& typ);
31 
32 
33  virtual void Initialize();
34 
35 };
36 
37 } // namespace
38 
39 #endif
40 
Interface for implementing any kind of data input.
Definition: DataIO.h:61
Factory for user-specific classes
Definition: Factory.h:47
virtual void Initialize()
Method called by the manager during application start.
Definition: Factory.cxx:27
virtual dabc::DataInput * CreateDataInput(const std::string &typ)
Factory method to create data input.
Definition: Factory.cxx:33
Factory(const std::string name)
Definition: Factory.h:26
Event manipulation API.
Definition: api.h:23
Definition: Factory.h:20