DABC (Data Acquisition Backbone Core)  2.9.9
Factory.h
Go to the documentation of this file.
1 #ifndef VERBS_Factory
2 #define VERBS_Factory
3 
4 #ifndef DABC_Factory
5 #include "dabc/Factory.h"
6 #endif
7 
10 namespace verbs {
11 
14  class Factory : public dabc::Factory {
15  public:
16  Factory(const std::string &name) : dabc::Factory(name) {}
17 
18  virtual dabc::Reference CreateObject(const std::string &classname, const std::string &objname, dabc::Command cmd);
19 
20  virtual dabc::Device* CreateDevice(const std::string &classname,
21  const std::string &devname,
22  dabc::Command cmd);
23 
24  virtual dabc::Reference CreateThread(dabc::Reference parent, const std::string &classname, const std::string &thrdname, const std::string &thrddev, dabc::Command cmd);
25  };
26 }
27 
28 #endif
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
Reference on the arbitrary object
Definition: Reference.h:73
Factory for VERBS classes
Definition: Factory.h:14
virtual dabc::Reference CreateThread(dabc::Reference parent, const std::string &classname, const std::string &thrdname, const std::string &thrddev, dabc::Command cmd)
Factory method to create thread.
Definition: Factory.cxx:27
virtual dabc::Device * CreateDevice(const std::string &classname, const std::string &devname, dabc::Command cmd)
Factory method to create device.
Definition: Factory.cxx:15
Factory(const std::string &name)
Definition: Factory.h:16
virtual dabc::Reference CreateObject(const std::string &classname, const std::string &objname, dabc::Command cmd)
Factory method to create object.
Definition: Factory.cxx:10
Event manipulation API.
Definition: api.h:23
Support of InfiniBand verbs.
Definition: Device.cxx:54