@Namespace(value="FlyCapture2") @NoOffset public static class FlyCapture2.BusManager extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
BusManager()
Default constructor.
|
BusManager(int size)
Native array allocator.
|
BusManager(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static FlyCapture2.Error |
DiscoverGigECameras(FlyCapture2.CameraInfo gigECameras,
int[] arraySize) |
static FlyCapture2.Error |
DiscoverGigECameras(FlyCapture2.CameraInfo gigECameras,
IntBuffer arraySize) |
static FlyCapture2.Error |
DiscoverGigECameras(FlyCapture2.CameraInfo gigECameras,
IntPointer arraySize)
Discover all cameras connected to the network even if they reside
on a different subnet.
|
FlyCapture2.Error |
FireBusReset(FlyCapture2.PGRGuid pGuid)
Fire a bus reset.
|
static FlyCapture2.Error |
ForceAllIPAddressesAutomatically()
Force all cameras on the network to be assigned sequential IP addresses
on the same subnet as the netowrk adapters that they are connected to.
|
static FlyCapture2.Error |
ForceAllIPAddressesAutomatically(int serialNumber)
Force a camera on the network to be assigned an IP address
on the same subnet as the netowrk adapters that it is connected to.
|
static FlyCapture2.Error |
ForceIPAddressToCamera(FlyCapture2.MACAddress macAddress,
FlyCapture2.IPAddress ipAddress,
FlyCapture2.IPAddress subnetMask,
FlyCapture2.IPAddress defaultGateway)
Force the camera with the specific MAC address to the specified
IP address, subnet mask and default gateway.
|
FlyCapture2.Error |
GetCameraFromIndex(int index,
FlyCapture2.PGRGuid pGuid)
Gets the PGRGuid for a camera on the PC.
|
FlyCapture2.Error |
GetCameraFromIPAddress(FlyCapture2.IPAddress ipAddress,
FlyCapture2.PGRGuid pGuid)
Gets the PGRGuid for a camera with the specified IPv4 address.
|
FlyCapture2.Error |
GetCameraFromSerialNumber(int serialNumber,
FlyCapture2.PGRGuid pGuid)
Gets the PGRGuid for a camera on the PC.
|
FlyCapture2.Error |
GetCameraSerialNumberFromIndex(int index,
int[] pSerialNumber) |
FlyCapture2.Error |
GetCameraSerialNumberFromIndex(int index,
IntBuffer pSerialNumber) |
FlyCapture2.Error |
GetCameraSerialNumberFromIndex(int index,
IntPointer pSerialNumber)
Gets the serial number of the camera with the specified index.
|
FlyCapture2.Error |
GetDeviceFromIndex(int index,
FlyCapture2.PGRGuid pGuid)
Gets the PGRGuid for a device.
|
FlyCapture2.Error |
GetInterfaceTypeFromGuid(FlyCapture2.PGRGuid pGuid,
int[] pInterfaceType) |
FlyCapture2.Error |
GetInterfaceTypeFromGuid(FlyCapture2.PGRGuid pGuid,
IntBuffer pInterfaceType) |
FlyCapture2.Error |
GetInterfaceTypeFromGuid(FlyCapture2.PGRGuid pGuid,
IntPointer pInterfaceType)
Gets the interface type associated with a PGRGuid.
|
FlyCapture2.Error |
GetNumOfCameras(int[] pNumCameras) |
FlyCapture2.Error |
GetNumOfCameras(IntBuffer pNumCameras) |
FlyCapture2.Error |
GetNumOfCameras(IntPointer pNumCameras)
Gets the number of cameras attached to the PC.
|
FlyCapture2.Error |
GetNumOfDevices(int[] pNumDevices) |
FlyCapture2.Error |
GetNumOfDevices(IntBuffer pNumDevices) |
FlyCapture2.Error |
GetNumOfDevices(IntPointer pNumDevices)
Gets the number of devices.
|
FlyCapture2.Error |
GetTopology(FlyCapture2.TopologyNode pNode)
Gets the topology information for the PC.
|
FlyCapture2.Error |
GetUsbLinkInfo(FlyCapture2.PGRGuid guid,
int[] pValue) |
FlyCapture2.Error |
GetUsbLinkInfo(FlyCapture2.PGRGuid guid,
IntBuffer pValue) |
FlyCapture2.Error |
GetUsbLinkInfo(FlyCapture2.PGRGuid guid,
IntPointer pValue)
Read usb link info for the port that the specified device is connected to.
|
FlyCapture2.Error |
GetUsbPortStatus(FlyCapture2.PGRGuid guid,
int[] pValue) |
FlyCapture2.Error |
GetUsbPortStatus(FlyCapture2.PGRGuid guid,
IntBuffer pValue) |
FlyCapture2.Error |
GetUsbPortStatus(FlyCapture2.PGRGuid guid,
IntPointer pValue)
Read usb port status for the port that the specified device is connected to.
|
FlyCapture2.Error |
IsCameraControlable(FlyCapture2.PGRGuid pGuid,
BoolPointer pControlable)
Query CCP status on camera with corresponding PGRGuid.
|
FlyCapture2.BusManager |
position(int position) |
FlyCapture2.Error |
ReadPhyRegister(FlyCapture2.PGRGuid guid,
int page,
int port,
int address,
int[] pValue) |
FlyCapture2.Error |
ReadPhyRegister(FlyCapture2.PGRGuid guid,
int page,
int port,
int address,
IntBuffer pValue) |
FlyCapture2.Error |
ReadPhyRegister(FlyCapture2.PGRGuid guid,
int page,
int port,
int address,
IntPointer pValue)
Read a phy register on the specified device.
|
FlyCapture2.Error |
RegisterCallback(FlyCapture2.BusEventCallback busEventCallback,
int callbackType,
Pointer pParameter,
FlyCapture2.CallbackHandle pCallbackHandle)
Register a callback function that will be called when the
specified callback event occurs.
|
FlyCapture2.Error |
RescanBus()
Force a rescan of the buses.
|
FlyCapture2.Error |
UnregisterCallback(FlyCapture2.CallbackHandle callbackHandle)
Unregister a callback function.
|
FlyCapture2.Error |
WritePhyRegister(FlyCapture2.PGRGuid guid,
int page,
int port,
int address,
int value)
Write a phy register on the specified device.
|
address, asBuffer, asByteBuffer, capacity, capacity, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, withDeallocator, zeropublic BusManager(Pointer p)
Pointer.Pointer(Pointer).public BusManager(int size)
Pointer.position(int).public BusManager()
public FlyCapture2.BusManager position(int position)
@ByVal public FlyCapture2.Error FireBusReset(FlyCapture2.PGRGuid pGuid)
pGuid - PGRGuid of the camera or the device to cause bus reset.@ByVal public FlyCapture2.Error GetNumOfCameras(@Cast(value="unsigned int*") IntPointer pNumCameras)
pNumCameras - The number of cameras attached.@ByVal public FlyCapture2.Error GetNumOfCameras(@Cast(value="unsigned int*") IntBuffer pNumCameras)
@ByVal public FlyCapture2.Error GetNumOfCameras(@Cast(value="unsigned int*") int[] pNumCameras)
@ByVal public FlyCapture2.Error GetCameraFromIPAddress(@ByVal FlyCapture2.IPAddress ipAddress, FlyCapture2.PGRGuid pGuid)
ipAddress - IP address to get GUID for.pGuid - Unique PGRGuid for the camera.@ByVal public FlyCapture2.Error GetCameraFromIndex(@Cast(value="unsigned int") int index, FlyCapture2.PGRGuid pGuid)
index - Zero based index of camera.pGuid - Unique PGRGuid for the camera.GetCameraFromSerialNumber()@ByVal public FlyCapture2.Error GetCameraFromSerialNumber(@Cast(value="unsigned int") int serialNumber, FlyCapture2.PGRGuid pGuid)
serialNumber - Serial number of camera.pGuid - Unique PGRGuid for the camera.GetCameraFromIndex()@ByVal public FlyCapture2.Error GetCameraSerialNumberFromIndex(@Cast(value="unsigned int") int index, @Cast(value="unsigned int*") IntPointer pSerialNumber)
index - Zero based index of desired camera.pSerialNumber - Serial number of camera.@ByVal public FlyCapture2.Error GetCameraSerialNumberFromIndex(@Cast(value="unsigned int") int index, @Cast(value="unsigned int*") IntBuffer pSerialNumber)
@ByVal public FlyCapture2.Error GetCameraSerialNumberFromIndex(@Cast(value="unsigned int") int index, @Cast(value="unsigned int*") int[] pSerialNumber)
@ByVal public FlyCapture2.Error GetInterfaceTypeFromGuid(FlyCapture2.PGRGuid pGuid, @Cast(value="FlyCapture2::InterfaceType*") IntPointer pInterfaceType)
pGuid - The PGRGuid to get the interface for.pInterfaceType - The interface type of the PGRGuid.@ByVal public FlyCapture2.Error GetInterfaceTypeFromGuid(FlyCapture2.PGRGuid pGuid, @Cast(value="FlyCapture2::InterfaceType*") IntBuffer pInterfaceType)
@ByVal public FlyCapture2.Error GetInterfaceTypeFromGuid(FlyCapture2.PGRGuid pGuid, @Cast(value="FlyCapture2::InterfaceType*") int[] pInterfaceType)
@ByVal public FlyCapture2.Error GetNumOfDevices(@Cast(value="unsigned int*") IntPointer pNumDevices)
pNumDevices - The number of devices found.@ByVal public FlyCapture2.Error GetNumOfDevices(@Cast(value="unsigned int*") IntBuffer pNumDevices)
@ByVal public FlyCapture2.Error GetNumOfDevices(@Cast(value="unsigned int*") int[] pNumDevices)
@ByVal public FlyCapture2.Error GetDeviceFromIndex(@Cast(value="unsigned int") int index, FlyCapture2.PGRGuid pGuid)
index - Zero based index of device.pGuid - Unique PGRGuid for the device.GetNumOfDevices()@ByVal public FlyCapture2.Error ReadPhyRegister(@ByVal FlyCapture2.PGRGuid guid, @Cast(value="unsigned int") int page, @Cast(value="unsigned int") int port, @Cast(value="unsigned int") int address, @Cast(value="unsigned int*") IntPointer pValue)
guid - PGRGuid of the device to read from.page - Page to read from.port - Port to read from.address - Address to read from.pValue - Value read from the phy register.@ByVal public FlyCapture2.Error ReadPhyRegister(@ByVal FlyCapture2.PGRGuid guid, @Cast(value="unsigned int") int page, @Cast(value="unsigned int") int port, @Cast(value="unsigned int") int address, @Cast(value="unsigned int*") IntBuffer pValue)
@ByVal public FlyCapture2.Error ReadPhyRegister(@ByVal FlyCapture2.PGRGuid guid, @Cast(value="unsigned int") int page, @Cast(value="unsigned int") int port, @Cast(value="unsigned int") int address, @Cast(value="unsigned int*") int[] pValue)
@ByVal public FlyCapture2.Error WritePhyRegister(@ByVal FlyCapture2.PGRGuid guid, @Cast(value="unsigned int") int page, @Cast(value="unsigned int") int port, @Cast(value="unsigned int") int address, @Cast(value="unsigned int") int value)
guid - PGRGuid of the device to write to.page - Page to write to.port - Port to write to.address - Address to write to.value - Value to write to phy register.@ByVal public FlyCapture2.Error GetUsbLinkInfo(@ByVal FlyCapture2.PGRGuid guid, @Cast(value="unsigned int*") IntPointer pValue)
guid - PGRGuid of the device to read from.pValue - Value read from the card register.@ByVal public FlyCapture2.Error GetUsbLinkInfo(@ByVal FlyCapture2.PGRGuid guid, @Cast(value="unsigned int*") IntBuffer pValue)
@ByVal public FlyCapture2.Error GetUsbLinkInfo(@ByVal FlyCapture2.PGRGuid guid, @Cast(value="unsigned int*") int[] pValue)
@ByVal public FlyCapture2.Error GetUsbPortStatus(@ByVal FlyCapture2.PGRGuid guid, @Cast(value="unsigned int*") IntPointer pValue)
guid - PGRGuid of the device to read from.pValue - Value read from the card register.@ByVal public FlyCapture2.Error GetUsbPortStatus(@ByVal FlyCapture2.PGRGuid guid, @Cast(value="unsigned int*") IntBuffer pValue)
@ByVal public FlyCapture2.Error GetUsbPortStatus(@ByVal FlyCapture2.PGRGuid guid, @Cast(value="unsigned int*") int[] pValue)
@ByVal public FlyCapture2.Error GetTopology(FlyCapture2.TopologyNode pNode)
pNode - TopologyNode object that will contain the topology
information.@ByVal public FlyCapture2.Error RegisterCallback(FlyCapture2.BusEventCallback busEventCallback, @Cast(value="FlyCapture2::BusCallbackType") int callbackType, Pointer pParameter, @ByPtrPtr FlyCapture2.CallbackHandle pCallbackHandle)
busEventCallback - Pointer to function that will receive
the callback.callbackType - Type of callback to register for.pParameter - Callback parameter to be passed to callback.pCallbackHandle - Unique callback handle used for
unregistering callback.UnregisterCallback()@ByVal public FlyCapture2.Error UnregisterCallback(FlyCapture2.CallbackHandle callbackHandle)
callbackHandle - Unique callback handle.RegisterCallback()@ByVal public FlyCapture2.Error RescanBus()
@ByVal public static FlyCapture2.Error ForceIPAddressToCamera(@ByVal FlyCapture2.MACAddress macAddress, @ByVal FlyCapture2.IPAddress ipAddress, @ByVal FlyCapture2.IPAddress subnetMask, @ByVal FlyCapture2.IPAddress defaultGateway)
macAddress - MAC address of the camera.ipAddress - IP address to set on the camera.subnetMask - Subnet mask to set on the camera.defaultGateway - Default gateway to set on the camera.@ByVal public static FlyCapture2.Error ForceAllIPAddressesAutomatically()
@ByVal public static FlyCapture2.Error ForceAllIPAddressesAutomatically(@Cast(value="unsigned int") int serialNumber)
@ByVal public static FlyCapture2.Error DiscoverGigECameras(FlyCapture2.CameraInfo gigECameras, @Cast(value="unsigned int*") IntPointer arraySize)
gigECameras - Pointer to an array of CameraInfo structures.arraySize - Size of the array. Number of discovered cameras
is returned in the same value.@ByVal public static FlyCapture2.Error DiscoverGigECameras(FlyCapture2.CameraInfo gigECameras, @Cast(value="unsigned int*") IntBuffer arraySize)
@ByVal public static FlyCapture2.Error DiscoverGigECameras(FlyCapture2.CameraInfo gigECameras, @Cast(value="unsigned int*") int[] arraySize)
@ByVal public FlyCapture2.Error IsCameraControlable(FlyCapture2.PGRGuid pGuid, @Cast(value="bool*") BoolPointer pControlable)
pGuid - PGRGuid of the camerapControlable - Indicates whether camera is controllableCopyright © 2015. All Rights Reserved.