libqi-api
2.8.7.4
|
#include <anyfunctionfactory.hxx>
Public Types | |
using | ReturnType = typename boost::function_types::result_type< T >::type |
Public Member Functions | |
FunctionTypeInterfaceEq (unsigned long refMask) | |
void * | call (void *storage, void **args, unsigned int argc) override |
_QI_BOUNCE_TYPE_METHODS (DefaultTypeImplMethods< S >) | |
![]() | |
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 TypeKind | kind () |
virtual bool | less (void *a, void *b)=0 |
const char * | infoString () |
qi::Signature | signature (void *storage=nullptr, bool resolveDynamic=false) |
![]() | |
CallableTypeInterface () | |
TypeInterface * | resultType () |
const std::vector < TypeInterface * > & | argumentsType () |
qi::Signature | parametersSignature () const |
qi::Signature | returnSignature () const |
Static Public Member Functions | |
static FunctionTypeInterfaceEq < T, S > * | make (unsigned long refMask, std::vector< TypeInterface * > argsType, TypeInterface *returnType) |
![]() | |
static TypeInterface * | fromSignature (const qi::Signature &sig) |
Public Attributes | |
unsigned long | refMask |
Additional Inherited Members | |
![]() | |
TypeInterface * | _resultType |
std::vector< TypeInterface * > | _argumentsType |
Definition at line 368 of file anyfunctionfactory.hxx.
using qi::FunctionTypeInterfaceEq< T, S >::ReturnType = typename boost::function_types::result_type<T>::type |
Definition at line 371 of file anyfunctionfactory.hxx.
|
inline |
Definition at line 372 of file anyfunctionfactory.hxx.
qi::FunctionTypeInterfaceEq< T, S >::_QI_BOUNCE_TYPE_METHODS | ( | DefaultTypeImplMethods< S > | ) |
|
inlineoverridevirtual |
Call the function func with argument args that must be of the correct type.
Implements qi::FunctionTypeInterface.
Definition at line 379 of file anyfunctionfactory.hxx.
|
inlinestatic |
Definition at line 415 of file anyfunctionfactory.hxx.
unsigned long qi::FunctionTypeInterfaceEq< T, S >::refMask |
Definition at line 414 of file anyfunctionfactory.hxx.