synfig-core
1.0.3
|
#include <module.h>
Public Types | |
typedef etl::handle< Module > | Handle |
typedef etl::loose_handle< Module > | LooseHandle |
typedef etl::handle< const Module > | ConstHandle |
typedef Module *(* | constructor_type )(ProgressCallback *) |
typedef std::map< String, Handle > | Book |
Public Member Functions | |
bool | constructor_ (synfig::ProgressCallback *) |
virtual void | destructor_ () |
virtual const char * | Name () |
Virtual Modules properties wrappers. Must be defined in the modules classes. | |
virtual const char * | Desc () |
virtual const char * | Author () |
virtual const char * | Version () |
virtual const char * | Copyright () |
virtual | ~Module () |
Static Public Member Functions | |
static Book & | book () |
static bool | subsys_init (const String &prefix) |
static bool | subsys_stop () |
static void | register_default_modules (ProgressCallback *cb=NULL) |
Register not optional modules. | |
static void | Register (Handle mod) |
Register Module by handle. | |
static bool | Register (const String &module_name, ProgressCallback *cb=NULL) |
Register Module by name. | |
static void | Register (Module *mod) |
Register Module by instance pointer. |
typedef etl::handle<Module> synfig::Module::Handle |
typedef etl::loose_handle<Module> synfig::Module::LooseHandle |
typedef etl::handle<const Module> synfig::Module::ConstHandle |
typedef Module*(* synfig::Module::constructor_type)(ProgressCallback *) |
typedef std::map<String, Handle > synfig::Module::Book |
|
inlinevirtual |
References destructor_().
|
inline |
|
inlinevirtual |
Referenced by ~Module().
|
static |
References book_.
Referenced by OptionsProcessor::process_info_options().
|
static |
Inits the book of importers and add the paths to search for the ltdl library utilities.
References _, book_, and synfig::error().
Referenced by synfig::Main::Main().
|
static |
References book_.
Referenced by synfig::Main::Main().
|
static |
|
static |
Register Module by handle.
Referenced by synfig::Main::Main().
|
static |
Register Module by name.
References _, synfig::ProgressCallback::error(), synfig::ProgressCallback::task(), and synfig::ProgressCallback::warning().
|
inlinestatic |
|
inlinevirtual |
Virtual Modules properties wrappers. Must be defined in the modules classes.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
References SYNFIG_COPYRIGHT.