24 #ifndef __BLACKBOARD_INTERFACE_OBSERVER_H_ 25 #define __BLACKBOARD_INTERFACE_OBSERVER_H_ 27 #include <core/utils/lock_map.h> 48 const char *id_pattern =
"*")
throw();
50 const char *id_pattern =
"*")
throw();
62 ObservedInterfaceLockMap __bbio_observed_create;
63 ObservedInterfaceLockMap __bbio_observed_destroy;
64 ObservedInterfaceLockMapIterator __bbio_iti;
ObservedInterfaceLockMap::iterator ObservedInterfaceLockMapIterator
Type for iterator of lockable interface type hash sets.
ObservedInterfaceLockMap * bbio_get_observed_destroy()
Get interface destriction type watch list.
virtual void bb_interface_destroyed(const char *type, const char *id)
BlackBoard interface destroyed notification.
Fawkes library namespace.
BlackBoardInterfaceObserver()
Empty constructor.
void bbio_add_observed_destroy(const char *type_pattern, const char *id_pattern="*")
Add interface destruction type to watch list.
void bbio_add_observed_create(const char *type_pattern, const char *id_pattern="*")
Add interface creation type to watch list.
BlackBoard interface observer.
virtual ~BlackBoardInterfaceObserver()
Destructor.
ObservedInterfaceLockMap * bbio_get_observed_create()
Get interface creation type watch list.
virtual void bb_interface_created(const char *type, const char *id)
BlackBoard interface created notification.
LockMap< std::string, std::list< std::string > > ObservedInterfaceLockMap
Type for lockable interface type hash sets.