Cortex Android
 All Classes Namespaces Functions Variables
nl.sense_os.cortex.SitStandSensor Class Reference
Inheritance diagram for nl.sense_os.cortex.SitStandSensor:

Public Member Functions

 SitStandSensor (String name, SensePlatform sensePlatform)
 
 SitStandSensor (SensePlatform sensePlatform)
 

Detailed Description

This class is a DataProducer implementation of the SitStand module. The SitStand module determines the pose of the user based on the accelerometer.

This class returns a json object with the structure {"value":"sit", "date":1366876517.12}

Author
Ted Schmidt

Copyright (c) 2013 Sense Observation Systems BV. All rights reserved.

Constructor & Destructor Documentation

nl.sense_os.cortex.SitStandSensor.SitStandSensor ( String  name,
SensePlatform  sensePlatform 
)

A SitStand data producer will be registered at the Sense Service
under the name supplied with this constructor.
To receive data from this DataProducer, subscription should be done at the Sense Service with the given name.
The DataProcessor persists its state based on the supplied name.

Parameters
sensePlatformThe SensePlatform
nameThe name of the data processor. Should be unique.
nl.sense_os.cortex.SitStandSensor.SitStandSensor ( SensePlatform  sensePlatform)

A SitStand data producer will be registered at the Sense Service

See Also
SitStandSensor(String name, SensePlatform sensePlatform)
Parameters
sensePlatformThe SensePlatform

The documentation for this class was generated from the following file: