omni::event2
NAME

omni::event2

A class of omni

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.

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


top

DESCRIPTION

No description found.

top

PARAMETERS top

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

2 - 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