23 #include <blackboard/bbconfig.h>
24 #include <blackboard/blackboard.h>
25 #include <blackboard/shmem/header.h>
26 #include <blackboard/shmem/lister.h>
27 #include <config/sqlite.h>
28 #include <utils/ipc/shm.h>
36 main(
int argc,
char **argv)
41 std::string token =
"";
43 token = config.
get_string(
"/fawkes/mainapp/blackboard_magic_token");
45 cout <<
"Could not read shared memory token for blackboard." << endl;
46 cout <<
"BlackBoard is probably running without shared memory." << endl;
52 SharedMemory::list(token.c_str(), bbsh, bblister);
BlackBoard shared memory lister.
virtual void load(const char *file_path)=0
Load configuration.
virtual std::string get_string(const char *path)=0
Get value from configuration which is of type string.
Base class for exceptions in Fawkes.
Configuration storage using SQLite.
Fawkes library namespace.