#ifndef UQUIMMOTOR_HPP__ #define UQUIMMOTOR_HPP__ // Include the UObject declarations. # include class UQuimMotor : public urbi::UObject { public: /** * \brief C++ contructor. * * \param name name given to the instance */ UQuimMotor(const std::string& name); /** * \brief Urbi constructor * * \param motor_id * \return 0 on success */ int init(int motor_id); /** * \brief Function notified when the speed is changed. * \param v the UVar being modified * \return 0 on success */ int speed_set(urbi::UVar& v); private: urbi::UVar speed; int motorId_m ; int canSocket_m; }; #endif