|
roviz
0.7
Code Documentation of roviz
|
Dev implementation of the config interface. More...
#include <config_impl_dev.h>


Public Member Functions | |
| template<> | |
| ConfigImplDev (RovizItemBaseDev *parent, const std::string &name, const typename ConfigStorageType< int >::type &default_value, int min, int max, bool restart_when_changed) | |
| template<> | |
| ConfigImplDev (RovizItemBaseDev *parent, const std::string &name, const typename ConfigStorageType< double >::type &default_value, double min, double max, bool restart_when_changed) | |
| template<> | |
| ConfigImplDev (RovizItemBaseDev *parent, const std::string &name, const typename ConfigStorageType< std::string >::type &default_value, std::function< bool(std::string &)> checker, bool restart_when_changed) | |
| template<> | |
| ConfigImplDev (RovizItemBaseDev *parent, const std::string &name, const typename ConfigStorageType< std::list< std::string > >::type &default_value, const std::list< std::string > &possibilities, bool restart_when_changed) | |
| template<> | |
| ConfigImplDev (RovizItemBaseDev *parent, const std::string &name, const typename ConfigStorageType< bool >::type &default_value, bool restart_when_changed) | |
| template<> | |
| ConfigImplDev (RovizItemBaseDev *parent, const std::string &name, const typename ConfigStorageType< FilePath >::type &default_value, FilePath::Mode file_mode, const std::string &filter, bool restart_when_changed) | |
| template<> | |
| void | load (void) |
| Load the value of this config from the settings scope. More... | |
| template<> | |
| void | load (void) |
| Load the value of this config from the settings scope. More... | |
| template<> | |
| void | load (void) |
| Load the value of this config from the settings scope. More... | |
| template<> | |
| void | load (void) |
| Load the value of this config from the settings scope. More... | |
| template<> | |
| void | load (void) |
| Load the value of this config from the settings scope. More... | |
| template<> | |
| void | load (void) |
| Load the value of this config from the settings scope. More... | |
Config interface implementation | |
These are the same parameters that are used in RovizItem.
| |
| ConfigImplDev (RovizItemBaseDev *parent, const std::string &name, const typename ConfigStorageType< T >::type &default_value, int min, int max, bool restart_when_changed) | |
| ConfigImplDev (RovizItemBaseDev *parent, const std::string &name, const typename ConfigStorageType< T >::type &default_value, double min, double max, bool restart_when_changed) | |
| ConfigImplDev (RovizItemBaseDev *parent, const std::string &name, const typename ConfigStorageType< T >::type &default_value, std::function< bool(std::string &)> checker, bool restart_when_changed) | |
| ConfigImplDev (RovizItemBaseDev *parent, const std::string &name, const typename ConfigStorageType< T >::type &default_value, const std::list< std::string > &possibilities, bool restart_when_changed) | |
| ConfigImplDev (RovizItemBaseDev *parent, const std::string &name, const typename ConfigStorageType< T >::type &default_value, bool restart_when_changed) | |
| ConfigImplDev (RovizItemBaseDev *parent, const std::string &name, const typename ConfigStorageType< T >::type &default_value, enum FilePath::Mode file_mode, const std::string &filter, bool restart_when_changed) | |
| QWidget * | widget (void) const override |
| } More... | |
| void | load (void) |
| Load the value of this config from the settings scope. More... | |
| bool | changed (void) override |
| Called, when the config changes are applied. | |
| void | refresh (void) override |
| Notify the item that the config value changed. More... | |
| void | lock (void) override |
| Lock the mutex of the config. More... | |
| void | unlock (void) override |
| Unlock the mutex of the config. More... | |
| void * | value (void) override |
| Get the value of the config. More... | |
Dev implementation of the config interface.
Implements the saving of configs using the itemframeworks settings scope.
|
virtual |
Load the value of this config from the settings scope.
Note: It can't be loaded in the constructor becuaes the settings scope is not valid yet at that time.
Implements ConfigImplBaseDev.
|
virtual |
Load the value of this config from the settings scope.
Note: It can't be loaded in the constructor becuaes the settings scope is not valid yet at that time.
Implements ConfigImplBaseDev.

|
virtual |
Load the value of this config from the settings scope.
Note: It can't be loaded in the constructor becuaes the settings scope is not valid yet at that time.
Implements ConfigImplBaseDev.

|
virtual |
Load the value of this config from the settings scope.
Note: It can't be loaded in the constructor becuaes the settings scope is not valid yet at that time.
Implements ConfigImplBaseDev.

|
virtual |
Load the value of this config from the settings scope.
Note: It can't be loaded in the constructor becuaes the settings scope is not valid yet at that time.
Implements ConfigImplBaseDev.

|
virtual |
Load the value of this config from the settings scope.
Note: It can't be loaded in the constructor becuaes the settings scope is not valid yet at that time.
Implements ConfigImplBaseDev.

|
virtual |
Load the value of this config from the settings scope.
Note: It can't be loaded in the constructor becuaes the settings scope is not valid yet at that time.
Implements ConfigImplBaseDev.

|
overridevirtual |
|
overridevirtual |
Notify the item that the config value changed.
This notifies the config that the user changed the config and that those changes should be propagated to the plugin.
Implements ConfigImplBaseDev.
|
overridevirtual |
|
overridevirtual |
Get the value of the config.
Implements ConfigImpl.

|
overridevirtual |
}
Every config has a widget that is used to adjust the value. This function returns the widget for this config.
Implements ConfigImplBaseDev.
1.8.13