public final class I2cDeviceConfigurationType extends InstantiableUserConfigurationType
I2cDeviceConfigurationType
contains the meta-data for a user-defined I2c sensor driver.UserConfigurationType.SerializationProxy
ConfigurationType.DeviceFlavor, ConfigurationType.DisplayNameFlavor
description, name
Constructor and Description |
---|
I2cDeviceConfigurationType() |
I2cDeviceConfigurationType(java.lang.Class<? extends HardwareDevice> clazz,
java.lang.String xmlTag) |
Modifier and Type | Method and Description |
---|---|
HardwareDevice |
createInstance(I2cController controller,
int port) |
HardwareDevice |
createInstance(RobotCoreLynxModule lynxModule,
Func<I2cDeviceSynchSimple> simpleSynchFunc,
Func<I2cDeviceSynch> synchFunc) |
static I2cDeviceConfigurationType |
getLynxEmbeddedIMUType() |
void |
processAnnotation(I2cSensor i2cSensor) |
classMustBeInstantiable, findMatch, getClazz, handleConstructorExceptions, hasConstructors, processAnnotation
finishedAnnotations, getDescription, getDeviceFlavor, getDisplayName, getName, getXmlTag, getXmlTagAliases, isBuiltIn, isCompatibleWith, isDeprecated, isDeviceFlavor, isOnBotJava, toUSBDeviceType
public I2cDeviceConfigurationType(java.lang.Class<? extends HardwareDevice> clazz, java.lang.String xmlTag)
public I2cDeviceConfigurationType()
public static I2cDeviceConfigurationType getLynxEmbeddedIMUType()
public void processAnnotation(I2cSensor i2cSensor)
public HardwareDevice createInstance(RobotCoreLynxModule lynxModule, Func<I2cDeviceSynchSimple> simpleSynchFunc, Func<I2cDeviceSynch> synchFunc)
public HardwareDevice createInstance(I2cController controller, int port)