23 #include <blackboard/local.h>
24 #include <config/sqlite.h>
28 using namespace fawkes;
31 main(
int argc,
char **argv)
36 std::string token =
"";
38 token = config.
get_string(
"/fawkes/mainapp/blackboard_magic_token");
40 cout <<
"Could not read shared memory token for blackboard." << endl;
41 cout <<
"BlackBoard is probably running without shared memory." << endl;
45 LocalBlackBoard::cleanup(token.c_str());
virtual std::string get_string(const char *path)
Get value from configuration which is of type string.
Configuration storage using SQLite.
virtual void load(const char *filename, const char *defaults_filename, const char *tag=NULL)
Load configuration.
Base class for exceptions in Fawkes.