Fawkes API Fawkes Development Version
protoboard::AbstractProtobufSender::handle_messages Struct Reference

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...

#include <blackboard_manager.h>

Public Member Functions

template<class IfaceT , class MessageT >
void operator() (const bb_iface_manager< IfaceT, type_list< MessageT > > &iface_mgr) const
 Handle a specific blackboard message type on a given interface manager. More...
 
template<class IfaceT , class MessageT1 , class... MessageTs>
void operator() (const bb_iface_manager< IfaceT, type_list< MessageT1, MessageTs... > > &iface_mgr) const
 Iterate through all given message types on a certain interface and handle them individually. More...
 

Public Attributes

BlackboardManagermanager
 Pointer to the main thread. More...
 

Detailed Description

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.

Definition at line 141 of file blackboard_manager.h.

Member Function Documentation

◆ operator()() [1/2]

template<class IfaceT , class MessageT >
void protoboard::AbstractProtobufSender::handle_messages::operator() ( const bb_iface_manager< IfaceT, type_list< MessageT > > &  iface_mgr) const

Handle a specific blackboard message type on a given interface manager.

Template Parameters
IfaceTthe interface type handled by the interface manager
MessageTthe current
Parameters
iface_mgra bb_iface_manager for a specific message type

Definition at line 296 of file blackboard_manager.h.

References manager.

◆ operator()() [2/2]

template<class IfaceT , class MessageT1 , class... MessageTs>
void protoboard::AbstractProtobufSender::handle_messages::operator() ( const bb_iface_manager< IfaceT, type_list< MessageT1, MessageTs... > > &  iface_mgr) const

Iterate through all given message types on a certain interface and handle them individually.

Template Parameters
IfaceTthe interface type
MessageT1First message type in the list
MessageTsRemaining message types
Parameters
iface_mgra bb_iface_manager with a list of message type to go through

Definition at line 304 of file blackboard_manager.h.

Member Data Documentation

◆ manager

BlackboardManager* protoboard::AbstractProtobufSender::handle_messages::manager

Pointer to the main thread.

Definition at line 144 of file blackboard_manager.h.

Referenced by operator()().


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