Class LinuxLibraryLoader
This class handles native libraries on Linux
Inherited Members
Namespace: WPIUtil.NativeUtilities
Assembly: FRC.WPIUtil.dll
Syntax
public class LinuxLibraryLoader : ILibraryLoader, IFunctionPointerLoader
Properties
| Improve this Doc View SourceNativeLibraryHandle
Gets the native library handle for the library
Declaration
public IntPtr NativeLibraryHandle { get; }
Property Value
Type | Description |
---|---|
IntPtr |
Methods
| Improve this Doc View SourceTryLoadLibrary(String)
Try to load a native library from a path
Declaration
public bool TryLoadLibrary(string filename)
Parameters
Type | Name | Description |
---|---|---|
String | filename |
Returns
Type | Description |
---|---|
Boolean |
Explicit Interface Implementations
| Improve this Doc View SourceIFunctionPointerLoader.GetProcAddress(String)
Get a function pointer for a function name
Declaration
IntPtr IFunctionPointerLoader.GetProcAddress(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name |
Returns
Type | Description |
---|---|
IntPtr |
ILibraryLoader.LoadLibrary(String)
Loads the library from the specified file name
Declaration
void ILibraryLoader.LoadLibrary(string filename)
Parameters
Type | Name | Description |
---|---|---|
String | filename |
ILibraryLoader.UnloadLibrary()
Unloads the native library
Declaration
void ILibraryLoader.UnloadLibrary()