C# Class hobd.CoreSensor

Implementation of a simple sensor
Sensor value could only be changed by derived classses
Inheritance: Sensor
Afficher le fichier Open project: cail/hobd Class Usage Examples

Protected Properties

Свойство Type Description
listenerCount int
registry SensorRegistry
value double

Méthodes publiques

Méthode Description
CoreSensor ( ) : System
DetachRegistry ( ) : void
NotifyAddListener ( Action listener ) : void
NotifyRemoveListener ( Action listener ) : void
SetRegistry ( SensorRegistry registry ) : void

Méthodes protégées

Méthode Description
Activate ( ) : void

Helper method to help sensor know when it is activated

Deactivate ( ) : void

Helper method to help sensor know when it is deactivated

Method Details

Activate() protected méthode

Helper method to help sensor know when it is activated
protected Activate ( ) : void
Résultat void

CoreSensor() public méthode

public CoreSensor ( ) : System
Résultat System

Deactivate() protected méthode

Helper method to help sensor know when it is deactivated
protected Deactivate ( ) : void
Résultat void

DetachRegistry() public méthode

public DetachRegistry ( ) : void
Résultat void

NotifyAddListener() public méthode

public NotifyAddListener ( Action listener ) : void
listener Action
Résultat void

NotifyRemoveListener() public méthode

public NotifyRemoveListener ( Action listener ) : void
listener Action
Résultat void

SetRegistry() public méthode

public SetRegistry ( SensorRegistry registry ) : void
registry SensorRegistry
Résultat void

Property Details

listenerCount protected_oe property

protected int listenerCount
Résultat int

registry protected_oe property

protected SensorRegistry,hobd registry
Résultat SensorRegistry

value protected_oe property

protected double value
Résultat double