Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
ListenerHandler ( ) : void |
public AddAlias ( Sensor sensor, string alias ) : void | ||
sensor | Sensor | |
alias | string | |
Результат | void |
public AddListener ( Sensor sensor, Action |
||
sensor | Sensor | |
listener | Action |
|
Результат | void |
public AddListener ( Sensor sensor, Action |
||
sensor | Sensor | |
listener | Action |
|
period | int | |
Результат | void |
public AddListener ( string sensor, Action |
||
sensor | string | |
listener | Action |
|
Результат | void |
public AddListener ( string sensor, Action |
||
sensor | string | |
listener | Action |
|
period | int | |
Результат | void |
public AddPassiveListener ( Action |
||
listener | Action |
/// A |
Результат | void |
public CreateObject ( string clazz ) : object | ||
clazz | string | |
Результат | object |
public RegisterObjectCreator ( object>.Func |
||
creator | object>.Func | |
Результат | void |
public RegisterProvider ( SensorProvider provider ) : void | ||
provider | SensorProvider | |
Результат | void |
public RegisterProvider ( string provider ) : void | ||
provider | string | |
Результат | void |
public RemoveListener ( Action |
||
listener | Action |
/// A |
Результат | void |
public RemoveListener ( Sensor sensor, Action |
||
sensor | Sensor | |
listener | Action |
|
Результат | void |
public RemoveListener ( string sensor, Action |
||
sensor | string | |
listener | Action |
|
Результат | void |
public RemovePassiveListener ( Action |
||
listener | Action |
|
Результат | void |
public Sensor ( string id, Sensor notthis ) : Sensor | ||
id | string | |
notthis | Sensor | |
Результат | Sensor |
public TriggerListeners ( Sensor sensor ) : void | ||
sensor | Sensor | |
Результат | void |