A C D E F G H I L M N P R S T U V W Y

A

actionPerformed(ActionEvent) - Method in class dk.itu.haas.GPS.examples.AreaAlarmDemo
 
active - Variable in class dk.itu.haas.GPS.Garmin.GarminGPS
The listening thread will be active as long as this variable remains true.
addAlarmListener(IAlarmListener) - Method in class dk.itu.haas.GPS.services.AreaAlarm
Adds l to the list of listeners interested in receiving notification when the GPS enters or exits the area.
addGarminListener(GarminListener) - Method in class dk.itu.haas.GPS.Garmin.GarminGPS
Adds the specified GarminListener to receive all packets sent from the GPS.
addGPSlistener(IGPSlistener) - Method in class dk.itu.haas.GPS.GPS
Adds the specified IGPSlistener to receive data from the GPS.
address - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Address number
addTransferListener(ITransferListener) - Method in class dk.itu.haas.GPS.GPS
Adds l to the list of listeners interested in transfer-events.
addWaypointListener(IWaypointListener) - Method in class dk.itu.haas.GPS.GPS
Adds l to the list of listeners interested in waypoint-data.
alt - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Altitude.
alt - Variable in class dk.itu.haas.GPS.Garmin.PVTDataPacket
 
AreaAlarm - class dk.itu.haas.GPS.services.AreaAlarm.
This class implements an AreaAlarm-service.
AreaAlarm(GPS, Position, Position) - Constructor for class dk.itu.haas.GPS.services.AreaAlarm
 
AreaAlarmDemo - class dk.itu.haas.GPS.examples.AreaAlarmDemo.
 
AreaAlarmDemo() - Constructor for class dk.itu.haas.GPS.examples.AreaAlarmDemo
 
attr - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Attributes.

C

calcChecksum() - Method in class dk.itu.haas.GPS.Garmin.GarminPacket
Calculates the checksum for the packet.
cc - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Country code.
city - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
City name.
Cmnd_Abort_Transfer - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
Abort current transfer.
Cmnd_Start_Pvt_Data - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
Start transmitting PVT (Position, velocity, time) Data.
Cmnd_Stop_Pvt_Data - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
Stop transmitting PVT (Position, velocity, time) Data.
Cmnd_Transfer_Alm - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
Transfer almanac.
Cmnd_Transfer_Posn - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
Transfer position.
Cmnd_Transfer_Prx - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
Transfer proximity waypoints.
Cmnd_Transfer_Rte - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
Transfer routes.
Cmnd_Transfer_Time - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
Transfer time.
Cmnd_Transfer_Trk - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
Transfer track log.
Cmnd_Transfer_Wpt - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
Transfer waypoints.
Cmnd_Turn_Off_Pwr - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
Turn off power.
color - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Color of waypoint when displayed on the GPS.
comment - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Waypoint comment.
convertToRadians() - Method in class dk.itu.haas.GPS.PositionDegrees
Converts the degrees to Radians.
createBasicPacket(int, int[]) - Static method in class dk.itu.haas.GPS.Garmin.GarminPacket
This method is capable of making the data-packets from L000 (basic link protocol).
createCommandPacket(int) - Static method in class dk.itu.haas.GPS.Garmin.GarminPacket
This is a factory-method capable of creating instances the commandpackets from A010.
cross_road - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Intersecting road label.

D

data - Variable in class dk.itu.haas.GPS.Garmin.ProtocolDataPacket
 
datatypeversion - Static variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Holds information about which waypoint-format this Garmin-unit uses.
dateReceived(IDate) - Method in interface dk.itu.haas.GPS.IGPSlistener
Invoked when the GPS transmits date-data.
dateReceived(IDate) - Method in class dk.itu.haas.GPS.services.AreaAlarm
 
dateReceived(IDate) - Method in class dk.itu.haas.GPS.examples.AreaAlarmDemo
 
