![]() |
WPILibC++ 2025.3.2
|
NetworkTables (ntcore) namespace. More...
Namespaces | |
| namespace | meta |
| NetworkTables meta-topic decoding functions. | |
Classes | |
| class | BooleanArrayEntry |
| NetworkTables BooleanArray entry. More... | |
| class | BooleanArrayPublisher |
| NetworkTables BooleanArray publisher. More... | |
| class | BooleanArraySubscriber |
| NetworkTables BooleanArray subscriber. More... | |
| class | BooleanArrayTopic |
| NetworkTables BooleanArray topic. More... | |
| class | BooleanEntry |
| NetworkTables Boolean entry. More... | |
| class | BooleanPublisher |
| NetworkTables Boolean publisher. More... | |
| class | BooleanSubscriber |
| NetworkTables Boolean subscriber. More... | |
| class | BooleanTopic |
| NetworkTables Boolean topic. More... | |
| struct | ConnectionInfo |
| NetworkTables Connection Information. More... | |
| class | DoubleArrayEntry |
| NetworkTables DoubleArray entry. More... | |
| class | DoubleArrayPublisher |
| NetworkTables DoubleArray publisher. More... | |
| class | DoubleArraySubscriber |
| NetworkTables DoubleArray subscriber. More... | |
| class | DoubleArrayTopic |
| NetworkTables DoubleArray topic. More... | |
| class | DoubleEntry |
| NetworkTables Double entry. More... | |
| class | DoublePublisher |
| NetworkTables Double publisher. More... | |
| class | DoubleSubscriber |
| NetworkTables Double subscriber. More... | |
| class | DoubleTopic |
| NetworkTables Double topic. More... | |
| class | Event |
| NetworkTables event. More... | |
| struct | EventFlags |
| Event notification flags. More... | |
| class | FloatArrayEntry |
| NetworkTables FloatArray entry. More... | |
| class | FloatArrayPublisher |
| NetworkTables FloatArray publisher. More... | |
| class | FloatArraySubscriber |
| NetworkTables FloatArray subscriber. More... | |
| class | FloatArrayTopic |
| NetworkTables FloatArray topic. More... | |
| class | FloatEntry |
| NetworkTables Float entry. More... | |
| class | FloatPublisher |
| NetworkTables Float publisher. More... | |
| class | FloatSubscriber |
| NetworkTables Float subscriber. More... | |
| class | FloatTopic |
| NetworkTables Float topic. More... | |
| class | GenericEntry |
| NetworkTables generic entry. More... | |
| class | GenericPublisher |
| NetworkTables generic publisher. More... | |
| class | GenericSubscriber |
| NetworkTables generic subscriber. More... | |
| class | IntegerArrayEntry |
| NetworkTables IntegerArray entry. More... | |
| class | IntegerArrayPublisher |
| NetworkTables IntegerArray publisher. More... | |
| class | IntegerArraySubscriber |
| NetworkTables IntegerArray subscriber. More... | |
| class | IntegerArrayTopic |
| NetworkTables IntegerArray topic. More... | |
| class | IntegerEntry |
| NetworkTables Integer entry. More... | |
| class | IntegerPublisher |
| NetworkTables Integer publisher. More... | |
| class | IntegerSubscriber |
| NetworkTables Integer subscriber. More... | |
| class | IntegerTopic |
| NetworkTables Integer topic. More... | |
| class | LogMessage |
| NetworkTables log message. More... | |
| class | MultiSubscriber |
| Subscribe to multiple topics based on one or more topic name prefixes. More... | |
| class | NetworkTable |
| A network table that knows its subtable path. More... | |
| class | NetworkTableEntry |
| NetworkTables Entry. More... | |
| class | NetworkTableInstance |
| NetworkTables Instance. More... | |
| class | NetworkTableListener |
| Event listener. More... | |
| class | NetworkTableListenerPoller |
| Event polled listener. More... | |
| class | NTSendable |
| Interface for NetworkTable Sendable objects. More... | |
| class | NTSendableBuilder |
| Helper class for building Sendable dashboard representations for NetworkTables. More... | |
| class | ProtobufEntry |
| NetworkTables protobuf-encoded value entry. More... | |
| class | ProtobufPublisher |
| NetworkTables protobuf-encoded value publisher. More... | |
| class | ProtobufSubscriber |
| NetworkTables protobuf-encoded value subscriber. More... | |
| class | ProtobufTopic |
| NetworkTables protobuf-encoded value topic. More... | |
| class | Publisher |
| NetworkTables publisher. More... | |
| struct | PubSubOptions |
| NetworkTables publish/subscribe options. More... | |
| class | RawEntry |
| NetworkTables Raw entry. More... | |
| class | RawPublisher |
| NetworkTables Raw publisher. More... | |
| class | RawSubscriber |
| NetworkTables Raw subscriber. More... | |
| class | RawTopic |
| NetworkTables Raw topic. More... | |
| class | StringArrayEntry |
| NetworkTables StringArray entry. More... | |
| class | StringArrayPublisher |
| NetworkTables StringArray publisher. More... | |
| class | StringArraySubscriber |
| NetworkTables StringArray subscriber. More... | |
| class | StringArrayTopic |
| NetworkTables StringArray topic. More... | |
| class | StringEntry |
| NetworkTables String entry. More... | |
| class | StringPublisher |
| NetworkTables String publisher. More... | |
| class | StringSubscriber |
| NetworkTables String subscriber. More... | |
| class | StringTopic |
| NetworkTables String topic. More... | |
| class | StructArrayEntry |
| NetworkTables struct-encoded value array entry. More... | |
| class | StructArrayPublisher |
| NetworkTables struct-encoded value array publisher. More... | |
| class | StructArraySubscriber |
| NetworkTables struct-encoded value array subscriber. More... | |
| class | StructArrayTopic |
| NetworkTables struct-encoded value array topic. More... | |
| class | StructEntry |
| NetworkTables struct-encoded value entry. More... | |
| class | StructPublisher |
| NetworkTables struct-encoded value publisher. More... | |
| class | StructSubscriber |
| NetworkTables struct-encoded value subscriber. More... | |
| class | StructTopic |
| NetworkTables struct-encoded value topic. More... | |
| class | Subscriber |
| NetworkTables subscriber. More... | |
| struct | Timestamped |
| Timestamped value. More... | |
| struct | TimestampedUnit |
| Timestamped unit. More... | |
| class | TimeSyncEventData |
| NetworkTables time sync event data. More... | |
| class | Topic |
| NetworkTables Topic. More... | |
| struct | TopicInfo |
| NetworkTables Topic Information. More... | |
| class | UnitEntry |
| NetworkTables unit-typed entry. More... | |
| class | UnitPublisher |
| NetworkTables unit-typed publisher. More... | |
| class | UnitSubscriber |
| NetworkTables unit-typed subscriber. More... | |
| class | UnitTopic |
| NetworkTables unit-typed topic. More... | |
| class | Value |
| A network table entry value. More... | |
| class | ValueEventData |
| NetworkTables Value Event Data. More... | |
Typedefs | |
| using | ListenerCallback = std::function<void(const Event&)> |
| using | NetworkTableValue = Value |
| NetworkTable Value alias for similarity with Java. | |
| using | TimestampedBoolean = Timestamped<bool> |
| Timestamped Boolean. | |
| using | TimestampedInteger = Timestamped<int64_t> |
| Timestamped Integer. | |
| using | TimestampedFloat = Timestamped<float> |
| Timestamped Float. | |
| using | TimestampedDouble = Timestamped<double> |
| Timestamped Double. | |
| using | TimestampedString = Timestamped<std::string> |
| Timestamped String. | |
| using | TimestampedStringView = Timestamped<std::string_view> |
| Timestamped String view (for SmallVector-taking functions). | |
| using | TimestampedRaw = Timestamped<std::vector<uint8_t>> |
| Timestamped Raw. | |
| using | TimestampedRawView = Timestamped<std::span<uint8_t>> |
| Timestamped Raw view (for SmallVector-taking functions). | |
| using | TimestampedBooleanArray = Timestamped<std::vector<int>> |
| Timestamped BooleanArray. | |
| using | TimestampedBooleanArrayView = Timestamped<std::span<int>> |
| Timestamped BooleanArray view (for SmallVector-taking functions). | |
| using | TimestampedIntegerArray = Timestamped<std::vector<int64_t>> |
| Timestamped IntegerArray. | |
| using | TimestampedIntegerArrayView = Timestamped<std::span<int64_t>> |
| Timestamped IntegerArray view (for SmallVector-taking functions). | |
| using | TimestampedFloatArray = Timestamped<std::vector<float>> |
| Timestamped FloatArray. | |
| using | TimestampedFloatArrayView = Timestamped<std::span<float>> |
| Timestamped FloatArray view (for SmallVector-taking functions). | |
| using | TimestampedDoubleArray = Timestamped<std::vector<double>> |
| Timestamped DoubleArray. | |
| using | TimestampedDoubleArrayView = Timestamped<std::span<double>> |
| Timestamped DoubleArray view (for SmallVector-taking functions). | |
| using | TimestampedStringArray = Timestamped<std::vector<std::string>> |
| Timestamped StringArray. | |
Enumerations | |
| enum class | NetworkTableType { NetworkTableType::kUnassigned = NT_UNASSIGNED , NetworkTableType::kBoolean = NT_BOOLEAN , NetworkTableType::kDouble = NT_DOUBLE , NetworkTableType::kString = NT_STRING , NetworkTableType::kRaw = NT_RAW , NetworkTableType::kBooleanArray = NT_BOOLEAN_ARRAY , NetworkTableType::kDoubleArray = NT_DOUBLE_ARRAY , NetworkTableType::kStringArray = NT_STRING_ARRAY , NetworkTableType::kInteger = NT_INTEGER , NetworkTableType::kFloat = NT_FLOAT , NetworkTableType::kIntegerArray = NT_INTEGER_ARRAY , NetworkTableType::kFloatArray = NT_FLOAT_ARRAY } |
| NetworkTable entry type. More... | |
Functions | |
| NT_Inst | GetDefaultInstance () |
| Get default instance. | |
| NT_Inst | CreateInstance () |
| Create an instance. | |
| void | ResetInstance (NT_Inst inst) |
| Reset the internals of an instance. | |
| void | DestroyInstance (NT_Inst inst) |
| Destroy an instance. | |
| NT_Inst | GetInstanceFromHandle (NT_Handle handle) |
| Get instance handle from another handle. | |
| NT_Entry | GetEntry (NT_Inst inst, std::string_view name) |
| Get Entry Handle. | |
| std::string | GetEntryName (NT_Entry entry) |
| Gets the name of the specified entry. | |
| NT_Type | GetEntryType (NT_Entry entry) |
| Gets the type for the specified entry, or unassigned if non existent. | |
| int64_t | GetEntryLastChange (NT_Handle subentry) |
| Gets the last time the entry was changed. | |
| Value | GetEntryValue (NT_Handle subentry) |
| Get Entry Value. | |
| bool | SetDefaultEntryValue (NT_Entry entry, const Value &value) |
| Set Default Entry Value. | |
| bool | SetEntryValue (NT_Entry entry, const Value &value) |
| Set Entry Value. | |
| void | SetEntryFlags (NT_Entry entry, unsigned int flags) |
| Set Entry Flags. | |
| unsigned int | GetEntryFlags (NT_Entry entry) |
| Get Entry Flags. | |
| std::vector< Value > | ReadQueueValue (NT_Handle subentry) |
| Read Entry Queue. | |
| std::vector< Value > | ReadQueueValue (NT_Handle subentry, unsigned int types) |
| Read Entry Queue. | |
| std::vector< NT_Topic > | GetTopics (NT_Inst inst, std::string_view prefix, unsigned int types) |
| Get Published Topics. | |
| std::vector< NT_Topic > | GetTopics (NT_Inst inst, std::string_view prefix, std::span< const std::string_view > types) |
| Get Published Topics. | |
| std::vector< TopicInfo > | GetTopicInfo (NT_Inst inst, std::string_view prefix, unsigned int types) |
| Get Topic Information about multiple topics. | |
| std::vector< TopicInfo > | GetTopicInfo (NT_Inst inst, std::string_view prefix, std::span< const std::string_view > types) |
| Get Topic Information about multiple topics. | |
| TopicInfo | GetTopicInfo (NT_Topic topic) |
| Gets Topic Information. | |
| NT_Topic | GetTopic (NT_Inst inst, std::string_view name) |
| Gets Topic Handle. | |
| std::string | GetTopicName (NT_Topic topic) |
| Gets the name of the specified topic. | |
| NT_Type | GetTopicType (NT_Topic topic) |
| Gets the type for the specified topic, or unassigned if non existent. | |
| std::string | GetTopicTypeString (NT_Topic topic) |
| Gets the type string for the specified topic, or empty string if non existent. | |
| void | SetTopicPersistent (NT_Topic topic, bool value) |
| Sets the persistent property of a topic. | |
| bool | GetTopicPersistent (NT_Topic topic) |
| Gets the persistent property of a topic. | |
| void | SetTopicRetained (NT_Topic topic, bool value) |
| Sets the retained property of a topic. | |
| bool | GetTopicRetained (NT_Topic topic) |
| Gets the retained property of a topic. | |
| void | SetTopicCached (NT_Topic topic, bool value) |
| Sets the cached property of a topic. | |
| bool | GetTopicCached (NT_Topic topic) |
| Gets the cached property of a topic. | |
| bool | GetTopicExists (NT_Handle handle) |
| Determine if topic exists (e.g. | |
| wpi::json | GetTopicProperty (NT_Topic topic, std::string_view name) |
| Gets the current value of a property (as a JSON object). | |
| void | SetTopicProperty (NT_Topic topic, std::string_view name, const wpi::json &value) |
| Sets a property value. | |
| void | DeleteTopicProperty (NT_Topic topic, std::string_view name) |
| Deletes a property. | |
| wpi::json | GetTopicProperties (NT_Topic topic) |
| Gets all topic properties as a JSON object. | |
| bool | SetTopicProperties (NT_Topic topic, const wpi::json &update) |
| Updates multiple topic properties. | |
| NT_Subscriber | Subscribe (NT_Topic topic, NT_Type type, std::string_view typeStr, const PubSubOptions &options=kDefaultPubSubOptions) |
| Creates a new subscriber to value changes on a topic. | |
| void | Unsubscribe (NT_Subscriber sub) |
| Stops subscriber. | |
| NT_Publisher | Publish (NT_Topic topic, NT_Type type, std::string_view typeStr, const PubSubOptions &options=kDefaultPubSubOptions) |
| Creates a new publisher to a topic. | |
| NT_Publisher | PublishEx (NT_Topic topic, NT_Type type, std::string_view typeStr, const wpi::json &properties, const PubSubOptions &options=kDefaultPubSubOptions) |
| Creates a new publisher to a topic. | |
| void | Unpublish (NT_Handle pubentry) |
| Stops publisher. | |
| NT_Entry | GetEntry (NT_Topic topic, NT_Type type, std::string_view typeStr, const PubSubOptions &options=kDefaultPubSubOptions) |
| Creates a new entry (subscriber and weak publisher) to a topic. | |
| void | ReleaseEntry (NT_Entry entry) |
| Stops entry subscriber/publisher. | |
| void | Release (NT_Handle pubsubentry) |
| Stops entry/subscriber/publisher. | |
| NT_Topic | GetTopicFromHandle (NT_Handle pubsubentry) |
| Gets the topic handle from an entry/subscriber/publisher handle. | |
| NT_MultiSubscriber | SubscribeMultiple (NT_Inst inst, std::span< const std::string_view > prefixes, const PubSubOptions &options=kDefaultPubSubOptions) |
| Subscribes to multiple topics based on one or more topic name prefixes. | |
| void | UnsubscribeMultiple (NT_MultiSubscriber sub) |
| Unsubscribes a multi-subscriber. | |
| NT_ListenerPoller | CreateListenerPoller (NT_Inst inst) |
| Creates a listener poller. | |
| void | DestroyListenerPoller (NT_ListenerPoller poller) |
| Destroys a listener poller. | |
| std::vector< Event > | ReadListenerQueue (NT_ListenerPoller poller) |
| Read notifications. | |
| void | RemoveListener (NT_Listener listener) |
| Removes a listener. | |
| bool | WaitForListenerQueue (NT_Handle handle, double timeout) |
| Wait for the listener queue to be empty. | |
| NT_Listener | AddListener (NT_Inst inst, std::span< const std::string_view > prefixes, unsigned int mask, ListenerCallback callback) |
| Create a listener for changes to topics with names that start with any of the given prefixes. | |
| NT_Listener | AddListener (NT_Handle handle, unsigned int mask, ListenerCallback callback) |
| Create a listener. | |
| NT_Listener | AddPolledListener (NT_ListenerPoller poller, std::span< const std::string_view > prefixes, unsigned int mask) |
| Creates a polled listener. | |
| NT_Listener | AddPolledListener (NT_ListenerPoller poller, NT_Handle handle, unsigned int mask) |
| Creates a polled listener. | |
| unsigned int | GetNetworkMode (NT_Inst inst) |
| Get the current network mode. | |
| void | StartLocal (NT_Inst inst) |
| Starts local-only operation. | |
| void | StopLocal (NT_Inst inst) |
| Stops local-only operation. | |
| void | StartServer (NT_Inst inst, std::string_view persist_filename, std::string_view listen_address, unsigned int port3, unsigned int port4) |
| Starts a server using the specified filename, listening address, and port. | |
| void | StopServer (NT_Inst inst) |
| Stops the server if it is running. | |
| void | StartClient3 (NT_Inst inst, std::string_view identity) |
| Starts a NT3 client. | |
| void | StartClient4 (NT_Inst inst, std::string_view identity) |
| Starts a NT4 client. | |
| void | StopClient (NT_Inst inst) |
| Stops the client if it is running. | |
| void | SetServer (NT_Inst inst, std::string_view server_name, unsigned int port) |
| Sets server address and port for client (without restarting client). | |
| void | SetServer (NT_Inst inst, std::span< const std::pair< std::string_view, unsigned int > > servers) |
| Sets server addresses for client (without restarting client). | |
| void | SetServerTeam (NT_Inst inst, unsigned int team, unsigned int port) |
| Sets server addresses and port for client (without restarting client). | |
| void | Disconnect (NT_Inst inst) |
| Disconnects the client if it's running and connected. | |
| void | StartDSClient (NT_Inst inst, unsigned int port) |
| Starts requesting server address from Driver Station. | |
| void | StopDSClient (NT_Inst inst) |
| Stops requesting server address from Driver Station. | |
| void | FlushLocal (NT_Inst inst) |
| Flush local updates. | |
| void | Flush (NT_Inst inst) |
| Flush to network. | |
| std::vector< ConnectionInfo > | GetConnections (NT_Inst inst) |
| Get information on the currently established network connections. | |
| bool | IsConnected (NT_Inst inst) |
| Return whether or not the instance is connected to another node. | |
| std::optional< int64_t > | GetServerTimeOffset (NT_Inst inst) |
| Get the time offset between server time and local time. | |
| int64_t | Now () |
| Returns monotonic current time in 1 us increments. | |
| void | SetNow (int64_t timestamp) |
| Sets the current timestamp used for timestamping values that do not provide a timestamp (e.g. | |
| NT_Type | GetTypeFromString (std::string_view typeString) |
| Turns a type string into a type enum value. | |
| std::string_view | GetStringFromType (NT_Type type) |
| Turns a type enum value into a type string. | |
| NT_DataLogger | StartEntryDataLog (NT_Inst inst, wpi::log::DataLog &log, std::string_view prefix, std::string_view logPrefix) |
| Starts logging entry changes to a DataLog. | |
| void | StopEntryDataLog (NT_DataLogger logger) |
| Stops logging entry changes to a DataLog. | |
| NT_ConnectionDataLogger | StartConnectionDataLog (NT_Inst inst, wpi::log::DataLog &log, std::string_view name) |
| Starts logging connection changes to a DataLog. | |
| void | StopConnectionDataLog (NT_ConnectionDataLogger logger) |
| Stops logging connection changes to a DataLog. | |
| NT_Listener | AddLogger (NT_Inst inst, unsigned int min_level, unsigned int max_level, ListenerCallback func) |
| Add logger callback function. | |
| NT_Listener | AddPolledLogger (NT_ListenerPoller poller, unsigned int min_level, unsigned int max_level) |
| Set the log level for a log poller. | |
| bool | HasSchema (NT_Inst inst, std::string_view name) |
| Returns whether there is a data schema already registered with the given name. | |
| void | AddSchema (NT_Inst inst, std::string_view name, std::string_view type, std::span< const uint8_t > schema) |
| Registers a data schema. | |
| void | AddSchema (NT_Inst inst, std::string_view name, std::string_view type, std::string_view schema) |
| Registers a data schema. | |
| bool | operator== (const Value &lhs, const Value &rhs) |
| bool | SetBoolean (NT_Handle pubentry, bool value, int64_t time=0) |
| Publish a new value. | |
| bool | SetDefaultBoolean (NT_Handle pubentry, bool defaultValue) |
| Publish a default value. | |
| bool | GetBoolean (NT_Handle subentry, bool defaultValue) |
| Get the last published value. | |
| TimestampedBoolean | GetAtomicBoolean (NT_Handle subentry, bool defaultValue) |
| Get the last published value along with its timestamp. | |
| std::vector< TimestampedBoolean > | ReadQueueBoolean (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| std::vector< int > | ReadQueueValuesBoolean (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| bool | SetInteger (NT_Handle pubentry, int64_t value, int64_t time=0) |
| Publish a new value. | |
| bool | SetDefaultInteger (NT_Handle pubentry, int64_t defaultValue) |
| Publish a default value. | |
| int64_t | GetInteger (NT_Handle subentry, int64_t defaultValue) |
| Get the last published value. | |
| TimestampedInteger | GetAtomicInteger (NT_Handle subentry, int64_t defaultValue) |
| Get the last published value along with its timestamp. | |
| std::vector< TimestampedInteger > | ReadQueueInteger (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| std::vector< int64_t > | ReadQueueValuesInteger (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| bool | SetFloat (NT_Handle pubentry, float value, int64_t time=0) |
| Publish a new value. | |
| bool | SetDefaultFloat (NT_Handle pubentry, float defaultValue) |
| Publish a default value. | |
| float | GetFloat (NT_Handle subentry, float defaultValue) |
| Get the last published value. | |
| TimestampedFloat | GetAtomicFloat (NT_Handle subentry, float defaultValue) |
| Get the last published value along with its timestamp. | |
| std::vector< TimestampedFloat > | ReadQueueFloat (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| std::vector< float > | ReadQueueValuesFloat (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| bool | SetDouble (NT_Handle pubentry, double value, int64_t time=0) |
| Publish a new value. | |
| bool | SetDefaultDouble (NT_Handle pubentry, double defaultValue) |
| Publish a default value. | |
| double | GetDouble (NT_Handle subentry, double defaultValue) |
| Get the last published value. | |
| TimestampedDouble | GetAtomicDouble (NT_Handle subentry, double defaultValue) |
| Get the last published value along with its timestamp. | |
| std::vector< TimestampedDouble > | ReadQueueDouble (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| std::vector< double > | ReadQueueValuesDouble (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| bool | SetString (NT_Handle pubentry, std::string_view value, int64_t time=0) |
| Publish a new value. | |
| bool | SetDefaultString (NT_Handle pubentry, std::string_view defaultValue) |
| Publish a default value. | |
| std::string | GetString (NT_Handle subentry, std::string_view defaultValue) |
| Get the last published value. | |
| TimestampedString | GetAtomicString (NT_Handle subentry, std::string_view defaultValue) |
| Get the last published value along with its timestamp. | |
| std::vector< TimestampedString > | ReadQueueString (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| std::vector< std::string > | ReadQueueValuesString (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| std::string_view | GetString (NT_Handle subentry, wpi::SmallVectorImpl< char > &buf, std::string_view defaultValue) |
| TimestampedStringView | GetAtomicString (NT_Handle subentry, wpi::SmallVectorImpl< char > &buf, std::string_view defaultValue) |
| bool | SetRaw (NT_Handle pubentry, std::span< const uint8_t > value, int64_t time=0) |
| Publish a new value. | |
| bool | SetDefaultRaw (NT_Handle pubentry, std::span< const uint8_t > defaultValue) |
| Publish a default value. | |
| std::vector< uint8_t > | GetRaw (NT_Handle subentry, std::span< const uint8_t > defaultValue) |
| Get the last published value. | |
| TimestampedRaw | GetAtomicRaw (NT_Handle subentry, std::span< const uint8_t > defaultValue) |
| Get the last published value along with its timestamp. | |
| std::vector< TimestampedRaw > | ReadQueueRaw (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| std::vector< std::vector< uint8_t > > | ReadQueueValuesRaw (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| std::span< uint8_t > | GetRaw (NT_Handle subentry, wpi::SmallVectorImpl< uint8_t > &buf, std::span< const uint8_t > defaultValue) |
| TimestampedRawView | GetAtomicRaw (NT_Handle subentry, wpi::SmallVectorImpl< uint8_t > &buf, std::span< const uint8_t > defaultValue) |
| bool | SetBooleanArray (NT_Handle pubentry, std::span< const int > value, int64_t time=0) |
| Publish a new value. | |
| bool | SetDefaultBooleanArray (NT_Handle pubentry, std::span< const int > defaultValue) |
| Publish a default value. | |
| std::vector< int > | GetBooleanArray (NT_Handle subentry, std::span< const int > defaultValue) |
| Get the last published value. | |
| TimestampedBooleanArray | GetAtomicBooleanArray (NT_Handle subentry, std::span< const int > defaultValue) |
| Get the last published value along with its timestamp. | |
| std::vector< TimestampedBooleanArray > | ReadQueueBooleanArray (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| std::vector< std::vector< int > > | ReadQueueValuesBooleanArray (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| std::span< int > | GetBooleanArray (NT_Handle subentry, wpi::SmallVectorImpl< int > &buf, std::span< const int > defaultValue) |
| TimestampedBooleanArrayView | GetAtomicBooleanArray (NT_Handle subentry, wpi::SmallVectorImpl< int > &buf, std::span< const int > defaultValue) |
| bool | SetIntegerArray (NT_Handle pubentry, std::span< const int64_t > value, int64_t time=0) |
| Publish a new value. | |
| bool | SetDefaultIntegerArray (NT_Handle pubentry, std::span< const int64_t > defaultValue) |
| Publish a default value. | |
| std::vector< int64_t > | GetIntegerArray (NT_Handle subentry, std::span< const int64_t > defaultValue) |
| Get the last published value. | |
| TimestampedIntegerArray | GetAtomicIntegerArray (NT_Handle subentry, std::span< const int64_t > defaultValue) |
| Get the last published value along with its timestamp. | |
| std::vector< TimestampedIntegerArray > | ReadQueueIntegerArray (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| std::vector< std::vector< int64_t > > | ReadQueueValuesIntegerArray (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| std::span< int64_t > | GetIntegerArray (NT_Handle subentry, wpi::SmallVectorImpl< int64_t > &buf, std::span< const int64_t > defaultValue) |
| TimestampedIntegerArrayView | GetAtomicIntegerArray (NT_Handle subentry, wpi::SmallVectorImpl< int64_t > &buf, std::span< const int64_t > defaultValue) |
| bool | SetFloatArray (NT_Handle pubentry, std::span< const float > value, int64_t time=0) |
| Publish a new value. | |
| bool | SetDefaultFloatArray (NT_Handle pubentry, std::span< const float > defaultValue) |
| Publish a default value. | |
| std::vector< float > | GetFloatArray (NT_Handle subentry, std::span< const float > defaultValue) |
| Get the last published value. | |
| TimestampedFloatArray | GetAtomicFloatArray (NT_Handle subentry, std::span< const float > defaultValue) |
| Get the last published value along with its timestamp. | |
| std::vector< TimestampedFloatArray > | ReadQueueFloatArray (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| std::vector< std::vector< float > > | ReadQueueValuesFloatArray (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| std::span< float > | GetFloatArray (NT_Handle subentry, wpi::SmallVectorImpl< float > &buf, std::span< const float > defaultValue) |
| TimestampedFloatArrayView | GetAtomicFloatArray (NT_Handle subentry, wpi::SmallVectorImpl< float > &buf, std::span< const float > defaultValue) |
| bool | SetDoubleArray (NT_Handle pubentry, std::span< const double > value, int64_t time=0) |
| Publish a new value. | |
| bool | SetDefaultDoubleArray (NT_Handle pubentry, std::span< const double > defaultValue) |
| Publish a default value. | |
| std::vector< double > | GetDoubleArray (NT_Handle subentry, std::span< const double > defaultValue) |
| Get the last published value. | |
| TimestampedDoubleArray | GetAtomicDoubleArray (NT_Handle subentry, std::span< const double > defaultValue) |
| Get the last published value along with its timestamp. | |
| std::vector< TimestampedDoubleArray > | ReadQueueDoubleArray (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| std::vector< std::vector< double > > | ReadQueueValuesDoubleArray (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| std::span< double > | GetDoubleArray (NT_Handle subentry, wpi::SmallVectorImpl< double > &buf, std::span< const double > defaultValue) |
| TimestampedDoubleArrayView | GetAtomicDoubleArray (NT_Handle subentry, wpi::SmallVectorImpl< double > &buf, std::span< const double > defaultValue) |
| bool | SetStringArray (NT_Handle pubentry, std::span< const std::string > value, int64_t time=0) |
| Publish a new value. | |
| bool | SetDefaultStringArray (NT_Handle pubentry, std::span< const std::string > defaultValue) |
| Publish a default value. | |
| std::vector< std::string > | GetStringArray (NT_Handle subentry, std::span< const std::string > defaultValue) |
| Get the last published value. | |
| TimestampedStringArray | GetAtomicStringArray (NT_Handle subentry, std::span< const std::string > defaultValue) |
| Get the last published value along with its timestamp. | |
| std::vector< TimestampedStringArray > | ReadQueueStringArray (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
| std::vector< std::vector< std::string > > | ReadQueueValuesStringArray (NT_Handle subentry) |
| Get an array of all value changes since the last call to ReadQueue. | |
Variables | |
| constexpr PubSubOptions | kDefaultPubSubOptions |
| Default publish/subscribe options. | |
NetworkTables (ntcore) namespace.