Fawkes API Fawkes Development Version
ProtoboardPlugin< IfaceManagerTs > Class Template Reference

The main class template that generates a domain-specific plugin. More...

#include <plugin.h>

Inheritance diagram for ProtoboardPlugin< IfaceManagerTs >:

Public Member Functions

 ProtoboardPlugin (fawkes::Configuration *cfg)
 Initializes all threads required for the plugin. More...
 
- Public Member Functions inherited from fawkes::Plugin
 Plugin (Configuration *config)
 Constructor. More...
 
virtual ~Plugin ()
 Virtual destructor. More...
 
void set_name (const char *name)
 Set plugin name. More...
 
const char * name () const
 Get the name of the plugin. More...
 
ThreadListthreads ()
 Get a list of threads. More...
 
virtual bool persistent ()
 Determines if the plugin can be unloaded. More...
 

Additional Inherited Members

- Protected Attributes inherited from fawkes::Plugin
ThreadList thread_list
 Thread list member. More...
 
Configurationconfig
 Fawkes configuration. More...
 

Detailed Description

template<class... IfaceManagerTs>
class ProtoboardPlugin< IfaceManagerTs >

The main class template that generates a domain-specific plugin.

Template Parameters
IfaceManagerTsA list of bb_iface_manager instantiations that specify what message types should be handled on a given interface type.

Definition at line 37 of file plugin.h.

Constructor & Destructor Documentation

◆ ProtoboardPlugin()

template<class... IfaceManagerTs>
ProtoboardPlugin< IfaceManagerTs >::ProtoboardPlugin ( fawkes::Configuration cfg)
inline

Initializes all threads required for the plugin.

Parameters
cfgThe fawkes config

Definition at line 44 of file plugin.h.

References fawkes::ThreadList::push_back(), protoboard::ProtobufThead::set_bb_manager(), protoboard::BlackboardManager::set_protobuf_sender(), and fawkes::Plugin::thread_list.


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