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