Go to the source code of this file.
|
| #define | _QI_TYPE_DETAIL_OBJECT_HXX_ |
| |
| #define | genCall(n, ATYPEDECL, ATYPES, ADECL, AUSE, comma) |
| |
| #define | genCall(n, ATYPEDECL, ATYPES, ADECL, AUSE, comma) |
| |
| #define _QI_TYPE_DETAIL_OBJECT_HXX_ |
| #define genCall |
( |
|
n, |
|
|
|
ATYPEDECL, |
|
|
|
ATYPES, |
|
|
|
ADECL, |
|
|
|
AUSE, |
|
|
|
comma |
|
) |
| |
Value:template<typename T comma ATYPEDECL> \
Object<T> constructObject(ADECL) \
{ \
return Object<T>(new T(AUSE)); \
}
create a T, wrap in a AnyObject All template parameters are given to the T constructor except the first one
Definition at line 174 of file object.hxx.
| #define genCall |
( |
|
n, |
|
|
|
ATYPEDECL, |
|
|
|
ATYPES, |
|
|
|
ADECL, |
|
|
|
AUSE, |
|
|
|
comma |
|
) |
| |
Value:
const std::string& methodName comma \
return go()->template async<R>(methodName comma AUSE); \
} \
template<typename R> R call( \
const std::string& methodName comma \
return go()->template call<R>(methodName comma AUSE); \
}
Future< R > async(boost::function< R()> callback, uint64_t usDelay=0)
#define QI_GEN_ARGSDECLSAMETYPE(n, t)
create a T, wrap in a AnyObject All template parameters are given to the T constructor except the first one
Definition at line 174 of file object.hxx.