CoreBehaviour Class

The CoreBehaviour extension allows the developer to hook into the main FTGate start/stop/run loop. In order to use this class derive a subclass called CoreExtension.

using System;
using System.Collections.Generic;
using System.Text;
using FTGate.Framework;

public class CoreExtension : CoreBehaviour
{

}

Member Functions

public void OnInit()

Called when FTGate loads the assembly.

public void OnMainLoopStart()

Called Just before the main processing loop starts, or when the assembly has been reloaded after an edit.

public void OnMainLoop()

Called at approx. 250ms intervals. Take care not to have any long delays in this loop.

public void OnMainLoopEnd()

Called when the main loop exists as the system shuts down.