NT_GetAtomicFloat

Function NT_GetAtomicFloat 

Source
pub unsafe extern "C" fn NT_GetAtomicFloat(
    subentry: NT_Handle,
    defaultValue: f32,
    value: *mut NT_TimestampedFloat,
)
Expand description

Get the last published value along with its timestamp. If no value has been published, returns the passed defaultValue and a timestamp of 0.

ยงParameters

  • subentry: subscriber or entry handle
  • defaultValue: default value to return if no value has been published
  • value: timestamped value (output)