ODIN
|
Sequence Loop. More...
#include <seqloop.h>
Public Member Functions | |
SeqObjLoop (const STD_string &object_label="unnamedSeqObjLoop") | |
SeqObjLoop (const SeqObjLoop &sl) | |
SeqObjLoop & | operator= (const SeqObjLoop &sl) |
double | get_preduration () const |
double | get_postduration () const |
SeqObjLoop & | set_body (const SeqObjBase &so) |
SeqObjLoop & | set_times (unsigned int t) |
SeqObjLoop & | operator() (const SeqObjBase &embeddedBody) |
SeqObjLoop & | operator[] (const SeqVector &seqvector) |
SeqObjLoop & | operator[] (unsigned int t) |
int | get_times () const |
STD_string | get_program (programContext &context) const |
double | get_duration () const |
unsigned int | event (eventContext &context) const |
SeqValList | get_freqvallist (freqlistAction action) const |
SeqValList | get_delayvallist () const |
double | get_rf_energy () const |
void | query (queryContext &context) const |
RecoValList | get_recovallist (unsigned int reptimes, LDRkSpaceCoords &coords) const |
STD_string | get_properties () const |
Public Member Functions inherited from SeqCounter | |
SeqCounter (const STD_string &object_label="unnamedSeqCounter") | |
SeqCounter (const SeqCounter &sc) | |
SeqCounter & | operator= (const SeqCounter &sc) |
Public Member Functions inherited from SeqTreeObj | |
bool | contains (const SeqTreeObj *sto) const |
void | tree (SeqTreeCallbackAbstract *display) 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) |
Public Member Functions inherited from SeqObjList | |
SeqObjList (const STD_string &object_label="unnamedSeqObjList") | |
SeqObjList (const SeqObjList &so) | |
SeqObjList & | operator= (const SeqObjList &so) |
SeqObjList & | operator= (const SeqObjLoop &sl) |
SeqObjList & | operator= (const SeqDecoupling &sd) |
SeqObjList & | operator= (const SeqObjBase &soa) |
SeqObjList & | operator= (SeqGradObjInterface &sgoa) |
SeqObjList & | operator= (SeqGradChan &sgc) |
SeqObjList & | operator= (SeqGradChanList &sgcl) |
SeqObjList & | operator+= (const SeqObjBase &soa) |
SeqObjList & | operator+= (SeqGradObjInterface &sgoa) |
SeqObjList & | operator+= (SeqGradChan &sgc) |
SeqObjList & | operator+= (SeqGradChanList &sgcl) |
SeqObjList & | set_gradrotmatrixvector (const SeqRotMatrixVector &matrixVec) |
Public Member Functions inherited from List< SeqObjBase, const SeqObjBase *, const SeqObjBase & > | |
List () | |
~List () | |
List & | operator= (const List &l) |
List & | clear () |
List & | append (const SeqObjBase & item) |
List & | remove (const SeqObjBase & item) |
unsigned int | size () const |
iter | get_begin () |
iter | get_end () |
constiter | get_const_begin () const |
constiter | get_const_end () const |
Additional Inherited Members | |
Public Types inherited from List< SeqObjBase, const SeqObjBase *, const SeqObjBase & > | |
typedef STD_list< const SeqObjBase * >::iterator | iter |
typedef STD_list< const SeqObjBase * >::const_iterator | constiter |
Protected Member Functions inherited from SeqClass | |
void | marshall_error () const |
Static Protected Member Functions inherited from SeqClass | |
static void | clear_temporary () |
static void | clear_containers () |
Sequence Loop.
This class represents a loop which is used to enclose other sequence objects so that they are repeatedely played out in the sequence
SeqObjLoop::SeqObjLoop | ( | const STD_string & | object_label = "unnamedSeqObjLoop" | ) |
Construct an empty loop object with the given label
SeqObjLoop::SeqObjLoop | ( | const SeqObjLoop & | sl | ) |
Constructs a copy of 'sl'
|
virtual |
Queries the sequence tree for events, returns the number of events executed
Reimplemented from SeqObjList.
|
virtual |
Returns the list of delay values in the objects branch of the sequence tree
Reimplemented from SeqObjList.
|
virtual |
Returns the duration of the sequence object.
Reimplemented from SeqObjList.
|
virtual |
Returns the list of frequency values in the objects branch of the sequence tree
Reimplemented from SeqObjList.
double SeqObjLoop::get_postduration | ( | ) | const |
Duration the loop itself takes after its kernel is iterated
double SeqObjLoop::get_preduration | ( | ) | const |
Duration the loop itself takes before iteration is started
|
virtual |
Returns the part in the pulse/gradient program of this sequence object. 'context' holds data about how the program should be generated, e.g. type of program and formatting.
Reimplemented from SeqObjList.
|
virtual |
Returns a string describing the object
Reimplemented from SeqObjList.
|
virtual |
Appends the k-space coordinates in this branch of the sequence tree to 'coords' and returns their ordering
Reimplemented from SeqObjList.
|
virtual |
Returns the RF power deposition in the objects branch of the sequence tree. The physical unit is unspecified, it depends on the current platform.
Reimplemented from SeqObjList.
|
virtual |
The number of iterations of this counter object
Reimplemented from SeqCounter.
SeqObjLoop& SeqObjLoop::operator() | ( | const SeqObjBase & | embeddedBody | ) |
Generates and returns a new loop object that is a copy of this. The new loop will loop over 'embeddedBody'.
SeqObjLoop& SeqObjLoop::operator= | ( | const SeqObjLoop & | sl | ) |
Assignment operator that makes this loop object become a copy of 'sl'
SeqObjLoop& SeqObjLoop::operator[] | ( | const SeqVector & | seqvector | ) |
This operator will append 'seqvector' to the list of vectors the loop will iterate through
SeqObjLoop& SeqObjLoop::operator[] | ( | unsigned int | t | ) |
This operator specifies the number of times the body of the loop will be repeated
|
virtual |
Query the sequence tree recursively
Reimplemented from SeqObjList.
SeqObjLoop& SeqObjLoop::set_body | ( | const SeqObjBase & | so | ) |
Sets the inner part of loop, only useful for explicit setup of loops, i.e. in SeqEpiDriverDefault
SeqObjLoop& SeqObjLoop::set_times | ( | unsigned int | t | ) |
Specify the number of times the body of the loop will be repeated, only useful for explicit setup of loops, i.e. in SeqEpiDriverDefault