Urbi SDK Remote for C++  2.7.5
sensor.hh
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2008-2011, Gostai S.A.S.
00003  *
00004  * This software is provided "as is" without warranty of any kind,
00005  * either expressed or implied, including but not limited to the
00006  * implied warranties of fitness for a particular purpose.
00007  *
00008  * See the LICENSE file for more information.
00009  */
00010 
00011 #ifndef SENSOR_HH
00012 # define SENSOR_HH
00013 
00014 # include <urbi/uobject.hh>
00015 
00016 using namespace urbi;
00017 
00018 class sensor : public UObject
00019 {
00020   public:
00021     sensor (std::string s);
00022     int init ();
00023 
00024     UVar val;
00025 
00026     UReturn newval (UVar&);
00027     UReturn getval (UVar&);
00028     void setVal (int);
00029 };
00030 
00031 #endif