|  | WPILibC++ 2025.3.2
    | 
| Functions | |
| bool | nt::SetFloat (NT_Handle pubentry, float value, int64_t time=0) | 
| Publish a new value. | |
| bool | nt::SetDefaultFloat (NT_Handle pubentry, float defaultValue) | 
| Publish a default value. | |
| float | nt::GetFloat (NT_Handle subentry, float defaultValue) | 
| Get the last published value. | |
| TimestampedFloat | nt::GetAtomicFloat (NT_Handle subentry, float defaultValue) | 
| Get the last published value along with its timestamp. | |
| std::vector< TimestampedFloat > | nt::ReadQueueFloat (NT_Handle subentry) | 
| Get an array of all value changes since the last call to ReadQueue. | |
| std::vector< float > | nt::ReadQueueValuesFloat (NT_Handle subentry) | 
| Get an array of all value changes since the last call to ReadQueue. | |
| TimestampedFloat nt::GetAtomicFloat | ( | NT_Handle | subentry, | 
| float | defaultValue ) | 
Get the last published value along with its timestamp.
If no value has been published, returns the passed defaultValue and a timestamp of 0.
| subentry | subscriber or entry handle | 
| defaultValue | default value to return if no value has been published | 
| float nt::GetFloat | ( | NT_Handle | subentry, | 
| float | defaultValue ) | 
Get the last published value.
If no value has been published, returns the passed defaultValue.
| subentry | subscriber or entry handle | 
| defaultValue | default value to return if no value has been published | 
| std::vector< TimestampedFloat > nt::ReadQueueFloat | ( | NT_Handle | subentry | ) | 
Get an array of all value changes since the last call to ReadQueue.
Also provides a timestamp for each value.
| subentry | subscriber or entry handle | 
| std::vector< float > nt::ReadQueueValuesFloat | ( | NT_Handle | subentry | ) | 
Get an array of all value changes since the last call to ReadQueue.
| subentry | subscriber or entry handle | 
| bool nt::SetDefaultFloat | ( | NT_Handle | pubentry, | 
| float | defaultValue ) | 
Publish a default value.
On reconnect, a default value will never be used in preference to a published value.
| pubentry | publisher or entry handle | 
| defaultValue | default value | 
| bool nt::SetFloat | ( | NT_Handle | pubentry, | 
| float | value, | ||
| int64_t | time = 0 ) | 
Publish a new value.
| pubentry | publisher or entry handle | 
| value | value to publish | 
| time | timestamp; 0 indicates current NT time should be used |