|
libqi-api
2.4.3.28
|
#include <string>#include <map>#include <vector>#include <qi/log.hpp>#include <qi/anyobject.hpp>#include <qi/anyvalue.hpp>#include <boost/thread/recursive_mutex.hpp>#include <boost/shared_ptr.hpp>#include <qi/type/objecttypebuilder.hpp>#include <qi/type/dynamicobjectbuilder.hpp>Go to the source code of this file.
Classes | |
| struct | qi::ModuleInfo |
| class | qi::AnyModule |
| class | qi::ModuleBuilder |
Namespaces | |
| qi | |
Macros | |
| #define | QI_REGISTER_MODULE(modname, fun) |
| #define | QI_REGISTER_MODULE_EMBEDDED(name, fun) static bool BOOST_PP_CAT(_register_module, __COUNTER__) = ::qi::registerCppEmbeddedModule(name, fun); |
| #define | QI_REGISTER_MODULE_FACTORY(factoryType, fun) static bool BOOST_PP_CAT(_register_module_factory, __COUNTER__) = ::qi::registerModuleFactory(factoryType, fun) |
| #define | QI_REGISTER_MODULE_FACTORY_PLUGIN(factoryType, fun) |
Typedefs | |
| typedef boost::function < AnyModule(const qi::ModuleInfo &)> | qi::ModuleFactoryFunctor |
Functions | |
| bool | qi::registerCppEmbeddedModule (const std::string &moduleName, boost::function< void(ModuleBuilder *)> fun) |
| std::vector< ModuleInfo > | qi::listModules () |
| AnyModule | qi::import (const std::string &name) |
| AnyModule | qi::import (const ModuleInfo &name) |
| QI_TYPE_STRUCT (qi::ModuleInfo, name, type, path) | |
| bool | qi::registerModuleFactory (const std::string &name, ModuleFactoryFunctor fun) |
| #define QI_REGISTER_MODULE | ( | modname, | |
| fun | |||
| ) |
register a normal module, a function will be exported to allow the module loader to init the module
Definition at line 122 of file anymodule.hpp.
| #define QI_REGISTER_MODULE_EMBEDDED | ( | name, | |
| fun | |||
| ) | static bool BOOST_PP_CAT(_register_module, __COUNTER__) = ::qi::registerCppEmbeddedModule(name, fun); |
register an embedded module. (the library do not have to be loaded)
Definition at line 135 of file anymodule.hpp.
| #define QI_REGISTER_MODULE_FACTORY | ( | factoryType, | |
| fun | |||
| ) | static bool BOOST_PP_CAT(_register_module_factory, __COUNTER__) = ::qi::registerModuleFactory(factoryType, fun) |
Register a Module Factory. Module factory are by language, the default one is for C++ and provided by libqi. A python one is provided by libqi-python as a plugin.
Definition at line 158 of file anymodule.hpp.
| #define QI_REGISTER_MODULE_FACTORY_PLUGIN | ( | factoryType, | |
| fun | |||
| ) |
Register a Module Factory as a plugins.
Definition at line 163 of file anymodule.hpp.
| QI_TYPE_STRUCT | ( | qi::ModuleInfo | , |
| name | , | ||
| type | , | ||
| path | |||
| ) |