Show / Hide Table of Contents

Class LinuxLibraryLoader

This class handles native libraries on Linux

Inheritance
Object
LinuxLibraryLoader
Implements
ILibraryLoader
IFunctionPointerLoader
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: WPIUtil.NativeUtilities
Assembly: FRC.WPIUtil.dll
Syntax
public class LinuxLibraryLoader : ILibraryLoader, IFunctionPointerLoader

Properties

| Improve this Doc View Source

NativeLibraryHandle

Gets the native library handle for the library

Declaration
public IntPtr NativeLibraryHandle { get; }
Property Value
Type Description
IntPtr

Methods

| Improve this Doc View Source

TryLoadLibrary(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 Source

IFunctionPointerLoader.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
| Improve this Doc View Source

ILibraryLoader.LoadLibrary(String)

Loads the library from the specified file name

Declaration
void ILibraryLoader.LoadLibrary(string filename)
Parameters
Type Name Description
String filename
| Improve this Doc View Source

ILibraryLoader.UnloadLibrary()

Unloads the native library

Declaration
void ILibraryLoader.UnloadLibrary()

Implements

ILibraryLoader
IFunctionPointerLoader
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet