|
libpsynth 0.2.1
|
The psynth class of an observable configuration node. More...
#include <config.hpp>


Public Types | |
| typedef boost::signal< void(conf_node &)> | signal |
Public Member Functions | |
| void | add_listener (conf_listener &l) |
| Register a new listener in the subject connecting all the signals. | |
| void | del_listener (conf_listener &l) |
| Unregister a new listener on this object disconnectin all the signals. | |
Public Attributes | |
| signal | on_change |
| Event emitted whenever the node value is changed. | |
| signal | on_nudge |
| Generic event to notify changes on the node subchilds. | |
| signal | on_add_child |
| Generic event to notify the addition of a child to the config node. | |
| signal | on_del_child |
| Generic event to notify the removal of a child to the config node. | |
The psynth class of an observable configuration node.
| typedef boost::signal<void (conf_node&)> psynth::base::conf_subject::signal |
| void psynth::base::conf_subject::add_listener | ( | conf_listener & | l | ) | [virtual] |
Register a new listener in the subject connecting all the signals.
Implements psynth::base::subject_base< conf_listener >.
| void psynth::base::conf_subject::del_listener | ( | conf_listener & | l | ) | [virtual] |
Unregister a new listener on this object disconnectin all the signals.
Implements psynth::base::subject_base< conf_listener >.
Generic event to notify the addition of a child to the config node.
Event emitted whenever the node value is changed.
Generic event to notify the removal of a child to the config node.
Generic event to notify changes on the node subchilds.
It should be emitted by the user with the nudge () method.
1.7.4