omni::event7
NAME

omni::event7

A class of omni

#include <omni/delegate/7.hpp>
class omni::event7

MEMBERS

omni::event7::event7()
omni::event7::~event7()
void omni::event7::attach(const omni::delegate7< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7 >& d)
template < class T, ret_t (T::*fnptr)(PT1, PT2, PT3, PT4, PT5, PT6, PT7) const > void omni::event7::attach_const(const T& obj)
void omni::event7::clear()
bool omni::event7::contains(const omni::delegate7< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7 >& d)
template < class T, ret_t (T::*fnptr)(PT1, PT2, PT3, PT4, PT5, PT6, PT7) const > bool omni::event7::contains_const(const T& obj)
void omni::event7::detach(const omni::delegate7< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7 >& d)
void omni::event7::detach_all(const omni::delegate7< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7 >& d)
template < class T, ret_t (T::*fnptr)(PT1, PT2, PT3, PT4, PT5, PT6, PT7) const > void omni::event7::detach_const(const T& obj)
bool omni::event7::empty()
container_t omni::event7::invocation_list()
ret_t omni::event7::invoke(p1_t val1, p2_t val2, p3_t val3, p4_t val4, p5_t val5, p6_t val6, p7_t val7)
ret_t omni::event7::invoke_direct(p1_t val1, p2_t val2, p3_t val3, p4_t val4, p5_t val5, p6_t val6, p7_t val7)
void omni::event7::swap(event7< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7 >& e)
ret_t omni::event7::operator()
omni::event7::operator bool()
bool omni::event7::operator!()
bool omni::event7::operator!=(const event7< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7 >& e)
event7< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7 > omni::event7::operator+(const omni::delegate7< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7 >& d)
event7< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7 >& omni::event7::operator+=(const omni::delegate7< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7 >& d)
event7< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7 > omni::event7::operator-(const omni::delegate7< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7 >& d)
event7< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7 >& omni::event7::operator-=(const omni::delegate7< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7 >& d)
event7< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7 >& omni::event7::operator=(const event7< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7 >& e)
bool omni::event7::operator==(const event7< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7 >& e)
omni::delegate7< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7 >& omni::event7::operator[](std::size_t idx)
omni::event7::const_iterator_t
omni::event7::const_reverse_iterator_t
omni::event7::container_t
omni::event7::delegate_t
omni::event7::iterator_t
omni::event7::p1_t
omni::event7::p2_t
omni::event7::p3_t
omni::event7::p4_t
omni::event7::p5_t
omni::event7::p6_t
omni::event7::p7_t
omni::event7::ret_t
omni::event7::reverse_iterator_t

SYNOPSIS

The event class is a type of multicast delegate.

top

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

PARAMETERS

Ret - Specifies the return type of the delegates to be attached 7 - Specifies the parameter types passed to the delegate

top