Changed LICENSE. Now referenced to web site and file on project root directory
[anna.git] / include / anna / test / Request.hpp
1 // ANNA - Anna is Not Nothingness Anymore                                                         //
2 //                                                                                                //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo                         //
4 //                                                                                                //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite                           //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
7
8
9 #ifndef anna_test_Request_hpp
10 #define anna_test_Request_hpp
11
12 #include <anna/comm/Codec.hpp>
13 #include <anna/core/util/Millisecond.hpp>
14
15 namespace test {
16
17 class Request : public anna::comm::Codec {
18 public:
19    static const int Id = 1;
20    int x;
21    int y;
22    int op;
23    Millisecond initTime;
24
25    Request () : anna::comm::Codec (Id, false) {
26       attach ("X", x);
27       attach ("Y", y);
28       attach ("OP", op);
29       attach ("InitTime", initTime);
30    }
31 };
32
33 }
34
35 #endif
36