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

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

V2

File size: 889 bytes
Line 
1// timetoiproducer.h
2// Eric Aubourg CEA/DAPNIA/SPP septembre 1999
3
4#ifndef TIMETOIPRODUCER_H
5#define TIMETOIPRODUCER_H
6
7#include "toiproducer.h"
8#include "ark.h"
9
10
11class TimeTOIProducer : public TOIProducer {
12public:
13 TimeTOIProducer();
14
15 virtual bool canGetValue(long sampleNum, TOI const& toi); // for this samplenum
16 virtual bool canGetPrevValue(long sampleNum, TOI const& toi);
17 virtual bool canGetNextValue(long sampleNum, TOI const& toi);
18 virtual bool canGetValueLater(long sampleNum, TOI const& toi); // Might, later but not now
19
20 virtual double getPrevValue(long& sampleNum, TOI const& toi);
21 virtual double getNextValue(long& sampleNum, TOI const& toi);
22 virtual double getValue(long sampleNum, TOI const& toi);
23
24 virtual long firstSampleNum(TOI const&);
25 virtual long lastSampleNum(TOI const&);
26 virtual string getName();
27};
28
29
30
31
32
33#endif
Note: See TracBrowser for help on using the repository browser.