WPILibC++ 2024.3.2
Instance Functions

Functions

NT_Inst NT_GetDefaultInstance (void)
 Get default instance. More...
 
NT_Inst NT_CreateInstance (void)
 Create an instance. More...
 
void NT_DestroyInstance (NT_Inst inst)
 Destroy an instance. More...
 
NT_Inst NT_GetInstanceFromHandle (NT_Handle handle)
 Get instance handle from another handle. More...
 

Detailed Description

Function Documentation

◆ NT_CreateInstance()

NT_Inst NT_CreateInstance ( void  )

Create an instance.

Returns
Instance handle

◆ NT_DestroyInstance()

void NT_DestroyInstance ( NT_Inst  inst)

Destroy an instance.

The default instance cannot be destroyed.

Parameters
instInstance handle

◆ NT_GetDefaultInstance()

NT_Inst NT_GetDefaultInstance ( void  )

Get default instance.

This is the instance used by non-handle-taking functions.

Returns
Instance handle

◆ NT_GetInstanceFromHandle()

NT_Inst NT_GetInstanceFromHandle ( NT_Handle  handle)

Get instance handle from another handle.

Parameters
handlehandle
Returns
Instance handle