|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Id - Servo Id TypeServoConf - ServoConfig type used by the ServoControllerConfigpublic interface ServoControllerConfig<Id,ServoConf extends ServoConfig<Id>>
Parameters needed to initialize a ServoController.
| Field Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.robokind.api.common.property.PropertyChangeSource |
|---|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
| Field Detail |
|---|
static final String PROP_CONTROLLER_TYPE
static final String PROP_SERVO_ADD
static final String PROP_SERVO_REMOVE
static final String PROP_SERVOS
| Method Detail |
|---|
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 remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||