YouBotGripperParameter.hpp
Go to the documentation of this file.
00001 #ifndef YOUBOT_YOUBOTGRIPPERPARAMETER_H
00002 #define YOUBOT_YOUBOTGRIPPERPARAMETER_H
00003 
00004 /****************************************************************
00005  *
00006  * Copyright (c) 2011
00007  * All rights reserved.
00008  *
00009  * Hochschule Bonn-Rhein-Sieg
00010  * University of Applied Sciences
00011  * Computer Science Department
00012  *
00013  * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00014  *
00015  * Author:
00016  * Jan Paulus, Nico Hochgeschwender, Michael Reckhaus, Azamat Shakhimardanov
00017  * Supervised by:
00018  * Gerhard K. Kraetzschmar
00019  *
00020  * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00021  *
00022  * This sofware is published under a dual-license: GNU Lesser General Public 
00023  * License LGPL 2.1 and BSD license. The dual-license implies that users of this
00024  * code may choose which terms they prefer.
00025  *
00026  * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00027  *
00028  * Redistribution and use in source and binary forms, with or without
00029  * modification, are permitted provided that the following conditions are met:
00030  *
00031  *     * Redistributions of source code must retain the above copyright
00032  *       notice, this list of conditions and the following disclaimer.
00033  *     * Redistributions in binary form must reproduce the above copyright
00034  *       notice, this list of conditions and the following disclaimer in the
00035  *       documentation and/or other materials provided with the distribution.
00036  *     * Neither the name of the Hochschule Bonn-Rhein-Sieg nor the names of its
00037  *       contributors may be used to endorse or promote products derived from
00038  *       this software without specific prior written permission.
00039  *
00040  * This program is free software: you can redistribute it and/or modify
00041  * it under the terms of the GNU Lesser General Public License LGPL as
00042  * published by the Free Software Foundation, either version 2.1 of the
00043  * License, or (at your option) any later version or the BSD license.
00044  *
00045  * This program is distributed in the hope that it will be useful,
00046  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00047  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00048  * GNU Lesser General Public License LGPL and the BSD license for more details.
00049  *
00050  * You should have received a copy of the GNU Lesser General Public
00051  * License LGPL and BSD license along with this program.
00052  *
00053  ****************************************************************/
00054 #include <vector>
00055 #include <sstream>
00056 #include <youbot_driver/generic/Logger.hpp>
00057 #include <youbot_driver/generic/Units.hpp>
00058 #include <youbot_driver/generic/Time.hpp>
00059 #include <youbot_driver/generic/Exceptions.hpp>
00060 #include <youbot_driver/generic-joint/JointParameter.hpp>
00061 #include <youbot_driver/generic-gripper/GripperParameter.hpp>
00062 #include <youbot_driver/youbot/ProtocolDefinitions.hpp>
00063 #include <youbot_driver/youbot/YouBotSlaveMsg.hpp>
00064 #include <youbot_driver/youbot/YouBotSlaveMailboxMsg.hpp>
00065 namespace youbot
00066 {
00067 
00071 class YouBotGripperParameter : public GripperParameter
00072 {
00073   friend class YouBotGripper;
00074   friend class YouBotGripperBar;
00075 protected:
00076   YouBotGripperParameter();
00077 
00078 public:
00079   virtual ~YouBotGripperParameter();
00080 
00081   virtual void toString(std::string& value) const = 0;
00082 
00083 protected:
00084   virtual ParameterType getType() const = 0;
00085 
00086   virtual std::string getName() const = 0;
00087 
00088   virtual void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const = 0;
00089 
00090   virtual void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message) = 0;
00091 
00092   std::string name;
00093 
00094 private:
00095   ParameterType parameterType;
00096 
00097 };
00101 class GripperFirmwareVersion : public YouBotGripperParameter
00102 {
00103   friend class YouBotGripper;
00104   friend class YouBotGripperBar;
00105 public:
00106   GripperFirmwareVersion();
00107 
00108   virtual ~GripperFirmwareVersion();
00109 
00110   void getParameter(int& controllerType, double& firmwareVersion) const;
00111 
00112   void setParameter(const int controllerType, const double firmwareVersion);
00113 
00114   void toString(std::string& value) const;
00115 
00116 private:
00117   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00118 
00119   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00120 
00121   std::string getName() const
00122   {
00123     return this->name;
00124   }
00125   ;
00126 
00127   ParameterType getType() const
00128   {
00129     return this->parameterType;
00130   }
00131   ;
00132 
00133   int controllerType;
00134 
00135   double firmwareVersion;
00136 
00137   std::string name;
00138 
00139   ParameterType parameterType;
00140 
00141 };
00145 class GripperBarName : public YouBotGripperParameter
00146 {
00147   friend class YouBotGripper;
00148   friend class YouBotGripperBar;
00149 
00150 public:
00151   GripperBarName();
00152 
00153   virtual ~GripperBarName();
00154 
00155   void getParameter(std::string& parameter) const;
00156 
00157   void setParameter(const std::string parameter);
00158 
00159   void toString(std::string& value) const;
00160 
00161 private:
00162   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00163 
00164   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00165 
00166   std::string getName() const
00167   {
00168     return this->name;
00169   }
00170   ;
00171 
00172   ParameterType getType() const
00173   {
00174     return this->parameterType;
00175   }
00176   ;
00177 
00178   std::string value;
00179 
00180   std::string name;
00181 
00182   ParameterType parameterType;
00183 
00184 };
00188 class CalibrateGripper : public YouBotGripperParameter
00189 {
00190   friend class YouBotGripper;
00191   friend class YouBotGripperBar;
00192 public:
00193   CalibrateGripper();
00194 
00195   virtual ~CalibrateGripper();
00196 
00197   void getParameter(bool& parameter) const;
00198 
00199   void setParameter(const bool parameter);
00200 
00201   void toString(std::string& value) const;
00202 
00203 private:
00204   virtual void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00205 
00206   virtual void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00207 
00208   ParameterType getType() const
00209   {
00210     return this->parameterType;
00211   }
00212   ;
00213 
00214   std::string getName() const
00215   {
00216     return this->name;
00217   }
00218   ;
00219 
00220   bool value;
00221 
00222   std::string name;
00223 
00224   ParameterType parameterType;
00225 
00226 };
00230 class BarSpacingOffset : public YouBotGripperParameter
00231 {
00232   friend class YouBotGripper;
00233   friend class YouBotGripperBar;
00234 public:
00235   BarSpacingOffset();
00236 
00237   virtual ~BarSpacingOffset();
00238 
00239   void getParameter(quantity<si::length>& parameter) const;
00240 
00241   void setParameter(const quantity<si::length>& parameter);
00242 
00243   void toString(std::string& value) const;
00244 
00245 private:
00246   virtual void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00247 
00248   virtual void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00249 
00250   ParameterType getType() const
00251   {
00252     return this->parameterType;
00253   }
00254   ;
00255 
00256   std::string getName() const
00257   {
00258     return this->name;
00259   }
00260   ;
00261 
00262   quantity<si::length> value;
00263 
00264   std::string name;
00265 
00266   ParameterType parameterType;
00267 
00268 };
00272 class MaxEncoderValue : public YouBotGripperParameter
00273 {
00274   friend class YouBotGripper;
00275   friend class YouBotGripperBar;
00276 public:
00277   MaxEncoderValue();
00278 
00279   virtual ~MaxEncoderValue();
00280 
00281   void getParameter(unsigned int& parameter) const;
00282 
00283   void setParameter(const unsigned int parameter);
00284 
00285   void toString(std::string& value) const;
00286 
00287 private:
00288   virtual void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00289 
00290   virtual void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00291 
00292   ParameterType getType() const
00293   {
00294     return this->parameterType;
00295   }
00296   ;
00297 
00298   std::string getName() const
00299   {
00300     return this->name;
00301   }
00302   ;
00303 
00304   unsigned int value;
00305 
00306   std::string name;
00307 
00308   ParameterType parameterType;
00309 
00310 };
00314 class MaxTravelDistance : public YouBotGripperParameter
00315 {
00316   friend class YouBotGripper;
00317   friend class YouBotGripperBar;
00318 public:
00319   MaxTravelDistance();
00320 
00321   virtual ~MaxTravelDistance();
00322 
00323   void getParameter(quantity<si::length>& parameter) const;
00324 
00325   void setParameter(const quantity<si::length>& parameter);
00326 
00327   void toString(std::string& value) const;
00328 
00329 private:
00330   virtual void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00331 
00332   virtual void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00333 
00334   ParameterType getType() const
00335   {
00336     return this->parameterType;
00337   }
00338   ;
00339 
00340   std::string getName() const
00341   {
00342     return this->name;
00343   }
00344   ;
00345 
00346   quantity<si::length> value;
00347 
00348   std::string name;
00349 
00350   ParameterType parameterType;
00351 
00352 };
00356 class ActualPosition : public YouBotGripperParameter
00357 {
00358   friend class YouBotGripper;
00359   friend class YouBotGripperBar;
00360 public:
00361   ActualPosition();
00362 
00363   virtual ~ActualPosition();
00364 
00365   void getParameter(int& parameter) const;
00366 
00367   void setParameter(const int parameter);
00368 
00369   void toString(std::string& value) const;
00370 
00371 private:
00372   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00373 
00374   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00375 
00376   std::string getName() const
00377   {
00378     return this->name;
00379   }
00380   ;
00381 
00382   ParameterType getType() const
00383   {
00384     return this->parameterType;
00385   }
00386   ;
00387 
00388   int upperLimit;
00389 
00390   int lowerLimit;
00391 
00392   int value;
00393 
00394   std::string name;
00395 
00396   ParameterType parameterType;
00397 
00398 };
00402 class PositionSetpoint : public YouBotGripperParameter
00403 {
00404   friend class YouBotGripper;
00405   friend class YouBotGripperBar;
00406 public:
00407   PositionSetpoint();
00408 
00409   virtual ~PositionSetpoint();
00410 
00411   void getParameter(int& parameter) const;
00412 
00413   void setParameter(const int parameter);
00414 
00415   void toString(std::string& value) const;
00416 
00417 private:
00418   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00419 
00420   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00421 
00422   std::string getName() const
00423   {
00424     return this->name;
00425   }
00426   ;
00427 
00428   ParameterType getType() const
00429   {
00430     return this->parameterType;
00431   }
00432   ;
00433 
00434   int upperLimit;
00435 
00436   int lowerLimit;
00437 
00438   int value;
00439 
00440   std::string name;
00441 
00442   ParameterType parameterType;
00443 
00444 };
00448 class TargetPositionReached : public YouBotGripperParameter
00449 {
00450   friend class YouBotGripper;
00451   friend class YouBotGripperBar;
00452 public:
00453   TargetPositionReached();
00454 
00455   virtual ~TargetPositionReached();
00456 
00457   void getParameter(bool& parameter) const;
00458 
00459   void toString(std::string& value) const;
00460 
00461 private:
00462   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00463 
00464   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00465 
00466   std::string getName() const
00467   {
00468     return this->name;
00469   }
00470   ;
00471 
00472   ParameterType getType() const
00473   {
00474     return this->parameterType;
00475   }
00476   ;
00477 
00478   bool value;
00479 
00480   std::string name;
00481 
00482   ParameterType parameterType;
00483 
00484 };
00488 class ActualVelocity : public YouBotGripperParameter
00489 {
00490   friend class YouBotGripper;
00491   friend class YouBotGripperBar;
00492 public:
00493   ActualVelocity();
00494 
00495   virtual ~ActualVelocity();
00496 
00497   void getParameter(int& parameter) const;
00498 
00499   void setParameter(const int parameter);
00500 
00501   void toString(std::string& value) const;
00502 
00503 private:
00504   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00505 
00506   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00507 
00508   std::string getName() const
00509   {
00510     return this->name;
00511   }
00512   ;
00513 
00514   ParameterType getType() const
00515   {
00516     return this->parameterType;
00517   }
00518   ;
00519 
00520   int upperLimit;
00521 
00522   int lowerLimit;
00523 
00524   int value;
00525 
00526   std::string name;
00527 
00528   ParameterType parameterType;
00529 
00530 };
00534 class VelocitySetpoint : public YouBotGripperParameter
00535 {
00536   friend class YouBotGripper;
00537   friend class YouBotGripperBar;
00538 public:
00539   VelocitySetpoint();
00540 
00541   virtual ~VelocitySetpoint();
00542 
00543   void getParameter(int& parameter) const;
00544 
00545   void setParameter(const int parameter);
00546 
00547   void toString(std::string& value) const;
00548 
00549 private:
00550   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00551 
00552   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00553 
00554   std::string getName() const
00555   {
00556     return this->name;
00557   }
00558   ;
00559 
00560   ParameterType getType() const
00561   {
00562     return this->parameterType;
00563   }
00564   ;
00565 
00566   int upperLimit;
00567 
00568   int lowerLimit;
00569 
00570   int value;
00571 
00572   std::string name;
00573 
00574   ParameterType parameterType;
00575 
00576 };
00579 
00581 class ActualLoadValue : public YouBotGripperParameter
00582 {
00583   friend class YouBotGripper;
00584   friend class YouBotGripperBar;
00585 public:
00586   ActualLoadValue();
00587 
00588   virtual ~ActualLoadValue();
00589 
00590   void getParameter(unsigned int& parameter) const;
00591 
00592   void setParameter(const unsigned int& parameter);
00593 
00594   void toString(std::string& value) const;
00595 
00596 private:
00597   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00598 
00599   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00600 
00601   std::string getName() const
00602   {
00603     return this->name;
00604   }
00605   ;
00606 
00607   ParameterType getType() const
00608   {
00609     return this->parameterType;
00610   }
00611   ;
00612 
00613   unsigned int upperLimit;
00614 
00615   unsigned int lowerLimit;
00616 
00617   unsigned int value;
00618 
00619   std::string name;
00620 
00621   ParameterType parameterType;
00622 
00623 };
00626 
00628 class ChopperBlankTime : public YouBotGripperParameter
00629 {
00630   friend class YouBotGripper;
00631   friend class YouBotGripperBar;
00632 public:
00633   ChopperBlankTime();
00634 
00635   virtual ~ChopperBlankTime();
00636 
00637   void getParameter(unsigned int& parameter) const;
00638 
00639   void setParameter(const unsigned int& parameter);
00640 
00641   void toString(std::string& value) const;
00642 
00643 private:
00644   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00645 
00646   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00647 
00648   std::string getName() const
00649   {
00650     return this->name;
00651   }
00652   ;
00653 
00654   ParameterType getType() const
00655   {
00656     return this->parameterType;
00657   }
00658   ;
00659 
00660   unsigned int upperLimit;
00661 
00662   unsigned int lowerLimit;
00663 
00664   unsigned int value;
00665 
00666   std::string name;
00667 
00668   ParameterType parameterType;
00669 
00670 };
00675 
00677 class ChopperHysteresisDecrement : public YouBotGripperParameter
00678 {
00679   friend class YouBotGripper;
00680   friend class YouBotGripperBar;
00681 public:
00682   ChopperHysteresisDecrement();
00683 
00684   virtual ~ChopperHysteresisDecrement();
00685 
00686   void getParameter(unsigned int& parameter) const;
00687 
00688   void setParameter(const unsigned int& parameter);
00689 
00690   void toString(std::string& value) const;
00691 
00692 private:
00693   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00694 
00695   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00696 
00697   std::string getName() const
00698   {
00699     return this->name;
00700   }
00701   ;
00702 
00703   ParameterType getType() const
00704   {
00705     return this->parameterType;
00706   }
00707   ;
00708 
00709   unsigned int upperLimit;
00710 
00711   unsigned int lowerLimit;
00712 
00713   unsigned int value;
00714 
00715   std::string name;
00716 
00717   ParameterType parameterType;
00718 
00719 };
00726 class ChopperHysteresisEnd : public YouBotGripperParameter
00727 {
00728   friend class YouBotGripper;
00729   friend class YouBotGripperBar;
00730 public:
00731   ChopperHysteresisEnd();
00732 
00733   virtual ~ChopperHysteresisEnd();
00734 
00735   void getParameter(int& parameter) const;
00736 
00737   void setParameter(const int parameter);
00738 
00739   void toString(std::string& value) const;
00740 
00741 private:
00742   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00743 
00744   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00745 
00746   std::string getName() const
00747   {
00748     return this->name;
00749   }
00750   ;
00751 
00752   ParameterType getType() const
00753   {
00754     return this->parameterType;
00755   }
00756   ;
00757 
00758   int upperLimit;
00759 
00760   int lowerLimit;
00761 
00762   int value;
00763 
00764   std::string name;
00765 
00766   ParameterType parameterType;
00767 
00768 };
00772 class ChopperHysteresisStart : public YouBotGripperParameter
00773 {
00774   friend class YouBotGripper;
00775   friend class YouBotGripperBar;
00776 public:
00777   ChopperHysteresisStart();
00778 
00779   virtual ~ChopperHysteresisStart();
00780 
00781   void getParameter(int& parameter) const;
00782 
00783   void setParameter(const int parameter);
00784 
00785   void toString(std::string& value) const;
00786 
00787 private:
00788   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00789 
00790   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00791 
00792   std::string getName() const
00793   {
00794     return this->name;
00795   }
00796   ;
00797 
00798   ParameterType getType() const
00799   {
00800     return this->parameterType;
00801   }
00802   ;
00803 
00804   int upperLimit;
00805 
00806   int lowerLimit;
00807 
00808   int value;
00809 
00810   std::string name;
00811 
00812   ParameterType parameterType;
00813 
00814 };
00819 
00821 class ChopperMode : public YouBotGripperParameter
00822 {
00823   friend class YouBotGripper;
00824   friend class YouBotGripperBar;
00825 public:
00826   ChopperMode();
00827 
00828   virtual ~ChopperMode();
00829 
00830   void getParameter(bool& parameter) const;
00831 
00832   void setParameter(const bool parameter);
00833 
00834   void toString(std::string& value) const;
00835 
00836 private:
00837   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00838 
00839   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00840 
00841   std::string getName() const
00842   {
00843     return this->name;
00844   }
00845   ;
00846 
00847   ParameterType getType() const
00848   {
00849     return this->parameterType;
00850   }
00851   ;
00852 
00853   bool value;
00854 
00855   std::string name;
00856 
00857   ParameterType parameterType;
00858 
00859 };
00865 
00867 class ChopperOffTime : public YouBotGripperParameter
00868 {
00869   friend class YouBotGripper;
00870   friend class YouBotGripperBar;
00871 public:
00872   ChopperOffTime();
00873 
00874   virtual ~ChopperOffTime();
00875 
00876   void getParameter(unsigned int& parameter) const;
00877 
00878   void setParameter(const unsigned int& parameter);
00879 
00880   void toString(std::string& value) const;
00881 
00882 private:
00883   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00884 
00885   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00886 
00887   std::string getName() const
00888   {
00889     return this->name;
00890   }
00891   ;
00892 
00893   ParameterType getType() const
00894   {
00895     return this->parameterType;
00896   }
00897   ;
00898 
00899   unsigned int upperLimit;
00900 
00901   unsigned int lowerLimit;
00902 
00903   unsigned int value;
00904 
00905   std::string name;
00906 
00907   ParameterType parameterType;
00908 
00909 };
00914 
00916 class DoubleStepEnable : public YouBotGripperParameter
00917 {
00918   friend class YouBotGripper;
00919   friend class YouBotGripperBar;
00920 
00921 public:
00922   DoubleStepEnable();
00923 
00924   virtual ~DoubleStepEnable();
00925 
00926   void getParameter(bool& parameter) const;
00927 
00928   void setParameter(const bool parameter);
00929 
00930   void toString(std::string& value) const;
00931 
00932 private:
00933   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00934 
00935   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00936 
00937   std::string getName() const
00938   {
00939     return this->name;
00940   }
00941   ;
00942 
00943   ParameterType getType() const
00944   {
00945     return this->parameterType;
00946   }
00947   ;
00948 
00949   bool value;
00950 
00951   std::string name;
00952 
00953   ParameterType parameterType;
00954 
00955 };
00974 class ErrorFlags : public YouBotGripperParameter
00975 {
00976   friend class YouBotGripper;
00977   friend class YouBotGripperBar;
00978 public:
00979   ErrorFlags();
00980 
00981   virtual ~ErrorFlags();
00982 
00983   void getParameter(unsigned int& parameter) const;
00984 
00985   void setParameter(const unsigned int& parameter);
00986 
00987   void toString(std::string& value) const;
00988 
00989 private:
00990   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
00991 
00992   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
00993 
00994   std::string getName() const
00995   {
00996     return this->name;
00997   }
00998   ;
00999 
01000   ParameterType getType() const
01001   {
01002     return this->parameterType;
01003   }
01004   ;
01005 
01006   unsigned int upperLimit;
01007 
01008   unsigned int lowerLimit;
01009 
01010   unsigned int value;
01011 
01012   std::string name;
01013 
01014   ParameterType parameterType;
01015 
01016 };
01022 
01024 class Freewheeling : public YouBotGripperParameter
01025 {
01026   friend class YouBotGripper;
01027   friend class YouBotGripperBar;
01028 public:
01029   Freewheeling();
01030 
01031   virtual ~Freewheeling();
01032 
01033   void getParameter(unsigned int& parameter) const;
01034 
01035   void setParameter(const unsigned int& parameter);
01036 
01037   void toString(std::string& value) const;
01038 
01039 private:
01040   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01041 
01042   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01043 
01044   std::string getName() const
01045   {
01046     return this->name;
01047   }
01048   ;
01049 
01050   ParameterType getType() const
01051   {
01052     return this->parameterType;
01053   }
01054   ;
01055 
01056   unsigned int upperLimit;
01057 
01058   unsigned int lowerLimit;
01059 
01060   unsigned int value;
01061 
01062   std::string name;
01063 
01064   ParameterType parameterType;
01065 
01066 };
01070 class MaximumAcceleration : public YouBotGripperParameter
01071 {
01072   friend class YouBotGripper;
01073   friend class YouBotGripperBar;
01074 public:
01075   MaximumAcceleration();
01076 
01077   virtual ~MaximumAcceleration();
01078 
01079   void getParameter(int& parameter) const;
01080 
01081   void setParameter(const int parameter);
01082 
01083   void toString(std::string& value) const;
01084 
01085 private:
01086   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01087 
01088   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01089 
01090   std::string getName() const
01091   {
01092     return this->name;
01093   }
01094   ;
01095 
01096   ParameterType getType() const
01097   {
01098     return this->parameterType;
01099   }
01100   ;
01101 
01102   int upperLimit;
01103 
01104   int lowerLimit;
01105 
01106   int value;
01107 
01108   std::string name;
01109 
01110   ParameterType parameterType;
01111 
01112 };
01115 
01117 class MaximumCurrent : public YouBotGripperParameter
01118 {
01119   friend class YouBotGripper;
01120   friend class YouBotGripperBar;
01121 public:
01122   MaximumCurrent();
01123 
01124   virtual ~MaximumCurrent();
01125 
01126   void getParameter(int& parameter) const;
01127 
01128   void setParameter(const int parameter);
01129 
01130   void toString(std::string& value) const;
01131 
01132 private:
01133   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01134 
01135   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01136 
01137   std::string getName() const
01138   {
01139     return this->name;
01140   }
01141   ;
01142 
01143   ParameterType getType() const
01144   {
01145     return this->parameterType;
01146   }
01147   ;
01148 
01149   int upperLimit;
01150 
01151   int lowerLimit;
01152 
01153   int value;
01154 
01155   std::string name;
01156 
01157   ParameterType parameterType;
01158 
01159 };
01163 class MaximumPositioningSpeed : public YouBotGripperParameter
01164 {
01165   friend class YouBotGripper;
01166   friend class YouBotGripperBar;
01167 public:
01168   MaximumPositioningSpeed();
01169 
01170   virtual ~MaximumPositioningSpeed();
01171 
01172   void getParameter(int& parameter) const;
01173 
01174   void setParameter(const int parameter);
01175 
01176   void toString(std::string& value) const;
01177 
01178 private:
01179   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01180 
01181   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01182 
01183   std::string getName() const
01184   {
01185     return this->name;
01186   }
01187   ;
01188 
01189   ParameterType getType() const
01190   {
01191     return this->parameterType;
01192   }
01193   ;
01194 
01195   int upperLimit;
01196 
01197   int lowerLimit;
01198 
01199   int value;
01200 
01201   std::string name;
01202 
01203   ParameterType parameterType;
01204 
01205 };
01217 class MicrostepResolution : public YouBotGripperParameter
01218 {
01219   friend class YouBotGripper;
01220   friend class YouBotGripperBar;
01221 
01222 public:
01223   MicrostepResolution();
01224 
01225   virtual ~MicrostepResolution();
01226 
01227   void getParameter(unsigned int& parameter) const;
01228 
01229   void setParameter(const unsigned int& parameter);
01230 
01231   void toString(std::string& value) const;
01232 
01233 private:
01234   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01235 
01236   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01237 
01238   std::string getName() const
01239   {
01240     return this->name;
01241   }
01242   ;
01243 
01244   ParameterType getType() const
01245   {
01246     return this->parameterType;
01247   }
01248   ;
01249 
01250   unsigned int upperLimit;
01251 
01252   unsigned int lowerLimit;
01253 
01254   unsigned int value;
01255 
01256   std::string name;
01257 
01258   ParameterType parameterType;
01259 
01260 };
01264 class PowerDownDelay : public YouBotGripperParameter
01265 {
01266   friend class YouBotGripper;
01267   friend class YouBotGripperBar;
01268 public:
01269   PowerDownDelay();
01270 
01271   virtual ~PowerDownDelay();
01272 
01273   void getParameter(unsigned int& parameter) const;
01274 
01275   void setParameter(const unsigned int& parameter);
01276 
01277   void toString(std::string& value) const;
01278 
01279 private:
01280   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01281 
01282   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01283 
01284   std::string getName() const
01285   {
01286     return this->name;
01287   }
01288   ;
01289 
01290   ParameterType getType() const
01291   {
01292     return this->parameterType;
01293   }
01294   ;
01295 
01296   unsigned int upperLimit;
01297 
01298   unsigned int lowerLimit;
01299 
01300   unsigned int value;
01301 
01302   std::string name;
01303 
01304   ParameterType parameterType;
01305 
01306 };
01310 class PulseDivisor : public YouBotGripperParameter
01311 {
01312   friend class YouBotGripper;
01313   friend class YouBotGripperBar;
01314 
01315 public:
01316   PulseDivisor();
01317 
01318   virtual ~PulseDivisor();
01319 
01320   void getParameter(unsigned int& parameter) const;
01321 
01322   void setParameter(const unsigned int& parameter);
01323 
01324   void toString(std::string& value) const;
01325 
01326 private:
01327   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01328 
01329   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01330 
01331   std::string getName() const
01332   {
01333     return this->name;
01334   }
01335   ;
01336 
01337   ParameterType getType() const
01338   {
01339     return this->parameterType;
01340   }
01341   ;
01342 
01343   unsigned int upperLimit;
01344 
01345   unsigned int lowerLimit;
01346 
01347   unsigned int value;
01348 
01349   std::string name;
01350 
01351   ParameterType parameterType;
01352 
01353 };
01357 class RampDivisor : public YouBotGripperParameter
01358 {
01359   friend class YouBotGripper;
01360   friend class YouBotGripperBar;
01361 
01362 public:
01363   RampDivisor();
01364 
01365   virtual ~RampDivisor();
01366 
01367   void getParameter(unsigned int& parameter) const;
01368 
01369   void setParameter(const unsigned int& parameter);
01370 
01371   void toString(std::string& value) const;
01372 
01373 private:
01374   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01375 
01376   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01377 
01378   std::string getName() const
01379   {
01380     return this->name;
01381   }
01382   ;
01383 
01384   ParameterType getType() const
01385   {
01386     return this->parameterType;
01387   }
01388   ;
01389 
01390   unsigned int upperLimit;
01391 
01392   unsigned int lowerLimit;
01393 
01394   unsigned int value;
01395 
01396   std::string name;
01397 
01398   ParameterType parameterType;
01399 
01400 };
01406 class RampMode : public YouBotGripperParameter
01407 {
01408   friend class YouBotGripper;
01409   friend class YouBotGripperBar;
01410 
01411 public:
01412   RampMode();
01413 
01414   virtual ~RampMode();
01415 
01416   void getParameter(unsigned int& parameter) const;
01417 
01418   void setParameter(const unsigned int& parameter);
01419 
01420   void toString(std::string& value) const;
01421 
01422 private:
01423   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01424 
01425   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01426 
01427   std::string getName() const
01428   {
01429     return this->name;
01430   }
01431   ;
01432 
01433   ParameterType getType() const
01434   {
01435     return this->parameterType;
01436   }
01437   ;
01438 
01439   unsigned int upperLimit;
01440 
01441   unsigned int lowerLimit;
01442 
01443   unsigned int value;
01444 
01445   std::string name;
01446 
01447   ParameterType parameterType;
01448 
01449 };
01456 
01458 class ShortDetectionTimer : public YouBotGripperParameter
01459 {
01460   friend class YouBotGripper;
01461   friend class YouBotGripperBar;
01462 public:
01463   ShortDetectionTimer();
01464 
01465   virtual ~ShortDetectionTimer();
01466 
01467   void getParameter(unsigned int& parameter) const;
01468 
01469   void setParameter(const unsigned int& parameter);
01470 
01471   void toString(std::string& value) const;
01472 
01473 private:
01474   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01475 
01476   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01477 
01478   std::string getName() const
01479   {
01480     return this->name;
01481   }
01482   ;
01483 
01484   ParameterType getType() const
01485   {
01486     return this->parameterType;
01487   }
01488   ;
01489 
01490   unsigned int upperLimit;
01491 
01492   unsigned int lowerLimit;
01493 
01494   unsigned int value;
01495 
01496   std::string name;
01497 
01498   ParameterType parameterType;
01499 
01500 };
01505 
01507 class ShortProtectionDisable : public YouBotGripperParameter
01508 {
01509   friend class YouBotGripper;
01510   friend class YouBotGripperBar;
01511 public:
01512   ShortProtectionDisable();
01513 
01514   virtual ~ShortProtectionDisable();
01515 
01516   void getParameter(bool& parameter) const;
01517 
01518   void setParameter(const bool parameter);
01519 
01520   void toString(std::string& value) const;
01521 
01522 private:
01523   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01524 
01525   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01526 
01527   std::string getName() const
01528   {
01529     return this->name;
01530   }
01531   ;
01532 
01533   ParameterType getType() const
01534   {
01535     return this->parameterType;
01536   }
01537   ;
01538 
01539   bool value;
01540 
01541   std::string name;
01542 
01543   ParameterType parameterType;
01544 
01545 };
01550 
01552 class SlopeControlHighSide : public YouBotGripperParameter
01553 {
01554   friend class YouBotGripper;
01555   friend class YouBotGripperBar;
01556 public:
01557   SlopeControlHighSide();
01558 
01559   virtual ~SlopeControlHighSide();
01560 
01561   void getParameter(unsigned int& parameter) const;
01562 
01563   void setParameter(const unsigned int& parameter);
01564 
01565   void toString(std::string& value) const;
01566 
01567 private:
01568   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01569 
01570   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01571 
01572   std::string getName() const
01573   {
01574     return this->name;
01575   }
01576   ;
01577 
01578   ParameterType getType() const
01579   {
01580     return this->parameterType;
01581   }
01582   ;
01583 
01584   unsigned int upperLimit;
01585 
01586   unsigned int lowerLimit;
01587 
01588   unsigned int value;
01589 
01590   std::string name;
01591 
01592   ParameterType parameterType;
01593 
01594 };
01597 
01599 class SlopeControlLowSide : public YouBotGripperParameter
01600 {
01601   friend class YouBotGripper;
01602   friend class YouBotGripperBar;
01603 public:
01604   SlopeControlLowSide();
01605 
01606   virtual ~SlopeControlLowSide();
01607 
01608   void getParameter(unsigned int& parameter) const;
01609 
01610   void setParameter(const unsigned int& parameter);
01611 
01612   void toString(std::string& value) const;
01613 
01614 private:
01615   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01616 
01617   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01618 
01619   std::string getName() const
01620   {
01621     return this->name;
01622   }
01623   ;
01624 
01625   ParameterType getType() const
01626   {
01627     return this->parameterType;
01628   }
01629   ;
01630 
01631   unsigned int upperLimit;
01632 
01633   unsigned int lowerLimit;
01634 
01635   unsigned int value;
01636 
01637   std::string name;
01638 
01639   ParameterType parameterType;
01640 
01641 };
01646 
01648 class SmartEnergyActualCurrent : public YouBotGripperParameter
01649 {
01650   friend class YouBotGripper;
01651   friend class YouBotGripperBar;
01652 public:
01653   SmartEnergyActualCurrent();
01654 
01655   virtual ~SmartEnergyActualCurrent();
01656 
01657   void getParameter(unsigned int& parameter) const;
01658 
01659   void setParameter(const unsigned int& parameter);
01660 
01661   void toString(std::string& value) const;
01662 
01663 private:
01664   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01665 
01666   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01667 
01668   std::string getName() const
01669   {
01670     return this->name;
01671   }
01672   ;
01673 
01674   ParameterType getType() const
01675   {
01676     return this->parameterType;
01677   }
01678   ;
01679 
01680   unsigned int upperLimit;
01681 
01682   unsigned int lowerLimit;
01683 
01684   unsigned int value;
01685 
01686   std::string name;
01687 
01688   ParameterType parameterType;
01689 
01690 };
01698 class SmartEnergyCurrentDownStep : public YouBotGripperParameter
01699 {
01700   friend class YouBotGripper;
01701   friend class YouBotGripperBar;
01702 public:
01703   SmartEnergyCurrentDownStep();
01704 
01705   virtual ~SmartEnergyCurrentDownStep();
01706 
01707   void getParameter(unsigned int& parameter) const;
01708 
01709   void setParameter(const unsigned int& parameter);
01710 
01711   void toString(std::string& value) const;
01712 
01713 private:
01714   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01715 
01716   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01717 
01718   std::string getName() const
01719   {
01720     return this->name;
01721   }
01722   ;
01723 
01724   ParameterType getType() const
01725   {
01726     return this->parameterType;
01727   }
01728   ;
01729 
01730   unsigned int upperLimit;
01731 
01732   unsigned int lowerLimit;
01733 
01734   unsigned int value;
01735 
01736   std::string name;
01737 
01738   ParameterType parameterType;
01739 
01740 };
01747 class SmartEnergyCurrentMinimum : public YouBotGripperParameter
01748 {
01749   friend class YouBotGripper;
01750   friend class YouBotGripperBar;
01751 public:
01752   SmartEnergyCurrentMinimum();
01753 
01754   virtual ~SmartEnergyCurrentMinimum();
01755 
01756   void getParameter(unsigned int& parameter) const;
01757 
01758   void setParameter(const unsigned int& parameter);
01759 
01760   void toString(std::string& value) const;
01761 
01762 private:
01763   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01764 
01765   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01766 
01767   std::string getName() const
01768   {
01769     return this->name;
01770   }
01771   ;
01772 
01773   ParameterType getType() const
01774   {
01775     return this->parameterType;
01776   }
01777   ;
01778 
01779   unsigned int upperLimit;
01780 
01781   unsigned int lowerLimit;
01782 
01783   unsigned int value;
01784 
01785   std::string name;
01786 
01787   ParameterType parameterType;
01788 
01789 };
01795 
01797 class SmartEnergyCurrentUpStep : public YouBotGripperParameter
01798 {
01799   friend class YouBotGripper;
01800   friend class YouBotGripperBar;
01801 public:
01802   SmartEnergyCurrentUpStep();
01803 
01804   virtual ~SmartEnergyCurrentUpStep();
01805 
01806   void getParameter(unsigned int& parameter) const;
01807 
01808   void setParameter(const unsigned int& parameter);
01809 
01810   void toString(std::string& value) const;
01811 
01812 private:
01813   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01814 
01815   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01816 
01817   std::string getName() const
01818   {
01819     return this->name;
01820   }
01821   ;
01822 
01823   ParameterType getType() const
01824   {
01825     return this->parameterType;
01826   }
01827   ;
01828 
01829   unsigned int upperLimit;
01830 
01831   unsigned int lowerLimit;
01832 
01833   unsigned int value;
01834 
01835   std::string name;
01836 
01837   ParameterType parameterType;
01838 
01839 };
01845 class SmartEnergyHysteresis : public YouBotGripperParameter
01846 {
01847   friend class YouBotGripper;
01848   friend class YouBotGripperBar;
01849 public:
01850   SmartEnergyHysteresis();
01851 
01852   virtual ~SmartEnergyHysteresis();
01853 
01854   void getParameter(unsigned int& parameter) const;
01855 
01856   void setParameter(const unsigned int& parameter);
01857 
01858   void toString(std::string& value) const;
01859 
01860 private:
01861   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01862 
01863   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01864 
01865   std::string getName() const
01866   {
01867     return this->name;
01868   }
01869   ;
01870 
01871   ParameterType getType() const
01872   {
01873     return this->parameterType;
01874   }
01875   ;
01876 
01877   unsigned int upperLimit;
01878 
01879   unsigned int lowerLimit;
01880 
01881   unsigned int value;
01882 
01883   std::string name;
01884 
01885   ParameterType parameterType;
01886 
01887 };
01890 
01892 class SmartEnergyHysteresisStart : public YouBotGripperParameter
01893 {
01894   friend class YouBotGripper;
01895   friend class YouBotGripperBar;
01896 public:
01897   SmartEnergyHysteresisStart();
01898 
01899   virtual ~SmartEnergyHysteresisStart();
01900 
01901   void getParameter(unsigned int& parameter) const;
01902 
01903   void setParameter(const unsigned int& parameter);
01904 
01905   void toString(std::string& value) const;
01906 
01907 private:
01908   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01909 
01910   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01911 
01912   std::string getName() const
01913   {
01914     return this->name;
01915   }
01916   ;
01917 
01918   ParameterType getType() const
01919   {
01920     return this->parameterType;
01921   }
01922   ;
01923 
01924   unsigned int upperLimit;
01925 
01926   unsigned int lowerLimit;
01927 
01928   unsigned int value;
01929 
01930   std::string name;
01931 
01932   ParameterType parameterType;
01933 
01934 };
01937 
01939 class SmartEnergySlowRunCurrent : public YouBotGripperParameter
01940 {
01941   friend class YouBotGripper;
01942   friend class YouBotGripperBar;
01943 public:
01944   SmartEnergySlowRunCurrent();
01945 
01946   virtual ~SmartEnergySlowRunCurrent();
01947 
01948   void getParameter(unsigned int& parameter) const;
01949 
01950   void setParameter(const unsigned int& parameter);
01951 
01952   void toString(std::string& value) const;
01953 
01954 private:
01955   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
01956 
01957   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
01958 
01959   std::string getName() const
01960   {
01961     return this->name;
01962   }
01963   ;
01964 
01965   ParameterType getType() const
01966   {
01967     return this->parameterType;
01968   }
01969   ;
01970 
01971   unsigned int upperLimit;
01972 
01973   unsigned int lowerLimit;
01974 
01975   unsigned int value;
01976 
01977   std::string name;
01978 
01979   ParameterType parameterType;
01980 
01981 };
01984 
01986 class SmartEnergyThresholdSpeed : public YouBotGripperParameter
01987 {
01988   friend class YouBotGripper;
01989   friend class YouBotGripperBar;
01990 public:
01991   SmartEnergyThresholdSpeed();
01992 
01993   virtual ~SmartEnergyThresholdSpeed();
01994 
01995   void getParameter(unsigned int& parameter) const;
01996 
01997   void setParameter(const unsigned int& parameter);
01998 
01999   void toString(std::string& value) const;
02000 
02001 private:
02002   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
02003 
02004   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
02005 
02006   std::string getName() const
02007   {
02008     return this->name;
02009   }
02010   ;
02011 
02012   ParameterType getType() const
02013   {
02014     return this->parameterType;
02015   }
02016   ;
02017 
02018   unsigned int upperLimit;
02019 
02020   unsigned int lowerLimit;
02021 
02022   unsigned int value;
02023 
02024   std::string name;
02025 
02026   ParameterType parameterType;
02027 
02028 };
02034 class StallGuard2FilterEnable : public YouBotGripperParameter
02035 {
02036   friend class YouBotGripper;
02037   friend class YouBotGripperBar;
02038 public:
02039   StallGuard2FilterEnable();
02040 
02041   virtual ~StallGuard2FilterEnable();
02042 
02043   void getParameter(bool& parameter) const;
02044 
02045   void setParameter(const bool parameter);
02046 
02047   void toString(std::string& value) const;
02048 
02049 private:
02050   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
02051 
02052   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
02053 
02054   std::string getName() const
02055   {
02056     return this->name;
02057   }
02058   ;
02059 
02060   ParameterType getType() const
02061   {
02062     return this->parameterType;
02063   }
02064   ;
02065 
02066   bool value;
02067 
02068   std::string name;
02069 
02070   ParameterType parameterType;
02071 
02072 };
02079 class StallGuard2Threshold : public YouBotGripperParameter
02080 {
02081   friend class YouBotGripper;
02082   friend class YouBotGripperBar;
02083 public:
02084   StallGuard2Threshold();
02085 
02086   virtual ~StallGuard2Threshold();
02087 
02088   void getParameter(int& parameter) const;
02089 
02090   void setParameter(const int parameter);
02091 
02092   void toString(std::string& value) const;
02093 
02094 private:
02095   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
02096 
02097   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
02098 
02099   std::string getName() const
02100   {
02101     return this->name;
02102   }
02103   ;
02104 
02105   ParameterType getType() const
02106   {
02107     return this->parameterType;
02108   }
02109   ;
02110 
02111   int upperLimit;
02112 
02113   int lowerLimit;
02114 
02115   int value;
02116 
02117   std::string name;
02118 
02119   ParameterType parameterType;
02120 
02121 };
02124 
02126 class StandbyCurrent : public YouBotGripperParameter
02127 {
02128   friend class YouBotGripper;
02129   friend class YouBotGripperBar;
02130 
02131 public:
02132   StandbyCurrent();
02133 
02134   virtual ~StandbyCurrent();
02135 
02136   void getParameter(int& parameter) const;
02137 
02138   void setParameter(const int parameter);
02139 
02140   void toString(std::string& value) const;
02141 
02142 private:
02143   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
02144 
02145   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
02146 
02147   std::string getName() const
02148   {
02149     return this->name;
02150   }
02151   ;
02152 
02153   ParameterType getType() const
02154   {
02155     return this->parameterType;
02156   }
02157   ;
02158 
02159   int upperLimit;
02160 
02161   int lowerLimit;
02162 
02163   int value;
02164 
02165   std::string name;
02166 
02167   ParameterType parameterType;
02168 
02169 };
02174 
02176 class StepInterpolationEnable : public YouBotGripperParameter
02177 {
02178   friend class YouBotGripper;
02179   friend class YouBotGripperBar;
02180 
02181 public:
02182   StepInterpolationEnable();
02183 
02184   virtual ~StepInterpolationEnable();
02185 
02186   void getParameter(bool& parameter) const;
02187 
02188   void setParameter(const bool parameter);
02189 
02190   void toString(std::string& value) const;
02191 
02192 private:
02193   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
02194 
02195   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
02196 
02197   std::string getName() const
02198   {
02199     return this->name;
02200   }
02201   ;
02202 
02203   ParameterType getType() const
02204   {
02205     return this->parameterType;
02206   }
02207   ;
02208 
02209   bool value;
02210 
02211   std::string name;
02212 
02213   ParameterType parameterType;
02214 
02215 };
02219 class StopOnStall : public YouBotGripperParameter
02220 {
02221   friend class YouBotGripper;
02222   friend class YouBotGripperBar;
02223 public:
02224   StopOnStall();
02225 
02226   virtual ~StopOnStall();
02227 
02228   void getParameter(bool& parameter) const;
02229 
02230   void setParameter(const bool parameter);
02231 
02232   void toString(std::string& value) const;
02233 
02234 private:
02235   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
02236 
02237   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
02238 
02239   std::string getName() const
02240   {
02241     return this->name;
02242   }
02243   ;
02244 
02245   ParameterType getType() const
02246   {
02247     return this->parameterType;
02248   }
02249   ;
02250 
02251   bool value;
02252 
02253   std::string name;
02254 
02255   ParameterType parameterType;
02256 
02257 };
02264 
02266 class Vsense : public YouBotGripperParameter
02267 {
02268   friend class YouBotGripper;
02269   friend class YouBotGripperBar;
02270 public:
02271   Vsense();
02272 
02273   virtual ~Vsense();
02274 
02275   void getParameter(unsigned int& parameter) const;
02276 
02277   void setParameter(const unsigned int& parameter);
02278 
02279   void toString(std::string& value) const;
02280 
02281 private:
02282   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
02283 
02284   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
02285 
02286   std::string getName() const
02287   {
02288     return this->name;
02289   }
02290   ;
02291 
02292   ParameterType getType() const
02293   {
02294     return this->parameterType;
02295   }
02296   ;
02297 
02298   unsigned int upperLimit;
02299 
02300   unsigned int lowerLimit;
02301 
02302   unsigned int value;
02303 
02304   std::string name;
02305 
02306   ParameterType parameterType;
02307 
02308 };
02312 class ActualAcceleration : public YouBotGripperParameter
02313 {
02314   friend class YouBotGripper;
02315   friend class YouBotGripperBar;
02316 public:
02317   ActualAcceleration();
02318 
02319   virtual ~ActualAcceleration();
02320 
02321   void getParameter(int& parameter) const;
02322 
02323   void toString(std::string& value) const;
02324 
02325 private:
02326   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
02327 
02328   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
02329 
02330   std::string getName() const
02331   {
02332     return this->name;
02333   }
02334   ;
02335 
02336   ParameterType getType() const
02337   {
02338     return this->parameterType;
02339   }
02340   ;
02341 
02342   int upperLimit;
02343 
02344   int lowerLimit;
02345 
02346   int value;
02347 
02348   std::string name;
02349 
02350   ParameterType parameterType;
02351 
02352 };
02356 class MinimumSpeed : public YouBotGripperParameter
02357 {
02358   friend class YouBotGripper;
02359   friend class YouBotGripperBar;
02360 public:
02361   MinimumSpeed();
02362 
02363   virtual ~MinimumSpeed();
02364 
02365   void getParameter(int& parameter) const;
02366 
02367   void setParameter(const int parameter);
02368 
02369   void toString(std::string& value) const;
02370 
02371 private:
02372   void getYouBotMailboxMsg(YouBotSlaveMailboxMsg& message) const;
02373 
02374   void setYouBotMailboxMsg(const YouBotSlaveMailboxMsg& message);
02375 
02376   std::string getName() const
02377   {
02378     return this->name;
02379   }
02380   ;
02381 
02382   ParameterType getType() const
02383   {
02384     return this->parameterType;
02385   }
02386   ;
02387 
02388   int upperLimit;
02389 
02390   int lowerLimit;
02391 
02392   int value;
02393 
02394   std::string name;
02395 
02396   ParameterType parameterType;
02397 
02398 };
02399 
02400 } // namespace youbot
02401 #endif


youbot_driver
Author(s): Jan Paulus
autogenerated on Mon Oct 6 2014 09:08:02