day - Variable in class dk.itu.haas.GPS.Garmin.TimeDataPacket
Day (1-31)
depth - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Depth.
description - Variable in class dk.itu.haas.GPS.Garmin.GarminGPS
A human-readable description of the GPS-unit.
dist - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Proximity distance in meters.
Distribute(GarminPacket) - Method in class dk.itu.haas.GPS.Garmin.GarminGPS
This method is used to identify the type of packet received, and distribute it to the correct listeners.
dk.itu.haas.GPS - package dk.itu.haas.GPS
 
dk.itu.haas.GPS.examples - package dk.itu.haas.GPS.examples
 
dk.itu.haas.GPS.Garmin - package dk.itu.haas.GPS.Garmin
 
dk.itu.haas.GPS.services - package dk.itu.haas.GPS.services
 
DLE - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
Data link escape.
dspl - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Display options.

E

enteredAlarm() - Method in interface dk.itu.haas.GPS.services.IAlarmListener
This method is called by the AreaAlarm when the GPS enters the area.
enteredAlarm() - Method in class dk.itu.haas.GPS.examples.AreaAlarmDemo
 
epe - Variable in class dk.itu.haas.GPS.Garmin.PVTDataPacket
 
eph - Variable in class dk.itu.haas.GPS.Garmin.PVTDataPacket
 
epv - Variable in class dk.itu.haas.GPS.Garmin.PVTDataPacket
 
equals(PositionRadians) - Method in class dk.itu.haas.GPS.PositionRadians
Tests if the two PositionRadians contains the same value.
ETX - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
End of text.
exitedAlarm() - Method in interface dk.itu.haas.GPS.services.IAlarmListener
This method is called by the AreaAlarm when the GPS exists the area.
exitedAlarm() - Method in class dk.itu.haas.GPS.examples.AreaAlarmDemo
 

F

facility - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
facility name.
FeatureNotSupportedException - exception dk.itu.haas.GPS.FeatureNotSupportedException.
Thrown by methods in classes extending the GPS-class, if the implemented GPS-unit does not support the feature requested in the method.
FeatureNotSupportedException() - Constructor for class dk.itu.haas.GPS.FeatureNotSupportedException
 
fireDateData(IDate) - Method in class dk.itu.haas.GPS.GPS
Goes through the list of GPSlisteners and distributes the new date data.
fireGarminPacket(GarminPacket) - Method in class dk.itu.haas.GPS.Garmin.GarminGPS
Goes through the list of GarminListeners and transmits p to them.
fireInside() - Method in class dk.itu.haas.GPS.services.AreaAlarm
This method propagates the information that the gps has entered the area to all listeners.
fireOutside() - Method in class dk.itu.haas.GPS.services.AreaAlarm
This method propagates the information that the gps has exited the area to all listeners.
firePositionData(IPosition) - Method in class dk.itu.haas.GPS.GPS
Goes through the list of GPSlisteners and distributes the new position data.
fireTimeData(ITime) - Method in class dk.itu.haas.GPS.GPS
Goes through the list of GPSlisteners and distributes the new time data.
fireTransferComplete() - Method in class dk.itu.haas.GPS.GPS
Notifies listeners of the end of a stream of data.
fireTransferStart(int) - Method in class dk.itu.haas.GPS.GPS
Notifies listeners of the beginning of a stream of data.
fireWaypointData(IWaypoint) - Method in class dk.itu.haas.GPS.GPS
Goes through the list of Waypoint-listeners and distributes the waypoint wp.
fix - Variable in class dk.itu.haas.GPS.Garmin.PVTDataPacket
 

G

GarminGPS - class dk.itu.haas.GPS.Garmin.GarminGPS.
 
GarminGPS(BufferedInputStream, BufferedOutputStream) - Constructor for class dk.itu.haas.GPS.Garmin.GarminGPS
 
