Public Member Functions | List of all members

#include <seqdur.h>

Inheritance diagram for SeqDur:
Inheritance graph
[legend]

Public Member Functions

 SeqDur (const STD_string &object_label, float duration)
 
 SeqDur (const STD_string &object_label="unnamedSeqDur")
 
 SeqDur (const SeqDur &sd)
 
SeqDurset_duration (float duration)
 
double get_duration () const
 
SeqDuroperator= (const SeqDur &sd)
 
- Public Member Functions inherited from SeqTreeObj
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)
 

Additional Inherited Members

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

Detailed Description

This is the base class for all objects which have a certain duration. This is one of the base classes for all 'sequence atoms' i.e. those classes which cannot be devided further (e.g. SeqPuls, SeqAcq, SeqDelay, ...). In contrast, the duration of composite objects (e.g. SeqObjList) is calculated from their elements.

Definition at line 38 of file seqdur.h.

Constructor & Destructor Documentation

§ SeqDur() [1/3]

SeqDur::SeqDur ( const STD_string &  object_label,
float  duration 
)

Construct a duration object with the given 'object_label' and the specified 'duration'

§ SeqDur() [2/3]

SeqDur::SeqDur ( const STD_string &  object_label = "unnamedSeqDur")

Construct an empty duration object with the given label

§ SeqDur() [3/3]

SeqDur::SeqDur ( const SeqDur sd)

Construct a duration object which is a copy of 'sd'

Member Function Documentation

§ get_duration()

double SeqDur::get_duration ( ) const
virtual

Returns the duration of the sequence object.

Implements SeqTreeObj.

Reimplemented in SeqPuls.

§ operator=()

SeqDur& SeqDur::operator= ( const SeqDur sd)

Assignment operator that makes this duration object become a copy of 'sd'

§ set_duration()

SeqDur& SeqDur::set_duration ( float  duration)

Sets the duration


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