Roue#

#include <Roue.h>
Brief description

Classe Roue utilisee dans Champ_Inc_Base.

How to reference this class#

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Roue <class-roue>`
[Roue](#class-roue)

Detailed description#

Permet de gerer le nombre de valeurs du temps pour lesquels le champ doit rester en memoire.

List of Public Methods#

Complete Member Function Documentation#

ajouter_case#

Definition
void Roue::ajouter_case(int n=1)
Brief description

Ajoute n cases a la Roue .

Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Roue::ajouter_case(int n=1) <roue-public-void-roue-ajouter-case-int-n-equal-1>`
[void Roue::ajouter_case(int n=1)](#roue-public-void-roue-ajouter-case-int-n-equal-1)

avancer#

Definition
void Roue::avancer(Roue_ptr &ptr)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Roue::avancer(Roue_ptr &ptr) <roue-public-void-roue-avancer-roue-ptr-ref-ptr>`
[void Roue::avancer(Roue_ptr &ptr)](#roue-public-void-roue-avancer-roue-ptr-ref-ptr)

changer_temps#

Definition
double Roue::changer_temps(const double t)
Brief description

Change le temps de la Roue .

Detailed description
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Roue::changer_temps(const double t) <roue-public-double-roue-changer-temps-const-double-t>`
[double Roue::changer_temps(const double t)](#roue-public-double-roue-changer-temps-const-double-t)

dimensionner#

Definition
void Roue::dimensionner(int nb_val)
Brief description

Dimensionne (1D) les valeurs de la Roue et des ses roues futures.

Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Roue::dimensionner(int nb_val) <roue-public-void-roue-dimensionner-int-nb-val>`
[void Roue::dimensionner(int nb_val)](#roue-public-void-roue-dimensionner-int-nb-val)

dimensionner#

Definition
void Roue::dimensionner(int nb_val, int nb_comp)
Brief description

Dimensionne (2D) les valeurs de la Roue et des ses roues futures.

Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Roue::dimensionner(int nb_val, int nb_comp) <roue-public-void-roue-dimensionner-int-nb-val-int-nb-comp>`
[void Roue::dimensionner(int nb_val, int nb_comp)](#roue-public-void-roue-dimensionner-int-nb-val-int-nb-comp)

fixer_nb_cases#

Definition
int Roue::fixer_nb_cases(int)
Brief description

Change le nombre de cases de la Roue .

Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Roue::fixer_nb_cases(int) <roue-public-int-roue-fixer-nb-cases-int>`
[int Roue::fixer_nb_cases(int)](#roue-public-int-roue-fixer-nb-cases-int)

futur#

Definition
Roue & Roue::futur(int i=1)
Brief description

Retourne la Roue correspondant a la ieme case future.

Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Roue & Roue::futur(int i=1) <roue-public-roue-ref-roue-futur-int-i-equal-1>`
[Roue & Roue::futur(int i=1)](#roue-public-roue-ref-roue-futur-int-i-equal-1)

futur#

Definition
const Roue & Roue::futur(int i=1) const
Brief description

Retourne la Roue correspondant a la ieme case future.

Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const Roue & Roue::futur(int i=1) const <roue-public-const-roue-ref-roue-futur-int-i-equal-1-const>`
[const Roue & Roue::futur(int i=1) const](#roue-public-const-roue-ref-roue-futur-int-i-equal-1-const)

nb_cases#

operator =#

Definition
Roue & Roue::operator=(const Roue &)
Brief description

Affectation d’une Roue Les attibuts modifies sont le temps, les valeurs, le nombre de cases et les valeurs des cases futures.

Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Roue & Roue::operator=(const Roue &) <roue-public-roue-ref-roue-operator-equal-const-roue-ref>`
[Roue & Roue::operator=(const Roue &)](#roue-public-roue-ref-roue-operator-equal-const-roue-ref)

passe#

Definition
Roue & Roue::passe(int i=1)
Brief description

Retourne la Roue correspondant a la ieme case passee.

Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Roue & Roue::passe(int i=1) <roue-public-roue-ref-roue-passe-int-i-equal-1>`
[Roue & Roue::passe(int i=1)](#roue-public-roue-ref-roue-passe-int-i-equal-1)

passe#

Definition
const Roue & Roue::passe(int i=1) const
Brief description

Retourne la Roue correspondant a la ieme case passee.

Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const Roue & Roue::passe(int i=1) const <roue-public-const-roue-ref-roue-passe-int-i-equal-1-const>`
[const Roue & Roue::passe(int i=1) const](#roue-public-const-roue-ref-roue-passe-int-i-equal-1-const)

reculer#

Definition
void Roue::reculer(Roue_ptr &ptr)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Roue::reculer(Roue_ptr &ptr) <roue-public-void-roue-reculer-roue-ptr-ref-ptr>`
[void Roue::reculer(Roue_ptr &ptr)](#roue-public-void-roue-reculer-roue-ptr-ref-ptr)

Roue#

Definition
Roue::Roue()
Brief description

Constructeur Construit une roue avec une seule case, au temps t = 0.

Detailed description
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Roue::Roue() <roue-public-roue-roue>`
[Roue::Roue()](#roue-public-roue-roue)

Roue#

Definition
Roue::Roue(const Roue &)
Brief description

Constructeur par copie Le temps, les valeurs et les valeurs des Roues futures sont copies.

Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Roue::Roue(const Roue &) <roue-public-roue-roue-const-roue-ref>`
[Roue::Roue(const Roue &)](#roue-public-roue-roue-const-roue-ref)

supprimer_case#

Definition
void Roue::supprimer_case(int n=1)
Brief description

Supprime n cases de la Roue .

Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Roue::supprimer_case(int n=1) <roue-public-void-roue-supprimer-case-int-n-equal-1>`
[void Roue::supprimer_case(int n=1)](#roue-public-void-roue-supprimer-case-int-n-equal-1)

temps#

Definition
double Roue::temps() const
Brief description

Retoune la valeur du temps de la Roue .

Detailed description
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Roue::temps() const <roue-public-double-roue-temps-const>`
[double Roue::temps() const](#roue-public-double-roue-temps-const)

valeurs#

Definition
DoubleTab & Roue::valeurs()
Brief description

Retourne le tableau des valeurs de la Roue .

Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`DoubleTab & Roue::valeurs() <roue-public-doubletab-ref-roue-valeurs>`
[DoubleTab & Roue::valeurs()](#roue-public-doubletab-ref-roue-valeurs)

valeurs#

Definition
const DoubleTab & Roue::valeurs() const
Brief description

Retourne le tableau des valeurs de la Roue .

Detailed description
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const DoubleTab & Roue::valeurs() const <roue-public-const-doubletab-ref-roue-valeurs-const>`
[const DoubleTab & Roue::valeurs() const](#roue-public-const-doubletab-ref-roue-valeurs-const)

~Roue#

Definition
Roue::~Roue()
Brief description

Desctructeur.

Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Roue::~Roue() <roue-public-roue-dtor-roue>`
[Roue::~Roue()](#roue-public-roue-dtor-roue)

Attributes Documentation#

futur_ (private)
Roue_ptr Roue::futur_
nb_cases_ (private)
int Roue::nb_cases_
passe_ (private)
Roue_ptr Roue::passe_
temps_ (private)
double Roue::temps_
valeurs_ (private)
DoubleTab Roue::valeurs_