| Rev | Line |   | 
|---|
| [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 | 
 | 
|---|
 | 9 | class TOIPullProducer : public TOIDerivProducer {
 | 
|---|
 | 10 | public:
 | 
|---|
 | 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 | 
 | 
|---|
 | 24 | protected:
 | 
|---|
 | 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.