|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITAUpdateControl
Provides access to methods needed to manage the dynamic updating of events drawn in ArcMap.
This interface provides properties to indicate refresh rate, maximum update rate, update method, and whether or not update display manually or automatically.
Method Summary | |
---|---|
void |
addLayer(ILayer piLayer)
Obsolete Method that is unsupported. |
double |
getMaxUpdateRate()
Indicates the minimum duration between which the map display updates, as defined in the dynamic update controller. |
double |
getRefreshRate()
Indicates the maximum duration between map display refreshes, as defined in the dynamic update controller. |
String |
getStatistics()
Various statistics about dynamic display processing. |
int |
getUpdateMethod()
Defines how the display refresh is determined: by number of points or CPU usage. |
int |
getUpdateValue()
Indicates the number of points or percentage of CPU usage used as the threshold for a map display refresh. |
boolean |
isAutoRefresh()
Indicates whether or not the map display will refresh automatically when no new data has been received. |
boolean |
isManualUpdate()
Indicates whether or not map display must be updated manually when new data is received. |
void |
refreshDisplay(int enumUpdateType)
Refreshes the map display in ArcMap. |
void |
removeLayer(ILayer piLayer)
Obsolete Method that is unsupported. |
void |
setAutoRefresh(boolean pVal)
Indicates whether or not the map display will refresh automatically when no new data has been received. |
void |
setManualUpdate(boolean pVal)
Indicates whether or not map display must be updated manually when new data is received. |
void |
setMaxUpdateRate(double pVal)
Indicates the minimum duration between which the map display updates, as defined in the dynamic update controller. |
void |
setRefreshRate(double pVal)
Indicates the maximum duration between map display refreshes, as defined in the dynamic update controller. |
void |
setUpdateMethod(int pVal)
Defines how the display refresh is determined: by number of points or CPU usage. |
void |
setUpdateValue(int pVal)
Indicates the number of points or percentage of CPU usage used as the threshold for a map display refresh. |
Method Detail |
---|
void addLayer(ILayer piLayer) throws IOException, AutomationException
This method adds a layer to the Display update controller. Only temporal layers are permitted. If a non-temporal layer is added it is rejected and S_False is returned.
piLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeLayer(ILayer piLayer) throws IOException, AutomationException
This method removes a layer from the Controller's management.
piLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getRefreshRate() throws IOException, AutomationException
Gets and sets the maximum number of seconds between map refreshes if no new data has been received when AutoRefresh is enabled on the dynamic update controller. If no new data has been received to trigger an update refresh this timer will cause the map to refresh. This is important for maintaining time windows and aging. The RefreshRate must be greater than or equal to the MaxUpdateRate and less than or equal to 500 seconds.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRefreshRate(double pVal) throws IOException, AutomationException
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getMaxUpdateRate() throws IOException, AutomationException
Gets and sets the minimum number of seconds between map refreshes when real-time data is being received and AutoRefresh is enabled. The MaxUpdateRate must be between 0.5 and 60 seconds. This timer is triggered only if new data has been received since the last refresh. If data stops being received for an extended period the timer specified by the RefreshRate property will execute to maintain temporal windows and aging.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMaxUpdateRate(double pVal) throws IOException, AutomationException
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void refreshDisplay(int enumUpdateType) throws IOException, AutomationException
There are five types of screen updates available:
enumUpdateType
- A com.esri.arcgis.trackinganalyst.enumScreenUpdateType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getUpdateMethod() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setUpdateMethod(int pVal) throws IOException, AutomationException
pVal
- A com.esri.arcgis.trackinganalyst.enumScreenUpdateThresholdType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getUpdateValue() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setUpdateValue(int pVal) throws IOException, AutomationException
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getStatistics() throws IOException, AutomationException
This method returns a XML string containing named variables of various statistics about display processing for temporal data.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isManualUpdate() throws IOException, AutomationException
If ManualUpdate is set to true then you are responsible for causing map refreshes to animate the display of tracking data. The primary mechanism to cause a screen refresh is using RefreshDisplay. you can also using IActiveView::Refresh and IActiveView::PartialRefresh, but they are not as optimized for updating tracking data.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setManualUpdate(boolean pVal) throws IOException, AutomationException
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isAutoRefresh() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAutoRefresh(boolean pVal) throws IOException, AutomationException
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |