SoFileSensor Class |
Sensor that triggers a delegateeach time a file is changed.
Namespace: OIV.Inventor.Sensors
The SoFileSensor type exposes the following members.
Name | Description | |
---|---|---|
![]() | SoFileSensor | Default constructor. |
Name | Description | |
---|---|---|
![]() | AddFile | Add file to be monitored. |
![]() | ClearFiles | Stop monitoring all previously registered files. |
![]() | Equals | (Inherited from Object.) |
![]() | GetBaseTime | Gets the base time. |
![]() | GetFilename | Return changed file name. |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() | GetInterval | Gets the interval. |
![]() | GetTriggerTime | Returns the time at which this sensor is scheduled to be triggered. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsScheduled | Returns true if this sensor has been scheduled and is waiting in a sensor queue to be triggered. |
![]() | RemoveFile | Remove file from monitored list. |
![]() | Schedule | (Inherited from SoSensor.) |
![]() | SetBaseTime | Sets the base time. |
![]() | SetInterval | Sets the interval. |
![]() | SetSensorCB(SoSensorSensorCB) | Obsolete.
Use Action property instead
Sets the delegate that is invoked when the sensor is triggered.
The function must take two arguments - user-supplied data (of type object)
and a reference to the sensor that is triggering the function (of type SoSensor).
(Inherited from SoSensor.) |
![]() | SetSensorCB(SoSensorSensorUserDataCB, Object) | Obsolete.
Use Action property instead
(Inherited from SoSensor.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Unschedule | (Inherited from SoSensor.) |
File sensors trigger their delegatefunction when a watched file changes. Files are checked at the interval specified with SoTimerSensor.setInterval.