MBED_DEMOS / Mbed 2 deprecated mbed_nsp_endpoint_ublox_ethernet

Dependencies:   C027 C12832 EthernetInterface StatusReporter LM75B endpoint_core endpoint_nsp mbed-rtos mbed nsp_resources

Committer:
ansond
Date:
Sat Mar 01 05:31:34 2014 +0000
Revision:
21:e491f70f6a8a
Parent:
19:a1fb67efb302
Child:
33:eaebd2595176
updates

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ansond 0:dcced975fb52 1 /* Copyright C2013 Doug Anson, MIT License
ansond 0:dcced975fb52 2 *
ansond 0:dcced975fb52 3 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software
ansond 0:dcced975fb52 4 * and associated documentation files the "Software", to deal in the Software without restriction,
ansond 0:dcced975fb52 5 * including without limitation the rights to use, copy, modify, merge, publish, distribute,
ansond 0:dcced975fb52 6 * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
ansond 0:dcced975fb52 7 * furnished to do so, subject to the following conditions:
ansond 0:dcced975fb52 8 *
ansond 0:dcced975fb52 9 * The above copyright notice and this permission notice shall be included in all copies or
ansond 0:dcced975fb52 10 * substantial portions of the Software.
ansond 0:dcced975fb52 11 *
ansond 0:dcced975fb52 12 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
ansond 0:dcced975fb52 13 * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
ansond 0:dcced975fb52 14 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
ansond 0:dcced975fb52 15 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
ansond 0:dcced975fb52 16 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
ansond 0:dcced975fb52 17 */
ansond 0:dcced975fb52 18
ansond 0:dcced975fb52 19 #ifndef _NSP_RESOURCE_H
ansond 0:dcced975fb52 20 #define _NSP_RESOURCE_H
ansond 0:dcced975fb52 21
ansond 0:dcced975fb52 22 // base class
ansond 0:dcced975fb52 23 #include "Resource.h"
ansond 0:dcced975fb52 24
ansond 18:8f23034f1d6c 25 // NSDL Library Support
ansond 18:8f23034f1d6c 26 #include "nsdl_support.h"
ansond 18:8f23034f1d6c 27
ansond 0:dcced975fb52 28 class NSPResource : public Resource {
ansond 0:dcced975fb52 29 private:
ansond 18:8f23034f1d6c 30 void *m_resource_ptr;
ansond 18:8f23034f1d6c 31 sn_grs_resource_acl_e m_acl;
ansond 9:c2a0b8f2d7f6 32
ansond 0:dcced975fb52 33 public:
ansond 21:e491f70f6a8a 34 NSPResource(ErrorHandler *error_handler,char *endpoint_name,char *name,char *value,void *cb,void *cb_ptr,sn_grs_resource_acl_e acl);
ansond 0:dcced975fb52 35 virtual ~NSPResource();
ansond 0:dcced975fb52 36
ansond 0:dcced975fb52 37 virtual void plumb(char *endpoint_name,char *name);
ansond 19:a1fb67efb302 38 virtual void extract(char *name);
ansond 0:dcced975fb52 39 };
ansond 0:dcced975fb52 40
ansond 0:dcced975fb52 41 #endif // _NSP_RESOURCE_H