00001 /*************************************************************************** 00002 seqveciter.h - description 00003 ------------------- 00004 begin : Fri Jan 19 2007 00005 copyright : (C) 2001 by Thies H. Jochimsen 00006 email : jochimse@cns.mpg.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef SEQVECITER_H 00019 #define SEQVECITER_H 00020 00021 00022 #include <odinseq/seqcounter.h> 00023 #include <odinseq/seqobj.h> 00024 00042 class SeqVecIter : public SeqCounter, public SeqObjBase { 00043 00044 public: 00045 00050 SeqVecIter(const STD_string& object_label = "unnamedSeqVecIter", unsigned int start=0); 00051 00055 SeqVecIter(const SeqVecIter& svi); 00056 00060 SeqVecIter& operator = (const SeqVecIter& svi); 00061 00062 00063 // overloading virtual function from SeqTreeObj 00064 STD_string get_program(programContext& context) const; 00065 double get_duration() const; 00066 unsigned int event(eventContext& context) const; 00067 STD_string get_properties() const; 00068 void query(queryContext& context) const; 00069 RecoValList get_recovallist(unsigned int reptimes, JDXkSpaceCoords& coords) const; 00070 00071 00072 private: 00073 00074 bool is_acq_iterator() const; 00075 00076 // overwriting virtual functions from SeqClass 00077 bool prep(); 00078 00079 unsigned int startindex; 00080 00081 }; 00082 00086 #endif
1.5.6