WPILibC++  2019.1.1-beta-4-15-g8ac4b11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Instance Functions

Functions

NT_Inst nt::GetDefaultInstance ()
 Get default instance. More...
 
NT_Inst nt::CreateInstance ()
 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_Inst nt::CreateInstance ( )

Create an instance.

Returns
Instance handle
void nt::DestroyInstance ( NT_Inst  inst)

Destroy an instance.

The default instance cannot be destroyed.

Parameters
instInstance handle
NT_Inst nt::GetDefaultInstance ( )

Get default instance.

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

Returns
Instance handle
NT_Inst nt::GetInstanceFromHandle ( NT_Handle  handle)

Get instance handle from another handle.

Parameters
handleentry/instance/etc. handle
Returns
Instance handle