TwiceAsNice  2019-02-18
Functions
Basda::DeviceFactory Namespace Reference

Functions

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

Function Documentation

◆ create()

Basda::Device * Basda::DeviceFactory::create ( const Nice::JointPtr _config)
inline

Load a dynamic library specified in the LOAD node of a property tree.


Parameters
_configShould contain a LOAD with a NAME and a LIB (in the shared library sense). The library must contain an entry point (instantDevice) associated with the NAME.
Returns
A device created by the instantDevice() factory of the library.