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