NAME
A class of omni
MEMBERS
omni::event1
A class of omni
#include <omni/delegate/1.hpp>
class omni::event1
MEMBERS
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)
void omni::event1::detach_all(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(p1_t val1)
ret_t omni::event1::invoke_direct(p1_t val1)
void omni::event1::swap(event1< Ret, PT1 >& e)
ret_t omni::event1::operator()
omni::event1::operator bool()
bool omni::event1::operator!()
bool omni::event1::operator!=(const event1< Ret, PT1 >& e)
event1< Ret, PT1 > omni::event1::operator+(const omni::delegate1< Ret, PT1 >& d)
event1< Ret, PT1 >& omni::event1::operator+=(const omni::delegate1< Ret, PT1 >& d)
event1< Ret, PT1 > omni::event1::operator-(const omni::delegate1< Ret, PT1 >& d)
event1< Ret, PT1 >& omni::event1::operator-=(const omni::delegate1< Ret, PT1 >& d)
event1< Ret, PT1 >& omni::event1::operator=(const event1< Ret, PT1 >& e)
bool omni::event1::operator==(const event1< Ret, PT1 >& e)
omni::delegate1< Ret, PT1 >& omni::event1::operator[](std::size_t idx)
omni::event1::const_iterator_t
omni::event1::const_reverse_iterator_t
omni::event1::container_t
omni::event1::delegate_t
omni::event1::iterator_t
omni::event1::p1_t
omni::event1::ret_t
omni::event1::reverse_iterator_t
DESCRIPTION
Events are a type of multi-cast delegate that allows client code to attach multiple handlers of various classes, structs and anonymous functions, to a single event handler. As long as each target method is signature compatable with the underlying delegate type, classes and structs of various types can be attached to the same event object.
Invoking an event will invoke each attached handler (delegate) in the order they have been attached.
top
Events are a type of multi-cast delegate that allows client code to attach multiple handlers of various classes, structs and anonymous functions, to a single event handler. As long as each target method is signature compatable with the underlying delegate type, classes and structs of various types can be attached to the same event object.
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 1
- Specifies the parameter types passed to the delegate
top