Updated interfaces and sensors

Signed-off-by: Serban Waltter <serban.waltter@rinftech.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Serban Waltter
2018-07-26 18:04:31 +03:00
committed by Mihai Tudor Panu
parent bfdd2c37c0
commit 90524273ec
18 changed files with 44 additions and 63 deletions

View File

@ -35,18 +35,10 @@ namespace upm
virtual ~iClock() {}
/**
* Loads all the time values
* Returns the time since epoch in seconds
*
* @return True if time data loaded successfully
* @return time since epoch in seconds
*/
virtual bool loadTime() = 0;
/**
* Sets the time. You should call loadTime() beforehand to
* maintain consistency
*
* @return True if time is set successfully
*/
virtual bool setTime() = 0;
virtual unsigned long getTime() = 0;
};
}