Fawkes API
Fawkes Development Version
|
Remote configuration via Fawkes net. More...
#include <>>
Classes | |
class | NetConfValueIterator |
Network configuration value iterator. More... | |
Public Member Functions | |
NetworkConfiguration (FawkesNetworkClient *c, unsigned int mirror_timeout_sec=15) | |
Constructor. More... | |
virtual | ~NetworkConfiguration () |
Destructor. More... | |
virtual void | copy (Configuration *copyconf) |
Copy all values from the given configuration. More... | |
virtual void | add_change_handler (ConfigurationChangeHandler *h) |
Add a configuration change handler. More... | |
virtual void | rem_change_handler (ConfigurationChangeHandler *h) |
Remove a configuration change handler. More... | |
virtual void | load (const char *file_path) |
Load configuration. More... | |
virtual bool | exists (const char *path) |
Check if a given value exists. More... | |
virtual bool | is_float (const char *path) |
Check if a value is of type float. More... | |
virtual bool | is_uint (const char *path) |
Check if a value is of type unsigned int. More... | |
virtual bool | is_int (const char *path) |
Check if a value is of type int. More... | |
virtual bool | is_bool (const char *path) |
Check if a value is of type bool. More... | |
virtual bool | is_string (const char *path) |
Check if a value is of type string. More... | |
virtual bool | is_list (const char *path) |
Check if a value is a list. More... | |
virtual bool | is_default (const char *path) |
Check if a value was read from the default config. More... | |
virtual float | get_float (const char *path) |
Get value from configuration which is of type float. More... | |
virtual unsigned int | get_uint (const char *path) |
Get value from configuration which is of type unsigned int. More... | |
virtual int | get_int (const char *path) |
Get value from configuration which is of type int. More... | |
virtual bool | get_bool (const char *path) |
Get value from configuration which is of type bool. More... | |
virtual std::string | get_string (const char *path) |
Get value from configuration which is of type string. More... | |
virtual std::vector< float > | get_floats (const char *path) |
Get list of values from configuration which is of type float. More... | |
virtual std::vector< unsigned int > | get_uints (const char *path) |
Get list of values from configuration which is of type unsigned int. More... | |
virtual std::vector< int > | get_ints (const char *path) |
Get list of values from configuration which is of type int. More... | |
virtual std::vector< bool > | get_bools (const char *path) |
Get list of values from configuration which is of type bool. More... | |
virtual std::vector< std::string > | get_strings (const char *path) |
Get list of values from configuration which is of type string. More... | |
virtual ValueIterator * | get_value (const char *path) |
Get value from configuration. More... | |
virtual std::string | get_comment (const char *path) |
Get comment of value at given path. More... | |
virtual std::string | get_default_comment (const char *path) |
Get comment of value at given path. More... | |
virtual std::string | get_type (const char *path) |
Get type of field. More... | |
virtual void | set_float (const char *path, float f) |
Set new value in configuration of type float. More... | |
virtual void | set_uint (const char *path, unsigned int uint) |
Set new value in configuration of type unsigned int. More... | |
virtual void | set_int (const char *path, int i) |
Set new value in configuration of type int. More... | |
virtual void | set_bool (const char *path, bool b) |
Set new value in configuration of type bool. More... | |
virtual void | set_string (const char *path, std::string &s) |
Set new value in configuration of type string. More... | |
virtual void | set_string (const char *path, const char *s) |
Set new value in configuration of type string. More... | |
virtual void | set_floats (const char *path, std::vector< float > &f) |
Set new value in configuration of type float. More... | |
virtual void | set_uints (const char *path, std::vector< unsigned int > &uint) |
Set new value in configuration of type unsigned int. More... | |
virtual void | set_ints (const char *path, std::vector< int > &i) |
Set new value in configuration of type int. More... | |
virtual void | set_bools (const char *path, std::vector< bool > &b) |
Set new value in configuration of type bool. More... | |
virtual void | set_strings (const char *path, std::vector< std::string > &s) |
Set new value in configuration of type string. More... | |
virtual void | set_strings (const char *path, std::vector< const char *> &s) |
Set new value in configuration of type string. More... | |
virtual void | set_comment (const char *path, std::string &comment) |
Set new comment for existing value. More... | |
virtual void | set_comment (const char *path, const char *comment) |
Set new comment for existing value. More... | |
virtual void | erase (const char *path) |
Erase the given value from the configuration. More... | |
virtual void | set_default_float (const char *path, float f) |
Set new default value in configuration of type float. More... | |
virtual void | set_default_uint (const char *path, unsigned int uint) |
Set new default value in configuration of type unsigned int. More... | |
virtual void | set_default_int (const char *path, int i) |
Set new default value in configuration of type int. More... | |
virtual void | set_default_bool (const char *path, bool b) |
Set new default value in configuration of type bool. More... | |
virtual void | set_default_string (const char *path, std::string &s) |
Set new default value in configuration of type string. More... | |
virtual void | set_default_string (const char *path, const char *s) |
Set new default value in configuration of type string. More... | |
virtual void | set_default_comment (const char *path, std::string &comment) |
Set new default comment for existing default configuration value. More... | |
virtual void | set_default_comment (const char *path, const char *comment) |
Set new default comment for existing default configuration value. More... | |
virtual void | erase_default (const char *path) |
Erase the given default value from the configuration. More... | |
virtual void | deregistered (unsigned int id) throw () |
We are no longer registered in Fawkes network client. More... | |
virtual void | inbound_received (FawkesNetworkMessage *msg, unsigned int id) throw () |
Called for incoming messages. More... | |
virtual void | connection_died (unsigned int id) throw () |
Client connection died. More... | |
virtual void | connection_established (unsigned int id) throw () |
Client has established a connection. More... | |
virtual void | set_mirror_mode (bool mirror) |
Enable or disable mirror mode. More... | |
ValueIterator * | iterator () |
Iterator for all values. More... | |
ValueIterator * | iterator_default () |
Iterator for all default values. More... | |
ValueIterator * | iterator_hostspecific () |
Iterator for all host-specific values. More... | |
ValueIterator * | search (const char *path) |
Iterator with search results. More... | |
void | lock () |
Lock the config. More... | |
bool | try_lock () |
Try to lock the config. More... | |
void | unlock () |
Unlock the config. More... | |
virtual void | try_dump () |
Try to dump configuration. More... | |
![]() | |
virtual | ~Configuration () |
Virtual empty destructor. More... | |
![]() | |
virtual | ~FawkesNetworkClientHandler () |
Empty virtual destructor. More... | |
Additional Inherited Members | |
![]() | |
typedef std::list< ConfigurationChangeHandler * > | ChangeHandlerList |
List that contains pointers to ConfigurationChangeHandler. More... | |
typedef std::multimap< const char *, ConfigurationChangeHandler *, StringLess > | ChangeHandlerMultimap |
Multimap string to config change handlers. More... | |
typedef std::pair< ChangeHandlerMultimap::iterator, ChangeHandlerMultimap::iterator > | ChangeHandlerMultimapRange |
Config change handler multimap range. More... | |
![]() | |
ChangeHandlerList * | find_handlers (const char *path) |
Find handlers for given path. More... | |
void | notify_handlers (const char *path, bool comment_changed=false) |
Notify handlers for given path. More... | |
![]() | |
ChangeHandlerMultimap | _change_handlers |
Registered change handlers. More... | |
ChangeHandlerMultimapRange | _ch_range |
Change handler range. More... | |
Remote configuration via Fawkes net.
This implementation of the Configuration interface allows for remote access to a Fawkes process implemented using the ConfigurationManager.
The network configuration can operator in two modes. In mirror and in non-mirror mode. The non-mirror mode is recommended if only a few operations have to be carried out like getting only a very few values or setting a single value. The mirror mode is for longer usage periods and on-the-fly updates. In mirror mode the complete configuration is copied once from the Fawkes process and then all updates are incorporated into the local database. You can register change handlers to be notified as soon as someone modifies a value.
fawkes::NetworkConfiguration::NetworkConfiguration | ( | FawkesNetworkClient * | c, |
unsigned int | mirror_timeout_sec = 15 |
||
) |
Constructor.
c | Fawkes network client (thread). |
mirror_timeout_sec | timeout in seconds for initiating mirroring |
Definition at line 78 of file netconf.cpp.
References fawkes::Exception::append(), fawkes::FawkesNetworkClient::connected(), and fawkes::FawkesNetworkClient::register_handler().
|
virtual |
Destructor.
Definition at line 101 of file netconf.cpp.
|
virtual |
Add a configuration change handler.
The added handler is called whenever a value changes and the handler desires to get notified for the given component.
h | configuration change handler |
Reimplemented from fawkes::Configuration.
Definition at line 1300 of file netconf.cpp.
References fawkes::Configuration::add_change_handler().
|
virtual |
Client connection died.
This method is used to inform handlers that the connection has died for any reason. No more data can be send and no more messages should be enqueued because it is unclear when they would be sent.
id | the id of the calling client |
Implements fawkes::FawkesNetworkClientHandler.
Definition at line 1282 of file netconf.cpp.
|
virtual |
Client has established a connection.
Whenever the client establishes a connection this is signaled to handlers with this method. You can register to a client at any time, you may even enqueue messages to a client while the connection is dead. If the client at some point gets connected again, the messages will then be send out in one go. You should use this in your application though to only send data if the connection is alive and you should let the user know about the connection status.
id | the id of the calling client |
Implements fawkes::FawkesNetworkClientHandler.
Definition at line 1292 of file netconf.cpp.
|
virtual |
Copy all values from the given configuration.
All values from the given configuration are copied. Old values are not erased so that the copied values will overwrite existing values, new values are created, but values existent in current config but not in the copie config will remain unchanged.
copyconf | configuration to copy |
Implements fawkes::Configuration.
Definition at line 127 of file netconf.cpp.
References fawkes::Configuration::ValueIterator::get_bool(), fawkes::Configuration::ValueIterator::get_float(), fawkes::Configuration::ValueIterator::get_int(), fawkes::Configuration::ValueIterator::get_string(), fawkes::Configuration::ValueIterator::get_uint(), fawkes::Configuration::ValueIterator::is_bool(), fawkes::Configuration::ValueIterator::is_float(), fawkes::Configuration::ValueIterator::is_int(), fawkes::Configuration::ValueIterator::is_string(), fawkes::Configuration::ValueIterator::is_uint(), fawkes::Configuration::iterator(), fawkes::Configuration::lock(), fawkes::Configuration::ValueIterator::next(), fawkes::Configuration::ValueIterator::path(), and fawkes::Configuration::unlock().
|
virtual |
We are no longer registered in Fawkes network client.
Ignored.
id | the id of the calling client |
Implements fawkes::FawkesNetworkClientHandler.
Definition at line 959 of file netconf.cpp.
|
virtual |
Erase the given value from the configuration.
It is not an error if the value does not exists before deletion.
path | path to value |
Implements fawkes::Configuration.
Definition at line 941 of file netconf.cpp.
Referenced by LaserDeadSpotCalibrator::num_detected_spots(), and ConfigChangeWatcherTool::run().
|
virtual |
Erase the given default value from the configuration.
It is not an error if the value does not exists before deletion.
path | path to value |
Implements fawkes::Configuration.
Definition at line 948 of file netconf.cpp.
Referenced by LaserDeadSpotCalibrator::num_detected_spots(), and ConfigChangeWatcherTool::run().
|
virtual |
Check if a given value exists.
path | path to value |
Implements fawkes::Configuration.
Definition at line 150 of file netconf.cpp.
References fawkes::Configuration::ValueIterator::valid().
|
virtual |
Get value from configuration which is of type bool.
path | path to value |
Implements fawkes::Configuration.
Definition at line 427 of file netconf.cpp.
References fawkes::Exception::append(), fawkes::Exception::Exception(), and fawkes::config_descriptor_t::num_values.
|
virtual |
Get list of values from configuration which is of type bool.
path | path to value |
Implements fawkes::Configuration.
Definition at line 556 of file netconf.cpp.
|
virtual |
Get comment of value at given path.
The value at the given path must exist in the host-specific configuration.
path | path to value |
ConfigEntryNotFoundException | shall be thrown if value does not exist |
ConfigurationException | shall be thrown on any other error |
Implements fawkes::Configuration.
Definition at line 569 of file netconf.cpp.
References fawkes::Exception::append(), and fawkes::config_comment_msg_t::s.
|
virtual |
Get comment of value at given path.
The value at the given path must exist in the default configuration.
path | path to value |
ConfigEntryNotFoundException | shall be thrown if value does not exist |
ConfigurationException | shall be thrown on any other error |
Implements fawkes::Configuration.
Definition at line 619 of file netconf.cpp.
References fawkes::Exception::append(), and fawkes::config_comment_msg_t::s.
|
virtual |
Get value from configuration which is of type float.
path | path to value |
Implements fawkes::Configuration.
Definition at line 262 of file netconf.cpp.
References fawkes::Exception::append(), fawkes::Exception::Exception(), and fawkes::config_descriptor_t::num_values.
|
virtual |
Get list of values from configuration which is of type float.
path | path to value |
Implements fawkes::Configuration.
Definition at line 538 of file netconf.cpp.
|
virtual |
Get value from configuration which is of type int.
path | path to value |
Implements fawkes::Configuration.
Definition at line 372 of file netconf.cpp.
References fawkes::Exception::append(), fawkes::Exception::Exception(), and fawkes::config_descriptor_t::num_values.
|
virtual |
Get list of values from configuration which is of type int.
path | path to value |
Implements fawkes::Configuration.
Definition at line 550 of file netconf.cpp.
|
virtual |
Get value from configuration which is of type string.
path | path to value |
Implements fawkes::Configuration.
Definition at line 482 of file netconf.cpp.
References fawkes::Exception::append(), fawkes::Exception::Exception(), fawkes::config_descriptor_t::num_values, and fawkes::config_string_value_t::s_length.
|
virtual |
Get list of values from configuration which is of type string.
path | path to value |
Implements fawkes::Configuration.
Definition at line 562 of file netconf.cpp.
|
virtual |
Get type of field.
path | path |
Implements fawkes::Configuration.
Definition at line 174 of file netconf.cpp.
References fawkes::Configuration::ValueIterator::type().
|
virtual |
Get value from configuration which is of type unsigned int.
path | path to value |
Implements fawkes::Configuration.
Definition at line 317 of file netconf.cpp.
References fawkes::Exception::append(), fawkes::Exception::Exception(), and fawkes::config_descriptor_t::num_values.
|
virtual |
Get list of values from configuration which is of type unsigned int.
path | path to value |
Implements fawkes::Configuration.
Definition at line 544 of file netconf.cpp.
|
virtual |
Get value from configuration.
path | path to value |
Implements fawkes::Configuration.
Definition at line 670 of file netconf.cpp.
References fawkes::Exception::append(), fawkes::config_getval_msg_t::cp, fawkes::FawkesNetworkMessage::msgge(), fawkes::config_descriptor_t::num_values, fawkes::config_descriptor_t::path, and fawkes::FawkesNetworkMessage::payload().
Referenced by ConfigChangeWatcherTool::run().
|
virtual |
Called for incoming messages.
This is called when an incoming message has been received. If this method was called one or more times then the a previously carried out wait(cid) call will continue.
m | Message to handle |
id | the id of the calling client |
Implements fawkes::FawkesNetworkClientHandler.
Definition at line 965 of file netconf.cpp.
References fawkes::config_value_erased_msg_t::cp, fawkes::config_comment_msg_t::cp, fawkes::config_list_entity_header_t::cp, fawkes::ConfigListContent::has_next(), fawkes::config_descriptor_t::is_default, fawkes::LibLogger::log_warn(), fawkes::ConfigListContent::next(), fawkes::config_descriptor_t::num_values, fawkes::config_descriptor_t::path, fawkes::config_comment_msg_t::s, fawkes::config_string_value_t::s_length, and fawkes::config_list_entity_header_t::type.
|
virtual |
Check if a value is of type bool.
path | path to value |
Implements fawkes::Configuration.
Definition at line 213 of file netconf.cpp.
|
virtual |
Check if a value was read from the default config.
path | path to value |
Implements fawkes::Configuration.
Definition at line 160 of file netconf.cpp.
References fawkes::Configuration::ValueIterator::is_default().
|
virtual |
Check if a value is of type float.
path | path to value |
Implements fawkes::Configuration.
Definition at line 192 of file netconf.cpp.
|
virtual |
Check if a value is of type int.
path | path to value |
Implements fawkes::Configuration.
Definition at line 206 of file netconf.cpp.
|
virtual |
Check if a value is a list.
path | path to value |
Implements fawkes::Configuration.
Definition at line 226 of file netconf.cpp.
References fawkes::config_getval_msg_t::cp, fawkes::Exception::Exception(), and fawkes::config_descriptor_t::path.
|
virtual |
Check if a value is of type string.
path | path to value |
Implements fawkes::Configuration.
Definition at line 220 of file netconf.cpp.
|
virtual |
Check if a value is of type unsigned int.
path | path to value |
Implements fawkes::Configuration.
Definition at line 199 of file netconf.cpp.
|
virtual |
Iterator for all values.
Returns an iterator that can be used to iterate over all values in the current configuration, it will value the overlay. If a default and a host-specific value exists you will only see the host-specific value.
Implements fawkes::Configuration.
Definition at line 1401 of file netconf.cpp.
References fawkes::Exception::Exception().
Referenced by ConfigChangeWatcherTool::run().
Configuration::ValueIterator * fawkes::NetworkConfiguration::iterator_default | ( | ) |
Iterator for all default values.
Returns an iterator that can be used to iterate over all default values in the current default configuration. Note that this might return less paths than available, because the values for which no default entry exists are not returned.
Definition at line 1419 of file netconf.cpp.
References fawkes::Exception::Exception().
Referenced by ConfigChangeWatcherTool::run().
Configuration::ValueIterator * fawkes::NetworkConfiguration::iterator_hostspecific | ( | ) |
Iterator for all host-specific values.
Returns an iterator that can be used to iterate over all host-specific values in the current configuration. Note that this might return less paths than available, because the default values for which no host-specific entry exists are not returned.
Definition at line 1437 of file netconf.cpp.
References fawkes::Exception::Exception().
Referenced by ConfigChangeWatcherTool::run().
|
virtual |
Load configuration.
Loads configuration data, or opens a file, depending on the implementation. After this call access to all other methods shall be possible.
file_path | path of the configuration file. |
Implements fawkes::Configuration.
Definition at line 114 of file netconf.cpp.
|
virtual |
Lock the config.
No further changes or queries can be executed on the configuration and will block until the config is unlocked.
Implements fawkes::Configuration.
Definition at line 1374 of file netconf.cpp.
Referenced by ConfigChangeWatcherTool::run().
|
virtual |
Remove a configuration change handler.
The handler is removed from the change handler list and no longer called on config changes.
h | configuration change handler |
Reimplemented from fawkes::Configuration.
Definition at line 1311 of file netconf.cpp.
References fawkes::Configuration::rem_change_handler().
|
virtual |
Iterator with search results.
Returns an iterator that can be used to iterate over the search results. All values whose path start with the given strings are returned. A call like
is effectively the same as a call to iterator().
path | start of path |
Implements fawkes::Configuration.
Definition at line 1448 of file netconf.cpp.
References fawkes::Exception::Exception().
Referenced by LaserDeadSpotCalibrator::num_detected_spots().
|
virtual |
Set new value in configuration of type bool.
path | path to value |
b | new bool value |
Implements fawkes::Configuration.
Definition at line 793 of file netconf.cpp.
Referenced by ConfigChangeWatcherTool::run().
|
virtual |
Set new value in configuration of type bool.
path | path to value |
b | new bool values |
Implements fawkes::Configuration.
Definition at line 869 of file netconf.cpp.
|
virtual |
Set new comment for existing value.
path | path to value |
comment | new comment string |
Implements fawkes::Configuration.
Definition at line 901 of file netconf.cpp.
Referenced by ConfigChangeWatcherTool::run().
|
virtual |
Set new comment for existing value.
Works like the aforementioned method. Just takes an good ol' char array instead of a std::string.
path | path to value |
comment | new comment string |
Implements fawkes::Configuration.
Definition at line 889 of file netconf.cpp.
|
virtual |
Set new default value in configuration of type bool.
path | path to value |
b | new bool value |
Implements fawkes::Configuration.
Definition at line 801 of file netconf.cpp.
Referenced by ConfigChangeWatcherTool::run().
|
virtual |
Set new default comment for existing default configuration value.
path | path to value |
comment | new comment string |
Implements fawkes::Configuration.
Definition at line 907 of file netconf.cpp.
References fawkes::config_erase_value_msg_t::cp, fawkes::config_descriptor_t::is_default, fawkes::FawkesNetworkMessage::msg(), and fawkes::config_descriptor_t::path.
Referenced by ConfigChangeWatcherTool::run().
|
virtual |
Set new default comment for existing default configuration value.
Works like the aforementioned method. Just takes an good ol' char array instead of a std::string.
path | path to value |
comment | new comment string |
Implements fawkes::Configuration.
Definition at line 895 of file netconf.cpp.
|
virtual |
Set new default value in configuration of type float.
path | path to value |
f | new float value |
Implements fawkes::Configuration.
Definition at line 758 of file netconf.cpp.
Referenced by ConfigChangeWatcherTool::run().
|
virtual |
Set new default value in configuration of type int.
path | path to value |
i | new int value |
Implements fawkes::Configuration.
Definition at line 786 of file netconf.cpp.
Referenced by ConfigChangeWatcherTool::run().
|
virtual |
Set new default value in configuration of type string.
path | path to value |
s | new string value |
Implements fawkes::Configuration.
Definition at line 844 of file netconf.cpp.
Referenced by ConfigChangeWatcherTool::run().
|
virtual |
Set new default value in configuration of type string.
Works like the aforementioned method. Just takes an good ol' char array instead of a std::string.
path | path to value |
s | new string value |
Implements fawkes::Configuration.
Definition at line 823 of file netconf.cpp.
References fawkes::config_string_value_t::s_length.
|
virtual |
Set new default value in configuration of type unsigned int.
path | path to value |
uint | new unsigned int value |
Implements fawkes::Configuration.
Definition at line 772 of file netconf.cpp.
Referenced by ConfigChangeWatcherTool::run().
|
virtual |
Set new value in configuration of type float.
path | path to value |
f | new float value |
Implements fawkes::Configuration.
Definition at line 751 of file netconf.cpp.
Referenced by LaserDeadSpotCalibrator::num_detected_spots(), and ConfigChangeWatcherTool::run().
|
virtual |
Set new value in configuration of type float.
path | path to value |
f | new float values |
Implements fawkes::Configuration.
Definition at line 851 of file netconf.cpp.
|
virtual |
Set new value in configuration of type int.
path | path to value |
i | new int value |
Implements fawkes::Configuration.
Definition at line 779 of file netconf.cpp.
Referenced by ConfigChangeWatcherTool::run().
|
virtual |
Set new value in configuration of type int.
path | path to value |
i | new int values |
Implements fawkes::Configuration.
Definition at line 863 of file netconf.cpp.
|
virtual |
Enable or disable mirror mode.
mirror | true to enable mirror mode, false to disable |
Definition at line 1324 of file netconf.cpp.
References fawkes::CannotEnableMirroringException::CannotEnableMirroringException().
Referenced by LaserDeadSpotCalibrator::num_detected_spots(), and ConfigChangeWatcherTool::run().
|
virtual |
Set new value in configuration of type string.
path | path to value |
s | new string value |
Implements fawkes::Configuration.
Definition at line 837 of file netconf.cpp.
Referenced by ConfigChangeWatcherTool::run().
|
virtual |
Set new value in configuration of type string.
Works like the aforementioned method. Just takes an good ol' char array instead of a std::string.
path | path to value |
s | new string value |
Implements fawkes::Configuration.
Definition at line 809 of file netconf.cpp.
References fawkes::config_string_value_t::s_length.
|
virtual |
Set new value in configuration of type string.
path | path to value |
s | new string values |
Implements fawkes::Configuration.
Definition at line 875 of file netconf.cpp.
|
virtual |
Set new value in configuration of type string.
Works like the aforementioned method. Just takes an good ol' char array instead of a std::string.
path | path to value |
s | new string values |
Implements fawkes::Configuration.
Definition at line 881 of file netconf.cpp.
|
virtual |
Set new value in configuration of type unsigned int.
path | path to value |
uint | new unsigned int value |
Implements fawkes::Configuration.
Definition at line 765 of file netconf.cpp.
Referenced by ConfigChangeWatcherTool::run().
|
virtual |
Set new value in configuration of type unsigned int.
path | path to value |
uint | new unsigned int values |
Implements fawkes::Configuration.
Definition at line 857 of file netconf.cpp.
|
virtual |
Try to dump configuration.
For configuration methods that transform configuration files in a binary format this can be used to write out the text representation on shutdown of Fawkes.
Exception | thrown if dumping fails |
Implements fawkes::Configuration.
Definition at line 1395 of file netconf.cpp.
|
virtual |
Try to lock the config.
Implements fawkes::Configuration.
Definition at line 1381 of file netconf.cpp.
|
virtual |
Unlock the config.
Modifications and queries are possible again.
Implements fawkes::Configuration.
Definition at line 1388 of file netconf.cpp.
Referenced by ConfigChangeWatcherTool::run().