23 #ifndef __BLACKBOARD_LOCAL_H_ 24 #define __BLACKBOARD_LOCAL_H_ 26 #include <blackboard/blackboard.h> 27 #include <core/exceptions/software.h> 33 class BlackBoardInterfaceManager;
34 class BlackBoardMemoryManager;
35 class BlackBoardMessageManager;
36 class BlackBoardNetworkHandler;
37 class BlackBoardNotifier;
39 class InterfaceInfoList;
40 class BlackBoardInterfaceListener;
41 class BlackBoardInterfaceObserver;
42 class FawkesNetworkHub;
53 const char *identifier,
54 const char *owner = NULL);
56 const char *identifier,
57 const char *owner = NULL);
62 const char *id_pattern);
63 virtual bool is_alive()
const throw();
66 virtual std::list<Interface *>
68 const char *id_pattern =
"*",
69 const char *owner = NULL);
73 static void cleanup(
const char *magic_token,
bool use_lister =
false);
LocalBlackBoard(size_t memsize)
Heap Memory Constructor.
virtual Interface * open_for_writing(const char *interface_type, const char *identifier, const char *owner=NULL)
Open interface for writing.
virtual std::list< Interface * > open_multiple_for_reading(const char *type_pattern, const char *id_pattern="*", const char *owner=NULL)
Open multiple interfaces for reading.
static void cleanup(const char *magic_token, bool use_lister=false)
Cleanup orphaned BlackBoard segments.
virtual InterfaceInfoList * list_all()
Get list of all currently existing interfaces.
Fawkes library namespace.
BlackBoard memory manager.
Base class for all Fawkes BlackBoard interfaces.
virtual Interface * open_for_reading(const char *interface_type, const char *identifier, const char *owner=NULL)
Open interface for reading.
virtual void start_nethandler(FawkesNetworkHub *hub)
Start network handler.
Interface information list.
virtual InterfaceInfoList * list(const char *type_pattern, const char *id_pattern)
Get list of interfaces matching type and ID patterns.
virtual void close(Interface *interface)
Close interface.
virtual bool is_alive() const
Check if the BlackBoard is still alive.
BlackBoard message manager.
const BlackBoardMemoryManager * memory_manager() const
Get memory manager.
The BlackBoard abstract class.
BlackBoard Network Handler.
virtual ~LocalBlackBoard()
Destructor.
BlackBoard interface manager.
virtual bool try_aliveness_restore()
Try to restore the aliveness of the BlackBoard instance.