cinder::CallbackMgr< SIG > Class Template Reference
Implements a utility class for maintaining a list of callbacks.
More...
#include <Function.h>
List of all members.
Public Types |
typedef std::vector< std::pair
< CallbackId, std::function
< SIG > > > | collection |
typedef collection::iterator | iterator |
Public Member Functions |
CallbackId | registerCb (std::function< SIG > cb) |
CallbackId | registerCb (iterator position, std::function< SIG > cb) |
template<typename A1 > |
void | call (A1 a1) |
template<typename A1 , typename A2 > |
void | call (A1 a1, A2 a2) |
template<typename A1 , typename A2 , typename A3 > |
void | call (A1 a1, A2 a2, A3 a3) |
template<typename A1 , typename A2 , typename A3 , typename A4 > |
void | call (A1 a1, A2 a2, A3 a3, A4 a4) |
template<typename A1 , typename A2 , typename A3 , typename A4 , typename A5 > |
void | call (A1 a1, A2 a2, A3 a3, A4 a4, A5 a5) |
void | unregisterCb (CallbackId cbId) |
bool | empty () const |
iterator | find (CallbackId cbId) |
iterator | begin () |
iterator | end () |
collection & | getCallbacks () |
Detailed Description
template<typename SIG>
class cinder::CallbackMgr< SIG >
Implements a utility class for maintaining a list of callbacks.
Member Typedef Documentation
Member Function Documentation
template<typename SIG>
template<typename A1 >
template<typename SIG>
template<typename A1 , typename A2 >
template<typename SIG>
template<typename A1 , typename A2 , typename A3 >
template<typename SIG>
template<typename A1 , typename A2 , typename A3 , typename A4 >
template<typename SIG>
template<typename A1 , typename A2 , typename A3 , typename A4 , typename A5 >
The documentation for this class was generated from the following file: