| \n |
| Microsoft Invisible Computing |
An interface for collecting sensor readings.
XML namespace sensor=http://tempuri.org/Sensor
C type for interface pointer:
Extends IProgram
Implemented by SensorDemo
Methods: Read ReadAndDeliver DoSomeWork DoNoWork
Read a value from a sensing element synchronously.
Read a value from a sensing element and deliver to a web service.
Test method that spends some time calculating something.
Test method that spends no time calculating anything.
Experimental: used to deliver camera images from sensor.
Read a value from a sensing element synchronously.
SCODE Read(
/*in,this*/ PISENSOR iThis,
/*in*/ UINT32 Element,
/*out,size-is*/ _TCHAR * Data,
/*in,size-of*/ UINT DataSize)
Which sensing element to read from.
The resulting value.
Size of data buffer.
SCODE ISensor::Read(
/*in*/ UINT32 Element,
/*out,size-is*/ _TCHAR * Data,
/*in,size-of*/ UINT DataSize)
Read a value from a sensing element and deliver to a web service.
SCODE ReadAndDeliver(
/*in,this*/ PISENSOR iThis,
/*in*/ UINT32 Element,
/*in*/ const _TCHAR * Destination,
/*in*/ const _TCHAR * DestinationReservation)
Which sensing element to read from.
The URL of the web service to send to.
The URL of the web service to send to.
SCODE ISensor::ReadAndDeliver(
/*in*/ UINT32 Element,
/*in*/ const _TCHAR * Destination,
/*in*/ const _TCHAR * DestinationReservation)
Test method that spends some time calculating something.
SCODE DoSomeWork(
/*in,this*/ PISENSOR iThis,
/*in*/ const _TCHAR * arg)
An argument.
SCODE ISensor::DoSomeWork(
/*in*/ const _TCHAR * arg)
Test method that spends no time calculating anything.
SCODE DoNoWork(
/*in,this*/ PISENSOR iThis)
SCODE ISensor::DoNoWork( void )
Experimental: used to deliver camera images from sensor.
Fields_TCHAR *string"bmp" or similar.
PIBUFFERPIBUFFERThe data represented as a !BIN section in XML and IBuffer object in C.
| ©2006 Microsoft Corporation. All rights reserved. | Terms of Use | Privacy Statement | Accessibility | End User License Agreement |