Hauptseite | Klassenhierarchie | Alphabetische Liste | Auflistung der Klassen | Auflistung der Dateien | Klassen-Elemente

fps_convert.hpp

00001 00012 #ifndef FPS_CONVERT_H 00013 #define FPS_CONVERT_H 00014 00017 const unsigned int MAX_STUETZSTELLEN= 63; 00018 00019 class CFpsConvert 00020 { 00021 public: 00022 enum FPS_MEASURE_MODE 00023 { 00024 MM, 00025 VOLT 00026 }; 00027 00028 CFpsConvert(); 00029 virtual ~CFpsConvert(); 00030 00031 int GetVersion( void ) const; 00032 00033 void SetMeasureMode( const FPS_MEASURE_MODE NewMode ); 00034 FPS_MEASURE_MODE GetMeasureMode( void ) const; 00035 00036 void clear( void ); 00037 float GetMaxMm( void ) const; 00038 float GetMinMm( void ) const; 00039 bool ConvertMvToMm( float fValueIn, float& fValueOut ); 00040 bool ConvertMmToMv( float fValueIn, float& fValueOut ); 00041 unsigned int GetNumStuetzStellen( void ) const; 00042 bool AddStuetzStelle( const float fX, const float fY ); 00043 bool SetStuetzStelle( const unsigned int uiIndex, const float fX, const float fY ); 00044 bool GetStuetzStelle( const unsigned int uiIndex, float& fX, float& fY ) const; 00045 bool ConvertNativeToSpec( unsigned int iValueIn, float& fValueOut ); 00046 bool ConvertSpecToNative( float fValueIn, int& iValueOut ); 00047 00048 private: 00049 FPS_MEASURE_MODE m_CurMeasureMode; 00050 00051 int m_iStuetzArrayVersion; 00052 00053 unsigned int m_CurNumStuetzStellen; 00054 float m_StuetzX[ MAX_STUETZSTELLEN ]; 00055 float m_StuetzY[ MAX_STUETZSTELLEN ]; 00056 }; 00057 #endif

Erzeugt am Tue Mar 11 14:25:03 2008 für SchunkFPS von doxygen 1.3.7