JEMRIS  2.8.1
open-source MRI simulations
ContainerSequence.h
Go to the documentation of this file.
1 
5 /*
6  * JEMRIS Copyright (C)
7  * 2006-2015 Tony Stoecker
8  * 2007-2015 Kaveh Vahedipour
9  * 2009-2015 Daniel Pflugfelder
10  *
11  *
12  * This program is free software; you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation; either version 2 of the License, or
15  * (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25  */
26 
27 #ifndef CONTAINERSEQUENCE_H_
28 #define CONTAINERSEQUENCE_H_
29 
30 #include "ConcatSequence.h"
31 
32 //forward declaration of Container class
33 class Container;
34 
39 
40  friend class Container;
41 
42  public:
43 
48 
53 
58 
62  inline ContainerSequence* Clone() const {return (new ContainerSequence(*this));};
63 
70  virtual bool Prepare (const PrepareMode mode);
71 
75  //virtual void GetValue (double * dAllVal, double const time) {};
76 
83 
84 
90  void SetContainer(Container* pC) { m_container=pC; };
91 
92 
93  protected:
99  virtual string GetInfo () ;
100 
101  private:
102 
104  double m_import [10];
105  double m_export [10];
106  vector<string> m_impexpdoc;
108 };
109 
110 #endif /*CONTAINERSEQUENCE_H_*/
Prototype of a Container.
Definition: Container.h:39
Concat sequence prototype.
Definition: ConcatSequence.h:37
~ContainerSequence()
Default destructor.
Definition: ContainerSequence.h:57
ContainerSequence()
Default constructor.
Definition: ContainerSequence.h:47
vector< string > m_impexpdoc
attributes to export
Definition: ContainerSequence.h:106
ContainerSequence * Clone() const
Definition: ContainerSequence.h:62
double m_export[10]
attributes to export
Definition: ContainerSequence.h:105
Container * GetContainer()
Definition: ContainerSequence.h:82
Implementation of JEMRIS ConcatSequence.
virtual string GetInfo()
Get information on this module.
Definition: ContainerSequence.cpp:121
void SetContainer(Container *pC)
Definition: ContainerSequence.h:90
mode
Definition: Declarations.h:112
double m_import[10]
attributes to import
Definition: ContainerSequence.h:104
Prototype of a SequenceContainer.
Definition: ContainerSequence.h:38
virtual bool Prepare(const PrepareMode mode)
Prepare the delay atomic sequence.
Definition: ContainerSequence.cpp:42
Container * m_container
pointer to the Container
Definition: ContainerSequence.h:103

-- last change 17.06.2016 | Tony Stoecker | Imprint --