WPILibC++ 2024.3.1
ntcore C++ API

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

Modules

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

Variables

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

Detailed Description

Handle-based interface for C++.

Typedef Documentation

◆ TimestampedBoolean

using nt::TimestampedBoolean = typedef Timestamped<bool>

Timestamped Boolean.

◆ TimestampedBooleanArray

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

Timestamped BooleanArray.

◆ TimestampedBooleanArrayView

using nt::TimestampedBooleanArrayView = typedef Timestamped<std::span<int> >

Timestamped BooleanArray view (for SmallVector-taking functions).

◆ TimestampedDouble

using nt::TimestampedDouble = typedef Timestamped<double>

Timestamped Double.

◆ TimestampedDoubleArray

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

Timestamped DoubleArray.

◆ TimestampedDoubleArrayView

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

Timestamped DoubleArray view (for SmallVector-taking functions).

◆ TimestampedFloat

using nt::TimestampedFloat = typedef Timestamped<float>

Timestamped Float.

◆ TimestampedFloatArray

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

Timestamped FloatArray.

◆ TimestampedFloatArrayView

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

Timestamped FloatArray view (for SmallVector-taking functions).

◆ TimestampedInteger

using nt::TimestampedInteger = typedef Timestamped<int64_t>

Timestamped Integer.

◆ TimestampedIntegerArray

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

Timestamped IntegerArray.

◆ TimestampedIntegerArrayView

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

Timestamped IntegerArray view (for SmallVector-taking functions).

◆ TimestampedRaw

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

◆ TimestampedRawView

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

Timestamped Raw view (for SmallVector-taking functions).

◆ TimestampedString

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

Timestamped String.

◆ TimestampedStringArray

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

Timestamped StringArray.

◆ TimestampedStringView

Timestamped String view (for SmallVector-taking functions).

Variable Documentation

◆ kDefaultPubSubOptions

constexpr PubSubOptions nt::kDefaultPubSubOptions
constexpr

Default publish/subscribe options.