![]() |
WPILibC++ 2025.3.2
|
NetworkTables Topic Information. More...
#include <ntcore_cpp.h>
Public Member Functions | |
| wpi::json | GetProperties () const |
| Get topic properties as a JSON object. | |
Public Attributes | |
| NT_Topic | topic {0} |
| Topic handle. | |
| std::string | name |
| Topic name. | |
| NT_Type | type {NT_UNASSIGNED} |
| Topic type. | |
| std::string | type_str |
| Topic type string. | |
| std::string | properties |
| Topic properties JSON string. | |
Friends | |
| void | swap (TopicInfo &first, TopicInfo &second) |
NetworkTables Topic Information.
| wpi::json nt::TopicInfo::GetProperties | ( | ) | const |
Get topic properties as a JSON object.
| std::string nt::TopicInfo::name |
Topic name.
| std::string nt::TopicInfo::properties |
Topic properties JSON string.
| NT_Type nt::TopicInfo::type {NT_UNASSIGNED} |
Topic type.
| std::string nt::TopicInfo::type_str |
Topic type string.