|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--CommSnapShot
The class CommSnapShot contains the structure of a CommSnapShot object, these objects have been send.
| Field Summary | |
boolean |
bFoundBall
found the ball? |
int |
iNrFoundOpponent
the amount of opponents found |
int |
iNrFoundTeam
the amount of teams found |
long |
lMicroSeconds
the micro seconds |
long |
lNumber
the number |
long |
lSeconds
the seconds |
CommSnapShotObject[] |
oCommSnapShotObjects
an array of CommSnapShotObject objects |
| Constructor Summary | |
CommSnapShot()
This Constructor constructs an empty CommSnapShot object |
|
CommSnapShot(CommSnapShotObject[] oCommSnapShotObjects,
int iNrFoundTeam,
int iNrFoundOpponent,
boolean bFoundBall,
long lSeconds,
long lMicroSeconds,
long lNumber)
This Constructor constructs a CommSnapShot object |
|
| Method Summary | |
void |
addSnapShotObject(CommSnapShotObject oCommSnapShotObject)
This method adds a CommSnapShotObject object to the array of CommSnapShotObject objects |
java.lang.Object |
clone()
implements the cloneable interface |
void |
mirror()
Mirrors this snapshot in the length and width of the soccer field, needed for correct communication with the Mi20 control system |
java.lang.String |
toString()
This method return a String which contains information about the CommSnapShot object, and the CommSnapShotObject objects it contains |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public CommSnapShotObject[] oCommSnapShotObjects
public int iNrFoundTeam
public int iNrFoundOpponent
public boolean bFoundBall
public long lNumber
public long lSeconds
public long lMicroSeconds
| Constructor Detail |
public CommSnapShot()
public CommSnapShot(CommSnapShotObject[] oCommSnapShotObjects,
int iNrFoundTeam,
int iNrFoundOpponent,
boolean bFoundBall,
long lSeconds,
long lMicroSeconds,
long lNumber)
oCommSnapShotObjects - the CommSnapShotObject objectsiNrFoundTeam - number of teams foundiNrFoundOpponent - number of opponents foundbFoundBall - ball found?lSeconds - secondslMicroSeconds - micro secondslNumber - the number| Method Detail |
public void addSnapShotObject(CommSnapShotObject oCommSnapShotObject)
CommSnapShotObjectpublic void mirror()
public final java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCommSnapShotObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||