Fawkes API
Fawkes Development Version
|
The main class template that generates a domain-specific plugin. More...
#include <plugin.h>
Public Member Functions | |
ProtoboardPlugin (fawkes::Configuration *cfg) | |
Initializes all threads required for the plugin. More... | |
![]() | |
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... | |
ThreadList & | threads () |
Get a list of threads. More... | |
virtual bool | persistent () |
Determines if the plugin can be unloaded. More... | |
Additional Inherited Members | |
![]() | |
ThreadList | thread_list |
Thread list member. More... | |
Configuration * | config |
Fawkes configuration. More... | |
![]() | |
typedef Plugin *(* | PluginFactoryFunc) (fawkes::Configuration *) |
Plugin loader function for the shared library Do not use directly, rather use the EXPORT_PLUGIN macro. More... | |
typedef void(* | PluginDestroyFunc) (Plugin *plugin) |
Plugin destructor function for the shared library. More... | |
The main class template that generates a domain-specific plugin.
IfaceManagerTs | A list of bb_iface_manager instantiations that specify what message types should be handled on a given interface type. |
|
inline |
Initializes all threads required for the plugin.
cfg | The 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.