This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
ofFastEvent< T > Class Template Reference
#include <ofEvent.h>
Inheritance diagram for ofFastEvent< T >:

Public Member Functions | |
bool | notify (const void *sender, T ¶m) |
![]() | |
std::unique_ptr< of::priv::AbstractEventToken > | newListener (TObj *listener, TMethod method, int priority=OF_EVENT_ORDER_AFTER_APP) |
std::unique_ptr< of::priv::AbstractEventToken > | newListener (TFunction function, int priority=OF_EVENT_ORDER_AFTER_APP) |
void | add (TObj *listener, TMethod method, int priority) |
void | add (TFunction function, int priority) |
void | remove (TObj *listener, TMethod method, int priority) |
void | remove (TFunction function, int priority) |
bool | notify (const void *sender, T ¶m) |
bool | notify (T ¶m) |
Additional Inherited Members | |
![]() | |
typedef of::priv::Function< T, of::priv::NoopMutex > | Function |
typedef std::shared_ptr< Function > | FunctionPtr |
![]() | |
std::unique_ptr< FunctionId< TObj, TMethod > > | make_function_id (TObj *listener, TMethod method) |
FunctionPtr | make_function (TObj *listener, bool(TObj::*method)(T &), int priority) |
FunctionPtr | make_function (TObj *listener, void(TObj::*method)(T &), int priority) |
FunctionPtr | make_function (TObj *listener, bool(TObj::*method)(const void *, T &), int priority) |
FunctionPtr | make_function (TObj *listener, void(TObj::*method)(const void *, T &), int priority) |
FunctionPtr | make_function (std::function< bool(T &)> f, int priority) |
FunctionPtr | make_function (std::function< bool(const void *, T &)> f, int priority) |
FunctionPtr | make_function (std::function< void(T &)> f, int priority) |
FunctionPtr | make_function (std::function< void(const void *, T &)> f, int priority) |
std::unique_ptr< of::priv::BaseFunctionId > | make_std_function_id (const F &f) |
Detailed Description
template<typename T>
class ofFastEvent< T >
class ofFastEvent< T >
Non thread safe event that avoids locks and copies of the listeners making it faster than a plain ofEvent
Member Function Documentation
◆ notify()
template<typename T >
|
inline |
The documentation for this class was generated from the following file:
- /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/events/ofEvent.h