GarminInputStream - class dk.itu.haas.GPS.Garmin.GarminInputStream.
This class provides the functionality of automatically removing the double DLEs from the GPS-inputstream.
GarminInputStream(InputStream) - Constructor for class dk.itu.haas.GPS.Garmin.GarminInputStream
Takes the stream to the GPS-unit as an argument.
GarminListener - interface dk.itu.haas.GPS.Garmin.GarminListener.
This interface should be implemented by classes that are interested in getting all the Garmin-packets transmitted by a Garmin-GPS.
GarminListeners - Variable in class dk.itu.haas.GPS.Garmin.GarminGPS
A vector containing references to all the GarminListeners.
GarminOutputStream - class dk.itu.haas.GPS.Garmin.GarminOutputStream.
This class take care of adding DLE-stuffing to all packets sent to the GPS.
GarminOutputStream(OutputStream) - Constructor for class dk.itu.haas.GPS.Garmin.GarminOutputStream
 
GarminPacket - class dk.itu.haas.GPS.Garmin.GarminPacket.
A class that encapsulates the basic functionality of a packet.
GarminPacket(int[]) - Constructor for class dk.itu.haas.GPS.Garmin.GarminPacket
Creates a new GarminPacket with the contents of p.
GarminPacket(int[], boolean) - Constructor for class dk.itu.haas.GPS.Garmin.GarminPacket
Creates a new GarminPacket with the contents of p.
GarminPacketReceived(GarminPacket) - Method in interface dk.itu.haas.GPS.Garmin.GarminListener
This method will be called for each packet received from the GPS.
getByte(int) - Method in class dk.itu.haas.GPS.Garmin.GarminPacket
Returns the packet-byte at position i.
getDataLength() - Method in class dk.itu.haas.GPS.Garmin.GarminPacket
Returns the amount of bytes in the data-field of this packet.
getDay() - Method in interface dk.itu.haas.GPS.IDate
Returns the day of the month.
getDay() - Method in class dk.itu.haas.GPS.Garmin.TimeDataPacket
Returns the day of the month.
getDegrees() - Method in class dk.itu.haas.GPS.PositionRadians
Returns the degrees part of this object, when converted to coordinates.
getDegrees() - Method in class dk.itu.haas.GPS.PositionDegrees
Returns the degrees part of this object, when converted to coordinates.
getDescription() - Method in class dk.itu.haas.GPS.GPS
Requests a descriptive string from the GPS.
getDescription() - Method in class dk.itu.haas.GPS.Garmin.ProductDataPacket
Returns the supplied description of the GPS.
getDescription() - Method in class dk.itu.haas.GPS.Garmin.GarminGPS
Returns a string telling the brand of the Garmin-gps, software version and the protocols supported.
getHours() - Method in interface dk.itu.haas.GPS.ITime
Returns the hour of the day.
getHours() - Method in class dk.itu.haas.GPS.Garmin.PVTDataPacket
Returns the hour of the day.
getHours() - Method in class dk.itu.haas.GPS.Garmin.TimeDataPacket
Returns the hour of the day.
getID() - Method in class dk.itu.haas.GPS.Garmin.GarminPacket
Returns the ID (ie. type) of the packet.
getIndex() - Method in class dk.itu.haas.GPS.Garmin.InvalidPacketException
Returns the index of the first erroneously configured byte.
getLatitude() - Method in interface dk.itu.haas.GPS.IPosition
This method returns the latitude of the position.
getLatitude() - Method in class dk.itu.haas.GPS.Position
Returns the latitude of this position.
getLatitude() - Method in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
This method returns the latitude of the waypoint.
getLatitude() - Method in class dk.itu.haas.GPS.Garmin.PVTDataPacket
This method returns the latitude of the position.
getLatitude() - Method in class dk.itu.haas.GPS.Garmin.PositionDataPacket
This method returns the latitude of the position.
getLength() - Method in class dk.itu.haas.GPS.Garmin.GarminPacket
Returns the length of the entire packet in bytes.
getLongitude() - Method in interface dk.itu.haas.GPS.IPosition
This method returns the longitude of the position.
getLongitude() - Method in class dk.itu.haas.GPS.Position
Returns the longitude of this position.
getLongitude() - Method in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
This method returns the longitude of the waypoint.
getLongitude() - Method in class dk.itu.haas.GPS.Garmin.PVTDataPacket
This method returns the longitude of the position.
getLongitude() - Method in class dk.itu.haas.GPS.Garmin.PositionDataPacket
This method returns the longitude of the position.
getMinutes() - Method in class dk.itu.haas.GPS.PositionRadians
Returns the minutes part of this object, when converted to coordinates.
getMinutes() - Method in class dk.itu.haas.GPS.PositionDegrees
Returns the minutes part of this object, when converted to coordinates.
getMinutes() - Method in interface dk.itu.haas.GPS.ITime
Returns the minute of the hour.
getMinutes() - Method in class dk.itu.haas.GPS.Garmin.PVTDataPacket
Returns the minute of the hour.
getMinutes() - Method in class dk.itu.haas.GPS.Garmin.TimeDataPacket
Returns the minute of the hour.
getMonth() - Method in interface dk.itu.haas.GPS.IDate
Returns the month.
getMonth() - Method in class dk.itu.haas.GPS.Garmin.TimeDataPacket
Returns the month.
getName() - Method in interface dk.itu.haas.GPS.IWaypoint
 
