WPILibC++ 2023.4.3
|
NetworkTables Topic Information. More...
#include <ntcore_cpp.h>
Public Member Functions | |
wpi::json | GetProperties () const |
Get topic properties as a JSON object. More... | |
Public Attributes | |
NT_Topic | topic {0} |
Topic handle. More... | |
std::string | name |
Topic name. More... | |
NT_Type | type {NT_UNASSIGNED} |
Topic type. More... | |
std::string | type_str |
Topic type string. More... | |
std::string | properties |
Topic properties JSON string. More... | |
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.