|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fhg.igd.event.Event
de.fhg.igd.gps.GPSParserEvent
This class represents a gps parser event.
Field Summary | |
private Exception |
e_
|
static int |
ERROR
|
private GPSData |
gpsData_
|
private int |
mask_
The bit mask of those parameters this event refers to. |
static int |
NMEA183
|
private NMEA183Sentence |
nmea183_
|
static int |
NMEA183_GGA
|
static int |
NMEA183_GLL
|
static int |
NMEA183_GSA
|
static int |
NMEA183_GSV
|
static int |
NMEA183_RMC
|
static int |
NMEA183_VTG
|
private static String[] |
op_id_
The tokens which specify event parameters. |
private static int[] |
op_mask_
Each event parameter corresponds to a bit mask which is used for quick implication testing. |
static int |
RUNNING
|
static int |
TERMINATED
|
Fields inherited from class de.fhg.igd.event.Event |
millis |
Constructor Summary | |
GPSParserEvent(String action)
Creates an instance. |
|
GPSParserEvent(String action,
Exception e)
Creates an instance. |
|
GPSParserEvent(String action,
NMEA183Sentence nmea183)
Creates an instance. |
Method Summary | |
boolean |
equals(Object o)
Tests if this object is equal to the given one which is true iff their classes match, their
masks match and their agent names match. |
Exception |
getException()
Returns the entry of the database which is subject of this event. |
GPSData |
getGPSData()
|
int |
getMask()
Returns the mask of this object. |
NMEA183Sentence |
getNMEA183Sentence()
Returns the entry of the database which is subject of this event. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class de.fhg.igd.event.Event |
implies |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int RUNNING
public static final int TERMINATED
public static final int ERROR
public static final int NMEA183
public static final int NMEA183_GGA
public static final int NMEA183_GLL
public static final int NMEA183_GSA
public static final int NMEA183_GSV
public static final int NMEA183_RMC
public static final int NMEA183_VTG
private static final String[] op_id_
private static final int[] op_mask_
private transient NMEA183Sentence nmea183_
private transient Exception e_
private transient GPSData gpsData_
private int mask_
Constructor Detail |
public GPSParserEvent(String action)
action
- The event's actions.public GPSParserEvent(String action, Exception e)
action
- The event's actions.e
- The exception which has been occured.public GPSParserEvent(String action, NMEA183Sentence nmea183)
action
- The event's actions.nmea183
- The NMEA183 Sentence which has successfully
been parsed.Method Detail |
public boolean equals(Object o)
true
iff their classes match, their
masks match and their agent names match.
o
- The object which is tested for equality.public int getMask()
public NMEA183Sentence getNMEA183Sentence()
public Exception getException()
public GPSData getGPSData()
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |