16 const std::string &devname,
31 if (thrddev.empty()) {
32 EOUT(
"Device name not specified to create verbs thread");
39 EOUT(
"Did not found verbs device with name %s", thrddev.c_str());
Represents command with its arguments.
Base class for device implementation.
Small helper class to correctly instantiate user-specific factories.
WorkerRef FindDevice(const std::string &name)
Reference on the arbitrary object
bool null() const
Returns true if reference contains nullptr.
Refernce on verbs::Device
Factory for VERBS classes
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.
virtual dabc::Device * CreateDevice(const std::string &classname, const std::string &devname, dabc::Command cmd)
Factory method to create device.
virtual dabc::Reference CreateObject(const std::string &classname, const std::string &objname, dabc::Command cmd)
Factory method to create object.
dabc::FactoryPlugin verbsfactory(new verbs::Factory("verbs"))