- Aldebaran documentation |
- C++ Libraries |
- index

libqi-api 2.8.7.4

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
qi::ModuleBuilder Class Reference

`#include <anymodule.hpp>`

## Public Member Functions
| ModuleBuilder (const ModuleInfo &mi)
void | setModuleInfo (const ModuleInfo &mi)
void | setModulePath (const std::string &name)
ModuleInfo & | moduleInfo ()
const std::string & | moduleName () const
AnyModule | module ()
Public Member Functions inherited from qi::DynamicObjectBuilder
| DynamicObjectBuilder ()
| DynamicObjectBuilder (DynamicObject *dynobject, bool deleteOnDestroy=true)
| ~DynamicObjectBuilder ()
template<typename OBJECT_TYPE , typename METHOD_TYPE >
unsigned int | advertiseMethod (const std::string &name, OBJECT_TYPE object, METHOD_TYPE method, const std::string &desc="", MetaCallType threadingModel=MetaCallType_Auto)
template<typename FUNCTION_TYPE >
unsigned int | advertiseMethod (const std::string &name, FUNCTION_TYPE function, const std::string &desc="", MetaCallType threadingModel=MetaCallType_Auto)
template<typename OBJECT_TYPE , typename METHOD_TYPE >
unsigned int | advertiseMethod (MetaMethodBuilder &builder, OBJECT_TYPE object, METHOD_TYPE method, MetaCallType threadingModel=MetaCallType_Auto)
template<typename FUNCTION_TYPE >
unsigned int | advertiseMethod (MetaMethodBuilder &builder, FUNCTION_TYPE function, MetaCallType threadingModel=MetaCallType_Auto)
template<typename T , typename... Args>
unsigned int | advertiseFactory (const std::string &name)
template<typename... Args>
unsigned int | advertiseSignal (const std::string &name)
template<typename T >
unsigned int | advertiseSignalF (const std::string &name)
| Advertise a signal using a function signature. More...
unsigned int | advertiseSignal (const std::string &name, qi::SignalBase *signal)
template<typename T >
unsigned int | advertiseProperty (const std::string &name)
unsigned int | advertiseProperty (const std::string &name, qi::PropertyBase *sig)
| Ownership is transferred to the object. More...
void | setThreadingModel (ObjectThreadingModel model)
unsigned int | xAdvertiseMethod (const Signature &sigret, const std::string &name, const Signature &signature, AnyFunction func, const std::string &desc="", MetaCallType threadingModel=MetaCallType_Auto)
unsigned int | xAdvertiseMethod (MetaMethodBuilder &builder, AnyFunction func, MetaCallType threadingModel=MetaCallType_Auto)
unsigned int | xAdvertiseSignal (const std::string &name, const Signature &signature, bool isSignalProperty=false)
unsigned int | xAdvertiseProperty (const std::string &name, const Signature &sig, int id=-1)
void | setDescription (const std::string &desc)
qi::AnyObject | object (boost::function< void(GenericObject *)> onDelete=boost::function< void(GenericObject *)>())
template<typename T >
qi::AnyObject | object (boost::shared_ptr< T > other)
| Return an AnyObject that shares life type with `other`. More...
void | markProperty (unsigned int ev, unsigned int getter, unsigned int setter)

## Public Attributes
ModuleInfo | _moduleInfo
AnyObject | _object
AnyModule | _mod

## Detailed Description

class given to the user to building a module

Definition at line 63 of file anymodule.hpp.

## Constructor & Destructor Documentation

qi::ModuleBuilder::ModuleBuilder | ( | const ModuleInfo & | mi | ) |
| inline

Definition at line 65 of file anymodule.hpp.

## Member Function Documentation

AnyModule qi::ModuleBuilder::module | ( |  | ) |
| inline

Definition at line 87 of file anymodule.hpp.

ModuleInfo& qi::ModuleBuilder::moduleInfo | ( |  | ) |
| inline

Definition at line 79 of file anymodule.hpp.

const std::string& qi::ModuleBuilder::moduleName | ( |  | ) | const
| inline

Definition at line 83 of file anymodule.hpp.

void qi::ModuleBuilder::setModuleInfo | ( | const ModuleInfo & | mi | ) |
| inline

Definition at line 71 of file anymodule.hpp.

void qi::ModuleBuilder::setModulePath | ( | const std::string & | name | ) |
| inline

Definition at line 75 of file anymodule.hpp.

## Member Data Documentation

AnyModule qi::ModuleBuilder::_mod

Definition at line 95 of file anymodule.hpp.

ModuleInfo qi::ModuleBuilder::_moduleInfo

Definition at line 93 of file anymodule.hpp.

AnyObject qi::ModuleBuilder::_object

Definition at line 94 of file anymodule.hpp.

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

- /home/opennao/work/release-2.8/sdk/libqi/qi/anymodule.hpp