source: Sophya/trunk/Poubelle/archTOI.old/toipullproducer.h@ 634

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

V2

File size: 968 bytes
RevLine 
[534]1// toipullproducer.h
2// Eric Aubourg CEA/DAPNIA/SPP octobre 1999
3
4#ifndef TOIPULLPRODUCER_H
5#define TOIPULLPRODUCER_H
6
7#include "toiderivproducer.h"
8
9class TOIPullProducer : public TOIDerivProducer {
10public:
11 TOIPullProducer();
12 virtual bool canGetValue(long sampleNum, TOI const& toi); // for this samplenum
13 virtual bool canGetPrevValue(long sampleNum, TOI const& toi);
14 virtual bool canGetNextValue(long sampleNum, TOI const& toi);
15 virtual bool canGetValueLater(long sampleNum, TOI const& toi); // Might, later but not now
16
17 virtual double getPrevValue(long& sampleNum, TOI const& toi);
18 virtual double getNextValue(long& sampleNum, TOI const& toi);
19 virtual double getValue(long sampleNum, TOI const& toi) = 0;
20
21 virtual long firstSampleNum(TOI const&);
22 virtual long lastSampleNum(TOI const&);
23
24protected:
25 long needBefore;
26 long needAfter;
27
28 virtual void propagateLowBound(TOI const&, long sampleNum);
29};
30
31
32
33#endif
Note: See TracBrowser for help on using the repository browser.