Méthode | Description | |
---|---|---|
Add ( Sensor sensor ) : void | ||
AddAlias ( Sensor sensor, string alias ) : void | ||
AddListener ( Sensor sensor, Action |
||
AddListener ( Sensor sensor, Action |
Adds listener for the specified sensor Use period of milliseconds to update the reading. Default is 0 - means update as fast as possible |
|
AddListener ( string sensor, Action |
||
AddListener ( string sensor, Action |
||
AddPassiveListener ( Action |
Passive listeners are the listeners who listen for all currently active sensors
|
|
CreateObject ( string clazz ) : object | ||
Deactivate ( ) : void | ||
DumpState ( ) : void | ||
EnumerateSensors ( ) : IEnumerable |
Returns enumeration of all the available registered sensors
|
|
RegisterObjectCreator ( object>.Func |
||
RegisterProvider ( SensorProvider provider ) : void | ||
RegisterProvider ( string provider ) : void |
Provider should be either a SensorProvider full class name, or special string
|
|
Remove ( Sensor sensor ) : void | ||
RemoveListener ( Action |
Detaches the specifed listener for all sensors
|
|
RemoveListener ( Sensor sensor, Action |
Removes the listener for the specified sensor
|
|
RemoveListener ( string sensor, Action |
alias for RemoveListener
|
|
RemovePassiveListener ( Action |
||
Sensor ( string id ) : Sensor |
Gets the sensor with the specified ID or alias
|
|
Sensor ( string id, Sensor notthis ) : Sensor | ||
SensorRegistry ( ) : System | ||
TriggerListeners ( Sensor sensor ) : void | ||
TriggerReset ( ) : void |
Triggers sensor reset event for all sensors that supports it
|
|
TriggerSuspend ( ) : void |
Triggers sensor suspend event for all sensors that supports it
|
Méthode | Description | |
---|---|---|
ListenerHandler ( ) : void |
public AddAlias ( Sensor sensor, string alias ) : void | ||
sensor | Sensor | |
alias | string | |
Résultat | void |
public AddListener ( Sensor sensor, Action |
||
sensor | Sensor | |
listener | Action |
|
Résultat | void |
public AddListener ( Sensor sensor, Action |
||
sensor | Sensor | |
listener | Action |
|
period | int | |
Résultat | void |
public AddListener ( string sensor, Action |
||
sensor | string | |
listener | Action |
|
Résultat | void |
public AddListener ( string sensor, Action |
||
sensor | string | |
listener | Action |
|
period | int | |
Résultat | void |
public AddPassiveListener ( Action |
||
listener | Action |
/// A |
Résultat | void |
public CreateObject ( string clazz ) : object | ||
clazz | string | |
Résultat | object |
public RegisterObjectCreator ( object>.Func |
||
creator | object>.Func | |
Résultat | void |
public RegisterProvider ( SensorProvider provider ) : void | ||
provider | SensorProvider | |
Résultat | void |
public RegisterProvider ( string provider ) : void | ||
provider | string | |
Résultat | void |
public RemoveListener ( Action |
||
listener | Action |
/// A |
Résultat | void |
public RemoveListener ( Sensor sensor, Action |
||
sensor | Sensor | |
listener | Action |
|
Résultat | void |
public RemoveListener ( string sensor, Action |
||
sensor | string | |
listener | Action |
|
Résultat | void |
public RemovePassiveListener ( Action |
||
listener | Action |
|
Résultat | void |
public Sensor ( string id, Sensor notthis ) : Sensor | ||
id | string | |
notthis | Sensor | |
Résultat | Sensor |
public TriggerListeners ( Sensor sensor ) : void | ||
sensor | Sensor | |
Résultat | void |