public class LatencyEvent extends Event
The event is sent upstream from the sinks and notifies elements that they should add an additional latency to the timestamps before synchronising against the clock.
The latency is mostly used in live sinks and is always expressed in the time format.
NativeObject.Initializer
defaultInit, LIFECYCLE, ownsHandle
Constructor and Description |
---|
LatencyEvent(ClockTime latency)
Create a new latency event.
|
LatencyEvent(NativeObject.Initializer init)
This constructor is for internal use only.
|
Modifier and Type | Method and Description |
---|---|
ClockTime |
getLatency()
Gets the latency in the latency event.
|
getStructure
disposeNativeHandle, isWritable, makeWritable, ref, unref
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, initializer, instanceFor, invalidate, isDisposed, nativeValue, objectFor, objectFor, objectFor, objectFor, toString
public LatencyEvent(NativeObject.Initializer init)
init
- initialization data.public LatencyEvent(ClockTime latency)
latency
- the new latency value to add to timestamps.public ClockTime getLatency()