3 #ifndef __OPENRAVE_YARP_PLUGIN_LOADER_HPP__
4 #define __OPENRAVE_YARP_PLUGIN_LOADER_HPP__
6 #include <yarp/os/Network.h>
7 #include <yarp/os/RpcServer.h>
9 #include <yarp/dev/PolyDriver.h>
11 #include <openrave/openrave.h>
12 #include <openrave/plugin.h>
14 #include "OyplPortReader.hpp"
15 #include "OyplPeriodicWrite.hpp"
35 virtual void Destroy()
override;
37 bool addYarpPluginsLists(yarp::os::Bottle & info);
38 int main(
const std::string& cmd)
override;
40 bool Open(std::ostream& sout, std::istream & sinput);
41 bool GetPenv(std::ostream & sout, std::istream & sinput);
42 bool close(
const int i);
45 yarp::os::Network yarp;
46 std::vector<yarp::dev::PolyDriver *> yarpPlugins;
47 std::vector<yarp::os::Property> yarpPluginsProperties;
50 yarp::os::RpcServer oyplRpcServer;
62 OpenRAVE::InterfaceBasePtr CreateInterface(OpenRAVE::InterfaceType type,
63 const std::string & interfacename,
64 std::istream & sinput,
65 OpenRAVE::EnvironmentBasePtr penv)
override;
67 const InterfaceMap & GetInterfaces()
const override;
68 const std::string & GetPluginName()
const override;
OpenraveYarpPluginLoader plugin.
Definition: OpenraveYarpPluginLoader.hpp:60
Loads one or several YARP Plugin, passing environment pointer.
Definition: OpenraveYarpPluginLoader.hpp:31
Publishes open YARP plugin list.
Definition: OyplPeriodicWrite.hpp:19
Processes RPC requests for OpenraveYarpPluginLoader.
Definition: OyplPortReader.hpp:18
The main, catch-all namespace for Robotics Lab UC3M.
Definition: groups.dox:5