|
||||||||||
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.geometry.SuperGeometry
public abstract class SuperGeometry
Parent class for all possible geometry subjects. It covers the basic and common properties for all the geometry subjects.
Field Summary | |
---|---|
protected GeometryType |
geoType
|
protected GeometryMessage |
lastMessage
|
Constructor Summary | |
---|---|
protected |
SuperGeometry(GeometryType type)
Ctor. |
Method Summary | |
---|---|
GeometryType |
getGeometryType()
GeometryType is a descriptor used for creating particular instance and for getting type information about particular configuration subject. |
String |
getName()
Name of the subject that this geometry message concerns. |
String |
getType()
Type describes the vehicle type. |
Boolean |
isReady()
Used to make sure the object is filled. |
void |
updateMessage(GeometryMessage message)
Method used for updating the message object that provides particular properties for given type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected GeometryMessage lastMessage
protected GeometryType geoType
Constructor Detail |
---|
protected SuperGeometry(GeometryType type)
type
- Geometry type describes particular subject about which we
want to know about. It is used to distinguish incoming message from the
server.Method Detail |
---|
public Boolean isReady()
public String getType()
public String getName()
public GeometryType getGeometryType()
public void updateMessage(GeometryMessage message)
message
- Geometry message from server.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |