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