List of all members.
template<class CntType, class ParamType>
class CControllerMixer< CntType, ParamType >
Constructor & Destructor Documentation
template<class CntType , class ParamType >
template<class CntType , class ParamType >
Member Function Documentation
template<class CntType , class ParamType >
Ziskani parametru
- Returns:
- ukazatel na parametr
template<class CntType , class ParamType >
Zjisteni zda jsou v zaregistrovany nejake controllery
- Returns:
- ano, ne
template<class CntType , class ParamType >
Normalizace vah, tak aby soucet vsech vah byl 1
template<class CntType , class ParamType >
Zaregistruje novy controller. Vaha je udavana jako ukazatel, na ktery muze byt navazan jiny controller.
Vaha muze byt vetsi nez 1. Takovy controller prevezme uplnou okntrolu nad hodnotou parametru. (Pokud tedy bude dostatek zbyvajici vahy) Lze registrovat je controllery, ktere maji stejny parametr jako prvni zaregistrovany.
- Parameters:
-
| cnt | ukazatel na controller |
| weight | ukazatel na vahu |
template<class CntType , class ParamType >
Odregistruje controller
- Parameters:
-
| cnt | ukazatel na controller, ktery ma byt odebran, pokud neexistuje nic se neprovede |
template<class CntType , class ParamType >
Aktualizace controlleru, u vsech controlleru se zavola update a takto nove vznikle hodnoty parametru se linearne smichaji.
Pouziva se zbyvajici vaha, ktera se na zacatku rovna 1 a postupne jak se zprocovavaji controllery se od ni odecita vaha daneho
controlleru. Pokud je vaha = 0, update metoda konci a to i kdyby nebyly zpracovany vsechny controllery.
- Parameters:
-
Implements CController.
The documentation for this class was generated from the following file: