Contains the board and port information of a Device or its access token. More...
Public Member Functions | |
VinConnectionInformation (Device device) | |
Retrieves the information from the given device . More... | |
Properties | |
int | CurrentBoard = -1 [get] |
Gets the board number the device is on. More... | |
int | CurrentPort = -1 [get] |
Gets the camera port number the device is on. More... | |
string | AccessToken = null [get] |
Gets the device access token if available. More... | |
Contains the board and port information of a Device or its access token.
Either CurrentBoard and CurrentPort are used (e.g. by configuring a vin-driver and opening it) or the AccessToken is used (if openen via it).
VinConnectionInformation | ( | Device | device | ) |
Retrieves the information from the given device .
device | Device to fill information from. |
|
get |
Gets the device access token if available.
The device access token; null
if CurrentBoard and CurrentPort are in use.
|
get |
Gets the board number the device is on.
If the device has no board select interface this will always return 0.
A zero based, positive board index; -1 if AccessToken is in use.
|
get |
Gets the camera port number the device is on.
If the device has no camera select interface this will always return 0.
A zero based, positive camera port index; -1 if AccessToken is in use.