mbed Ethernet-based CoAP heartrate endpoint for Dreamforce 2015
Dependencies: GroveEarbudSensor mbed mbedConnectorInterface mbedEndpointNetwork
LocationResource Class Reference
LocationResource class. More...
#include <LocationResource.h>
Public Member Functions | |
LocationResource (const Logger *logger, const char *name, const bool observable=false) | |
Default constructor. | |
virtual string | get () |
Get the value of the Location sensor. |
Detailed Description
LocationResource class.
Definition at line 41 of file LocationResource.h.
Constructor & Destructor Documentation
LocationResource | ( | const Logger * | logger, |
const char * | name, | ||
const bool | observable = false |
||
) |
Default constructor.
- Parameters:
-
logger input logger instance for this resource name input the Location resource name observable input the resource is Observable (default: FALSE)
Definition at line 50 of file LocationResource.h.
Member Function Documentation
virtual string get | ( | ) | [virtual] |
Get the value of the Location sensor.
- Returns:
- string containing the location value
Definition at line 58 of file LocationResource.h.
Generated on Thu Jul 14 2022 21:41:09 by 1.7.2