omni::delegate3
NAME

omni::delegate3

A class of omni

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.

#include <omni/delegate/3.hpp>
omni::delegate3::delegate3()
omni::delegate3::~delegate3()
template < ret_t (*fnptr)(p1_t, p2_t, p3_t) > static delegate3 omni::delegate3::bind()
template < class T, ret_t (T::*fnptr)(p1_t, p2_t, p3_t) const > static delegate3 omni::delegate3::bind_const(const T& obj)
inline void omni::delegate3::bond(function_ptr fnptr)
template < class T, ret_t (T::*fnptr)(p1_t, p2_t, p3_t) const > inline void omni::delegate3::bond_const(const T& obj)
const function_ptr omni::delegate3::function()
ret_t omni::delegate3::invoke(p1_t val1, p2_t val2, p3_t val3)
ret_t omni::delegate3::invoke_direct(p1_t val1, p2_t val2, p3_t val3)
omni::invoke_t omni::delegate3::invoke_type()
bool omni::delegate3::is_bound()
bool omni::delegate3::is_member_bound()
const functor omni::delegate3::method()
void omni::delegate3::swap(delegate3< Ret PT1 PT2 PT3 >& d)
void *const omni::delegate3::target()
inline void omni::delegate3::unbind()
bool omni::delegate3::valid()
inline omni::delegate3::operator bool()
inline bool omni::delegate3::operator!()
bool omni::delegate3::operator!=(const delegate3< Ret PT1 PT2 PT3 >& d)
inline ret_t omni::delegate3::operator()(p1_t val1, p2_t val2, p3_t val3)
delegate3< Ret, PT1, PT2, PT3 >& omni::delegate3::operator=(const delegate3< Ret PT1 PT2 PT3 >& d)
bool omni::delegate3::operator==(const delegate3< Ret PT1 PT2 PT3 >& d)
typedef ret_t omni::delegate3::(*function_ptr)
typedef ret_t omni::delegate3::(*functor)
typedef PT1 omni::delegate3::p1_t
typedef PT2 omni::delegate3::p2_t
typedef PT3 omni::delegate3::p3_t
typedef Ret omni::delegate3::ret_t


top

DESCRIPTION

No description found.

top

PARAMETERS top

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

RETURN VALUES

No return value.

top

ERRORS

No errors specific to this context.

top

CONSIDERATIONS

No extra considerations.

top

PLATFORM SPECIFIC

Nothing platform specific to account for.

top

NOTES

No additional notes.

top

EXAMPLE
Currently no examples.
Visit the examples page for more.

top