Moka controlers
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros
GMap3d::CParameterSelection Class Reference

#include <parameter-selection.hh>

Inheritance diagram for GMap3d::CParameterSelection:
CParameter

Public Member Functions

 CParameterSelection (CControlerGMap *AMap, int ANbSelectionLevels, int ANbRef=0)
 
 CParameterSelection (const CParameterSelection &)
 
virtual ~CParameterSelection ()
 
virtual CParametercopy () 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 ()
 

Detailed Description

Definition at line 36 of file parameter-selection.hh.

Constructor & Destructor Documentation

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.

CParameterSelection::~CParameterSelection ( )
virtual

Definition at line 72 of file parameter-selection.cc.

Member Function Documentation

CParameter * CParameterSelection::copy ( ) const
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
Returns
la valeur de FChanged.

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.

int CParameterSelection::getType ( ) const
virtual

Identificateur du type de paramètre.

Implements CParameter.

Definition at line 108 of file parameter-selection.cc.

void CParameterSelection::load ( std::istream &  )
virtual

Implements CParameter.

Definition at line 87 of file parameter-selection.cc.

void CParameterSelection::reinit ( )
virtual

Implements CParameter.

Definition at line 90 of file parameter-selection.cc.

void CParameterSelection::save ( std::ostream &  )
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.


The documentation for this class was generated from the following files: