Fawkes API Fawkes Development Version
protoboard::ProtobufSender< IfaceManagerTs > Class Template Reference

Sends out ProtoBuf messages for all given interface managers. More...

#include <blackboard_manager.h>

Inheritance diagram for protoboard::ProtobufSender< IfaceManagerTs >:

Public Member Functions

 ProtobufSender (BlackboardManager *bb_mgr)
 Constructor. More...
 
virtual void init () override
 Deferred initialization, coincides with the main thread. More...
 
virtual void finalize () override
 Deferred cleanup, concides with the main thread. More...
 
virtual void process_sending_interfaces () override
 Go through all interface managers, empty all blackboard message queues and send out ProtoBuf messages accordingly. More...
 
- Public Member Functions inherited from protoboard::AbstractProtobufSender
 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...
 

Additional Inherited Members

- Protected Attributes inherited from protoboard::AbstractProtobufSender
BlackboardManagerbb_manager
 Pointer to the main thread that uses this. More...
 

Detailed Description

template<class... IfaceManagerTs>
class protoboard::ProtobufSender< IfaceManagerTs >

Sends out ProtoBuf messages for all given interface managers.

Template Parameters
IfaceManagerTsa set of bb_iface_manager instantiations

Definition at line 172 of file blackboard_manager.h.

Constructor & Destructor Documentation

◆ ProtobufSender()

template<class... IfaceManagerTs>
protoboard::ProtobufSender< IfaceManagerTs >::ProtobufSender ( BlackboardManager bb_mgr)

Constructor.

Parameters
bb_mgrA pointer to the main thread

Definition at line 272 of file blackboard_manager.h.

Member Function Documentation

◆ finalize()

template<class... IfaceManagerTs>
void protoboard::ProtobufSender< IfaceManagerTs >::finalize ( )
overridevirtual

Deferred cleanup, concides with the main thread.

Implements protoboard::AbstractProtobufSender.

Definition at line 288 of file blackboard_manager.h.

◆ init()

template<class... IfaceManagerTs>
void protoboard::ProtobufSender< IfaceManagerTs >::init ( )
overridevirtual

Deferred initialization, coincides with the main thread.

Implements protoboard::AbstractProtobufSender.

Definition at line 279 of file blackboard_manager.h.

◆ process_sending_interfaces()

template<class... IfaceManagerTs>
virtual void protoboard::ProtobufSender< IfaceManagerTs >::process_sending_interfaces ( )
inlineoverridevirtual

Go through all interface managers, empty all blackboard message queues and send out ProtoBuf messages accordingly.

Implements protoboard::AbstractProtobufSender.

Definition at line 183 of file blackboard_manager.h.

References protoboard::AbstractProtobufSender::bb_manager.


The documentation for this class was generated from the following file: