|
libpsynth 0.2.1
|
A backend for a config system. More...
#include <config.hpp>


Public Member Functions | |
| virtual | ~conf_backend () |
| Virtual destructor. | |
| virtual void | attach (conf_node &node)=0 |
| This is called when the backend has been attached to a node. | |
| virtual void | datach (conf_node &node)=0 |
| This is called when the backend has been detached from a node. | |
| virtual void | save (conf_node &node)=0 |
| Permanently store the data of the config. | |
| virtual void | load (conf_node &node)=0 |
| Load the data -and the hierarchy- in the phisical medium. | |
| virtual void | def_load (conf_node &node)=0 |
Load the data -and the hierarchy- in the phisical medim, but using def functions instead of so the old values al preserved if the user has already set them. | |
A backend for a config system.
It implements the actual phisical storing of the data.
| virtual psynth::base::conf_backend::~conf_backend | ( | ) | [inline, virtual] |
Virtual destructor.
| virtual void psynth::base::conf_backend::attach | ( | conf_node & | node | ) | [pure virtual] |
This is called when the backend has been attached to a node.
This allows the backend to start listening to its events in case it provides live update.
| node | The node to which it has been attached. |
Implemented in psynth::base::conf_backend_xml.
| virtual void psynth::base::conf_backend::datach | ( | conf_node & | node | ) | [pure virtual] |
This is called when the backend has been detached from a node.
This allows the backend to stop listening to its events in case it provides live update.
| node | The node to which it has been attached. |
Implemented in psynth::base::conf_backend_xml.
| virtual void psynth::base::conf_backend::def_load | ( | conf_node & | node | ) | [pure virtual] |
Load the data -and the hierarchy- in the phisical medim, but using def functions instead of so the old values al preserved if the user has already set them.
Implemented in psynth::base::conf_backend_xml.
| virtual void psynth::base::conf_backend::load | ( | conf_node & | node | ) | [pure virtual] |
Load the data -and the hierarchy- in the phisical medium.
| node | Where to load the data. |
Implemented in psynth::base::conf_backend_xml.
| virtual void psynth::base::conf_backend::save | ( | conf_node & | node | ) | [pure virtual] |
Permanently store the data of the config.
| node | The config to store. |
Implemented in psynth::base::conf_backend_xml.
1.7.4