ROME2 Robot Firmware

Committer:
boro
Date:
Tue Mar 09 13:10:40 2021 +0000
Revision:
3:6fe17b8a6d62
Parent:
0:4beb2ea291ec
SDBlockDevice added

Who changed what in which revision?

UserRevisionLine numberNew contents of line
boro 0:4beb2ea291ec 1 /*
boro 0:4beb2ea291ec 2 * IndexScript.h
boro 0:4beb2ea291ec 3 * Copyright (c) 2017, ZHAW
boro 0:4beb2ea291ec 4 * All rights reserved.
boro 0:4beb2ea291ec 5 *
boro 0:4beb2ea291ec 6 * Created on: 07.07.2017
boro 0:4beb2ea291ec 7 * Author: Marcel Honegger
boro 0:4beb2ea291ec 8 */
boro 0:4beb2ea291ec 9
boro 0:4beb2ea291ec 10 #ifndef INDEX_SCRIPT_H_
boro 0:4beb2ea291ec 11 #define INDEX_SCRIPT_H_
boro 0:4beb2ea291ec 12
boro 0:4beb2ea291ec 13 #include <string>
boro 0:4beb2ea291ec 14 #include <vector>
boro 0:4beb2ea291ec 15 #include <mbed.h>
boro 0:4beb2ea291ec 16 #include "HTTPScript.h"
boro 0:4beb2ea291ec 17
boro 0:4beb2ea291ec 18 using namespace std;
boro 0:4beb2ea291ec 19
boro 0:4beb2ea291ec 20 /**
boro 0:4beb2ea291ec 21 * This is an application specific implementation of the http script.
boro 0:4beb2ea291ec 22 */
boro 0:4beb2ea291ec 23 class IndexScript : public HTTPScript {
boro 0:4beb2ea291ec 24
boro 0:4beb2ea291ec 25 public:
boro 0:4beb2ea291ec 26
boro 0:4beb2ea291ec 27 IndexScript();
boro 0:4beb2ea291ec 28 virtual ~IndexScript();
boro 0:4beb2ea291ec 29 virtual string call(vector<string> names, vector<string> values);
boro 0:4beb2ea291ec 30 };
boro 0:4beb2ea291ec 31
boro 0:4beb2ea291ec 32 #endif /* INDEX_SCRIPT_H_ */
boro 0:4beb2ea291ec 33