getName() - Method in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
This method returns the name of the waypoint.
getNumber() - Method in class dk.itu.haas.GPS.Garmin.RecordsPacket
Returns the number of records that this packet announces.
getPacket() - Method in class dk.itu.haas.GPS.Garmin.GarminPacket
Returns the packet in it's original byte-form.
getPacket() - Method in class dk.itu.haas.GPS.Garmin.InvalidPacketException
Returns the packet that caused the exception to be thrown.
getProductID() - Method in class dk.itu.haas.GPS.Garmin.ProductDataPacket
Returns the product ID of the GPS.
getRadians() - Method in class dk.itu.haas.GPS.PositionRadians
 
getRawPacket() - Method in class dk.itu.haas.GPS.Garmin.GarminPacket
Debug-method.
getSeconds() - Method in interface dk.itu.haas.GPS.ITime
Returns the second of the minute.
getSeconds() - Method in class dk.itu.haas.GPS.Garmin.PVTDataPacket
Returns the second of the minute.
getSeconds() - Method in class dk.itu.haas.GPS.Garmin.TimeDataPacket
Returns the second of the minute.
getSWVersion() - Method in class dk.itu.haas.GPS.Garmin.ProductDataPacket
Returns the version of the software in the GPS.
getVersion(char, int) - Method in class dk.itu.haas.GPS.Garmin.ProtocolDataPacket
This method will return the exact version of a protocol.
getYear() - Method in interface dk.itu.haas.GPS.IDate
returns the year.
getYear() - Method in class dk.itu.haas.GPS.Garmin.TimeDataPacket
returns the year.
GPS - class dk.itu.haas.GPS.GPS.
This is the abstract base-class that encapsulates the functionality of a generic GPS-unit.
GPS() - Constructor for class dk.itu.haas.GPS.GPS
 
GPSlisteners - Variable in class dk.itu.haas.GPS.GPS
A vector containing references to the objects registered as listeners on this GPS.
greaterThan(PositionRadians) - Method in class dk.itu.haas.GPS.PositionRadians
Tests if this PositionRadians is greater than p.

H

hour - Variable in class dk.itu.haas.GPS.Garmin.TimeDataPacket
Hour of the day.

I

