NAME
A class of omni
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)
void omni::event::detach_all(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()
ret_t omni::event::invoke_direct()
void omni::event::swap(event< Ret >& e)
event< Ret > omni::event::operator-(const omni::delegate< Ret >& d)
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 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 omni_sequence_t< 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 omni_sequence_t< omni::delegate< Ret > > omni::event::container_t
typedef omni::delegate< Ret > omni::event::delegate_t
typedef typename omni_sequence_t< 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
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