NetworkTables event.
More...
#include <ntcore_cpp.h>
|
| Event ()=default |
|
| Event (NT_Listener listener, unsigned int flags, ConnectionInfo info) |
|
| Event (NT_Listener listener, unsigned int flags, TopicInfo info) |
|
| Event (NT_Listener listener, unsigned int flags, ValueEventData data) |
|
| Event (NT_Listener listener, unsigned int flags, LogMessage msg) |
|
| Event (NT_Listener listener, unsigned int flags, NT_Topic topic, NT_Handle subentry, Value value) |
|
| Event (NT_Listener listener, unsigned int flags, unsigned int level, std::string_view filename, unsigned int line, std::string_view message) |
|
| Event (NT_Listener listener, unsigned int flags, int64_t serverTimeOffset, int64_t rtt2, bool valid) |
|
bool | Is (unsigned int kind) const |
| Test event flags. More...
|
|
const ConnectionInfo * | GetConnectionInfo () const |
|
ConnectionInfo * | GetConnectionInfo () |
|
const TopicInfo * | GetTopicInfo () const |
|
TopicInfo * | GetTopicInfo () |
|
const ValueEventData * | GetValueEventData () const |
|
ValueEventData * | GetValueEventData () |
|
const LogMessage * | GetLogMessage () const |
|
LogMessage * | GetLogMessage () |
|
const TimeSyncEventData * | GetTimeSyncEventData () const |
|
TimeSyncEventData * | GetTimeSyncEventData () |
|
◆ Event() [1/8]
◆ Event() [2/8]
◆ Event() [3/8]
◆ Event() [4/8]
◆ Event() [5/8]
◆ Event() [6/8]
◆ Event() [7/8]
◆ Event() [8/8]
nt::Event::Event |
( |
NT_Listener |
listener, |
|
|
unsigned int |
flags, |
|
|
int64_t |
serverTimeOffset, |
|
|
int64_t |
rtt2, |
|
|
bool |
valid |
|
) |
| |
|
inline |
◆ GetConnectionInfo() [1/2]
◆ GetConnectionInfo() [2/2]
◆ GetLogMessage() [1/2]
◆ GetLogMessage() [2/2]
const LogMessage * nt::Event::GetLogMessage |
( |
| ) |
const |
|
inline |
◆ GetTimeSyncEventData() [1/2]
◆ GetTimeSyncEventData() [2/2]
◆ GetTopicInfo() [1/2]
◆ GetTopicInfo() [2/2]
const TopicInfo * nt::Event::GetTopicInfo |
( |
| ) |
const |
|
inline |
◆ GetValueEventData() [1/2]
◆ GetValueEventData() [2/2]
◆ Is()
bool nt::Event::Is |
( |
unsigned int |
kind | ) |
const |
|
inline |
Test event flags.
- Parameters
-
kind | event flag(s) to test |
- Returns
- True if flags matches kind
◆ data
Event data; content depends on flags.
◆ flags
unsigned int nt::Event::flags {0} |
Event flags (NT_EventFlags).
Also indicates the data included with the event:
◆ listener
Listener that triggered this event.
The documentation for this class was generated from the following file: