// toiauxgpsproducer.h // Eric Aubourg CEA/DAPNIA/SPP octobre 1999 #ifndef TOIAUXGPSPRODUCER_H #define TOIAUXGPSPRODUCER_H #include "toiproducer.h" #include "ark.h" #include "auxgps.h" class TOIAuxGPSProducer : public TOIProducer { public: TOIAuxGPSProducer(AuxGPS* aux); virtual bool canGetValue(long sampleNum, TOI const& toi); // for this samplenum virtual bool canGetPrevValue(long sampleNum, TOI const& toi); virtual bool canGetNextValue(long sampleNum, TOI const& toi); virtual bool canGetValueLater(long sampleNum, TOI const& toi); // Might, later but not now virtual double getPrevValue(long& sampleNum, TOI const& toi); virtual double getNextValue(long& sampleNum, TOI const& toi); virtual double getValue(long sampleNum, TOI const& toi); virtual long firstSampleNum(TOI const&); virtual long lastSampleNum(TOI const&); virtual string getName(); protected: AuxGPS* auxGPS; }; #endif