\n
Microsoft Invisible Computing

SensorDemo Concrete Class

Sensor demo implementation.

Implements ISensor IRecorder

Subclass of DefCob

Methods

Inherits CUnknown.QueryInterface
Inherits CUnknown.AddRef
Inherits CUnknown.Release
SensorMain implements IProgram.Main
Source in sensor.c

The method to be called from a command line interpreter. Also used as the initial method of a distributed behavior pattern, where the object is a web service.

SensorRead implements ISensor.Read
Source in sensor.c

Read a value from a sensing element synchronously.

SensorReadAndDeliver implements ISensor.ReadAndDeliver
Source in sensor.c

Read a value from a sensing element and deliver to a web service.

SensorDoSomeWork implements ISensor.DoSomeWork
Source in sensor.c

Test method that spends some time calculating something.

SensorDoNoWork implements ISensor.DoNoWork
Source in sensor.c

Test method that spends no time calculating anything.

RecorderWrite implements IRecorder.Write
Source in sensor.c

Write a sensor reading to storage.

©2006 Microsoft Corporation. All rights reserved. Terms of Use Privacy Statement Accessibility End User License Agreement