sensorctl: modify sensorctl to fix some issues 65/123065/1
authorkibak.yoon <kibak.yoon@samsung.com>
Tue, 4 Apr 2017 09:02:53 +0000 (18:02 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Tue, 4 Apr 2017 09:02:53 +0000 (18:02 +0900)
commitf8973391fece9e5da3bd916b1687835abb04ce34
tree6c3ff13edd127514bb1d2fb549cdeca79166a257
parent12b68bbfeee92d2c9675f07312e013023c402e45
sensorctl: modify sensorctl to fix some issues

- prints sensor information with their types
- change is_running type from bool to std::atomic<bool>
- change sensor name from auto_rotation to rotation only
- if there are two or more sensors of the same type, you can select them

Change-Id: If277104ea324c1ae0da675a6e50ce677a8bbc6c9
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/sensorctl/info.cpp
src/sensorctl/mainloop.cpp
src/sensorctl/mainloop.h
src/sensorctl/sensor_adapter.cpp
src/sensorctl/sensor_manager.cpp
src/sensorctl/test_bench.cpp
src/sensorctl/tester.cpp