omni::delegate1
NAME

omni::delegate1

A class of omni

#include <omni/delegate/1.hpp>
class omni::delegate1

MEMBERS

omni::delegate1::delegate1()
omni::delegate1::~delegate1()
template < ret_t (*fnptr)(p1_t) > static delegate1 omni::delegate1::bind()
template < class T, ret_t (T::*fnptr)(p1_t) const > static delegate1 omni::delegate1::bind_const(const T& obj)
inline void omni::delegate1::bond(function_ptr fnptr)
template < class T, ret_t (T::*fnptr)(p1_t) const > inline void omni::delegate1::bond_const(const T& obj)
function_ptr omni::delegate1::function()
ret_t omni::delegate1::invoke(p1_t val1)
ret_t omni::delegate1::invoke_direct(p1_t val1)
omni::invoke_t omni::delegate1::invoke_type()
bool omni::delegate1::is_bound()
bool omni::delegate1::is_member_bound()
functor omni::delegate1::method()
void omni::delegate1::swap(delegate1< Ret, PT1 >& d)
void* omni::delegate1::target()
inline void omni::delegate1::unbind()
template < class T, ret_t (T::*fnptr)(p1_t) > inline void omni::delegate1::unsafe_set_method()
template < class T, ret_t (T::*fnptr)(p1_t) const > inline void omni::delegate1::unsafe_set_method_const()
template < class T > inline void omni::delegate1::unsafe_set_target(T& obj)
bool omni::delegate1::valid()
inline ret_t omni::delegate1::operator()
inline omni::delegate1::operator bool()
inline bool omni::delegate1::operator!()
bool omni::delegate1::operator!=(const delegate1< Ret, PT1 >& d)
delegate1< Ret, PT1 >& omni::delegate1::operator=(const delegate1< Ret, PT1 >& d)
bool omni::delegate1::operator==(const delegate1< Ret, PT1 >& d)
omni::delegate1::(*function_ptr)
omni::delegate1::(*functor)
omni::delegate1::p1_t
omni::delegate1::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

top