WPILibC++ 2023.4.3
|
Event notification flags. More...
#include <ntcore_cpp.h>
Public Member Functions | |
EventFlags ()=delete | |
Static Public Attributes | |
static constexpr unsigned int | kNone = NT_EVENT_NONE |
static constexpr unsigned int | kImmediate = NT_EVENT_IMMEDIATE |
Initial listener addition. More... | |
static constexpr unsigned int | kConnected = NT_EVENT_CONNECTED |
Client connected (on server, any client connected). More... | |
static constexpr unsigned int | kDisconnected = NT_EVENT_DISCONNECTED |
Client disconnected (on server, any client disconnected). More... | |
static constexpr unsigned int | kConnection = kConnected | kDisconnected |
Any connection event (connect or disconnect). More... | |
static constexpr unsigned int | kPublish = NT_EVENT_PUBLISH |
New topic published. More... | |
static constexpr unsigned int | kUnpublish = NT_EVENT_UNPUBLISH |
Topic unpublished. More... | |
static constexpr unsigned int | kProperties = NT_EVENT_PROPERTIES |
Topic properties changed. More... | |
static constexpr unsigned int | kTopic = kPublish | kUnpublish | kProperties |
Any topic event (publish, unpublish, or properties changed). More... | |
static constexpr unsigned int | kValueRemote = NT_EVENT_VALUE_REMOTE |
Topic value updated (via network). More... | |
static constexpr unsigned int | kValueLocal = NT_EVENT_VALUE_LOCAL |
Topic value updated (local). More... | |
static constexpr unsigned int | kValueAll = kValueRemote | kValueLocal |
Topic value updated (network or local). More... | |
static constexpr unsigned int | kLogMessage = NT_EVENT_LOGMESSAGE |
Log message. More... | |
static constexpr unsigned int | kTimeSync = NT_EVENT_TIMESYNC |
Time synchronized with server. More... | |
Event notification flags.
The flags are a bitmask and must be OR'ed together to indicate the combination of events desired to be received.
|
delete |
|
staticconstexpr |
Client connected (on server, any client connected).
|
staticconstexpr |
Any connection event (connect or disconnect).
|
staticconstexpr |
Client disconnected (on server, any client disconnected).
|
staticconstexpr |
Initial listener addition.
Set this flag to receive immediate notification of matches to the flag criteria.
|
staticconstexpr |
Log message.
|
staticconstexpr |
|
staticconstexpr |
Topic properties changed.
|
staticconstexpr |
New topic published.
|
staticconstexpr |
Time synchronized with server.
|
staticconstexpr |
Any topic event (publish, unpublish, or properties changed).
|
staticconstexpr |
Topic unpublished.
|
staticconstexpr |
Topic value updated (network or local).
|
staticconstexpr |
Topic value updated (local).
|
staticconstexpr |
Topic value updated (via network).