Fawkes API Fawkes Development Version
|
Abstract superclass for sending out ProtoBuf messages. More...
#include <blackboard_manager.h>
Classes | |
struct | handle_messages |
Functor that iterates over all message types that should be handled on a given interface type and calls the approate handlers for each message type in turn. More... | |
Public Member Functions | |
AbstractProtobufSender (BlackboardManager *bb_mgr) | |
Constructor. More... | |
virtual | ~AbstractProtobufSender () |
Destructor. More... | |
virtual void | process_sending_interfaces ()=0 |
Go through all interface managers, empty all blackboard message queues and send out ProtoBuf messages accordingly. More... | |
virtual void | init ()=0 |
Deferred initialization, coincides with the main thread. More... | |
virtual void | finalize ()=0 |
Deferred cleanup, concides with the main thread. More... | |
Protected Attributes | |
BlackboardManager * | bb_manager |
Pointer to the main thread that uses this. More... | |
Abstract superclass for sending out ProtoBuf messages.
Definition at line 113 of file blackboard_manager.h.
protoboard::AbstractProtobufSender::AbstractProtobufSender | ( | BlackboardManager * | bb_mgr | ) |
Constructor.
bb_mgr | The BlackboardManager that uses this |
Definition at line 33 of file blackboard_manager.cpp.
|
virtual |
Destructor.
Definition at line 37 of file blackboard_manager.cpp.
|
pure virtual |
Deferred cleanup, concides with the main thread.
Implemented in protoboard::ProtobufSender< IfaceManagerTs >.
|
pure virtual |
Deferred initialization, coincides with the main thread.
Implemented in protoboard::ProtobufSender< IfaceManagerTs >.
|
pure virtual |
Go through all interface managers, empty all blackboard message queues and send out ProtoBuf messages accordingly.
Implemented in protoboard::ProtobufSender< IfaceManagerTs >.
|
protected |
Pointer to the main thread that uses this.
Definition at line 135 of file blackboard_manager.h.
Referenced by protoboard::ProtobufSender< IfaceManagerTs >::process_sending_interfaces().