NAME
A class of omni
MEMBERS
omni::event
A class of omni
#include <omni/delegate/0.hpp>MEMBERS
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)
omni::event::const_iterator_t
omni::event::const_reverse_iterator_t
omni::event::container_t
omni::event::delegate_t
omni::event::iterator_t
omni::event::ret_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