IAlarmListener - interface dk.itu.haas.GPS.services.IAlarmListener.
This interface allows a class to listen on an AreaAlarm.
IDate - interface dk.itu.haas.GPS.IDate.
This interface is implemented by all packets capable of returning a date.
idToString(int) - Static method in class dk.itu.haas.GPS.Garmin.GarminPacket
Method that translates a packet-id into a human-readable string.
IGPSlistener - interface dk.itu.haas.GPS.IGPSlistener.
This interface is used to receive notification each time the GPS transmits one of the common data, ie. position, time and date.
InvalidPacketException - exception dk.itu.haas.GPS.Garmin.InvalidPacketException.
This method is thrown from the constructors of the packet-classes, whenever the int[]-array is not formatted according to the Garmin-packet-specs.
InvalidPacketException(int[], int) - Constructor for class dk.itu.haas.GPS.Garmin.InvalidPacketException
Creates an InvalidPacketException. pack is a reference to the byte-array that caused the exception.
IPosition - interface dk.itu.haas.GPS.IPosition.
This interface is implemented by all packets capable of returning a position.
isLegal() - Method in class dk.itu.haas.GPS.Garmin.GarminPacket
Checks if the packet is valid with regards to header, footer,data-field-length and checksum.
ITime - interface dk.itu.haas.GPS.ITime.
This interface is implemented by all packets capable of returning the time of day.
ITransferListener - interface dk.itu.haas.GPS.ITransferListener.
The methods in this interface are used whenever the GPS should transfer a series of data.
IWaypoint - interface dk.itu.haas.GPS.IWaypoint.
 
IWaypointListener - interface dk.itu.haas.GPS.IWaypointListener.
 

L

lat - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Latitude of waypoint.
lat - Variable in class dk.itu.haas.GPS.Garmin.PVTDataPacket
 
leap_scnds - Variable in class dk.itu.haas.GPS.Garmin.PVTDataPacket
 
lon - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Longitude of waypoint.
lon - Variable in class dk.itu.haas.GPS.Garmin.PVTDataPacket
 

M

main(String[]) - Static method in class dk.itu.haas.GPS.examples.AreaAlarmDemo
 
minute - Variable in class dk.itu.haas.GPS.Garmin.TimeDataPacket
Minute of the hour.
month - Variable in class dk.itu.haas.GPS.Garmin.TimeDataPacket
Month (1-12)
msl_hght - Variable in class dk.itu.haas.GPS.Garmin.PVTDataPacket
 

N

name - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Waypoint name.
number - Variable in class dk.itu.haas.GPS.Garmin.RecordsPacket
The number of records to come, that this packet announces.

P

packet - Variable in class dk.itu.haas.GPS.Garmin.GarminPacket
The packet in byte-form.
PacketNotRecognizedException - exception dk.itu.haas.GPS.Garmin.PacketNotRecognizedException.
This exception is thrown whenever a method expects one type of packet, but receives another.
PacketNotRecognizedException(int, int) - Constructor for class dk.itu.haas.GPS.Garmin.PacketNotRecognizedException
expected is the type of packet that the method was expecting. actual is the type of the packet that it received.
Pid_Ack_Byte - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
 
Pid_Command_Data - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
 
Pid_Date_Time_Data - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
 
Pid_Nak_Byte - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
 
Pid_Position_Data - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
 
Pid_Product_Data - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
 
Pid_Product_Rqst - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
 
Pid_Protocol_Array - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
 
Pid_Pvt_Data - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
 
Pid_Records - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
 
Pid_Wpt_Data - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
 
Pid_Xfer_Cmplt - Static variable in class dk.itu.haas.GPS.Garmin.GarminPacket
 
Position - class dk.itu.haas.GPS.Position.
This is a class meant for containing positions.
Position() - Constructor for class dk.itu.haas.GPS.Position
Makes a new position.
Position(double, double) - Constructor for class dk.itu.haas.GPS.Position
Initializes the Position with la as the latitude and lo as the longitude.
Position(IPosition) - Constructor for class dk.itu.haas.GPS.Position
Initializes the position object from an IPosition reference.
PositionDataPacket - class dk.itu.haas.GPS.Garmin.PositionDataPacket.
 
