Fawkes API
Fawkes Development Version
|
25 #include <core/plugin.h>
26 #include <core/threading/thread.h>
76 _name =
"PluginNameNotSet";
129 _name_alloc = strdup(
name);
132 _name =
"OutOfMemoryForPluginName";
Configuration * config
Fawkes configuration.
ThreadList thread_list
Thread list member.
Plugin(Configuration *config)
Constructor.
void set_name(const char *format,...)
Set name of thread.
virtual ~Plugin()
Virtual destructor.
Interface for configuration handling.
virtual bool persistent()
Determines if the plugin can be unloaded.
Fawkes library namespace.
ThreadList & threads()
Get a list of threads.
void set_name(const char *name)
Set plugin name.
const char * name() const
Get the name of the plugin.