23#include "writer_listener.h"
25#include "sync_thread.h"
27#include <blackboard/blackboard.h>
28#include <logging/logger.h>
52 sync_thread_ = sync_thread;
77 sync_thread_->writer_added(interface);
84 sync_thread_->writer_removed(interface);
Thread to synchronize two BlackBoards.
SyncWriterInterfaceListener(BlackBoardSynchronizationThread *sync_thread, fawkes::Logger *logger, const char *desc)
Constructor.
void add_interface(fawkes::Interface *interface)
Add an interface to listen to.
virtual void bb_interface_writer_removed(fawkes::Interface *interface, fawkes::Uuid instance_serial) noexcept
A writing instance has been closed for a watched interface.
virtual void bb_interface_writer_added(fawkes::Interface *interface, fawkes::Uuid instance_serial) noexcept
A writing instance has been opened for a watched interface.
void remove_interface(fawkes::Interface *interface)
Remove an interface to listen to.
BlackBoard interface listener.
void bbil_remove_writer_interface(Interface *interface)
Remove an interface to the writer addition/removal watch list.
void bbil_add_writer_interface(Interface *interface)
Add an interface to the writer addition/removal watch list.
Base class for all Fawkes BlackBoard interfaces.
A convenience class for universally unique identifiers (UUIDs).
Fawkes library namespace.