Interface: moteiv.tos.interfaces.Get

interface Get<typedef val_t>

The Get interface is intended for synchronous reading of small values. The type of the value is given as a template argument. Generally, these values are backed by memory or computation. Because no error code is included, the get() call must be guaranteed to succeed.

See TEP114 - SIDs: Source and Sink Independent Drivers for details. Modified by Joe Polastre, Moteiv Corporation, to support async access.

Parameters:
val_t - the type of the object that will be returned
Author:
Gilman Tolle <gtolle@archedrock.com>
Version:
$Revision: 1.1.2.2 $ $Date: 2006/01/28 02:05:16 $

Commands
command val_t get() Retrieves a value of type val_t.

Commands - Details

get

command val_t get()

Retrieves a value of type val_t.

Returns:
the value itself