SYNOPSIS
The delegate is a powerful function pointer object that encapsulates both an object instance and a method. The delegate is agnostic to the type or method it encapsulates; all that matters is that the method be signature compatible with the delegate. This allows for 'anonymous' invocation by users of the delegate.
top
The delegate is a powerful function pointer object that encapsulates both an object instance and a method. The delegate is agnostic to the type or method it encapsulates; all that matters is that the method be signature compatible with the delegate. This allows for 'anonymous' invocation by users of the delegate.
#include <omni/delegate/11.hpp>
omni::delegate11::delegate11()
omni::delegate11::~delegate11()
template < ret_t (*fnptr)(p1_t, p2_t, p3_t, p4_t, p5_t, p6_t, p7_t, p8_t, p9_t, p10_t, p11_t) > static delegate11 omni::delegate11::bind()
template < class T, ret_t (T::*fnptr)(p1_t, p2_t, p3_t, p4_t, p5_t, p6_t, p7_t, p8_t, p9_t, p10_t, p11_t) const > static delegate11 omni::delegate11::bind_const(const T& obj)
inline void omni::delegate11::bond(function_ptr fnptr)
template < class T, ret_t (T::*fnptr)(p1_t, p2_t, p3_t, p4_t, p5_t, p6_t, p7_t, p8_t, p9_t, p10_t, p11_t) const > inline void omni::delegate11::bond_const(const T& obj)
const function_ptr omni::delegate11::function()
ret_t omni::delegate11::invoke(p1_t val1, p2_t val2, p3_t val3, p4_t val4, p5_t val5, p6_t val6, p7_t val7, p8_t val8, p9_t val9, p10_t val10, p11_t val11)
ret_t omni::delegate11::invoke_direct(p1_t val1, p2_t val2, p3_t val3, p4_t val4, p5_t val5, p6_t val6, p7_t val7, p8_t val8, p9_t val9, p10_t val10, p11_t val11)
omni::invoke_t omni::delegate11::invoke_type()
bool omni::delegate11::is_bound()
bool omni::delegate11::is_member_bound()
const functor omni::delegate11::method()
void omni::delegate11::swap(delegate11< Ret PT1 PT2 PT3 PT4 PT5 PT6 PT7 PT8 PT9 PT10 PT11 >& d)
void *const omni::delegate11::target()
inline void omni::delegate11::unbind()
bool omni::delegate11::valid()
inline omni::delegate11::operator bool()
inline bool omni::delegate11::operator!()
bool omni::delegate11::operator!=(const delegate11< Ret PT1 PT2 PT3 PT4 PT5 PT6 PT7 PT8 PT9 PT10 PT11 >& d)
inline ret_t omni::delegate11::operator()(p1_t val1, p2_t val2, p3_t val3, p4_t val4, p5_t val5, p6_t val6, p7_t val7, p8_t val8, p9_t val9, p10_t val10, p11_t val11)
delegate11< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11 >& omni::delegate11::operator=(const delegate11< Ret PT1 PT2 PT3 PT4 PT5 PT6 PT7 PT8 PT9 PT10 PT11 >& d)
bool omni::delegate11::operator==(const delegate11< Ret PT1 PT2 PT3 PT4 PT5 PT6 PT7 PT8 PT9 PT10 PT11 >& d)
typedef ret_t omni::delegate11::(*function_ptr)
typedef ret_t omni::delegate11::(*functor)
typedef PT1 omni::delegate11::p1_t
typedef PT10 omni::delegate11::p10_t
typedef PT11 omni::delegate11::p11_t
typedef PT2 omni::delegate11::p2_t
typedef PT3 omni::delegate11::p3_t
typedef PT4 omni::delegate11::p4_t
typedef PT5 omni::delegate11::p5_t
typedef PT6 omni::delegate11::p6_t
typedef PT7 omni::delegate11::p7_t
typedef PT8 omni::delegate11::p8_t
typedef PT9 omni::delegate11::p9_t
typedef Ret omni::delegate11::ret_t
top
PARAMETERS top
Ret - Specifies the return type of the function the delegate is to attach toPT1 - Specifies the 1st parameter type passed to the function delegatePT2 - Specifies the 2nd parameter type passed to the function delegatePT3 - Specifies the 3rd parameter type passed to the function delegatePT4 - Specifies the 4th parameter type passed to the function delegatePT5 - Specifies the 5th parameter type passed to the function delegatePT6 - Specifies the 6th parameter type passed to the function delegatePT7 - Specifies the 7th parameter type passed to the function delegatePT8 - Specifies the 8th parameter type passed to the function delegatePT9 - Specifies the 9th parameter type passed to the function delegatePT10 - Specifies the 10th parameter type passed to the function delegatePT11 - Specifies the 11th parameter type passed to the function delegate