NAME
A class of omni
omni::event1
A class of omni
#include <omni/delegate/1.hpp>
event1
omni::event1::event1()
omni::event1::~event1()
void omni::event1::attach(const omni::delegate1< Ret PT1 >& d)
template < class T, ret_t (T::*fnptr)(PT1) const > void omni::event1::attach_const(const T& obj)
void omni::event1::clear()
bool omni::event1::contains(const omni::delegate1< Ret PT1 >& d)
template < class T, ret_t (T::*fnptr)(PT1) const > bool omni::event1::contains_const(const T& obj)
void omni::event1::detach(const omni::delegate1< Ret PT1 >& d)
template < class T, ret_t (T::*fnptr)(PT1) const > void omni::event1::detach_const(const T& obj)
bool omni::event1::empty()
container_t omni::event1::invocation_list()
ret_t omni::event1::invoke_direct(p1_t val1)
void omni::event1::swap(event1< Ret PT1 >& e)
omni::event1::operator bool()
bool omni::event1::operator!()
bool omni::event1::operator!=(const event1< Ret PT1 >& e)
ret_t omni::event1::operator()(p1_t val1)
omni::delegate1< Ret, PT1 >& omni::event1::operator[](std::size_t idx)
event1< Ret, PT1 >& omni::event1::operator+=(const omni::delegate1< Ret PT1 >& d)
event1< Ret, PT1 >& omni::event1::operator=(const event1< Ret PT1 >& e)
event1< Ret, PT1 >& omni::event1::operator-=(const omni::delegate1< Ret PT1 >& d)
bool omni::event1::operator==(const event1< Ret PT1 >& e)
typedef typename std::deque< omni::delegate1< Ret, PT1 > >::const_iterator omni::event1::const_iterator_t
typedef typename std::reverse_iterator< const_iterator_t > omni::event1::const_reverse_iterator_t
typedef typename std::deque< omni::delegate1< Ret, PT1 > > omni::event1::container_t
typedef omni::delegate1< Ret, PT1 > omni::event1::delegate_t
typedef typename std::deque< omni::delegate1< Ret, PT1 > >::iterator omni::event1::iterator_t
typedef PT1 omni::event1::p1_t
typedef Ret omni::event1::ret_t
typedef typename std::reverse_iterator< iterator_t > omni::event1::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
PARAMETERS top
Ret - Specifies the return type of the delegates to be attached1 - Specifies the parameter types passed to the delegate