![](/media/cache/profiles/altb_JGUSAOG.jpg.50x50_q85.jpg)
corrections altb2
Lib_Misc/Unwrapper.h@0:d2e117716219, 2021-05-02 (annotated)
- Committer:
- altb2
- Date:
- Sun May 02 19:32:30 2021 +0000
- Revision:
- 0:d2e117716219
1st commit;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
altb2 | 0:d2e117716219 | 1 | /* |
altb2 | 0:d2e117716219 | 2 | */ |
altb2 | 0:d2e117716219 | 3 | |
altb2 | 0:d2e117716219 | 4 | using namespace std; |
altb2 | 0:d2e117716219 | 5 | |
altb2 | 0:d2e117716219 | 6 | class Unwrapper |
altb2 | 0:d2e117716219 | 7 | { |
altb2 | 0:d2e117716219 | 8 | public: |
altb2 | 0:d2e117716219 | 9 | |
altb2 | 0:d2e117716219 | 10 | Unwrapper(double); |
altb2 | 0:d2e117716219 | 11 | |
altb2 | 0:d2e117716219 | 12 | double operator()(short inc) { |
altb2 | 0:d2e117716219 | 13 | return doStep(inc); |
altb2 | 0:d2e117716219 | 14 | } |
altb2 | 0:d2e117716219 | 15 | |
altb2 | 0:d2e117716219 | 16 | virtual ~Unwrapper(); |
altb2 | 0:d2e117716219 | 17 | |
altb2 | 0:d2e117716219 | 18 | void reset(void); |
altb2 | 0:d2e117716219 | 19 | double doStep(short inc); |
altb2 | 0:d2e117716219 | 20 | |
altb2 | 0:d2e117716219 | 21 | private: |
altb2 | 0:d2e117716219 | 22 | |
altb2 | 0:d2e117716219 | 23 | long last_value; |
altb2 | 0:d2e117716219 | 24 | double inc2rad; |
altb2 | 0:d2e117716219 | 25 | |
altb2 | 0:d2e117716219 | 26 | }; |