

Public Member Functions | |
| void | registerVar (const VariablePtr &rcVar, const string &rName) |
| Register a named variable in the manager. | |
| void | registerVar (const VariablePtr &rcVar) |
| Register an anonymous variable in the manager. | |
| Variable * | getVar (const string &rName) |
| Get a variable by its name (NULL if not found). | |
| Variable * | getVar (const string &rName, const string &rType) |
| Get a variable by its name and check the type (NULL if not found). | |
| VarText & | getTooltipText () |
| Get the tooltip text variable. | |
| VarText & | getHelpText () |
| Get the help text variable. | |
| void | registerConst (const string &rName, const string &rValue) |
| Register a constant value. | |
| string | getConst (const string &rName) |
| Get a constant value by its name. | |
Static Public Member Functions | |
| static VarManager * | instance (intf_thread_t *pIntf) |
| Get the instance of VarManager. | |
| static void | destroy (intf_thread_t *pIntf) |
| Delete the instance of VarManager. | |
| VarManager * VarManager::instance | ( | intf_thread_t * | pIntf | ) | [static] |
Get the instance of VarManager.
References intf_thread_t::p_sys, and intf_sys_t::p_varManager.
Referenced by GenericLayout::GenericLayout(), GenericWindow::GenericWindow(), VarText::get(), Interpreter::getConstant(), Interpreter::getVarBool(), Interpreter::getVarList(), Interpreter::getVarPercent(), Interpreter::getVarTree(), TopWindow::onControlRelease(), TopWindow::onTooltipChange(), IniFile::parseFile(), TopWindow::processEvent(), Run(), VarText::set(), Tooltip::Tooltip(), TopWindow::TopWindow(), VlcProc::VlcProc(), WindowManager::WindowManager(), and Tooltip::~Tooltip().
| void VarManager::destroy | ( | intf_thread_t * | pIntf | ) | [static] |
Delete the instance of VarManager.
References intf_thread_t::p_sys, and intf_sys_t::p_varManager.
Referenced by Run().
| void VarManager::registerVar | ( | const VariablePtr & | rcVar, | |
| const string & | rName | |||
| ) |
Register a named variable in the manager.
Referenced by GenericLayout::GenericLayout(), GenericWindow::GenericWindow(), Interpreter::getVarBool(), TopWindow::TopWindow(), VlcProc::VlcProc(), and WindowManager::WindowManager().
| void VarManager::registerVar | ( | const VariablePtr & | rcVar | ) |
Register an anonymous variable in the manager.
| Variable * VarManager::getVar | ( | const string & | rName | ) |
Get a variable by its name (NULL if not found).
Referenced by Interpreter::getVarBool(), Interpreter::getVarList(), Interpreter::getVarPercent(), and Interpreter::getVarTree().
| Variable * VarManager::getVar | ( | const string & | rName, | |
| const string & | rType | |||
| ) |
Get a variable by its name and check the type (NULL if not found).
References SkinObject::getIntf(), Variable::getType(), and msg_Warn.
| VarText& VarManager::getTooltipText | ( | ) | [inline] |
Get the tooltip text variable.
Referenced by TopWindow::onControlRelease(), TopWindow::onTooltipChange(), Tooltip::Tooltip(), and Tooltip::~Tooltip().
| VarText& VarManager::getHelpText | ( | ) | [inline] |
Get the help text variable.
Referenced by VarText::get(), TopWindow::processEvent(), and VarText::set().
| void VarManager::registerConst | ( | const string & | rName, | |
| const string & | rValue | |||
| ) |
| string VarManager::getConst | ( | const string & | rName | ) |
1.5.6