GNU Radio 3.7.1 C++ API
|
Class to control configuration of logger. This is a singleton that cna launch a thread to wathc a config file for changes. More...
#include <logger.h>
Static Public Member Functions | |
static std::string | get_filename () |
Getter for config filename. | |
static unsigned int | get_watch_period () |
Getter for watch period. | |
static void | load_config (std::string filename, unsigned int watch_period=0) |
Method to load configuration /param filename Name of configuration file /param watch_period Seconds between checks for changes in config file. | |
static void | stop_watch () |
Method to stop watcher thread. | |
static void | reset_config (void) |
method to reset logger configuration |
Class to control configuration of logger. This is a singleton that cna launch a thread to wathc a config file for changes.
static std::string gr::logger_config::get_filename | ( | ) | [static] |
Getter for config filename.
static unsigned int gr::logger_config::get_watch_period | ( | ) | [static] |
Getter for watch period.
static void gr::logger_config::load_config | ( | std::string | filename, |
unsigned int | watch_period = 0 |
||
) | [static] |
Method to load configuration /param filename Name of configuration file /param watch_period Seconds between checks for changes in config file.
static void gr::logger_config::reset_config | ( | void | ) | [static] |
method to reset logger configuration
static void gr::logger_config::stop_watch | ( | ) | [static] |
Method to stop watcher thread.