openrave-yarp-plugins
OywPeriodicWrite.hpp
1 // -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
2 
3 #ifndef __OYW_PERIODIC_WRITE_HPP__
4 #define __OYW_PERIODIC_WRITE_HPP__
5 
6 #include <yarp/os/PeriodicThread.h>
7 #include <yarp/os/Port.h>
8 
9 namespace roboticslab
10 {
11 
12 class OpenraveYarpWorld;
13 
18 class OywPeriodicWrite : yarp::os::PeriodicThread, public yarp::os::Port
19 {
20 public:
22  void setOpenraveYarpWorldPtr(OpenraveYarpWorld *value) { openraveYarpWorldPtr = value; }
23 private:
24  OpenraveYarpWorld* openraveYarpWorldPtr;
25  virtual void run() override;
26 };
27 
28 } // namespace roboticslab
29 
30 #endif // __OYW_PERIODIC_WRITE_HPP__
Opens YARP RpcPort, to control environment.
Definition: OpenraveYarpWorld.hpp:29
Publishes bodies.
Definition: OywPeriodicWrite.hpp:19
The main, catch-all namespace for Robotics Lab UC3M.
Definition: groups.dox:5