diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-26 01:23:34 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-26 01:23:34 +0100 |
commit | 1ffa9bd5295511df5390925180865f31afcb3e97 (patch) | |
tree | 9578ffec5e955b455ae4ec4e7047033806b4002b /libadhocutil/plugins.h | |
parent | Instantiate the right plug-in type for factories (diff) | |
download | libadhocutil-1ffa9bd5295511df5390925180865f31afcb3e97.tar.bz2 libadhocutil-1ffa9bd5295511df5390925180865f31afcb3e97.tar.xz libadhocutil-1ffa9bd5295511df5390925180865f31afcb3e97.zip |
Update documentation
Diffstat (limited to 'libadhocutil/plugins.h')
-rw-r--r-- | libadhocutil/plugins.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libadhocutil/plugins.h b/libadhocutil/plugins.h index 03d59fb..4e81b62 100644 --- a/libadhocutil/plugins.h +++ b/libadhocutil/plugins.h @@ -90,6 +90,8 @@ namespace AdHoc { /// Container for loaded plugins. class DLL_PUBLIC PluginManager { public: + /// Callback definition to resolve a plugin type and name to a potential library + /// containing an implementation. typedef boost::function<boost::optional<std::string> (const std::type_info &, const std::string &)> PluginResolver; PluginManager(); @@ -158,7 +160,7 @@ namespace AdHoc { /** * Remove a type plugin resolver function. - * @param f The resolver type. + * @param t The resolver type. */ void removeResolver(const std::type_info & t); |