PositionDataPacket(GarminPacket) - Constructor for class dk.itu.haas.GPS.Garmin.PositionDataPacket
This method is a copy-constructor allowing to "upgrade" a GarminPacket to a PositionPacket.
PositionDataPacket(int[]) - Constructor for class dk.itu.haas.GPS.Garmin.PositionDataPacket
Treats the packet p as a packet containing position-data.
PositionDegrees - class dk.itu.haas.GPS.PositionDegrees.
Class used to store degrees, usually latitude or longitude.
PositionDegrees(double) - Constructor for class dk.itu.haas.GPS.PositionDegrees
 
PositionRadians - class dk.itu.haas.GPS.PositionRadians.
Class used to store radians, usually latitude or longitude.
PositionRadians(double) - Constructor for class dk.itu.haas.GPS.PositionRadians
Initializes the PositionRadians-object.
positionReceived(IPosition) - Method in interface dk.itu.haas.GPS.IGPSlistener
Invoked when the GPS transmits position-data.
positionReceived(IPosition) - Method in class dk.itu.haas.GPS.services.AreaAlarm
 
positionReceived(IPosition) - Method in class dk.itu.haas.GPS.examples.AreaAlarmDemo
 
ProductDataPacket - class dk.itu.haas.GPS.Garmin.ProductDataPacket.
 
ProductDataPacket(GarminPacket) - Constructor for class dk.itu.haas.GPS.Garmin.ProductDataPacket
This method is a copy-constructor allowing to "upgrade" a GarminPacket to a ProductDataPacket.
ProductDataPacket(int[]) - Constructor for class dk.itu.haas.GPS.Garmin.ProductDataPacket
Treats the packet p as a packet containing product-data.
productDesc - Variable in class dk.itu.haas.GPS.Garmin.ProductDataPacket
Description of GPS as given by GPS.
productID - Variable in class dk.itu.haas.GPS.Garmin.ProductDataPacket
Product-ID of GPS.
ProtocolDataPacket - class dk.itu.haas.GPS.Garmin.ProtocolDataPacket.
 
ProtocolDataPacket(GarminPacket) - Constructor for class dk.itu.haas.GPS.Garmin.ProtocolDataPacket
 
ProtocolDataPacket(int[]) - Constructor for class dk.itu.haas.GPS.Garmin.ProtocolDataPacket
Treats the packet p as a packet containing data about which protocols the GPS support.
PVTDataPacket - class dk.itu.haas.GPS.Garmin.PVTDataPacket.
This class encapsulates the PVT (Position, velocity and time) packet.
PVTDataPacket(GarminPacket) - Constructor for class dk.itu.haas.GPS.Garmin.PVTDataPacket
This method is a copy-constructor allowing to "upgrade" a GarminPacket to a PVTDataPacket.
PVTDataPacket(int[]) - Constructor for class dk.itu.haas.GPS.Garmin.PVTDataPacket
Treats the packet p as a packet containing PVT-data.

R

read() - Method in class dk.itu.haas.GPS.Garmin.GarminInputStream
Returns the next byte from the stream.
readByte(int) - Method in class dk.itu.haas.GPS.Garmin.GarminPacket
Method that reads a Garmin-byte in the packet and returns it as a short.
readDouble(int) - Method in class dk.itu.haas.GPS.Garmin.GarminPacket
Method that reads a Garmin-double in the packet and returns it as a double.
readFloat(int) - Method in class dk.itu.haas.GPS.Garmin.GarminPacket
Method that reads a Garmin-float in the packet and returns it as a float.
readLong(int) - Method in class dk.itu.haas.GPS.Garmin.GarminPacket
Method that reads a Garmin-long in the packet and returns it as an int.
readNullTerminatedString(int) - Method in class dk.itu.haas.GPS.Garmin.GarminPacket
Method that reads a null-terminated string.
readPacket() - Method in class dk.itu.haas.GPS.Garmin.GarminInputStream
Reads a packet from the stream.
readWord(int) - Method in class dk.itu.haas.GPS.Garmin.GarminPacket
Method that reads a Garmin-word in the packet and returns it as an int.
RecordsPacket - class dk.itu.haas.GPS.Garmin.RecordsPacket.
This packet is transmitted between devices before a large transfer of data-units, ie. a transfer of waypoints.
RecordsPacket(GarminPacket) - Constructor for class dk.itu.haas.GPS.Garmin.RecordsPacket
 
