NetworkTables subscriber.
More...
#include <wpi/nt/Topic.hpp>
NetworkTables subscriber.
◆ ~Subscriber()
| virtual wpi::nt::Subscriber::~Subscriber |
( |
| ) |
|
|
inlinevirtual |
◆ Subscriber() [1/4]
| wpi::nt::Subscriber::Subscriber |
( |
const Subscriber & | | ) |
|
|
delete |
◆ Subscriber() [2/4]
| wpi::nt::Subscriber::Subscriber |
( |
Subscriber && | rhs | ) |
|
|
inline |
◆ Subscriber() [3/4]
| wpi::nt::Subscriber::Subscriber |
( |
| ) |
|
|
protecteddefault |
◆ Subscriber() [4/4]
◆ Exists()
| bool wpi::nt::Subscriber::Exists |
( |
| ) |
const |
|
inline |
Determines if the topic is currently being published.
- Returns
- True if the topic exists, false otherwise.
◆ GetHandle()
Gets the native handle for the subscriber.
- Returns
- Native handle
◆ GetLastChange()
| int64_t wpi::nt::Subscriber::GetLastChange |
( |
| ) |
const |
|
inline |
Gets the last time the value was changed.
Note: this is not atomic with Get(); use GetAtomic() to get both the value and last change as an atomic operation.
- Returns
- Topic last change time
◆ GetTopic()
| Topic wpi::nt::Subscriber::GetTopic |
( |
| ) |
const |
|
inline |
Gets the subscribed-to topic.
- Returns
- Topic
◆ operator bool()
| wpi::nt::Subscriber::operator bool |
( |
| ) |
const |
|
inlineexplicit |
Determines if the native handle is valid.
- Returns
- True if the native handle is valid, false otherwise.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ m_subHandle
The documentation for this class was generated from the following file: