Id - Servo Id TypeServoConf - ServoConfig type used by the ServoControllerConfigpublic interface ServoControllerConfig<Id,ServoConf extends ServoConfig<Id>> extends PropertyChangeSource
| Modifier and Type | Field and Description |
|---|---|
static String |
PROP_CONTROLLER_TYPE
Property string for the ServoControllerConfig ControllerTypeVersion.
|
static String |
PROP_SERVO_ADD
Property string for the ServoControllerConfig AddServo.
|
static String |
PROP_SERVO_REMOVE
Property string for the ServoControllerConfig RemoveServo.
|
static String |
PROP_SERVOS
Property string for the ServoControllerConfig Servos.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addServoConfig(ServoConf config)
Adds a ServoConfig to the ServoControllerConfig.
|
VersionProperty |
getControllerTypeVersion()
Returns ControllerType VersionProperty.
|
Map<Id,ServoConf> |
getServoConfigs()
Returns a map of ids and ServoConfigs.
|
ServoController.Id |
getServoControllerId()
Returns the Id of the ServoController.
|
int |
getServoCount()
Returns the number of Servos in the ServoControllerConfig.
|
void |
removeServoConfig(ServoConf config)
Removes a ServoConfig from the ServoControllerConfig.
|
void |
setControllerTypeVersion(VersionProperty version)
Sets ControllerType VersionProperty.
|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerstatic final String PROP_CONTROLLER_TYPE
static final String PROP_SERVO_ADD
static final String PROP_SERVO_REMOVE
static final String PROP_SERVOS
ServoController.Id getServoControllerId()
VersionProperty getControllerTypeVersion()
void setControllerTypeVersion(VersionProperty version)
version - new ControllerType VersionPropertyint getServoCount()
Map<Id,ServoConf> getServoConfigs()
void addServoConfig(ServoConf config)
config - ServoConfig to addvoid removeServoConfig(ServoConf config)
config - ServoConfig to removeCopyright © 2011-2014. All Rights Reserved.