public class WebcamConfiguration extends ControllerConfiguration<DeviceConfiguration>
DeviceConfiguration.I2cChannel| Modifier and Type | Field and Description |
|---|---|
protected boolean |
autoOpen
Whether we are to open the camera automatically on robot restart.
|
static java.lang.String |
XMLATTR_AUTO_OPEN_CAMERA |
XMLATTR_SERIAL_NUMBERDISABLED_DEVICE_NAME, name, TAG, XMLATTR_NAME, XMLATTR_PORT| Constructor and Description |
|---|
WebcamConfiguration() |
WebcamConfiguration(java.lang.String name,
SerialNumber serialNumber) |
WebcamConfiguration(java.lang.String name,
SerialNumber serialNumber,
boolean autoOpen) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deserializeAttributes(XmlPullParser parser)
This gets called while the parser is pointed at the open tag for this device configuration.
|
boolean |
getAutoOpen() |
forType, getConfigurationType, getDevices, getSerialNumber, isKnownToBeAttached, isSystemSynthetic, setDevices, setKnownToBeAttached, setSerialNumber, setSystemSynthetic, toUSBDeviceTypecompareTo, deserialize, deserializeChildElement, getI2cChannel, getName, getPort, getSpinnerChoiceType, isEnabled, onDeserializationComplete, serializeXmlAttributes, setConfigurationType, setEnabled, setName, setPort, sortByNamepublic static final java.lang.String XMLATTR_AUTO_OPEN_CAMERA
protected boolean autoOpen
public WebcamConfiguration()
public WebcamConfiguration(java.lang.String name,
SerialNumber serialNumber)
public WebcamConfiguration(java.lang.String name,
SerialNumber serialNumber,
boolean autoOpen)
public boolean getAutoOpen()
protected void deserializeAttributes(XmlPullParser parser)
DeviceConfigurationdeserializeAttributes in class ControllerConfiguration<DeviceConfiguration>