libqi-api
2.8.7.4
|
#include <typeobject.hpp>
Public Member Functions | |
virtual const MetaObject & | metaObject (void *instance)=0 |
virtual ObjectUid | uid (void *instance) const =0 |
virtual qi::Future< AnyReference > | metaCall (void *instance, AnyObject context, unsigned int method, const GenericFunctionParameters ¶ms, MetaCallType callType=MetaCallType_Auto, Signature returnSig=Signature())=0 |
virtual void | metaPost (void *instance, AnyObject context, unsigned int signal, const GenericFunctionParameters ¶ms)=0 |
virtual qi::Future< SignalLink > | connect (void *instance, AnyObject context, unsigned int event, const SignalSubscriber &subscriber)=0 |
virtual qi::Future< void > | disconnect (void *instance, AnyObject context, SignalLink linkId)=0 |
Disconnect an event link. Returns if disconnection was successful. More... | |
virtual const std::vector < std::pair< TypeInterface *, std::ptrdiff_t > > & | parentTypes ()=0 |
virtual qi::Future< AnyValue > | property (void *instance, AnyObject context, unsigned int id)=0 |
virtual qi::Future< void > | setProperty (void *instance, AnyObject context, unsigned int id, AnyValue value)=0 |
virtual TypeKind | kind () |
std::ptrdiff_t | inherits (TypeInterface *other) |
![]() | |
virtual | ~TypeInterface ()=default |
virtual const TypeInfo & | info ()=0 |
Get the TypeInfo corresponding to this type. More... | |
virtual void * | initializeStorage (void *ptr=nullptr)=0 |
virtual void * | ptrFromStorage (void **)=0 |
virtual void * | clone (void *)=0 |
Allocate a storage and copy the value given as an argument. More... | |
virtual void | destroy (void *)=0 |
Free all resources of a storage. More... | |
virtual bool | less (void *a, void *b)=0 |
const char * | infoString () |
qi::Signature | signature (void *storage=nullptr, bool resolveDynamic=false) |
Static Public Attributes | |
static const auto | INHERITS_FAILED = PTRDIFF_MAX |
Additional Inherited Members | |
![]() | |
static TypeInterface * | fromSignature (const qi::Signature &sig) |
Definition at line 48 of file typeobject.hpp.
|
pure virtual |
Implemented in qi::TypeProxy< InterfaceType, ProxyType >, and qi::detail::StaticObjectTypeBase.
|
pure virtual |
Disconnect an event link. Returns if disconnection was successful.
Implemented in qi::TypeProxy< InterfaceType, ProxyType >, and qi::detail::StaticObjectTypeBase.
std::ptrdiff_t qi::ObjectTypeInterface::inherits | ( | TypeInterface * | other | ) |
|
inlinevirtual |
Get the kind of the data.
This is used to downcast the TypeInterface object to a specialized interface.
Reimplemented from qi::TypeInterface.
Definition at line 62 of file typeobject.hpp.
|
pure virtual |
Implemented in qi::detail::StaticObjectTypeBase, and qi::TypeProxy< InterfaceType, ProxyType >.
|
pure virtual |
Implemented in qi::detail::StaticObjectTypeBase, and qi::TypeProxy< InterfaceType, ProxyType >.
|
pure virtual |
Implemented in qi::detail::StaticObjectTypeBase, and qi::TypeProxy< InterfaceType, ProxyType >.
|
pure virtual |
Implemented in qi::TypeProxy< InterfaceType, ProxyType >, and qi::detail::StaticObjectTypeBase.
|
pure virtual |
Implemented in qi::TypeProxy< InterfaceType, ProxyType >, and qi::detail::StaticObjectTypeBase.
|
pure virtual |
Implemented in qi::TypeProxy< InterfaceType, ProxyType >, and qi::detail::StaticObjectTypeBase.
|
pure virtual |
Implemented in qi::detail::StaticObjectTypeBase, and qi::TypeProxy< InterfaceType, ProxyType >.
|
static |
Definition at line 63 of file typeobject.hpp.