Ase::RtCall struct

Wrap simple callback pointers, without using malloc (obstruction free).

Constructors, destructors, conversion operators

template <typename T>
RtCall(T& o, void(T::*)() f)
Wrap a simple void func() object member function call.
template <typename T>
RtCall(void(*)(T*) f, T* d)
Wrap a single argument void func (T*) function call with its pointer argument.
RtCall(void(*)() f)
Wrap a simple void func () function call.
RtCall(const RtCall& call) explicit
Copy function call pointers from another RtCall.
~RtCall()
Clear function pointers.

Public functions

void invoke()
Invoke the wrapped function call.