RecordsPacket(int[]) - Constructor for class dk.itu.haas.GPS.Garmin.RecordsPacket
 
removeAlarmListener(IAlarmListener) - Method in class dk.itu.haas.GPS.services.AreaAlarm
Removes the the Alarm-listener l from the list of Waypoint-listeners.
removeGarminListener(GarminListener) - Method in class dk.itu.haas.GPS.Garmin.GarminGPS
Removes the specified GarminListener from the list of listeners.
removeGPSListener(IGPSlistener) - Method in class dk.itu.haas.GPS.GPS
Removes the the GPS-listener l from the list of GPS-listeners.
removeTransferListener(ITransferListener) - Method in class dk.itu.haas.GPS.GPS
Removes the the transfer-listener l from the list of transfer-listeners.
removeWaypointListener(IWaypointListener) - Method in class dk.itu.haas.GPS.GPS
Removes the the Waypoint-listener l from the list of Waypoint-listeners.
requestDate() - Method in class dk.itu.haas.GPS.GPS
Makes a request for the specified data to the GPS.
requestDate() - Method in class dk.itu.haas.GPS.Garmin.GarminGPS
Makes a request for the specified data to the GPS.
requestPosition() - Method in class dk.itu.haas.GPS.GPS
Makes a request for the specified data to the GPS.
requestPosition() - Method in class dk.itu.haas.GPS.Garmin.GarminGPS
Makes a request for the specified data to the GPS.
requestTime() - Method in class dk.itu.haas.GPS.GPS
Makes a request for the specified data to the GPS.
requestTime() - Method in class dk.itu.haas.GPS.Garmin.GarminGPS
Makes a request for the specified data to the GPS.
requestWaypoints() - Method in class dk.itu.haas.GPS.GPS
Asks the GPS to transmit all the waypoints in it's memory.
requestWaypoints() - Method in class dk.itu.haas.GPS.Garmin.GarminGPS
Asks the GPS to transmit all the waypoints in it's memory.
run() - Method in class dk.itu.haas.GPS.Garmin.GarminGPS
This method is listening for input from the GPS.

S

second - Variable in class dk.itu.haas.GPS.Garmin.TimeDataPacket
Second of the minute.
setAutoTransmit(boolean) - Method in class dk.itu.haas.GPS.GPS
Asks the GPS to either start or stop transmitting data periodically.
setAutoTransmit(boolean) - Method in class dk.itu.haas.GPS.Garmin.GarminGPS
Asks the GPS to either start or stop transmitting data periodically.
setDatatypeVersion(int) - Static method in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Sets which version of the packet that this class should treat.
setLatitude(PositionRadians) - Method in class dk.itu.haas.GPS.Position
Sets the latitude of this position.
setLongitude(PositionRadians) - Method in class dk.itu.haas.GPS.Position
Sets the longitude of this position.
shutdown(boolean) - Method in class dk.itu.haas.GPS.GPS
Stops communication with GPS.
shutdown(boolean) - Method in class dk.itu.haas.GPS.Garmin.GarminGPS
Stops communication with GPS.
smallerThan(PositionRadians) - Method in class dk.itu.haas.GPS.PositionRadians
Tests if this PositionRadians is smaller than p.
smbl - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Waypoint symbol.
state - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
State.
subclass - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Subclass of waypoint
SWversion - Variable in class dk.itu.haas.GPS.Garmin.ProductDataPacket
Software version in GPS.

T

tags - Variable in class dk.itu.haas.GPS.Garmin.ProtocolDataPacket
 
