Ambient clean-up.

This commit is contained in:
Milan Hanajik
2021-04-02 15:12:22 +02:00
parent 4e9d1c8281
commit 51aa0f4e43
6 changed files with 80 additions and 124 deletions
+9 -3
View File
@@ -5,7 +5,12 @@ namespace TBF.Rig.Generic
{
public interface IDevice : IComponent
{
void Initialize();
/// <summary>
/// Invoked once on program start-up before the state machine is started,
/// before RunDeviceBefore() functions of all devices and before Start()
/// functions of all operations.
/// </summary>
void Initialize();
/// <summary>
/// This function is invoked regularly each 1000 ms (once per second)
@@ -30,8 +35,9 @@ namespace TBF.Rig.Generic
void RunDeviceAfter();
/// <summary>
/// Should be invoked once on program shut-down after state machine is stopped
/// and after all Stop() functions for all runing operations were called.
/// Invoked once on program shut-down after state machine is stopped,
/// after all Stop() functions for all runing operations were called
/// and after all RunDeviceAfter() of all devices.
/// </summary>
void StopDevice();