NT_GetAtomicInteger

Function NT_GetAtomicInteger 

Source
pub unsafe extern "C" fn NT_GetAtomicInteger(
    subentry: NT_Handle,
    defaultValue: i64,
    value: *mut NT_TimestampedInteger,
)
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)