ODIN
Public Member Functions | Protected Member Functions | Friends | List of all members

#include <seqcounter.h>

Inheritance diagram for SeqCounter:
Inheritance graph
[legend]

Public Member Functions

 SeqCounter (const STD_string &object_label="unnamedSeqCounter")
 
 SeqCounter (const SeqCounter &sc)
 
SeqCounteroperator= (const SeqCounter &sc)
 
virtual int get_times () const
 
virtual void add_vector (const SeqVector &seqvector)
 
- Public Member Functions inherited from SeqTreeObj
virtual double get_duration () const =0
 
virtual STD_string get_program (programContext &context) const
 
virtual STD_string get_properties () const
 
virtual unsigned int event (eventContext &context) const
 
virtual RecoValList get_recovallist (unsigned int reptimes, LDRkSpaceCoords &coords) const
 
bool contains (const SeqTreeObj *sto) const
 
void tree (SeqTreeCallbackAbstract *display) const
 
virtual SeqValList get_freqvallist (freqlistAction action) const
 
virtual SeqValList get_delayvallist () const
 
virtual double get_rf_energy () const
 
- Public Member Functions inherited from SeqClass
SeqClassset_temporary ()
 
- Public Member Functions inherited from Labeled
 Labeled (const STD_string &label="unnamed")
 
Labeledset_label (const STD_string &label)
 
const STD_string & get_label () const
 
Labeledoperator= (const Labeled &l)
 

Protected Member Functions

bool prep ()
 
void clear_container ()
 
- Protected Member Functions inherited from SeqTreeObj
virtual void query (queryContext &context) const
 
- Protected Member Functions inherited from SeqClass
void marshall_error () const
 

Friends

class SeqVector
 

Additional Inherited Members

- Static Protected Member Functions inherited from SeqClass
static void clear_temporary ()
 
static void clear_containers ()
 

Detailed Description

The base class for objects iterating through vectors by incremental counting

Definition at line 139 of file seqcounter.h.

Constructor & Destructor Documentation

◆ SeqCounter() [1/2]

SeqCounter::SeqCounter ( const STD_string &  object_label = "unnamedSeqCounter")

Construct an empty counter object with the given label

◆ SeqCounter() [2/2]

SeqCounter::SeqCounter ( const SeqCounter sc)

Constructs a copy of 'sl'

Member Function Documentation

◆ add_vector()

virtual void SeqCounter::add_vector ( const SeqVector seqvector)
virtual

Adds a vector to this counter

◆ clear_container()

void SeqCounter::clear_container ( )
protectedvirtual

Overload this function in case the class is a container object, i.e. it contains other sequence objects. The function should clear all references to other sequence objects, i.e. to thos it contains.

Reimplemented from SeqClass.

◆ get_times()

virtual int SeqCounter::get_times ( ) const
virtual

The number of iterations of this counter object

Reimplemented in SeqObjLoop.

◆ operator=()

SeqCounter& SeqCounter::operator= ( const SeqCounter sc)

Assignment operator

◆ prep()

bool SeqCounter::prep ( )
protectedvirtual

Overload this function to prepare objects before the measurement. This function will then be called automatically after editing the sequence parameters and before the measurement is started. This function should not alter the physical properties of the sequence object, e.g. its duration.

Reimplemented from SeqClass.


The documentation for this class was generated from the following file: