k3d::detail::application_plugin_factory_proxy Class Reference

Proxies plugin factories so we can delay loading shared libraries at runtime until they're needed. More...

Inheritance diagram for k3d::detail::application_plugin_factory_proxy:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 application_plugin_factory_proxy (const uuid &FactoryID, const std::string &Name, const std::string &ShortDescription, const iplugin_factory::categories_t &Categories, const iplugin_factory::quality_t Quality, const iplugin_factory::interfaces_t &Interfaces, const iplugin_factory::metadata_t &Metadata)
const uuidfactory_id ()
 Returns a guaranteed-unique factory ID.
const std::string name ()
 Returns the internal name for a plugin.
const std::string short_description ()
 Returns a short, human-readable description of the plugin.
const categories_tcategories ()
 Returns a default category for ordering this plugin within the UI.
quality_t quality ()
 Returns the plugin quality (stable or experimental).
bool implements (const std::type_info &InterfaceType)
 Returns true iff a plugin implements the requested interface.
const interfaces_t interfaces ()
 Returns the set of interfaces implemented by the plugin.
metadata_t metadata ()
 Returns metadata describing the plugin.
iunknowncreate_plugin ()
 Creates a new instance of a plugin object.

Private Attributes

iplugin_factorym_factory
iapplication_plugin_factorym_application_factory
const uuid m_factory_id
const std::string m_name
const std::string m_short_description
const iplugin_factory::categories_t m_categories
const iplugin_factory::quality_t m_quality
const iplugin_factory::interfaces_t m_interfaces
const iplugin_factory::metadata_t m_metadata

Detailed Description

Proxies plugin factories so we can delay loading shared libraries at runtime until they're needed.


Constructor & Destructor Documentation

k3d::detail::application_plugin_factory_proxy::application_plugin_factory_proxy ( const uuid FactoryID,
const std::string &  Name,
const std::string &  ShortDescription,
const iplugin_factory::categories_t Categories,
const iplugin_factory::quality_t  Quality,
const iplugin_factory::interfaces_t Interfaces,
const iplugin_factory::metadata_t Metadata 
) [inline]

Member Function Documentation

const categories_t& k3d::detail::application_plugin_factory_proxy::categories (  )  [inline, virtual]

Returns a default category for ordering this plugin within the UI.

Implements k3d::iplugin_factory.

References m_categories.

iunknown* k3d::detail::application_plugin_factory_proxy::create_plugin (  )  [inline, virtual]
const uuid& k3d::detail::application_plugin_factory_proxy::factory_id (  )  [inline, virtual]

Returns a guaranteed-unique factory ID.

Implements k3d::iplugin_factory.

References m_factory_id.

bool k3d::detail::application_plugin_factory_proxy::implements ( const std::type_info &  InterfaceType  )  [inline, virtual]

Returns true iff a plugin implements the requested interface.

Implements k3d::iplugin_factory.

References m_interfaces.

const interfaces_t k3d::detail::application_plugin_factory_proxy::interfaces (  )  [inline, virtual]

Returns the set of interfaces implemented by the plugin.

Implements k3d::iplugin_factory.

References m_interfaces.

metadata_t k3d::detail::application_plugin_factory_proxy::metadata (  )  [inline, virtual]

Returns metadata describing the plugin.

Implements k3d::iplugin_factory.

References m_metadata.

const std::string k3d::detail::application_plugin_factory_proxy::name (  )  [inline, virtual]

Returns the internal name for a plugin.

Implements k3d::iplugin_factory.

References m_name.

Referenced by create_plugin().

quality_t k3d::detail::application_plugin_factory_proxy::quality (  )  [inline, virtual]

Returns the plugin quality (stable or experimental).

Implements k3d::iplugin_factory.

References m_quality.

const std::string k3d::detail::application_plugin_factory_proxy::short_description (  )  [inline, virtual]

Returns a short, human-readable description of the plugin.

Implements k3d::iplugin_factory.

References m_short_description.


Member Data Documentation

Referenced by create_plugin().

Referenced by categories().

Referenced by create_plugin().

Referenced by create_plugin(), and factory_id().

Referenced by implements(), and interfaces().

Referenced by metadata().

Referenced by name().

Referenced by quality().

Referenced by short_description().


The documentation for this class was generated from the following file:

Generated on Mon Mar 21 07:42:20 2011 for K-3D by doxygen 1.6.3