omni::delegate4
NAME

omni::delegate4

A class of omni

#include <omni/delegate/4.hpp>
class omni::delegate4

MEMBERS

omni::delegate4::delegate4()
omni::delegate4::~delegate4()
template < ret_t (*fnptr)(p1_t, p2_t, p3_t, p4_t) > static delegate4 omni::delegate4::bind()
template < class T, ret_t (T::*fnptr)(p1_t, p2_t, p3_t, p4_t) const > static delegate4 omni::delegate4::bind_const(const T& obj)
inline void omni::delegate4::bond(function_ptr fnptr)
template < class T, ret_t (T::*fnptr)(p1_t, p2_t, p3_t, p4_t) const > inline void omni::delegate4::bond_const(const T& obj)
function_ptr omni::delegate4::function()
ret_t omni::delegate4::invoke(p1_t val1, p2_t val2, p3_t val3, p4_t val4)
ret_t omni::delegate4::invoke_direct(p1_t val1, p2_t val2, p3_t val3, p4_t val4)
omni::invoke_t omni::delegate4::invoke_type()
bool omni::delegate4::is_bound()
bool omni::delegate4::is_member_bound()
functor omni::delegate4::method()
void omni::delegate4::swap(delegate4< Ret, PT1, PT2, PT3, PT4 >& d)
void* omni::delegate4::target()
inline void omni::delegate4::unbind()
template < class T, ret_t (T::*fnptr)(p1_t, p2_t, p3_t, p4_t) > inline void omni::delegate4::unsafe_set_method()
template < class T, ret_t (T::*fnptr)(p1_t, p2_t, p3_t, p4_t) const > inline void omni::delegate4::unsafe_set_method_const()
template < class T > inline void omni::delegate4::unsafe_set_target(T& obj)
bool omni::delegate4::valid()
inline ret_t omni::delegate4::operator()
inline omni::delegate4::operator bool()
inline bool omni::delegate4::operator!()
bool omni::delegate4::operator!=(const delegate4< Ret, PT1, PT2, PT3, PT4 >& d)
delegate4< Ret, PT1, PT2, PT3, PT4 >& omni::delegate4::operator=(const delegate4< Ret, PT1, PT2, PT3, PT4 >& d)
bool omni::delegate4::operator==(const delegate4< Ret, PT1, PT2, PT3, PT4 >& d)
omni::delegate4::(*function_ptr)
omni::delegate4::(*functor)
omni::delegate4::p1_t
omni::delegate4::p2_t
omni::delegate4::p3_t
omni::delegate4::p4_t
omni::delegate4::ret_t

SYNOPSIS

The delegate is a powerful function pointer object that encapsulates both an object instance and a method.

top

DESCRIPTION

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

PARAMETERS

Ret - Specifies the return type of the function the delegate is to attach to PT1 - Specifies the 1st parameter type passed to the function delegate PT2 - Specifies the 2nd parameter type passed to the function delegate PT3 - Specifies the 3rd parameter type passed to the function delegate PT4 - Specifies the 4th parameter type passed to the function delegate

top