ROME 2 Praktikum 4
Embed:
(wiki syntax)
Show/hide line numbers
HTTPScriptIMU.h
00001 /* 00002 * HTTPScriptIMU.h 00003 * Copyright (c) 2020, ZHAW 00004 * All rights reserved. 00005 */ 00006 00007 #ifndef HTTP_SCRIPT_IMU_H_ 00008 #define HTTP_SCRIPT_IMU_H_ 00009 00010 #include <string> 00011 #include <vector> 00012 #include "HTTPScript.h" 00013 #include "IMU.h" 00014 00015 /** 00016 * This is a specific http script to read sensor data from an imu. 00017 * @see HTTPServer 00018 */ 00019 class HTTPScriptIMU : public HTTPScript { 00020 00021 public: 00022 00023 HTTPScriptIMU(IMU& imu); 00024 virtual ~HTTPScriptIMU(); 00025 virtual std::string call(std::vector<std::string> names, std::vector<std::string> values); 00026 00027 private: 00028 00029 IMU& imu; 00030 }; 00031 00032 #endif /* HTTP_SCRIPT_IMU_H_ */ 00033
Generated on Wed Jul 13 2022 21:00:44 by
1.7.2