Classes Files

com::wombat::mama::MamaTimer

Public Functions

  Name
long getPointerVal()
native void create(MamaQueue queue, MamaTimerCallback callback, double interval)
void create(MamaQueue queue, MamaTimerCallback callback, double interval, Object closure)
native void destroy()
native void resetInterval(double interval)
native double getInterval()
native void reset()
Object getClosure()

Public Functions Documentation

function getPointerVal

inline long getPointerVal()

function create

native void create(
    MamaQueue queue,
    MamaTimerCallback callback,
    double interval
)

Parameters:

  • queue The MamaQueue.
  • callback The object implementing the callback functions.
  • interval The timer interval in seconds.

Create a timer.

function create

inline void create(
    MamaQueue queue,
    MamaTimerCallback callback,
    double interval,
    Object closure
)

Parameters:

  • queue The MamaQueue.
  • callback The object implementing the callback functions.
  • interval The timer interval in seconds.
  • closure The closure will be passed to subsequent callback invocations for this subscription.

Create a timer.

function destroy

native void destroy()

function resetInterval

native void resetInterval(
    double interval
)

function getInterval

native double getInterval()

function reset

native void reset()

function getClosure

inline Object getClosure()

Updated on 2023-03-31 at 15:29:44 +0100