9 #ifndef YARP_ROBOTINTERFACE_DEVICE_H
10 #define YARP_ROBOTINTERFACE_DEVICE_H
20 class PolyDriverDescriptor;
24 namespace robotinterface {
25 namespace experimental {
31 Device(
const std::string& name,
32 const std::string& type,
45 const std::string& name()
const;
46 const std::string& type()
const;
50 bool hasParam(
const std::string& name)
const;
51 std::string
findParam(
const std::string& name)
const;
60 void joinThreads()
const;
61 void stopThreads()
const;
yarp::os::LogStream operator<<(yarp::os::LogStream dbg, const yarp::robotinterface::experimental::Device &t)
A container for a device driver.
An abstraction for a thread of execution.
bool configure(const Device &target, const ParamList ¶ms) const
bool custom(const ParamList ¶ms) const
std::string findParam(const robotinterface::experimental::ParamList &list, const std::string &name)
bool hasParam(const robotinterface::experimental::ParamList &list, const std::string &name)
std::vector< robotinterface::experimental::Action > ActionList
std::vector< robotinterface::experimental::Param > ParamList
The main, catch-all namespace for YARP.
#define YARP_robotinterface_API