|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.GpsFeed
public class GpsFeed
Used to connected to a GPS unit through the communication port, implements IRealTimeFeed, and fires events when the GPS location changes.
| Constructor Summary | |
|---|---|
GpsFeed()
Constructs a GpsFeed using ArcGIS Engine. |
|
GpsFeed(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GpsFeed theGpsFeed = (GpsFeed) obj; |
|
| Method Summary | |
|---|---|
void |
addIRealTimeFeedEventsListener(IRealTimeFeedEvents theListener)
addIRealTimeFeedEventsListener. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
IGpsConnection |
getConnection()
The GPS connection object. |
int |
getConnectionError()
Connection error information. |
esriGpsDateTime |
getCurrentDateTime()
The current date and time. |
esriGpsDgpsInfo |
getCurrentDgpsInfo()
The current DGPS information. |
esriGpsDOPInfo |
getCurrentDopInfo()
The current DOP information. |
esriGpsGroundCourse |
getCurrentGroundCourse()
The current ground course. |
esriGpsMagneticVariance |
getCurrentMagneticVariance()
The current magnetic variance. |
esriGpsPositionInfo |
getCurrentPosition()
The current position information from the real-time feed. |
int |
getCurrentSatelliteCount()
The most recent number of satellites. |
esriGpsSatelliteData |
getCurrentSatelliteData(int index)
The satellite data for the given index value. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
ISpatialReference |
getSpatialReference()
The spatial reference of the real-time feed. |
int |
getStatus()
The current status of the real-time feed. |
int |
getTestStatus()
Reports the tested status of the connection(The connection need not be open). |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
removeIRealTimeFeedEventsListener(IRealTimeFeedEvents theListener)
removeIRealTimeFeedEventsListener. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setConnectionByRef(IGpsConnection ppConnection)
The GPS connection object. |
void |
setSpatialReferenceByRef(ISpatialReference ppSpatialReference)
The spatial reference of the real-time feed. |
void |
start()
Starts the real-time feed. |
void |
stop()
Stops the real-time feed. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public GpsFeed()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public GpsFeed(Object obj)
throws IOException
GpsFeed theGpsFeed = (GpsFeed) obj;
obj to GpsFeed.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void addIRealTimeFeedEventsListener(IRealTimeFeedEvents theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.carto.IRealTimeFeedEvents interface.
IOException - If there are communications problems.
public void removeIRealTimeFeedEventsListener(IRealTimeFeedEvents theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.carto.IRealTimeFeedEvents interface.
IOException - If there are communications problems.
public void start()
throws IOException,
AutomationException
start in interface IRealTimeFeedIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void stop()
throws IOException,
AutomationException
stop in interface IRealTimeFeedIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISpatialReference getSpatialReference()
throws IOException,
AutomationException
getSpatialReference in interface IRealTimeFeedIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSpatialReferenceByRef(ISpatialReference ppSpatialReference)
throws IOException,
AutomationException
setSpatialReferenceByRef in interface IRealTimeFeedppSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getStatus()
throws IOException,
AutomationException
getStatus in interface IRealTimeFeedIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public esriGpsPositionInfo getCurrentPosition()
throws IOException,
AutomationException
getCurrentPosition in interface IRealTimeFeedIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCurrentSatelliteCount()
throws IOException,
AutomationException
getCurrentSatelliteCount in interface IRealTimeFeedIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public esriGpsSatelliteData getCurrentSatelliteData(int index)
throws IOException,
AutomationException
getCurrentSatelliteData in interface IRealTimeFeedindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public esriGpsMagneticVariance getCurrentMagneticVariance()
throws IOException,
AutomationException
getCurrentMagneticVariance in interface IRealTimeFeedIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public esriGpsGroundCourse getCurrentGroundCourse()
throws IOException,
AutomationException
getCurrentGroundCourse in interface IRealTimeFeedIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public esriGpsDOPInfo getCurrentDopInfo()
throws IOException,
AutomationException
getCurrentDopInfo in interface IRealTimeFeedIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public esriGpsDateTime getCurrentDateTime()
throws IOException,
AutomationException
getCurrentDateTime in interface IRealTimeFeedIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public esriGpsDgpsInfo getCurrentDgpsInfo()
throws IOException,
AutomationException
getCurrentDgpsInfo in interface IRealTimeFeedIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getConnectionError()
throws IOException,
AutomationException
getConnectionError in interface IRealTimeFeedIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGpsConnection getConnection()
throws IOException,
AutomationException
getConnection in interface IGpsFeedIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setConnectionByRef(IGpsConnection ppConnection)
throws IOException,
AutomationException
setConnectionByRef in interface IGpsFeedppConnection - A reference to a com.esri.arcgis.carto.IGpsConnection (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTestStatus()
throws IOException,
AutomationException
getTestStatus in interface IGpsFeedIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
throws IOException,
AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
enumConnectionPoints in interface IConnectionPointContainerppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
throws IOException,
AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
findConnectionPoint in interface IConnectionPointContainerriid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP - A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||