NAME
A member function of omni::event14
OVERLOADS
omni::event14::attach_const
A member function of omni::event14
#include <omni/delegate/14.hpp>template < class T, ret_t (T::*fnptr)(PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14) const > void omni::event14::attach_const(const T& obj)OVERLOADS
template < class T, ret_t (T::*fnptr)(PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14) const > void omni::event14::attach_const(const T *const obj)
DESCRIPTION
Adds a delegate to the end of this instances invocation list. See the notes below about race conditions.
top
Adds a delegate to the end of this instances invocation list. See the notes below about race conditions.
top
PARAMETERS
top
obj - The instance of the class to reference in this delegate T - The type of class to associate with this delegate fnptr - The function to attach to the delegate
top
CONSIDERATIONS
If the OMNI_SAFE_EVENT defines are not enabled, it is undefined if this event is invoked and edited at the same
top
If the OMNI_SAFE_EVENT defines are not enabled, it is undefined if this event is invoked and edited at the same
time; i.e. a race condition can occur if you attach to an event from one thread while invoking from another.
top