State.emitPortValues

void emitPortValues(LilvSetPortValueFunc setValue, void * userData) @nogc nothrow

Emit all port values in this state via a callback. Does not touch a live Instance; useful for hosts that apply ports themselves. Low overhead C callback version which is potentially real-time safe.

Parameters

setValueThe set value C callback to call for each value
userDataUser defined data to pass to the C callback
void emitPortValues(SetPortValueDelegate setValueDg)

Emit all port values in this state via a callback. Does not touch a live Instance; useful for hosts that apply ports themselves. Uses a delegate which may result in GC allocation or exceptions. NOT real-time safe.

Parameters

setValueDgPort value set callback delegate which is called for each value