Fawkes API
Fawkes Development Version
|
22 #include "openprs_agent_thread.h"
24 #include <config/config.h>
25 #include <core/plugin.h>
41 bool gdb_delay =
false;
43 std::string mode_s = config->
get_string(
"/openprs-agent/oprs-mode");
44 if (mode_s ==
"XOPRS")
49 gdb_delay = config->
get_bool(
"/openprs-agent/gdb-delay");
56 PLUGIN_DESCRIPTION(
"OpenPRS agent executive")
Agent executive using OpenPRS.
virtual bool get_bool(const char *path)=0
Get value from configuration which is of type bool.
Interface for configuration handling.
Fawkes library namespace.
Mode
OPRS kernel operation mode.
virtual std::string get_string(const char *path)=0
Get value from configuration which is of type string.
OpenPRSAgentPlugin(Configuration *config)
Constructor.
Base class for exceptions in Fawkes.