Moka controlers
|
#include <parameter-preview.hh>
Public Member Functions | |
virtual int | getType () const |
Identificateur du type de paramètre. | |
Constructeur et destructeur | |
CParameterPreview (int ANbRef=0) | |
CParameterPreview (const CParameterPreview &) | |
CParameter * | copy () const |
virtual | ~CParameterPreview () |
Sauvegarde et chargement des paramètres | |
virtual void | save (std::ostream &) |
virtual void | load (std::istream &) |
virtual void | reinit () |
Accesseurs pour la taille des lignes | |
int | getLWPreview () const |
void | setLWPreview (int) |
int | getLWPreviewPoint () const |
void | setLWPreviewPoint (int) |
Accesseurs pour les couleurs | |
float | getCLPreview (int AIndice) const |
const float * | getCLPreview () const |
void | setCLPreview (int AIndice, float AValue) |
void | setCLPreview (float AValue0, float AValue1, float AValue2) |
void | setCLPreview (const float ATab[3]) |
float | getCLPreviewBad (int AIndice) const |
const float * | getCLPreviewBad () const |
void | setCLPreviewBad (int AIndice, float AValue) |
void | setCLPreviewBad (float AValue0, float AValue1, float AValue2) |
void | setCLPreviewBad (const float ATab[3]) |
Public Member Functions inherited from CParameter | |
CParameter (unsigned int ANbRef=0) | |
CParameter (const CParameter &AParameter) | |
virtual | ~CParameter () |
void | incNbRef (unsigned int AValue=1) |
void | decNbRef (unsigned int AValue=1) |
unsigned int | getNbRef () const |
virtual void | addPrecompileToUpdate (CPrecompile *) |
virtual void | removePrecompileToUpdate (CPrecompile *) |
virtual void | putAllNeedToUpdate () |
Friends | |
std::ostream & | operator<< (std::ostream &, const CParameterPreview &) |
Fonctions amies pour lire et écrire dans un flux. | |
std::istream & | operator>> (std::istream &, CParameterPreview &) |
Definition at line 45 of file parameter-preview.hh.
CParameterPreview::CParameterPreview | ( | int | ANbRef = 0 | ) |
Constructeur
Definition at line 33 of file parameter-preview.cc.
CParameterPreview::CParameterPreview | ( | const CParameterPreview & | AParam | ) |
Definition at line 40 of file parameter-preview.cc.
|
virtual |
Destructeur
Definition at line 49 of file parameter-preview.cc.
|
virtual |
Equivalent d'un constructeur par recopie, mais en méthode virtuelle pour le polymorphisme.
Implements CParameter.
Definition at line 52 of file parameter-preview.cc.
float CParameterPreview::getCLPreview | ( | int | AIndice | ) | const |
Definition at line 144 of file parameter-preview.cc.
const float * CParameterPreview::getCLPreview | ( | ) | const |
Definition at line 158 of file parameter-preview.cc.
float CParameterPreview::getCLPreviewBad | ( | int | AIndice | ) | const |
Definition at line 175 of file parameter-preview.cc.
const float * CParameterPreview::getCLPreviewBad | ( | ) | const |
Definition at line 189 of file parameter-preview.cc.
int CParameterPreview::getLWPreview | ( | ) | const |
Definition at line 122 of file parameter-preview.cc.
int CParameterPreview::getLWPreviewPoint | ( | ) | const |
Definition at line 133 of file parameter-preview.cc.
|
virtual |
Identificateur du type de paramètre.
Implements CParameter.
Definition at line 206 of file parameter-preview.cc.
|
virtual |
load
Méthode permettant de récupérer les valeurs des variables membres.
Implements CParameter.
Definition at line 58 of file parameter-preview.cc.
|
virtual |
reinit
Reinitialise le paramètre.
Implements CParameter.
Definition at line 61 of file parameter-preview.cc.
|
virtual |
save
Méthode permettant de sauver les valeurs des variables membres.
Implements CParameter.
Definition at line 55 of file parameter-preview.cc.
void CParameterPreview::setCLPreview | ( | int | AIndice, |
float | AValue | ||
) |
Definition at line 149 of file parameter-preview.cc.
void CParameterPreview::setCLPreview | ( | float | AValue0, |
float | AValue1, | ||
float | AValue2 | ||
) |
Definition at line 160 of file parameter-preview.cc.
void CParameterPreview::setCLPreview | ( | const float | ATab[3] | ) |
Definition at line 172 of file parameter-preview.cc.
void CParameterPreview::setCLPreviewBad | ( | int | AIndice, |
float | AValue | ||
) |
Definition at line 180 of file parameter-preview.cc.
void CParameterPreview::setCLPreviewBad | ( | float | AValue0, |
float | AValue1, | ||
float | AValue2 | ||
) |
Definition at line 191 of file parameter-preview.cc.
void CParameterPreview::setCLPreviewBad | ( | const float | ATab[3] | ) |
Definition at line 203 of file parameter-preview.cc.
void CParameterPreview::setLWPreview | ( | int | AValue | ) |
Definition at line 124 of file parameter-preview.cc.
void CParameterPreview::setLWPreviewPoint | ( | int | AValue | ) |
Definition at line 135 of file parameter-preview.cc.
|
friend |
Fonctions amies pour lire et écrire dans un flux.
|
friend |