|
libqi-api
2.4.3.28
|
#include <objecttypebuilder.hpp>
Public Member Functions | |
| ObjectTypeBuilder (bool autoRegister=true) | |
| template<typename U > | |
| void | inherits () |
| template<typename FUNCTION_TYPE > | |
| unsigned int | advertiseMethod (const std::string &name, FUNCTION_TYPE function, MetaCallType threadingModel=MetaCallType_Auto, int id=-1) |
| template<typename FUNCTION_TYPE > | |
| unsigned int | advertiseMethod (MetaMethodBuilder &name, FUNCTION_TYPE function, MetaCallType threadingModel=MetaCallType_Auto, int id=-1) |
| virtual void | registerType () |
| Register type to typeOf<T>, to avoid both TypeImpl<T> and type() being present. More... | |
| AnyObject | object (T *ptr, boost::function< void(GenericObject *)> onDestroy=boost::function< void(GenericObject *)>()) |
Public Member Functions inherited from qi::ObjectTypeBuilderBase | |
| ObjectTypeBuilderBase () | |
| ~ObjectTypeBuilderBase () | |
| void | setDescription (const std::string &description) |
| Sets a description for the type to build. More... | |
| template<typename T > | |
| void | buildFor (bool autoRegister=true) |
| Declare the class type for which this StaticBuilder is. More... | |
| template<typename FUNCTION_TYPE > | |
| unsigned int | advertiseMethod (const std::string &name, FUNCTION_TYPE function, MetaCallType threadingModel=MetaCallType_Auto, int id=-1) |
| template<typename FUNCTION_TYPE > | |
| unsigned int | advertiseMethod (MetaMethodBuilder &name, FUNCTION_TYPE function, MetaCallType threadingModel=MetaCallType_Auto, int id=-1) |
| template<typename A > | |
| unsigned int | advertiseSignal (const std::string &eventName, A accessor, int id=-1) |
| template<typename T > | |
| unsigned int | advertiseSignal (const std::string &name, SignalMemberGetter getter, int id=-1) |
| template<typename A > | |
| unsigned int | advertiseProperty (const std::string &propertyName, A accessor) |
| template<typename T > | |
| unsigned int | advertiseProperty (const std::string &eventName, PropertyMemberGetter getter) |
| template<typename P > | |
| void | inherits (int offset) |
| template<typename T > | |
| ObjectTypeBuilderBase & | advertise (const std::string &name, T element) |
| template<typename T > | |
| unsigned int | advertiseId (const std::string &name, T element) |
| unsigned int | xAdvertiseMethod (MetaMethodBuilder &builder, AnyFunction func, MetaCallType threadingModel=MetaCallType_Auto, int id=-1) |
| unsigned int | xAdvertiseSignal (const std::string &name, const qi::Signature &signature, SignalMemberGetter getter, int id=-1) |
| unsigned int | xAdvertiseProperty (const std::string &name, const qi::Signature &signature, PropertyMemberGetter getter, int id=-1) |
| void | xBuildFor (TypeInterface *type, bool autoRegister, qi::AnyFunction strandAccessor) |
| void | inherits (TypeInterface *parentType, int offset) |
| void | setThreadingModel (ObjectThreadingModel model) |
| const MetaObject & | metaObject () |
| AnyObject | object (void *ptr, boost::function< void(GenericObject *)> onDestroy=boost::function< void(GenericObject *)>()) |
| ObjectTypeInterface * | type () |
| const detail::ObjectTypeData & | typeData () |
Additional Inherited Members | |
Public Types inherited from qi::ObjectTypeBuilderBase | |
| typedef boost::function < SignalBase *(void *)> | SignalMemberGetter |
| typedef boost::function < PropertyBase *(void *)> | PropertyMemberGetter |
Definition at line 118 of file objecttypebuilder.hpp.
|
inline |
Definition at line 121 of file objecttypebuilder.hpp.
|
inline |
Definition at line 115 of file objecttypebuilder.hxx.
|
inline |
Definition at line 130 of file objecttypebuilder.hxx.
Declare that T inherits from U.
U has registered methods,signals, properties, then inherits() must be called before registering anything on type T. Definition at line 88 of file objecttypebuilder.hxx.
|
inline |
Definition at line 144 of file objecttypebuilder.hxx.
|
inlinevirtual |
Register type to typeOf<T>, to avoid both TypeImpl<T> and type() being present.
Reimplemented from qi::ObjectTypeBuilderBase.
Definition at line 151 of file objecttypebuilder.hxx.