ofDocsdocumentation events ofEvent

ofEvent

Class for creating custom events. Also used inside oF for its own events (see ofCoreEvents).

ie: To create a new event:

ofEvent<float

add( ... )

void add(TObj *listener, TMethod method, int priority)

add( ... )

void add(TFunction function, int priority)

make_function( ... )

ofEvent::FunctionPtr make_function(TObj *listener, bool (TObj::*)(const void *, T &) method, int priority)

make_function( ... )

ofEvent::FunctionPtr make_function(TObj *listener, void (TObj::*)(const void *, T &) method, int priority)

make_function( ... )

ofEvent::FunctionPtr make_function(TObj *listener, bool (TObj::*)(T &) method, int priority)

make_function( ... )

ofEvent::FunctionPtr make_function(TObj *listener, void (TObj::*)(T &) method, int priority)

notify( ... )

bool notify(T &param)

notify( ... )

bool notify(const void *sender, T &param)

remove( ... )

void remove(TObj *listener, TMethod method, int priority)

remove( ... )

void remove(TFunction function, int priority)