]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/DisseminationValue.nc
Added a StdControl interface, and a top-level DisseminationC component. Added a set...
[tinyos-2.x.git] / tos / lib / net / DisseminationValue.nc
index 854d9ad12ec58a0331e96faba8c1aa76cf43fd7c..27a5da46cdf74509e601621308a2048d40567ba7 100644 (file)
@@ -46,6 +46,15 @@ interface DisseminationValue<t> {
    */
   command const t* get();
 
+  /**
+   * Set the variable to a new value. The provider of this interface
+   * will copy the value from the pointer. NOTE: This command does
+   * not cause the new value to begin disseminating. It is intended to
+   * be used for setting default values.
+   */
+
+  command void set( const t* );
+
   /**
    * Signalled whenever variable may have changed.
    */