WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
ntcore C++ API

Handle-based interface for C++. More...

Topics

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

Classes

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

Typedefs

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

Variables

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

Detailed Description

Handle-based interface for C++.

Typedef Documentation

◆ TimestampedBoolean

◆ TimestampedBooleanArray

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

Timestamped BooleanArray.

◆ TimestampedBooleanArrayView

Timestamped BooleanArray view (for wpi::util::SmallVector-taking functions).

◆ TimestampedDouble

◆ TimestampedDoubleArray

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

Timestamped DoubleArray.

◆ TimestampedDoubleArrayView

Timestamped DoubleArray view (for wpi::util::SmallVector-taking functions).

◆ TimestampedFloat

◆ TimestampedFloatArray

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

Timestamped FloatArray.

◆ TimestampedFloatArrayView

Timestamped FloatArray view (for wpi::util::SmallVector-taking functions).

◆ TimestampedInteger

◆ TimestampedIntegerArray

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

Timestamped IntegerArray.

◆ TimestampedIntegerArrayView

Timestamped IntegerArray view (for wpi::util::SmallVector-taking functions).

◆ TimestampedRaw

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

◆ TimestampedRawView

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

Timestamped Raw view (for wpi::util::SmallVector-taking functions).

◆ TimestampedString

Timestamped String.

◆ TimestampedStringArray

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

Timestamped StringArray.

◆ TimestampedStringView

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

Timestamped String view (for wpi::util::SmallVector-taking functions).

Variable Documentation

◆ kDefaultPubSubOptions

PubSubOptions wpi::nt::kDefaultPubSubOptions
constexpr

Default publish/subscribe options.