|
Public Member Functions |
| void | AddData (const accessor &data, string name=string()) |
| void | AddDefaultRules () |
| void | AddRules (rules_function_t r) |
| void | AddWindow (wxWindow *w) |
| rule_base * | Assign (const accessor &value, const accessor &data) |
| rule_base * | Assign (rule_base *rule) |
| void | AssignTwoWay (const accessor &value, const accessor &data) |
| void | AssignTwoWay (wxWindow *w, const accessor &a) |
| void | AssignTwoWay (const string &windowName, const string &dataName) |
| void | Clear () |
| accessor | GetAccessor (string name) |
| | Get an accessor for the variable 'name'.
|
| accessor | GetWindowAccessor (string name, bool addChangeMonitor=true) |
| | Get an accessor for a window attribute.
|
| RapidUI & | operator<< (rules_function_t r) |
| RapidUI & | operator<< (const accessor &data) |
| RapidUI & | operator<< (wxWindow *w) |
| void | Pause () |
| | Pause the RapidUI mechanism.
|
| | RapidUI (void) |
| void | RemoveWindow (wxWindow *w) |
| void | Resume () |
| | Resume the RapidUI mechanism.
|
| void | SetDataPrefix (string dataPrefix) |
| | Set the data prefix for names.
|
| void | SetWindowPrefix (string wndPrefix) |
| | Set the window prefix for names.
|
| void | Start () |
| bool | ValueChanged (const const_accessor &value, bool recursive, bool solve_immediately=true) |
| | Tells the solver that a value has changed.
|
| | ~RapidUI (void) |
Protected Types |
| typedef vector< accessor > | DataList |
| typedef vector< string > | DataName |
| typedef vector< rules_function_t > | RulesList |
| typedef vector< wxWindow * > | WindowList |
Protected Member Functions |
| void | AddDefaultRulesForWindow (wxWindow *w) |
| wxWindow * | FindWindow (wxWindow *searchThis, const wxString &name, bool recursive) const |
| wxWindow * | FindWindow (const string &name, bool recursive=true) const |
| accessor | GetDataAccessor (const string &name, bool recursive=true) const |
| accessor | GetWindowAccessor (wxWindow *w, const string &attributeName) |
| accessor | GetWindowAccessor (wxWindow *w) |
| accessor | GetWindowDefaultValueAccessor (wxWindow *w) |
| virtual accessor | lookup_variable (const string &name) |
| string | MakeUniqueName (const accessor &a) const |
| | Create a unique name for accessor 'a'.
|
Protected Attributes |
| DataList | m_dataList |
| DataName | m_dataName |
| string | m_dataNamespace |
| string | m_dataPrefix |
| bool | m_defaultRulesAdded |
| | true if the default rules have been added.
|
| RulesList | m_rulesList |
| constraint_solver | m_solver |
| WindowList | m_windowList |
| string | m_wndNamespace |
| string | m_wndPrefix |