Click or drag to resize

IDistanceProvider Interface

Defines a distance provider that gives a distance for the constant distance mode.

Namespace: CompreDriveSDK.Plugins
Assembly: CompreDriveSDK (in CompreDriveSDK.dll) Version: 1.17.16
Syntax
public interface IDistanceProvider : ICommandAcceptor, 
	IInitializeRequired

The IDistanceProvider type exposes the following members.

Properties
 NameDescription
Public propertyUniqueIdentifier Gets a constant unique identifier for this distance provider.
Top
Methods
 NameDescription
Public methodAcceptApiInstance Is called during plugin initialization on CompreDriveControl start and allows the plugin to receive an API interface of the CompreDriveControl instance it is loaded into.
(Inherited from ICommandAcceptor)
Public methodExecuteCommand Execute the given command.
(Inherited from ICommandAcceptor)
Public methodGetAvailableCommands Get the commands available to run.
(Inherited from ICommandAcceptor)
Public methodGetDistance Get the current distance in [m].
Public methodInitialize Called once after the plugin is loaded to allow initialization.
(Inherited from IInitializeRequired)
Public methodPerformTare Perform a tare operation, setting the current value to the given value.
Public methodShutdown Called before the program shuts down to allow freeing plugin resources.
(Inherited from IInitializeRequired)
Top
Events
 NameDescription
Public eventTarePerformed Raised when a tare was performed.
Top
See Also