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/5.hpp>
omni::delegate5::delegate5()
omni::delegate5::~delegate5()
template < ret_t (*fnptr)(p1_t, p2_t, p3_t, p4_t, p5_t) > static delegate5 omni::delegate5::bind()
template < class T, ret_t (T::*fnptr)(p1_t, p2_t, p3_t, p4_t, p5_t) const > static delegate5 omni::delegate5::bind_const(const T& obj)
inline void omni::delegate5::bond(function_ptr fnptr)
template < class T, ret_t (T::*fnptr)(p1_t, p2_t, p3_t, p4_t, p5_t) const > inline void omni::delegate5::bond_const(const T& obj)
const function_ptr omni::delegate5::function()
ret_t omni::delegate5::invoke(p1_t val1, p2_t val2, p3_t val3, p4_t val4, p5_t val5)
ret_t omni::delegate5::invoke_direct(p1_t val1, p2_t val2, p3_t val3, p4_t val4, p5_t val5)
omni::invoke_t omni::delegate5::invoke_type()
bool omni::delegate5::is_bound()
bool omni::delegate5::is_member_bound()
const functor omni::delegate5::method()
void omni::delegate5::swap(delegate5< Ret PT1 PT2 PT3 PT4 PT5 >& d)
void *const omni::delegate5::target()
inline void omni::delegate5::unbind()
bool omni::delegate5::valid()
inline omni::delegate5::operator bool()
inline bool omni::delegate5::operator!()
bool omni::delegate5::operator!=(const delegate5< Ret PT1 PT2 PT3 PT4 PT5 >& d)
inline ret_t omni::delegate5::operator()(p1_t val1, p2_t val2, p3_t val3, p4_t val4, p5_t val5)
delegate5< Ret, PT1, PT2, PT3, PT4, PT5 >& omni::delegate5::operator=(const delegate5< Ret PT1 PT2 PT3 PT4 PT5 >& d)
bool omni::delegate5::operator==(const delegate5< Ret PT1 PT2 PT3 PT4 PT5 >& d)
typedef ret_t omni::delegate5::(*function_ptr)
typedef ret_t omni::delegate5::(*functor)
typedef PT1 omni::delegate5::p1_t
typedef PT2 omni::delegate5::p2_t
typedef PT3 omni::delegate5::p3_t
typedef PT4 omni::delegate5::p4_t
typedef PT5 omni::delegate5::p5_t
typedef Ret omni::delegate5::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 delegate