omni::event
NAME

omni::event

A class of omni

#include <omni/delegate/0.hpp>
event
omni::event::event()
omni::event::~event()
void omni::event::attach(const omni::delegate< Ret >& d)
template < class T, ret_t (T::*fnptr)() const > void omni::event::attach_const(const T& obj)
void omni::event::clear()
bool omni::event::contains(const omni::delegate< Ret >& d)
template < class T, ret_t (T::*fnptr)() const > bool omni::event::contains_const(const T& obj)
void omni::event::detach(const omni::delegate< Ret >& d)
template < class T, ret_t (T::*fnptr)() const > void omni::event::detach_const(const T& obj)
bool omni::event::empty()
container_t omni::event::invocation_list()
ret_t omni::event::invoke_direct()
void omni::event::swap(event< Ret >& e)
omni::event::operator bool()
bool omni::event::operator!()
bool omni::event::operator!=(const event< Ret >& e)
ret_t omni::event::operator()()
omni::delegate< Ret >& omni::event::operator[](std::size_t idx)
event< Ret >& omni::event::operator+=(const omni::delegate< Ret >& d)
event< Ret >& omni::event::operator=(const event< Ret >& e)
event< Ret >& omni::event::operator-=(const omni::delegate< Ret >& d)
bool omni::event::operator==(const event< Ret >& e)
typedef typename std::deque< omni::delegate< Ret > >::const_iterator omni::event::const_iterator_t
typedef typename std::reverse_iterator< const_iterator_t > omni::event::const_reverse_iterator_t
typedef typename std::deque< omni::delegate< Ret > > omni::event::container_t
typedef omni::delegate< Ret > omni::event::delegate_t
typedef typename std::deque< omni::delegate< Ret > >::iterator omni::event::iterator_t
typedef Ret omni::event::ret_t
typedef typename std::reverse_iterator< iterator_t > omni::event::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

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