public static class FlyCapture2.BusManager extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
BusManager()
Default constructor.
|
BusManager(int size) |
BusManager(Pointer p) |
| 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)
public BusManager(int size)
public BusManager()
public FlyCapture2.BusManager position(int position)
public FlyCapture2.Error FireBusReset(FlyCapture2.PGRGuid pGuid)
pGuid - PGRGuid of the camera or the device to cause bus reset.public FlyCapture2.Error GetNumOfCameras(IntPointer pNumCameras)
pNumCameras - The number of cameras attached.public FlyCapture2.Error GetNumOfCameras(IntBuffer pNumCameras)
public FlyCapture2.Error GetNumOfCameras(int[] pNumCameras)
public FlyCapture2.Error GetCameraFromIPAddress(FlyCapture2.IPAddress ipAddress, FlyCapture2.PGRGuid pGuid)
ipAddress - IP address to get GUID for.pGuid - Unique PGRGuid for the camera.public FlyCapture2.Error GetCameraFromIndex(int index, FlyCapture2.PGRGuid pGuid)
index - Zero based index of camera.pGuid - Unique PGRGuid for the camera.GetCameraFromSerialNumber()public FlyCapture2.Error GetCameraFromSerialNumber(int serialNumber, FlyCapture2.PGRGuid pGuid)
serialNumber - Serial number of camera.pGuid - Unique PGRGuid for the camera.GetCameraFromIndex()public FlyCapture2.Error GetCameraSerialNumberFromIndex(int index, IntPointer pSerialNumber)
index - Zero based index of desired camera.pSerialNumber - Serial number of camera.public FlyCapture2.Error GetCameraSerialNumberFromIndex(int index, IntBuffer pSerialNumber)
public FlyCapture2.Error GetCameraSerialNumberFromIndex(int index, int[] pSerialNumber)
public FlyCapture2.Error GetInterfaceTypeFromGuid(FlyCapture2.PGRGuid pGuid, IntPointer pInterfaceType)
pGuid - The PGRGuid to get the interface for.pInterfaceType - The interface type of the PGRGuid.public FlyCapture2.Error GetInterfaceTypeFromGuid(FlyCapture2.PGRGuid pGuid, IntBuffer pInterfaceType)
public FlyCapture2.Error GetInterfaceTypeFromGuid(FlyCapture2.PGRGuid pGuid, int[] pInterfaceType)
public FlyCapture2.Error GetNumOfDevices(IntPointer pNumDevices)
pNumDevices - The number of devices found.public FlyCapture2.Error GetNumOfDevices(IntBuffer pNumDevices)
public FlyCapture2.Error GetNumOfDevices(int[] pNumDevices)
public FlyCapture2.Error GetDeviceFromIndex(int index, FlyCapture2.PGRGuid pGuid)
index - Zero based index of device.pGuid - Unique PGRGuid for the device.GetNumOfDevices()public FlyCapture2.Error ReadPhyRegister(FlyCapture2.PGRGuid guid, int page, int port, int address, 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.public FlyCapture2.Error ReadPhyRegister(FlyCapture2.PGRGuid guid, int page, int port, int address, IntBuffer pValue)
public FlyCapture2.Error ReadPhyRegister(FlyCapture2.PGRGuid guid, int page, int port, int address, int[] pValue)
public FlyCapture2.Error WritePhyRegister(FlyCapture2.PGRGuid guid, int page, int port, int address, 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.public FlyCapture2.Error GetUsbLinkInfo(FlyCapture2.PGRGuid guid, IntPointer pValue)
guid - PGRGuid of the device to read from.pValue - Value read from the card register.public FlyCapture2.Error GetUsbLinkInfo(FlyCapture2.PGRGuid guid, IntBuffer pValue)
public FlyCapture2.Error GetUsbLinkInfo(FlyCapture2.PGRGuid guid, int[] pValue)
public FlyCapture2.Error GetUsbPortStatus(FlyCapture2.PGRGuid guid, IntPointer pValue)
guid - PGRGuid of the device to read from.pValue - Value read from the card register.public FlyCapture2.Error GetUsbPortStatus(FlyCapture2.PGRGuid guid, IntBuffer pValue)
public FlyCapture2.Error GetUsbPortStatus(FlyCapture2.PGRGuid guid, int[] pValue)
public FlyCapture2.Error GetTopology(FlyCapture2.TopologyNode pNode)
pNode - TopologyNode object that will contain the topology
information.public FlyCapture2.Error RegisterCallback(FlyCapture2.BusEventCallback busEventCallback, int callbackType, Pointer pParameter, 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()public FlyCapture2.Error UnregisterCallback(FlyCapture2.CallbackHandle callbackHandle)
callbackHandle - Unique callback handle.RegisterCallback()public FlyCapture2.Error RescanBus()
public static FlyCapture2.Error ForceIPAddressToCamera(FlyCapture2.MACAddress macAddress, FlyCapture2.IPAddress ipAddress, FlyCapture2.IPAddress subnetMask, 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.public static FlyCapture2.Error ForceAllIPAddressesAutomatically()
public static FlyCapture2.Error ForceAllIPAddressesAutomatically(int serialNumber)
public static FlyCapture2.Error DiscoverGigECameras(FlyCapture2.CameraInfo gigECameras, 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.public static FlyCapture2.Error DiscoverGigECameras(FlyCapture2.CameraInfo gigECameras, IntBuffer arraySize)
public static FlyCapture2.Error DiscoverGigECameras(FlyCapture2.CameraInfo gigECameras, int[] arraySize)
public FlyCapture2.Error IsCameraControlable(FlyCapture2.PGRGuid pGuid, BoolPointer pControlable)
pGuid - PGRGuid of the camerapControlable - Indicates whether camera is controllableCopyright © 2014. All Rights Reserved.