TwiceAsNice  2019-02-18
Namespaces | Macros | Functions
DeviceFactory.h File Reference
#include <Nice/Util/DynamicLibrary.h>
#include <Basda/Basdard.h>
#include <Nice/Property.h>
#include <string>
Include dependency graph for DeviceFactory.h:
This graph shows which files directly or indirectly include this file:

Namespaces

 Basda
 These are contants that are used by the services internally.
 
 Basda::DeviceFactory
 

Macros

#define DEVICE_CREATE(x)   extern "C" Basda::Device * instantDevice(const Nice::JointPtr & _config) {return new x(_config); }
 

Functions

Basda::DeviceBasda::DeviceFactory::create (const Nice::JointPtr &_config)
 Load a dynamic library specified in the LOAD node of a property tree. More...
 
Basda::DeviceinstantDevice (const Nice::JointPtr &_config)
 

Macro Definition Documentation

◆ DEVICE_CREATE

#define DEVICE_CREATE (   x)    extern "C" Basda::Device * instantDevice(const Nice::JointPtr & _config) {return new x(_config); }

Function Documentation

◆ instantDevice()

Basda::Device* instantDevice ( const Nice::JointPtr _config)