|
Boeing Simulation 3.1 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--connect.socket.SocketComponentTemplate
|
+--locater.SocketObjectLocaterTemplate
|
+--locater.SocketObjectLocater
This is a basic socket based implementation of ObjectLocater. This implementation is not necesssarily the correct implentation but is designed for testing purposes. Specifically, the UAV will return a multidimensional array. This locater examines each value and then declares that certain objects are present based on the numerical value in that place. This should not happen in an actual implementation (unless this is actually the type of information returned by a UAV. Ideally, this type of class would understand some sort of image processing and would be able to read in a .jpg or other image format and then do calculations based on that information. To repeat, this class is a testing class that provides information based on an arbitrarily designed processing schedule.
| Field Summary | |
private static int |
BUS
constants for the arbitrary assignment of pixel values to being WhatWheres. |
private static int |
DEFAULT_PORT
|
private static int |
NOTHING
constants for the arbitrary assignment of pixel values to being WhatWheres. |
private static int |
SCHOOL
constants for the arbitrary assignment of pixel values to being WhatWheres. |
private static long |
serialVersionUID
|
private static int |
TANK
constants for the arbitrary assignment of pixel values to being WhatWheres. |
private static int |
UAV_
constants for the arbitrary assignment of pixel values to being WhatWheres. |
private static int |
UCAV_
constants for the arbitrary assignment of pixel values to being WhatWheres. |
| Fields inherited from class locater.SocketObjectLocaterTemplate |
|
| Fields inherited from class connect.socket.SocketComponentTemplate |
portNumber |
| Constructor Summary | |
SocketObjectLocater()
|
|
SocketObjectLocater(int port)
|
|
| Method Summary | |
boolean |
allowMethod(util.MethodRequest request)
Extending classes should define which methods to allow remote components to execute. |
private void |
println(String msg)
|
world.WorldImage |
processImage(uav.UAVImage image)
This method should time stamp the create a new WorldImage, time stamp it (before processing), and then analyze the UCAV image by identifying known objects on it. |
String |
toString()
|
| Methods inherited from class locater.SocketObjectLocaterTemplate |
accept, processAcceptedConnection, processRequestingConnection, startListeningThread |
| Methods inherited from class connect.socket.SocketComponentTemplate |
connect, getComponentEmissary, getConnection, getMaxPoints, processRelayPoint, spawnRelayPoint |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface connect.Component |
connect, getConnection |
| Field Detail |
private static final long serialVersionUID
private static final int NOTHING
private static final int TANK
private static final int BUS
private static final int SCHOOL
private static final int UAV_
private static final int UCAV_
private static final int DEFAULT_PORT
| Constructor Detail |
public SocketObjectLocater()
public SocketObjectLocater(int port)
| Method Detail |
public boolean allowMethod(util.MethodRequest request)
SocketObjectLocaterTemplate
allowMethod in class SocketObjectLocaterTemplateprivate void println(String msg)
public String toString()
toString in class Objectpublic world.WorldImage processImage(uav.UAVImage image)
SocketObjectLocaterTemplate
processImage in interface ObjectLocaterprocessImage in class SocketObjectLocaterTemplate
|
Boeing Simulation 3.1 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||