tobicore  7.0.0
 All Classes Functions Variables Typedefs Enumerator Friends Groups Pages
IDTypes.hpp
1 /*
2  Copyright (C) 2009-2011 EPFL (Ecole Polytechnique Fédérale de Lausanne)
3  Michele Tavella <michele.tavella@epfl.ch>
4 
5  This program is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 3 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18 
19 #ifndef IDTYPES_HPP
20 #define IDTYPES_HPP
21 #include <string>
22 
23 #define IDTYPES_FAMILY_UNDEF "undef"
24 #define IDTYPES_FAMILY_BIOSIG "biosig"
25 #define IDTYPES_FAMILY_CUSTOM "custom"
26 
27 #define IDMESSAGE_VERSION_SUPPORTED "0.0.2.1"
28 #define IDMESSAGE_VERSION "0.1.0.0"
29 
30 #define IDMESSAGE_ROOTNODE "tobiid"
31 #define IDMESSAGE_VERSIONNODE "version"
32 
33 #define IDMESSAGE_FRAMENODE "frame"
34 #define IDMESSAGE_FRAMENODE_2 "block"
35 
36 #define IDMESSAGE_DESCRIPTIONNODE "description"
37 #define IDMESSAGE_FAMILYNODE "family"
38 #define IDMESSAGE_EVENTNODE "event"
39 #define IDMESSAGE_TIMESTAMPNODE "timestamp"
40 #define IDMESSAGE_REFERENCENODE "reference"
41 
42 #define IDMESSAGE_TIMESTAMPNODE_2 "absolute"
43 #define IDMESSAGE_REFERENCENODE_2 "relative"
44 
45 #define IDMESSAGE_SOURCENODE "source"
46 
51 typedef int IDFtype;
52 
57 typedef std::string IDFvalue;
58 
63 typedef int IDevent;
64 
65 #endif