WPILibC++ 2025.2.1
Loading...
Searching...
No Matches
ntcore C++ API

Topics

 Instance Functions
 
 
 Table Functions
 
 
 Topic Functions
 
 
 Advanced Subscriber Functions
 
 
 Listener Functions
 
 
 Client/Server Functions
 
 
 Utility Functions
 
 
 Data Logger Functions
 
 
 Logger Functions
 
 
 Schema Functions
 
 
 Boolean Functions
 
 
 Integer Functions
 
 
 Float Functions
 
 
 Double Functions
 
 
 String Functions
 
 
 Raw Functions
 
 
 BooleanArray Functions
 
 
 IntegerArray Functions
 
 
 FloatArray Functions
 
 
 DoubleArray Functions
 
 
 StringArray Functions
 
 

Classes

struct  nt::EventFlags
 Event notification flags. More...
 
struct  nt::TopicInfo
 NetworkTables Topic Information. More...
 
struct  nt::ConnectionInfo
 NetworkTables Connection Information. More...
 
class  nt::ValueEventData
 NetworkTables Value Event Data. More...
 
class  nt::LogMessage
 NetworkTables log message. More...
 
class  nt::TimeSyncEventData
 NetworkTables time sync event data. More...
 
class  nt::Event
 NetworkTables event. More...
 
struct  nt::PubSubOptions
 NetworkTables publish/subscribe options. More...
 
struct  nt::Timestamped< T >
 Timestamped value. More...
 

Typedefs

using nt::TimestampedBoolean = Timestamped<bool>
 Timestamped Boolean.
 
using nt::TimestampedInteger = Timestamped<int64_t>
 Timestamped Integer.
 
using nt::TimestampedFloat = Timestamped<float>
 Timestamped Float.
 
using nt::TimestampedDouble = Timestamped<double>
 Timestamped Double.
 
using nt::TimestampedString = Timestamped<std::string>
 Timestamped String.
 
using nt::TimestampedStringView = Timestamped<std::string_view>
 Timestamped String view (for SmallVector-taking functions).
 
using nt::TimestampedRaw = Timestamped<std::vector<uint8_t>>
 Timestamped Raw.
 
using nt::TimestampedRawView = Timestamped<std::span<uint8_t>>
 Timestamped Raw view (for SmallVector-taking functions).
 
using nt::TimestampedBooleanArray = Timestamped<std::vector<int>>
 Timestamped BooleanArray.
 
using nt::TimestampedBooleanArrayView = Timestamped<std::span<int>>
 Timestamped BooleanArray view (for SmallVector-taking functions).
 
using nt::TimestampedIntegerArray = Timestamped<std::vector<int64_t>>
 Timestamped IntegerArray.
 
using nt::TimestampedIntegerArrayView = Timestamped<std::span<int64_t>>
 Timestamped IntegerArray view (for SmallVector-taking functions).
 
using nt::TimestampedFloatArray = Timestamped<std::vector<float>>
 Timestamped FloatArray.
 
using nt::TimestampedFloatArrayView = Timestamped<std::span<float>>
 Timestamped FloatArray view (for SmallVector-taking functions).
 
using nt::TimestampedDoubleArray = Timestamped<std::vector<double>>
 Timestamped DoubleArray.
 
using nt::TimestampedDoubleArrayView = Timestamped<std::span<double>>
 Timestamped DoubleArray view (for SmallVector-taking functions).
 
using nt::TimestampedStringArray = Timestamped<std::vector<std::string>>
 Timestamped StringArray.
 

Variables

constexpr PubSubOptions nt::kDefaultPubSubOptions
 Default publish/subscribe options.
 

Detailed Description

Handle-based interface for C++.

Typedef Documentation

◆ TimestampedBoolean

◆ TimestampedBooleanArray

using nt::TimestampedBooleanArray = Timestamped<std::vector<int>>

Timestamped BooleanArray.

◆ TimestampedBooleanArrayView

Timestamped BooleanArray view (for SmallVector-taking functions).

◆ TimestampedDouble

◆ TimestampedDoubleArray

using nt::TimestampedDoubleArray = Timestamped<std::vector<double>>

Timestamped DoubleArray.

◆ TimestampedDoubleArrayView

using nt::TimestampedDoubleArrayView = Timestamped<std::span<double>>

Timestamped DoubleArray view (for SmallVector-taking functions).

◆ TimestampedFloat

◆ TimestampedFloatArray

using nt::TimestampedFloatArray = Timestamped<std::vector<float>>

Timestamped FloatArray.

◆ TimestampedFloatArrayView

using nt::TimestampedFloatArrayView = Timestamped<std::span<float>>

Timestamped FloatArray view (for SmallVector-taking functions).

◆ TimestampedInteger

Timestamped Integer.

◆ TimestampedIntegerArray

using nt::TimestampedIntegerArray = Timestamped<std::vector<int64_t>>

Timestamped IntegerArray.

◆ TimestampedIntegerArrayView

using nt::TimestampedIntegerArrayView = Timestamped<std::span<int64_t>>

Timestamped IntegerArray view (for SmallVector-taking functions).

◆ TimestampedRaw

using nt::TimestampedRaw = Timestamped<std::vector<uint8_t>>

◆ TimestampedRawView

using nt::TimestampedRawView = Timestamped<std::span<uint8_t>>

Timestamped Raw view (for SmallVector-taking functions).

◆ TimestampedString

using nt::TimestampedString = Timestamped<std::string>

Timestamped String.

◆ TimestampedStringArray

using nt::TimestampedStringArray = Timestamped<std::vector<std::string>>

Timestamped StringArray.

◆ TimestampedStringView

using nt::TimestampedStringView = Timestamped<std::string_view>

Timestamped String view (for SmallVector-taking functions).

Variable Documentation

◆ kDefaultPubSubOptions

PubSubOptions nt::kDefaultPubSubOptions
constexpr

Default publish/subscribe options.