ISensorDriver interface (sensorsclassextension.h)

The ISensorDriver interface provides callback methods that the sensor class extension uses to provide requests and notifications to the sensor driver.

Inheritance

The ISensorDriver interface inherits from the IUnknown interface. ISensorDriver also has these types of members:

Methods

The ISensorDriver interface has these methods.

 
ISensorDriver::OnClientConnect

The ISensorDriver::OnClientConnect method notifies the sensor driver that a client application has connected.
ISensorDriver::OnClientDisconnect

The ISensorDriver::OnClientDisconnect method notifies the sensor driver that a client application has disconnected.
ISensorDriver::OnClientSubscribeToEvents

The ISensorDriver::OnClientSubscribeToEvents method notifies the sensor driver that an authorized client application is requesting event notifications.
ISensorDriver::OnClientUnsubscribeFromEvents

The ISensorDriver::OnClientUnsubscribeFromEvents method notifies the sensor driver that a client application no longer requests event notifications.
ISensorDriver::OnGetDataFields

The ISensorDriver::OnGetDataFields method retrieves current sensor data.
ISensorDriver::OnGetProperties

The ISensorDriver::OnGetProperties method retrieves values for the specified properties from the specified sensor.
ISensorDriver::OnGetSupportedDataFields

The ISensorDriver::OnGetSupportedDataFields method retrieves the list of data fields that the specified sensor can provide.
ISensorDriver::OnGetSupportedEvents

The ISensorDriver::OnGetSupportedEvents method retrieves the list of events that the specified sensor can raise.
ISensorDriver::OnGetSupportedProperties

The ISensorDriver::OnGetSupportedProperties method retrieves the list of properties that the specified sensor provides.
ISensorDriver::OnGetSupportedSensorObjects

The ISensorDriver::OnGetSupportedSensorObjects method retrieves the list of sensors that the driver provides.
ISensorDriver::OnProcessWpdMessage

The ISensorDriver::OnProcessWpdMessage method handles Windows Portable Device (WPD) commands that the ISensorClassExtension::ProcessIoControl method does not handle internally.
ISensorDriver::OnSetProperties

The ISensorDriver::OnSetProperties method specifies values for the specified list of properties.

Requirements

Requirement Value
Target Platform Windows
Header sensorsclassextension.h