00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #pragma once
00011 #include "ippdme/ippdme.h"
00012
00013 #include "ippdme/ippParam.h"
00014
00018 class IPPDME_EXT_CLASS ippGoToPars : public ippObject
00019 {
00020
00021 ippParam _speed;
00022 ippParam _accel;
00023
00024
00025 public:
00026
00027 ippGoToPars(){};
00028
00029 virtual ~ippGoToPars(){};
00030
00031 const ippParam& getSpeed() const { return _speed; }
00032 const ippParam& getAccel() const { return _accel; }
00033
00034 double getActAccel()const{return _accel.getAct();}
00035 double getActSpeed()const{return _speed.getAct();}
00036 double getDefAccel()const{return _accel.getDef();}
00037 double getDefSpeed()const{return _speed.getDef();}
00038 double getMaxAccel()const{return _accel.getMax();}
00039 double getMaxSpeed()const{return _speed.getMax();}
00040 double getMinAccel()const{return _accel.getMin();}
00041 double getMinSpeed()const{return _speed.getMin();}
00042
00043 double setActAccel(double a) {return _accel.setAct(a);}
00044 double setActSpeed(double s) {return _speed.setAct(s);}
00045 double setDefAccel(double a) {return _accel.setDef(a);}
00046 double setDefSpeed(double s) {return _speed.setDef(s);}
00047 double setMaxAccel(double a) {return _accel.setMax(a);}
00048 double setMaxSpeed(double s) {return _speed.setMax(s);}
00049 double setMinAccel(double s) {return _accel.setMin(s);}
00050 double setMinSpeed(double s) {return _speed.setMin(s);}
00051
00052 private:
00053
00054 ippGoToPars(const ippGoToPars&);
00055
00056 void operator=(const ippGoToPars&);
00057
00058 };
00059 IPP_DECLARE_SMARTPOINTER(ippGoToPars);