WPILibC++ 2024.3.2
|
Subscribe to multiple topics based on one or more topic name prefixes. More...
#include <networktables/MultiSubscriber.h>
Public Member Functions | |
MultiSubscriber ()=default | |
MultiSubscriber (NetworkTableInstance inst, std::span< const std::string_view > prefixes, const PubSubOptions &options=kDefaultPubSubOptions) | |
Create a multiple subscriber. More... | |
MultiSubscriber (const MultiSubscriber &)=delete | |
MultiSubscriber & | operator= (const MultiSubscriber &)=delete |
MultiSubscriber (MultiSubscriber &&rhs) | |
MultiSubscriber & | operator= (MultiSubscriber &&rhs) |
~MultiSubscriber () | |
operator bool () const | |
Determines if the native handle is valid. More... | |
NT_MultiSubscriber | GetHandle () const |
Gets the native handle. More... | |
Subscribe to multiple topics based on one or more topic name prefixes.
Can be used in combination with ValueListenerPoller to listen for value changes across all matching topics.
|
default |
|
inline |
Create a multiple subscriber.
inst | instance |
prefixes | topic name prefixes |
options | subscriber options |
|
delete |
|
inline |
|
inline |
|
inline |
Gets the native handle.
|
inlineexplicit |
Determines if the native handle is valid.
|
delete |
|
inline |