![]() |
WPILibC++ 2027.0.0-alpha-5
|
Event notification flags. More...
#include <wpi/nt/ntcore_cpp.hpp>
Public Member Functions | |
| EventFlags ()=delete | |
Static Public Attributes | |
| static constexpr unsigned int | NONE = NT_EVENT_NONE |
| static constexpr unsigned int | IMMEDIATE = NT_EVENT_IMMEDIATE |
| Initial listener addition. | |
| static constexpr unsigned int | CONNECTED = NT_EVENT_CONNECTED |
| Client connected (on server, any client connected). | |
| static constexpr unsigned int | DISCONNECTED = NT_EVENT_DISCONNECTED |
| Client disconnected (on server, any client disconnected). | |
| static constexpr unsigned int | CONNECTION = CONNECTED | DISCONNECTED |
| Any connection event (connect or disconnect). | |
| static constexpr unsigned int | PUBLISH = NT_EVENT_PUBLISH |
| New topic published. | |
| static constexpr unsigned int | UNPUBLISH = NT_EVENT_UNPUBLISH |
| Topic unpublished. | |
| static constexpr unsigned int | PROPERTIES = NT_EVENT_PROPERTIES |
| Topic properties changed. | |
| static constexpr unsigned int | TOPIC = PUBLISH | UNPUBLISH | PROPERTIES |
| Any topic event (publish, unpublish, or properties changed). | |
| static constexpr unsigned int | VALUE_REMOTE = NT_EVENT_VALUE_REMOTE |
| Topic value updated (via network). | |
| static constexpr unsigned int | VALUE_LOCAL = NT_EVENT_VALUE_LOCAL |
| Topic value updated (local). | |
| static constexpr unsigned int | VALUE_ALL = VALUE_REMOTE | VALUE_LOCAL |
| Topic value updated (network or local). | |
| static constexpr unsigned int | LOG_MESSAGE = NT_EVENT_LOG_MESSAGE |
| Log message. | |
| static constexpr unsigned int | TIME_SYNC = NT_EVENT_TIME_SYNC |
| Time synchronized with server. | |
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).