#include <boost/function.hpp>
#include <boost/bind.hpp>
#include <boost/type_traits/is_base_of.hpp>
#include <boost/type_traits/remove_pointer.hpp>
#include <boost/weak_ptr.hpp>
#include <boost/function_types/result_type.hpp>
Go to the source code of this file.
#define _QI_DETAILS_TRACKABLE_HXX_ |
#define genCall |
( |
|
n, |
|
|
|
ATYPEDECL, |
|
|
|
ATYPES, |
|
|
|
ADECL, |
|
|
|
AUSE, |
|
|
|
comma |
|
) |
| |
Value:
Result operator()(ADECL) { \
ST s = _wptr.lock(); \
if (s) \
return _f(AUSE); \
else \
if (_onFail) \
_onFail(); \
else \
return Result(); \
}
#define QI_GEN_MAYBE_TEMPLATE_OPEN(...)
#define QI_GEN_MAYBE_TEMPLATE_CLOSE(...)
Definition at line 94 of file trackable.hxx.