DABC (Data Acquisition Backbone Core)  2.9.9
Factory.h
Go to the documentation of this file.
1 // $Id: Factory.h 2190 2014-03-27 15:34:14Z linev $
2 
3 /************************************************************
4  * The Data Acquisition Backbone Core (DABC) *
5  ************************************************************
6  * Copyright (C) 2009 - *
7  * GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
8  * Planckstr. 1, 64291 Darmstadt, Germany *
9  * Contact: http://dabc.gsi.de *
10  ************************************************************
11  * This software can be used under the GPL license *
12  * agreements as stated in LICENSE.txt file *
13  * which is part of the distribution. *
14  ************************************************************/
15 
16 #ifndef SAFT_FACTORY_H
17 #define SAFT_FACTORY_H
18 
19 #ifndef DABC_Factory
20 #include "dabc/Factory.h"
21 #endif
22 
25 namespace saftdabc {
26 
29  class Factory: public dabc::Factory {
30 
31  public:
32 
33  Factory(const std::string &name);
34 
35  dabc::Device* CreateDevice (const std::string &classname, const std::string &devname,
36  dabc::Command cmd);
37 
38  };
39 
40 }
41 
42 #endif
43 
Represents command with its arguments.
Definition: Command.h:99
Base class for device implementation.
Definition: Device.h:43
Factory for user-specific classes
Definition: Factory.h:47
Factory for saftlib plugin classes
Definition: Factory.h:29
Factory(const std::string &name)
Definition: Factory.cxx:71
dabc::Device * CreateDevice(const std::string &classname, const std::string &devname, dabc::Command cmd)
Factory method to create device.
Definition: Factory.cxx:77
GSI Simplified API for Timing Library (saftlib) plug-in for dabc.
Definition: Definitions.h:57