.

Dependents:  

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Unwrapper_2pi.h Source File

Unwrapper_2pi.h

00001 /*  
00002 */
00003 
00004 using namespace std;
00005 
00006 class Unwrapper_2pi
00007 {
00008 public:
00009 
00010     Unwrapper_2pi(void);
00011     
00012     float operator()(float in) {
00013         return doStep(in);
00014     }
00015     
00016     virtual     ~Unwrapper_2pi();
00017     
00018     void        reset(void);
00019     float       doStep(float inc);
00020 
00021 private:
00022 
00023     long turns;
00024     float last_value;
00025 
00026 };