public class LegacyModuleControllerConfiguration extends ControllerConfiguration<DeviceConfiguration>
DeviceConfiguration.I2cChannel
XMLATTR_SERIAL_NUMBER
DISABLED_DEVICE_NAME, name, TAG, XMLATTR_NAME, XMLATTR_PORT
Constructor and Description |
---|
LegacyModuleControllerConfiguration() |
LegacyModuleControllerConfiguration(java.lang.String name,
java.util.List<DeviceConfiguration> modules,
SerialNumber serialNumber) |
Modifier and Type | Method and Description |
---|---|
protected void |
deserializeChildElement(ConfigurationType configurationType,
XmlPullParser parser,
ReadXMLFileHandler xmlReader)
This gets called while the parser is pointed at the open tag for a child device configuration.
|
deserializeAttributes, forType, getConfigurationType, getDevices, getSerialNumber, isKnownToBeAttached, isSystemSynthetic, setDevices, setKnownToBeAttached, setSerialNumber, setSystemSynthetic, toUSBDeviceType
compareTo, deserialize, getI2cChannel, getName, getPort, getSpinnerChoiceType, isEnabled, onDeserializationComplete, serializeXmlAttributes, setConfigurationType, setEnabled, setName, setPort, sortByName
public LegacyModuleControllerConfiguration()
public LegacyModuleControllerConfiguration(java.lang.String name, java.util.List<DeviceConfiguration> modules, SerialNumber serialNumber)
protected void deserializeChildElement(ConfigurationType configurationType, XmlPullParser parser, ReadXMLFileHandler xmlReader) throws java.io.IOException, XmlPullParserException, RobotCoreException
DeviceConfiguration
deserializeChildElement
in class DeviceConfiguration
java.io.IOException
XmlPullParserException
RobotCoreException