37 #ifndef H_OGF_BASIC_MODULES_MODULE_H
38 #define H_OGF_BASIC_MODULES_MODULE_H
75 const std::string&
name() {
128 version_ = version_in;
207 const std::string& module_name,
Module* module
230 std::string version_;
Base class for reference-counted objects.
A smart pointer with reference-counted copy semantics.
Represents information associated with a module (i.e. a plugin).
virtual ~Module()
Module destructor.
bool is_system() const
Tests whether this module belongs to the Graphite base system.
bool is_dynamic() const
Tests whether this module is dynamic.
void set_version(const std::string &version_in)
Sets the version of the module.
Module()
Module constructor.
void set_is_dynamic(bool b)
Sets the is_dynamic flag of this module.
static Module * resolve_module(const std::string &module_name)
Retreives a Module object by name.
static bool bind_module(const std::string &module_name, Module *module)
Declares a Module object to the ModuleManager.
const std::string & version()
Gets the version string.
const std::string & name()
Gets the name of the module.
void set_name(const std::string &name_in)
Sets the name of the module.
void set_vendor(const std::string &vendor_in)
Sets the vendor of the module.
void set_info(const std::string &info_in)
Sets the information string associated with this module.
void set_is_system(bool x)
Sets the is_system flag of this module.
static bool unbind_module(const std::string &module_name)
Removes a Module object from the ModuleManager.
const std::string & info()
Gets the information string.
const std::string & vendor()
Gets the vendor of this module.
Global Graphite namespace.
SmartPointer< Module > Module_var
An automatic reference-counted pointer to a Module object.
Definitions common to all include files in the basic library.