20 #ifdef FARSA_USE_YARP_AND_ICUB
25 #include "worldsimconfig.h"
32 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 5)
33 #pragma GCC diagnostic push
34 #pragma GCC diagnostic ignored "-Wunused-parameter"
36 #pragma GCC diagnostic ignored "-Wunused-parameter"
39 #include "yarp/dev/ControlBoardInterfaces.h"
40 #include "yarp/dev/FrameGrabberInterfaces.h"
41 #include "yarp/dev/Drivers.h"
42 #include "yarp/dev/PolyDriver.h"
44 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 5)
45 #pragma GCC diagnostic pop
47 #pragma GCC diagnostic warning "-Wunused-parameter"
73 if ( controls.contains(name) ) {
74 return controls[name];
83 void registerServerControlBoard( yarp::dev::DeviceDriver* device, QString devicename );
85 void removeServerControlBoard( QString devicename );
90 void registerServerFrameGrabber( yarp::dev::DeviceDriver* device, QString devicename );
93 QMap<QString, yarp::dev::PolyDriver*> controls;
100 #endif // FARSA_USE_YARP_AND_ICUB