NAME
A member function of omni::event
omni::event::clear
A member function of omni::event
#include <omni/delegate/0.hpp>
void omni::event::clear()
DESCRIPTION
Clears the underlying list of the attached delegates, subsequently calling each delegates destructor.
top
Clears the underlying list of the attached delegates, subsequently calling each delegates destructor.
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
NOTES
See the notes on
top
See the notes on
omni::delegate::~delegate
about the implications regarding destruction of the delegate class while a bound function is still running.
top