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 | Determines whether the specified Object is equal to the current Object. (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. |
![]() | 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 OIV.Inventor.Sensors.SoTimerSensor.SetInterval(OIV.Inventor.SbTime).