roviz  0.7
Code Documentation of roviz
Public Member Functions | List of all members
ConfigImplBaseDev Class Referenceabstract

Base class of ConfigImplDev that doesn't depend on the type of the config. More...

#include <config_impl_base_dev.h>

Inheritance diagram for ConfigImplBaseDev:
Inheritance graph
Collaboration diagram for ConfigImplBaseDev:
Collaboration graph

Public Member Functions

virtual QWidget * widget (void) const =0
 Get a widget representing this config type. More...
 
virtual void load (void)=0
 Load the value of this config from the settings scope. More...
 
virtual void refresh (void)=0
 Notify the item that the config value changed. More...
 
- Public Member Functions inherited from ConfigImpl
virtual void * value (void)=0
 Get the value of the config. More...
 
virtual void lock (void)=0
 Lock the mutex of the config. More...
 
virtual void unlock (void)=0
 Unlock the mutex of the config. More...
 
virtual bool changed (void)=0
 Check if the config value changed. More...
 

Detailed Description

Base class of ConfigImplDev that doesn't depend on the type of the config.

See also
Config
ConfigImpl
ConfigImplDev

Member Function Documentation

◆ load()

virtual void ConfigImplBaseDev::load ( void  )
pure 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.

See also
ConfigImplDev::load

Implemented in ConfigImplDev< T >, ConfigImplDev< T >, ConfigImplDev< T >, ConfigImplDev< T >, ConfigImplDev< T >, ConfigImplDev< T >, and ConfigImplDev< T >.

Here is the caller graph for this function:

◆ refresh()

virtual void ConfigImplBaseDev::refresh ( void  )
pure virtual

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.

See also
ConfigImplDev::refresh

Implemented in ConfigImplDev< T >.

◆ widget()

virtual QWidget* ConfigImplBaseDev::widget ( void  ) const
pure virtual

Get a widget representing this config type.

Returns
A QWidget representing the config

This is the widget that is shown when you open the config dialog

Implemented in ConfigImplDev< T >.


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