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, 64291 Darmstadt, Germany *
7  * Contact: http://dabc.gsi.de *
8  ************************************************************
9  * This software can be used under the GPL license *
10  * agreements as stated in LICENSE.txt file *
11  * which is part of the distribution. *
12  ************************************************************/
13 
14 #ifndef RFIO_Factory
15 #define RFIO_Factory
16 
17 #ifndef DABC_Factory
18 #include "dabc/Factory.h"
19 #endif
20 
21 namespace rfio {
22 
23  class Factory : public dabc::Factory {
24  public:
25  Factory(const std::string &name) : dabc::Factory(name) {}
26 
27  virtual void* CreateAny(const std::string &classname, const std::string &objname, dabc::Command cmd);
28  };
29 
30 }
31 
32 #endif
Represents command with its arguments.
Definition: Command.h:99
Factory for user-specific classes
Definition: Factory.h:47
virtual void * CreateAny(const std::string &classname, const std::string &objname, dabc::Command cmd)
Factory method to create arbitrary object kind.
Definition: Factory.cxx:21
Factory(const std::string &name)
Definition: Factory.h:25
Event manipulation API.
Definition: api.h:23
Definition: Factory.h:21