com.esri.arcgis.system
Interface IInputDeviceManager

All Superinterfaces:
Serializable
All Known Implementing Classes:
InputDeviceManager

public interface IInputDeviceManager
extends Serializable

Provides access to members that give life to Input Devices.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void addDevice(IUID pDeviceCLSID, Object initializationData)
          Creates a single device given the CLSID, then passes initializationData to IInputDevice::Startup.
 IExtension findDevice(Object nameOrID)
          Finds the input device by CLSID (IUID) or name (String).
 IExtension getDevice(int index)
          The input device at the specified index.
 IUID getDeviceCLSID(int index)
          The CLSID of the input device at the specified index.
 int getDeviceCount()
          The number of input devices loaded in the application.
 void shutdownDevices()
          Shuts down and releases the extensions that are loaded and calls IExtension::Shutdown.
 void startupDevices(Object initializationData)
          Creates and starts the devices for Inut Device component category, passing initializationData to each in IInputDevice::Startup.
 

Method Detail

startupDevices

void startupDevices(Object initializationData)
                    throws IOException,
                           AutomationException
Creates and starts the devices for Inut Device component category, passing initializationData to each in IInputDevice::Startup.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
initializationData - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

shutdownDevices

void shutdownDevices()
                     throws IOException,
                            AutomationException
Shuts down and releases the extensions that are loaded and calls IExtension::Shutdown.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addDevice

void addDevice(IUID pDeviceCLSID,
               Object initializationData)
               throws IOException,
                      AutomationException
Creates a single device given the CLSID, then passes initializationData to IInputDevice::Startup.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pDeviceCLSID - A reference to a com.esri.arcgis.system.IUID (in)
initializationData - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDeviceCount

int getDeviceCount()
                   throws IOException,
                          AutomationException
The number of input devices loaded in the application.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDevice

IExtension getDevice(int index)
                     throws IOException,
                            AutomationException
The input device at the specified index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.system.IExtension
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDeviceCLSID

IUID getDeviceCLSID(int index)
                    throws IOException,
                           AutomationException
The CLSID of the input device at the specified index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findDevice

IExtension findDevice(Object nameOrID)
                      throws IOException,
                             AutomationException
Finds the input device by CLSID (IUID) or name (String).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
nameOrID - A Variant (in)
Returns:
A reference to a com.esri.arcgis.system.IExtension
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.