NAME
A class of omni
MEMBERS
omni::event2
A class of omni
#include <omni/delegate/2.hpp>MEMBERS
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)
void omni::event2::detach_all(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(p1_t val1, p2_t val2)
ret_t omni::event2::invoke_direct(p1_t val1, p2_t val2)
void omni::event2::swap(event2< Ret PT1 PT2 >& e)
event2< Ret, PT1, PT2 > omni::event2::operator-(const omni::delegate2< Ret PT1 PT2 >& d)
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 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)
omni::event2::const_iterator_t
omni::event2::const_reverse_iterator_t
omni::event2::container_t
omni::event2::delegate_t
omni::event2::iterator_t
omni::event2::p1_t
omni::event2::p2_t
omni::event2::ret_t
omni::event2::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 attached 2 - Specifies the parameter types passed to the delegate
top