TimeDataPacket - class dk.itu.haas.GPS.Garmin.TimeDataPacket.
This class encapsulates the information of a Garmin-Date-Time-packet.
TimeDataPacket(GarminPacket) - Constructor for class dk.itu.haas.GPS.Garmin.TimeDataPacket
Treats the packet p as a packet containing Time-data.
TimeDataPacket(int[]) - Constructor for class dk.itu.haas.GPS.Garmin.TimeDataPacket
Treats the packet p as a packet containing Time-data.
timeReceived(ITime) - Method in interface dk.itu.haas.GPS.IGPSlistener
Invoked when the GPS transmits time-data.
timeReceived(ITime) - Method in class dk.itu.haas.GPS.services.AreaAlarm
 
timeReceived(ITime) - Method in class dk.itu.haas.GPS.examples.AreaAlarmDemo
 
toString() - Method in class dk.itu.haas.GPS.PositionRadians
Returns the value of this object in degrees and minutes.
toString() - Method in class dk.itu.haas.GPS.Garmin.ProductDataPacket
Returns a human-readable version of this packet.
toString() - Method in class dk.itu.haas.GPS.Garmin.GarminPacket
Returns a human-readable string with information to the packet's contents.
toString() - Method in class dk.itu.haas.GPS.Garmin.ProtocolDataPacket
 
toString() - Method in class dk.itu.haas.GPS.Garmin.PositionDataPacket
Returns a String containing the position in a human-readable format.
toString() - Method in class dk.itu.haas.GPS.Garmin.TimeDataPacket
Returns the value of this packet in a human-readable format.
toString() - Method in class dk.itu.haas.GPS.Garmin.InvalidPacketException
Returns a formatted string showing which byte is wrong.
tow - Variable in class dk.itu.haas.GPS.Garmin.PVTDataPacket
 
transferComplete() - Method in interface dk.itu.haas.GPS.ITransferListener
This method is called when the transfer is complete.
TransferListeners - Variable in class dk.itu.haas.GPS.GPS
A vector containing references to the objects registered as listeners for transfers from the GPS.
transferStarted(int) - Method in interface dk.itu.haas.GPS.ITransferListener
This method is called when a transfer is initiated.

U

UnknownPacketException - exception dk.itu.haas.GPS.Garmin.UnknownPacketException.
 
UnknownPacketException() - Constructor for class dk.itu.haas.GPS.Garmin.UnknownPacketException
 

V

value - Variable in class dk.itu.haas.GPS.PositionDegrees
 
veast - Variable in class dk.itu.haas.GPS.Garmin.PVTDataPacket
 
vnorth - Variable in class dk.itu.haas.GPS.Garmin.PVTDataPacket
 
vup - Variable in class dk.itu.haas.GPS.Garmin.PVTDataPacket
 

W

WaypointDataPacket - class dk.itu.haas.GPS.Garmin.WaypointDataPacket.
This class encapsulates a Waypoint-packet.
WaypointDataPacket(GarminPacket) - Constructor for class dk.itu.haas.GPS.Garmin.WaypointDataPacket
 
WaypointDataPacket(int[]) - Constructor for class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Throws a PacketNotRecognizedException if the Waypoint-dataformat is not implemented.
WaypointListeners - Variable in class dk.itu.haas.GPS.GPS
A vector containing references to the objects registered as listeners for waypoint-data from the GPS.
waypointReceived(IWaypoint) - Method in interface dk.itu.haas.GPS.IWaypointListener
This method is called whenever a waypoint is received from the GPS.
wn_days - Variable in class dk.itu.haas.GPS.Garmin.PVTDataPacket
 
wpt_class - Variable in class dk.itu.haas.GPS.Garmin.WaypointDataPacket
Class of waypoint.
write(GarminPacket) - Method in class dk.itu.haas.GPS.Garmin.GarminOutputStream
 

Y

year - Variable in class dk.itu.haas.GPS.Garmin.TimeDataPacket
Year.

A C D E F G H I L M N P R S T U V W Y