Moka controlers
|
#include <parameter-selection.hh>
Public Member Functions | |
CParameterSelection (CControlerGMap *AMap, int ANbSelectionLevels, int ANbRef=0) | |
CParameterSelection (const CParameterSelection &) | |
virtual | ~CParameterSelection () |
virtual CParameter * | copy () const |
virtual void | save (std::ostream &) |
virtual void | load (std::istream &) |
virtual void | reinit () |
int | getNbSelectionLevels () const |
int | getSelectionLevel () const |
int | getNextSelectionLevel (int AIndex=1) const |
void | setSelectionLevel (int ALevel) |
bool | getHalfSelection () const |
void | setHalfSelection (bool ABool) |
int | getSelectionMark () const |
int | getSelectionMark (int ALevel) const |
int | getNextSelectionMark (int AIndex=1) const |
TOrbit | getSelectionOrbit () const |
void | setSelectionOrbit (TOrbit AOrbit) |
void | setNextSelectionOrbit () |
CDart * | getLastSelectedDart () const |
CDart * | getLastSelectedDart (int ALevel) const |
CDart * | getNextLastSelectedDart (int AIndex=1) const |
void | setLastSelectedDart (CDart *ALastDart) |
void | setLastSelectedDart (int ALevel, CDart *ALastDart) |
void | unsetLastSelectedDart () |
void | unsetLastSelectedDart (int ALevel) |
void | unsetNextLastSelectedDart (int AIndex=1) |
void | unsetAllLastSelectedDarts () |
void | swapLevels (int ALevel1, int ALevel2) |
bool | getChanged () const |
void | setChanged () |
Met à vrai la variable FChanged et répercute aux précompiles concernés. | |
void | unsetChanged () |
Met à faux la variable FChanged sans repercution sur les précompiles. | |
virtual int | getType () const |
Identificateur du type de paramètre. | |
void | toggleOrbitSelection (CDart *ADart) |
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 () |
Definition at line 36 of file parameter-selection.hh.
CParameterSelection::CParameterSelection | ( | CControlerGMap * | AMap, |
int | ANbSelectionLevels, | ||
int | ANbRef = 0 |
||
) |
Definition at line 31 of file parameter-selection.cc.
CParameterSelection::CParameterSelection | ( | const CParameterSelection & | AParam | ) |
Definition at line 54 of file parameter-selection.cc.
|
virtual |
Definition at line 72 of file parameter-selection.cc.
|
virtual |
Equivalent d'un constructeur par recopie, mais en méthode virtuelle pour le polymorphisme.
Implements CParameter.
Definition at line 81 of file parameter-selection.cc.
bool CParameterSelection::getChanged | ( | ) | const |
Definition at line 93 of file parameter-selection.cc.
bool CParameterSelection::getHalfSelection | ( | ) | const |
Definition at line 156 of file parameter-selection.cc.
CDart * CParameterSelection::getLastSelectedDart | ( | ) | const |
Definition at line 162 of file parameter-selection.cc.
CDart * CParameterSelection::getLastSelectedDart | ( | int | ALevel | ) | const |
Definition at line 165 of file parameter-selection.cc.
int CParameterSelection::getNbSelectionLevels | ( | ) | const |
Definition at line 111 of file parameter-selection.cc.
CDart * CParameterSelection::getNextLastSelectedDart | ( | int | AIndex = 1 | ) | const |
Definition at line 171 of file parameter-selection.cc.
int CParameterSelection::getNextSelectionLevel | ( | int | AIndex = 1 | ) | const |
Definition at line 117 of file parameter-selection.cc.
int CParameterSelection::getNextSelectionMark | ( | int | AIndex = 1 | ) | const |
Definition at line 139 of file parameter-selection.cc.
int CParameterSelection::getSelectionLevel | ( | ) | const |
Definition at line 114 of file parameter-selection.cc.
int CParameterSelection::getSelectionMark | ( | ) | const |
Definition at line 130 of file parameter-selection.cc.
int CParameterSelection::getSelectionMark | ( | int | ALevel | ) | const |
Definition at line 133 of file parameter-selection.cc.
TOrbit CParameterSelection::getSelectionOrbit | ( | ) | const |
Definition at line 142 of file parameter-selection.cc.
|
virtual |
Identificateur du type de paramètre.
Implements CParameter.
Definition at line 108 of file parameter-selection.cc.
|
virtual |
Implements CParameter.
Definition at line 87 of file parameter-selection.cc.
|
virtual |
Implements CParameter.
Definition at line 90 of file parameter-selection.cc.
|
virtual |
Implements CParameter.
Definition at line 84 of file parameter-selection.cc.
void CParameterSelection::setChanged | ( | ) |
Met à vrai la variable FChanged et répercute aux précompiles concernés.
Definition at line 96 of file parameter-selection.cc.
void CParameterSelection::setHalfSelection | ( | bool | ABool | ) |
Definition at line 159 of file parameter-selection.cc.
void CParameterSelection::setLastSelectedDart | ( | CDart * | ALastDart | ) |
Definition at line 174 of file parameter-selection.cc.
void CParameterSelection::setLastSelectedDart | ( | int | ALevel, |
CDart * | ALastDart | ||
) |
Definition at line 184 of file parameter-selection.cc.
void CParameterSelection::setNextSelectionOrbit | ( | ) |
Definition at line 151 of file parameter-selection.cc.
void CParameterSelection::setSelectionLevel | ( | int | ALevel | ) |
Definition at line 120 of file parameter-selection.cc.
void CParameterSelection::setSelectionOrbit | ( | TOrbit | AOrbit | ) |
Definition at line 145 of file parameter-selection.cc.
void CParameterSelection::swapLevels | ( | int | ALevel1, |
int | ALevel2 | ||
) |
Definition at line 224 of file parameter-selection.cc.
void CParameterSelection::toggleOrbitSelection | ( | CDart * | ADart | ) |
Definition at line 242 of file parameter-selection.cc.
void CParameterSelection::unsetAllLastSelectedDarts | ( | ) |
Definition at line 218 of file parameter-selection.cc.
void CParameterSelection::unsetChanged | ( | ) |
Met à faux la variable FChanged sans repercution sur les précompiles.
Definition at line 105 of file parameter-selection.cc.
void CParameterSelection::unsetLastSelectedDart | ( | ) |
Definition at line 195 of file parameter-selection.cc.
void CParameterSelection::unsetLastSelectedDart | ( | int | ALevel | ) |
Definition at line 204 of file parameter-selection.cc.
void CParameterSelection::unsetNextLastSelectedDart | ( | int | AIndex = 1 | ) |
Definition at line 215 of file parameter-selection.cc.