#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.
|
| | qi |
| | Deprecated in 2.5. Use int8_t from <cstdint>.
|
| |
| #define QI_REGISTER_MODULE |
( |
|
modname, |
|
|
|
fun |
|
) |
| |
Value:
<< modname <<
"' vs '" << mb->
moduleName() <<
"'"; \
return; \
} \
(*fun)(mb); \
}
const std::string & moduleName() const
#define qiLogCategory(Cat)
#define qiLogError(...)
Log in error mode.
#define QI_EXPORT_API
Compiler flags to export a function or a class.
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 |
|
) |
| |
Value:
}
bool registerModuleFactory(const std::string &name, ModuleFactoryFunctor fun)
#define QI_EXPORT_API
Compiler flags to export a function or a class.
Register a Module Factory as a plugins.
Definition at line 163 of file anymodule.hpp.