|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.usar2004.agent.module.master.ModuleInstanceProvider
public abstract class ModuleInstanceProvider
Abstract class that uses static methods to offer instances of objects specified by input variables.
| Constructor Summary | |
|---|---|
ModuleInstanceProvider()
|
|
| Method Summary | |
|---|---|
static SuperConfiguration |
getConfigInstanceByType(String type)
Asks ConfigType enum if it knows ConfigType represented by string type. |
static SuperGeometry |
getGeometryInstanceByType(String type)
Asks GeometryType enum if it knows GeometryType represented by string type. |
static SuperResponse |
getResponseInstanceByType(String type)
Asks ResponseType enum if it knows ResponseType represented by string type. |
static SuperSensor |
getSensorInstanceByClass(Class clazz)
Class should be valid Sensor representative - SuperSensor offspring. |
static SuperSensor |
getSensorInstanceByType(String type)
Asks SensorType enum if it knows SensorType represented by string type. |
static SuperState |
getStateInstanceByType(String type)
Asks VehicleType (enum) if it knows VehicleType represented by string type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModuleInstanceProvider()
| Method Detail |
|---|
public static SuperSensor getSensorInstanceByClass(Class clazz)
clazz - Class representing possible valid Sensor
public static SuperSensor getSensorInstanceByType(String type)
type - String representing possible valid SensorType.
public static SuperGeometry getGeometryInstanceByType(String type)
type - String representing possible valid GeometryType.
public static SuperConfiguration getConfigInstanceByType(String type)
type - String representing possible valid ConfigType.
public static SuperResponse getResponseInstanceByType(String type)
type - String representing possible valid ResponseType.
public static SuperState getStateInstanceByType(String type)
type - String representing possible valid VehicleType.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||