mbedConnectorInterface sample endpoint utilizing 3g cellular radio as the underlying connection transport.

Dependencies:   LM75B mbed mbedConnectorInterface mbedEndpointNetwork_Ublox

Embed: (wiki syntax)

« Back to documentation index

LocationResource Class Reference

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 39 of file LocationResource.h.


Constructor & Destructor Documentation

LocationResource ( const Logger *  logger,
const char *  name,
const bool  observable = false 
)

Default constructor.

Parameters:
loggerinput logger instance for this resource
nameinput the Location resource name
observableinput the resource is Observable (default: FALSE)

Definition at line 48 of file LocationResource.h.


Member Function Documentation

virtual string get (  ) [virtual]

Get the value of the Location sensor.

Returns:
string containing the temperature sensor value

Definition at line 55 of file LocationResource.h.