C# Class WindowsContextTracker.Daemon

Inheritance: Shared.BaseTracker, ITracker
ファイルを表示 Open project: sealuzh/PersonalAnalytics

Public Methods

Method Description
CreateDatabaseTablesIfNotExist ( ) : void
Daemon ( ) : System
IsEnabled ( ) : bool
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
DisposeData ( ContextEntry ce ) : void

try to give resources free TODO: most likely, this method is not used

RunContextRecognition ( object sender, EventArgs e ) : void

Every x seconds the Context Recognition algorithm is run if the window has changed. Some info about the context is added (currently: process + windows information) Then, the background worker is started for OCR recognition

SaveContextEntryToDatabase ( ContextEntry contextEntry ) : void

Method Details

CreateDatabaseTablesIfNotExist() public method

public CreateDatabaseTablesIfNotExist ( ) : void
return void

Daemon() public method

public Daemon ( ) : System
return System

IsEnabled() public method

public IsEnabled ( ) : bool
return bool

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void