@Namespace(value="FlyCapture2") @Properties(inherit=FlyCapture2.class) public class Utilities extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Utilities(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
static Error |
CheckDriver(PGRGuid guid)
Check for driver compatibility for the given camera guid.
|
static Error |
GetDriverDeviceName(PGRGuid guid,
BytePointer deviceName)
Get the driver's name for a device
|
static Error |
GetLibraryVersion(FC2Version pVersion)
Get library version.
|
static Error |
GetSystemInfo(SystemInfo pSystemInfo)
Get system information.
|
static Error |
LaunchBrowser(BytePointer pAddress)
Launch a URL in the system default browser.
|
static Error |
LaunchBrowser(String pAddress) |
static Error |
LaunchCommand(BytePointer pCommand)
Execute a command in the terminal.
|
static Error |
LaunchCommand(String pCommand) |
static Error |
LaunchCommandAsync(BytePointer pCommand,
AsyncCommandCallback pCallback,
Pointer pUserData)
Execute a command in the terminal.
|
static Error |
LaunchCommandAsync(String pCommand,
AsyncCommandCallback pCallback,
Pointer pUserData) |
static Error |
LaunchHelp(BytePointer pFileName)
Open a CHM file in the system default CHM viewer.
|
static Error |
LaunchHelp(String pFileName) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Utilities(Pointer p)
Pointer(Pointer)
.@ByVal public static Error CheckDriver(@Const PGRGuid guid)
guid
- Pointer to the guid of the device to check.@ByVal public static Error GetDriverDeviceName(@Const PGRGuid guid, @StdString @ByRef BytePointer deviceName)
guid
- Pointer to the guid of the device to check.deviceName
- The device name will be returned in this string@ByVal public static Error GetSystemInfo(SystemInfo pSystemInfo)
pSystemInfo
- Structure to receive system information.@ByVal public static Error GetLibraryVersion(FC2Version pVersion)
pVersion
- Structure to receive the library version.@ByVal public static Error LaunchBrowser(@Cast(value="const char*") BytePointer pAddress)
pAddress
- URL to open in browser.@ByVal public static Error LaunchHelp(@Cast(value="const char*") BytePointer pFileName)
pFileName
- Filename of CHM file to open.@ByVal public static Error LaunchCommand(@Cast(value="const char*") BytePointer pCommand)
pCommand
- Command to execute.LaunchCommandAsync()
@ByVal public static Error LaunchCommandAsync(@Cast(value="const char*") BytePointer pCommand, AsyncCommandCallback pCallback, Pointer pUserData)
pCommand
- Command to execute.pCallback
- Callback to fire when command is complete.pUserData
- Data pointer to pass to callback.LaunchCommand()
@ByVal public static Error LaunchCommandAsync(String pCommand, AsyncCommandCallback pCallback, Pointer pUserData)
Copyright © 2023. All rights reserved.