seqveciter.h
1 /***************************************************************************
2  seqveciter.h - description
3  -------------------
4  begin : Fri Jan 19 2007
5  copyright : (C) 2000-2015 by Thies H. Jochimsen
6  email : thies@jochimsen.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef SEQVECITER_H
19 #define SEQVECITER_H
20 
21 
22 #include <odinseq/seqcounter.h>
23 #include <odinseq/seqobj.h>
24 
42 class SeqVecIter : public SeqCounter, public SeqObjBase {
43 
44  public:
45 
50  SeqVecIter(const STD_string& object_label = "unnamedSeqVecIter", unsigned int start=0);
51 
55  SeqVecIter(const SeqVecIter& svi);
56 
60  SeqVecIter& operator = (const SeqVecIter& svi);
61 
62 
63  // overloading virtual function from SeqTreeObj
64  STD_string get_program(programContext& context) const;
65  double get_duration() const;
66  unsigned int event(eventContext& context) const;
67  STD_string get_properties() const;
68  void query(queryContext& context) const;
69  RecoValList get_recovallist(unsigned int reptimes, LDRkSpaceCoords& coords) const;
70 
71 
72  private:
73 
74  bool is_acq_iterator() const;
75 
76  // overwriting virtual functions from SeqClass
77  bool prep();
78 
79  unsigned int startindex;
80 
81 };
82 
86 #endif
void query(queryContext &context) const
STD_string get_program(programContext &context) const
SeqVecIter(const STD_string &object_label="unnamedSeqVecIter", unsigned int start=0)
SeqVecIter & operator=(const SeqVecIter &svi)
unsigned int event(eventContext &context) const
STD_string get_properties() const
Iterator for vectors.
Definition: seqveciter.h:42
double get_duration() const
RecoValList get_recovallist(unsigned int reptimes, LDRkSpaceCoords &coords) const