CallbackMgr /

#includecinder/Function.h

Implements a utility class for maintaining a list of callbacks.


Public Member Functions

  • registerCb (std::function< SIG > cb)
  • registerCb (iterator position, std::function< SIG > cb)
  • void
    call ()
  • void
    call (A1 a1)
  • void
    call (A1 a1, A2 a2)
  • void
    call (A1 a1, A2 a2, A3 a3)
  • void
    call (A1 a1, A2 a2, A3 a3, A4 a4)
  • void
    call (A1 a1, A2 a2, A3 a3, A4 a4, A5 a5)
  • void
    unregisterCb (CallbackId cbId)
  • bool
    empty () const
  • find (CallbackId cbId)
  • begin ()
  • end ()
  • getCallbacks ()