omni::event4
NAME

omni::event4

A class of omni

#include <omni/delegate/4.hpp>
event4
omni::event4::event4()
omni::event4::~event4()
void omni::event4::attach(const omni::delegate4< Ret PT1 PT2 PT3 PT4 >& d)
template < class T, ret_t (T::*fnptr)(PT1, PT2, PT3, PT4) const > void omni::event4::attach_const(const T& obj)
void omni::event4::clear()
bool omni::event4::contains(const omni::delegate4< Ret PT1 PT2 PT3 PT4 >& d)
template < class T, ret_t (T::*fnptr)(PT1, PT2, PT3, PT4) const > bool omni::event4::contains_const(const T& obj)
void omni::event4::detach(const omni::delegate4< Ret PT1 PT2 PT3 PT4 >& d)
template < class T, ret_t (T::*fnptr)(PT1, PT2, PT3, PT4) const > void omni::event4::detach_const(const T& obj)
bool omni::event4::empty()
container_t omni::event4::invocation_list()
ret_t omni::event4::invoke_direct(p1_t val1, p2_t val2, p3_t val3, p4_t val4)
void omni::event4::swap(event4< Ret PT1 PT2 PT3 PT4 >& e)
omni::event4::operator bool()
bool omni::event4::operator!()
bool omni::event4::operator!=(const event4< Ret PT1 PT2 PT3 PT4 >& e)
ret_t omni::event4::operator()(p1_t val1, p2_t val2, p3_t val3, p4_t val4)
omni::delegate4< Ret, PT1, PT2, PT3, PT4 >& omni::event4::operator[](std::size_t idx)
event4< Ret, PT1, PT2, PT3, PT4 >& omni::event4::operator+=(const omni::delegate4< Ret PT1 PT2 PT3 PT4 >& d)
event4< Ret, PT1, PT2, PT3, PT4 >& omni::event4::operator=(const event4< Ret PT1 PT2 PT3 PT4 >& e)
event4< Ret, PT1, PT2, PT3, PT4 >& omni::event4::operator-=(const omni::delegate4< Ret PT1 PT2 PT3 PT4 >& d)
bool omni::event4::operator==(const event4< Ret PT1 PT2 PT3 PT4 >& e)
typedef typename std::deque< omni::delegate4< Ret, PT1, PT2, PT3, PT4 > >::const_iterator omni::event4::const_iterator_t
typedef typename std::reverse_iterator< const_iterator_t > omni::event4::const_reverse_iterator_t
typedef typename std::deque< omni::delegate4< Ret, PT1, PT2, PT3, PT4 > > omni::event4::container_t
typedef omni::delegate4< Ret, PT1, PT2, PT3, PT4 > omni::event4::delegate_t
typedef typename std::deque< omni::delegate4< Ret, PT1, PT2, PT3, PT4 > >::iterator omni::event4::iterator_t
typedef PT1 omni::event4::p1_t
typedef PT2 omni::event4::p2_t
typedef PT3 omni::event4::p3_t
typedef PT4 omni::event4::p4_t
typedef Ret omni::event4::ret_t
typedef typename std::reverse_iterator< iterator_t > omni::event4::reverse_iterator_t

SYNOPSIS

The templated event allows client code to attach multiple delegates and invoke them, providing notification to attached code (i.e. event handlers). Invoking an event will invoke each attached handler (delegate) in the order they have been attached.

top

DESCRIPTION

No description found.

top

PARAMETERS top

Ret - Specifies the return type of the delegates to be attached

4 - Specifies the parameter types passed to the 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