ODIN
|
#include <seqdur.h>
Public Member Functions | |
SeqDur (const STD_string &object_label, float duration) | |
SeqDur (const STD_string &object_label="unnamedSeqDur") | |
SeqDur (const SeqDur &sd) | |
SeqDur & | set_duration (float duration) |
double | get_duration () const |
SeqDur & | operator= (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 | |
SeqClass & | set_temporary () |
Public Member Functions inherited from Labeled | |
Labeled (const STD_string &label="unnamed") | |
Labeled & | set_label (const STD_string &label) |
const STD_string & | get_label () const |
Labeled & | operator= (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 () |
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.
SeqDur::SeqDur | ( | const STD_string & | object_label, |
float | duration | ||
) |
Construct a duration object with the given 'object_label' and the specified 'duration'
SeqDur::SeqDur | ( | const STD_string & | object_label = "unnamedSeqDur" | ) |
Construct an empty duration object with the given label
SeqDur::SeqDur | ( | const SeqDur & | sd | ) |
Construct a duration object which is a copy of 'sd'
|
virtual |
Assignment operator that makes this duration object become a copy of 'sd'
SeqDur& SeqDur::set_duration | ( | float | duration | ) |
Sets the duration