Class NtCore
Raw NT Core access function
Assembly: FRC.NetworkTables.dll
Syntax
[NativeInterface(typeof(INtCore))]
public static class NtCore
Methods
|
Improve this Doc
View Source
AddPolledConnectionListener(NtConnectionListenerPoller, Boolean)
Declaration
public static NtConnectionListener AddPolledConnectionListener(NtConnectionListenerPoller poller, bool immediateNotify)
Parameters
Returns
|
Improve this Doc
View Source
AddPolledEntryListener(NtEntryListenerPoller, NetworkTableEntry, NotifyFlags)
Declaration
public static NtEntryListener AddPolledEntryListener(NtEntryListenerPoller poller, NetworkTableEntry entry, NotifyFlags flags)
Parameters
Returns
|
Improve this Doc
View Source
AddPolledEntryListener(NtEntryListenerPoller, ReadOnlySpan<Char>, NotifyFlags)
Declaration
public static NtEntryListener AddPolledEntryListener(NtEntryListenerPoller poller, ReadOnlySpan<char> prefix, NotifyFlags flags)
Parameters
Returns
|
Improve this Doc
View Source
AddPolledEntryListener(NtEntryListenerPoller, String, NotifyFlags)
Declaration
public static NtEntryListener AddPolledEntryListener(NtEntryListenerPoller poller, string prefix, NotifyFlags flags)
Parameters
Returns
|
Improve this Doc
View Source
AddPolledLogger(NtLoggerPoller, Int32, Int32)
Declaration
public static NtLogger AddPolledLogger(NtLoggerPoller poller, int minLevel, int maxLevel)
Parameters
Returns
|
Improve this Doc
View Source
CallRpc(NtEntry, Span<Byte>)
Declaration
public static NtRpcCall CallRpc(NtEntry entry, Span<byte> params)
Parameters
Type |
Name |
Description |
NtEntry |
entry |
|
System.Span<Byte> |
params |
|
Returns
|
Improve this Doc
View Source
CancelPollConnectionListener(NtConnectionListenerPoller)
Declaration
public static void CancelPollConnectionListener(NtConnectionListenerPoller poller)
Parameters
|
Improve this Doc
View Source
CancelPollEntryListener(NtEntryListenerPoller)
Declaration
public static void CancelPollEntryListener(NtEntryListenerPoller poller)
Parameters
|
Improve this Doc
View Source
CancelPollLogger(NtLoggerPoller)
Declaration
public static void CancelPollLogger(NtLoggerPoller poller)
Parameters
|
Improve this Doc
View Source
CancelPollRpc(NtRpcCallPoller)
Declaration
public static void CancelPollRpc(NtRpcCallPoller poller)
Parameters
|
Improve this Doc
View Source
CancelRpcResult(NtEntry, NtRpcCall)
Declaration
public static void CancelRpcResult(NtEntry entry, NtRpcCall call)
Parameters
|
Improve this Doc
View Source
CreateConnectionListenerPoller(NtInst)
Declaration
public static NtConnectionListenerPoller CreateConnectionListenerPoller(NtInst inst)
Parameters
Type |
Name |
Description |
NtInst |
inst |
|
Returns
|
Improve this Doc
View Source
CreateEntryListenerPoller(NtInst)
Declaration
public static NtEntryListenerPoller CreateEntryListenerPoller(NtInst inst)
Parameters
Type |
Name |
Description |
NtInst |
inst |
|
Returns
|
Improve this Doc
View Source
CreateInstance()
Declaration
public static NtInst CreateInstance()
Returns
|
Improve this Doc
View Source
CreateLoggerPoller(NtInst)
Declaration
public static NtLoggerPoller CreateLoggerPoller(NtInst inst)
Parameters
Type |
Name |
Description |
NtInst |
inst |
|
Returns
|
Improve this Doc
View Source
CreatePolledRpc(NtEntry, ReadOnlySpan<Byte>, NtRpcCallPoller)
Declaration
public static void CreatePolledRpc(NtEntry entry, ReadOnlySpan<byte> def, NtRpcCallPoller poller)
Parameters
|
Improve this Doc
View Source
CreateRpcCallPoller(NtInst)
Declaration
public static NtRpcCallPoller CreateRpcCallPoller(NtInst inst)
Parameters
Type |
Name |
Description |
NtInst |
inst |
|
Returns
|
Improve this Doc
View Source
DeleteAllEntries(NtInst)
Declaration
public static void DeleteAllEntries(NtInst inst)
Parameters
Type |
Name |
Description |
NtInst |
inst |
|
|
Improve this Doc
View Source
DeleteEntry(NtEntry)
Declaration
public static void DeleteEntry(NtEntry entry)
Parameters
Type |
Name |
Description |
NtEntry |
entry |
|
|
Improve this Doc
View Source
DestroyConnectionListenerPoller(NtConnectionListenerPoller)
Declaration
public static void DestroyConnectionListenerPoller(NtConnectionListenerPoller poller)
Parameters
|
Improve this Doc
View Source
DestroyEntryListenerPoller(NtEntryListenerPoller)
Declaration
public static void DestroyEntryListenerPoller(NtEntryListenerPoller poller)
Parameters
|
Improve this Doc
View Source
DestroyInstance(NtInst)
Declaration
public static void DestroyInstance(NtInst inst)
Parameters
Type |
Name |
Description |
NtInst |
inst |
|
|
Improve this Doc
View Source
DestroyLoggerPoller(NtLoggerPoller)
Declaration
public static void DestroyLoggerPoller(NtLoggerPoller poller)
Parameters
|
Improve this Doc
View Source
DestroyRpcCallPoller(NtRpcCallPoller)
Declaration
public static void DestroyRpcCallPoller(NtRpcCallPoller poller)
Parameters
|
Improve this Doc
View Source
Flush(NtInst)
Declaration
public static void Flush(NtInst inst)
Parameters
Type |
Name |
Description |
NtInst |
inst |
|
|
Improve this Doc
View Source
GetConnections(NtInst, Span<ConnectionInfo>)
Declaration
public static ReadOnlySpan<ConnectionInfo> GetConnections(NtInst inst, Span<ConnectionInfo> store)
Parameters
Returns
|
Improve this Doc
View Source
GetDefaultInstance()
Declaration
public static NtInst GetDefaultInstance()
Returns
|
Improve this Doc
View Source
GetEntries(NtInst, ReadOnlySpan<Char>, NtType, Span<NtEntry>)
Declaration
public static ReadOnlySpan<NtEntry> GetEntries(NtInst inst, ReadOnlySpan<char> prefix, NtType types, Span<NtEntry> store)
Parameters
Returns
Type |
Description |
System.ReadOnlySpan<NtEntry> |
|
|
Improve this Doc
View Source
GetEntries(NtInst, String, NtType, Span<NtEntry>)
Declaration
public static ReadOnlySpan<NtEntry> GetEntries(NtInst inst, string prefix, NtType types, Span<NtEntry> store)
Parameters
Returns
Type |
Description |
System.ReadOnlySpan<NtEntry> |
|
|
Improve this Doc
View Source
GetEntriesManaged(NetworkTableInstance, ReadOnlySpan<Char>, NtType, Span<NetworkTableEntry>)
Declaration
public static ReadOnlySpan<NetworkTableEntry> GetEntriesManaged(NetworkTableInstance inst, ReadOnlySpan<char> prefix, NtType types, Span<NetworkTableEntry> store)
Parameters
Returns
|
Improve this Doc
View Source
GetEntriesManaged(NetworkTableInstance, String, NtType, Span<NetworkTableEntry>)
Declaration
public static ReadOnlySpan<NetworkTableEntry> GetEntriesManaged(NetworkTableInstance inst, string prefix, NtType types, Span<NetworkTableEntry> store)
Parameters
Returns
|
Improve this Doc
View Source
GetEntry(NtInst, ReadOnlySpan<Char>)
Declaration
public static NtEntry GetEntry(NtInst inst, ReadOnlySpan<char> name)
Parameters
Type |
Name |
Description |
NtInst |
inst |
|
System.ReadOnlySpan<Char> |
name |
|
Returns
|
Improve this Doc
View Source
GetEntry(NtInst, String)
Declaration
public static NtEntry GetEntry(NtInst inst, string name)
Parameters
Returns
|
Improve this Doc
View Source
GetEntryCount(NtInst, ReadOnlySpan<Char>, NtType)
Declaration
public static int GetEntryCount(NtInst inst, ReadOnlySpan<char> prefix, NtType types)
Parameters
Returns
|
Improve this Doc
View Source
GetEntryCount(NtInst, String, NtType)
Declaration
public static int GetEntryCount(NtInst inst, string prefix, NtType types)
Parameters
Returns
|
Improve this Doc
View Source
GetEntryFlags(NtEntry)
Declaration
public static EntryFlags GetEntryFlags(NtEntry entry)
Parameters
Type |
Name |
Description |
NtEntry |
entry |
|
Returns
|
Improve this Doc
View Source
GetEntryInfo(NetworkTableInstance, ReadOnlySpan<Char>, NtType, Span<EntryInfo>)
Declaration
public static ReadOnlySpan<EntryInfo> GetEntryInfo(NetworkTableInstance inst, ReadOnlySpan<char> prefix, NtType types, Span<EntryInfo> store)
Parameters
Returns
Type |
Description |
System.ReadOnlySpan<EntryInfo> |
|
|
Improve this Doc
View Source
GetEntryInfo(NetworkTableInstance, String, NtType, Span<EntryInfo>)
Declaration
public static ReadOnlySpan<EntryInfo> GetEntryInfo(NetworkTableInstance inst, string prefix, NtType types, Span<EntryInfo> store)
Parameters
Returns
Type |
Description |
System.ReadOnlySpan<EntryInfo> |
|
|
Improve this Doc
View Source
GetEntryInfoHandle(NetworkTableInstance, NtEntry)
Declaration
public static EntryInfo? GetEntryInfoHandle(NetworkTableInstance inst, NtEntry entry)
Parameters
Returns
|
Improve this Doc
View Source
GetEntryLastChange(NtEntry)
Declaration
public static ulong GetEntryLastChange(NtEntry entry)
Parameters
Type |
Name |
Description |
NtEntry |
entry |
|
Returns
|
Improve this Doc
View Source
GetEntryName(NtEntry)
Declaration
public static string GetEntryName(NtEntry entry)
Parameters
Type |
Name |
Description |
NtEntry |
entry |
|
Returns
|
Improve this Doc
View Source
GetEntryType(NtEntry)
Declaration
public static NtType GetEntryType(NtEntry entry)
Parameters
Type |
Name |
Description |
NtEntry |
entry |
|
Returns
|
Improve this Doc
View Source
GetEntryValue(NtEntry)
Declaration
public static ManagedValue GetEntryValue(NtEntry entry)
Parameters
Type |
Name |
Description |
NtEntry |
entry |
|
Returns
|
Improve this Doc
View Source
GetInstanceFromHandle(NtHandle)
Declaration
public static NtInst GetInstanceFromHandle(NtHandle handle)
Parameters
Returns
|
Improve this Doc
View Source
GetNetworkMode(NtInst)
Declaration
public static NetworkMode GetNetworkMode(NtInst inst)
Parameters
Type |
Name |
Description |
NtInst |
inst |
|
Returns
|
Improve this Doc
View Source
GetRpcResult(NtEntry, NtRpcCall, Double, Span<Byte>)
Declaration
public static ReadOnlySpan<byte> GetRpcResult(NtEntry entry, NtRpcCall call, double timeout, Span<byte> store)
Parameters
Returns
Type |
Description |
System.ReadOnlySpan<Byte> |
|
|
Improve this Doc
View Source
GetRpcResult(NtEntry, NtRpcCall, Span<Byte>)
Declaration
public static ReadOnlySpan<byte> GetRpcResult(NtEntry entry, NtRpcCall call, Span<byte> store)
Parameters
Returns
Type |
Description |
System.ReadOnlySpan<Byte> |
|
|
Improve this Doc
View Source
Initialize()
Declaration
public static void Initialize()
|
Improve this Doc
View Source
IsConnected(NtInst)
Declaration
public static bool IsConnected(NtInst inst)
Parameters
Type |
Name |
Description |
NtInst |
inst |
|
Returns
|
Improve this Doc
View Source
LoadEntries(NtInst, String, String)
Declaration
public static List<string> LoadEntries(NtInst inst, string filename, string prefix)
Parameters
Returns
|
Improve this Doc
View Source
LoadPersistent(NtInst, String)
Declaration
public static List<string> LoadPersistent(NtInst inst, string filename)
Parameters
Returns
|
Improve this Doc
View Source
Now()
Declaration
public static ulong Now()
Returns
|
Improve this Doc
View Source
PostRpcResponse(NtEntry, NtRpcCall, ReadOnlySpan<Byte>)
Declaration
public static void PostRpcResponse(NtEntry entry, NtRpcCall call, ReadOnlySpan<byte> result)
Parameters
|
Improve this Doc
View Source
RemoveConnectionListener(NtConnectionListener)
Declaration
public static void RemoveConnectionListener(NtConnectionListener listener)
Parameters
|
Improve this Doc
View Source
RemoveEntryListener(NtEntryListener)
Declaration
public static void RemoveEntryListener(NtEntryListener listener)
Parameters
|
Improve this Doc
View Source
RemoveLogger(NtLogger)
Declaration
public static void RemoveLogger(NtLogger logger)
Parameters
|
Improve this Doc
View Source
SaveEntries(NtInst, String, String)
Declaration
public static void SaveEntries(NtInst inst, string filename, string prefix)
Parameters
|
Improve this Doc
View Source
SavePersistent(NtInst, String)
Declaration
public static void SavePersistent(NtInst inst, string filename)
Parameters
|
Improve this Doc
View Source
SetEntryFlags(NtEntry, EntryFlags)
Declaration
public static void SetEntryFlags(NtEntry entry, EntryFlags flags)
Parameters
|
Improve this Doc
View Source
SetEntryValue(NtEntry, ManagedValue)
Declaration
public static bool SetEntryValue(NtEntry entry, in ManagedValue value)
Parameters
Returns
|
Improve this Doc
View Source
SetNetworkIdentity(NtInst, String)
Declaration
public static void SetNetworkIdentity(NtInst inst, string name)
Parameters
|
Improve this Doc
View Source
SetServer(NtInst, ReadOnlySpan<ServerPortPair>)
Declaration
public static void SetServer(NtInst inst, ReadOnlySpan<ServerPortPair> servers)
Parameters
|
Improve this Doc
View Source
SetServer(NtInst, String, Int32)
Declaration
public static void SetServer(NtInst inst, string serverName, int port)
Parameters
|
Improve this Doc
View Source
SetServerTeam(NtInst, Int32, Int32)
Declaration
public static void SetServerTeam(NtInst inst, int team, int port)
Parameters
|
Improve this Doc
View Source
SetUpdateRate(NtInst, Double)
Declaration
public static void SetUpdateRate(NtInst inst, double interval)
Parameters
|
Improve this Doc
View Source
StartClient(NtInst)
Declaration
public static void StartClient(NtInst inst)
Parameters
Type |
Name |
Description |
NtInst |
inst |
|
|
Improve this Doc
View Source
StartClient(NtInst, ReadOnlySpan<ServerPortPair>)
Declaration
public static void StartClient(NtInst inst, ReadOnlySpan<ServerPortPair> servers)
Parameters
|
Improve this Doc
View Source
StartClient(NtInst, String, Int32)
Declaration
public static void StartClient(NtInst inst, string serverName, int port)
Parameters
|
Improve this Doc
View Source
StartClientTeam(NtInst, Int32, Int32)
Declaration
public static void StartClientTeam(NtInst inst, int team, int port)
Parameters
|
Improve this Doc
View Source
StartDSClient(NtInst, Int32)
Declaration
public static void StartDSClient(NtInst inst, int port)
Parameters
|
Improve this Doc
View Source
StartServer(NtInst, String, String, Int32)
Declaration
public static void StartServer(NtInst inst, string persistFilename, string listenAddress, int port)
Parameters
|
Improve this Doc
View Source
StopClient(NtInst)
Declaration
public static void StopClient(NtInst inst)
Parameters
Type |
Name |
Description |
NtInst |
inst |
|
|
Improve this Doc
View Source
StopDSClient(NtInst)
Declaration
public static void StopDSClient(NtInst inst)
Parameters
Type |
Name |
Description |
NtInst |
inst |
|
|
Improve this Doc
View Source
StopServer(NtInst)
Declaration
public static void StopServer(NtInst inst)
Parameters
Type |
Name |
Description |
NtInst |
inst |
|
|
Improve this Doc
View Source
WaitForConnectionListenerQueue(NtInst, Double)
Declaration
public static bool WaitForConnectionListenerQueue(NtInst inst, double timeout)
Parameters
Returns
|
Improve this Doc
View Source
WaitForEntryListenerQueue(NtInst, Double)
Declaration
public static bool WaitForEntryListenerQueue(NtInst inst, double timeout)
Parameters
Returns
|
Improve this Doc
View Source
WaitForLoggerQueue(NtInst, Double)
Declaration
public static bool WaitForLoggerQueue(NtInst inst, double timeout)
Parameters
Returns
|
Improve this Doc
View Source
WaitForRpcCallQueue(NtInst, Double)
Declaration
public static bool WaitForRpcCallQueue(NtInst inst, double timeout)
Parameters
Returns