source: Sophya/trunk/Poubelle/archTOI.old/gyrocalibrator.h@ 534

Last change on this file since 534 was 534, checked in by ansari, 26 years ago

V2

File size: 746 bytes
Line 
1// gyrocalibrator.h
2// Eric Aubourg CEA/DAPNIA/SPP octobre 1999
3
4#ifndef GYROCALIBRATOR_H
5#define GYROCALIBRATOR_H
6
7#include "toiderivproducer.h"
8
9#include <vector>
10
11class GyroCalibrator : public TOIDerivProducer {
12public:
13 GyroCalibrator();
14 virtual void dataFeed(TOIProducer* source, TOI const& toi, long sampleNum, double value);
15 virtual string getName();
16
17 virtual bool canGetValue(long sampleNum, TOI const& toi); // for this samplenum
18 virtual double getValue(long sampleNum, TOI const& toi);
19
20protected:
21 virtual set<TOI> reqTOIFor(TOI const&);
22 virtual void propagateLowBound(TOI const&, long sampleNum);
23
24private:
25 long startSample;
26 vector<double> gyro2;
27 long lastFence1, lastFence2;
28};
29
30
31
32#endif
Note: See TracBrowser for help on using the repository browser.