GLStats  0.1.0
types.h
1 
2 /* Copyright (c) 2012, Stefan Eilemann <eile@eyescale.ch>
3  *
4  * This library is free software; you can redistribute it and/or modify it under
5  * the terms of the GNU Lesser General Public License version 2.1 as published
6  * by the Free Software Foundation.
7  *
8  * This library is distributed in the hope that it will be useful, but WITHOUT
9  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
11  * details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this library; if not, write to the Free Software Foundation, Inc.,
15  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16  */
17 
20 #ifndef GLSTATS_TYPES_H
21 #define GLSTATS_TYPES_H
22 
23 #include <lunchbox/types.h>
24 #include <deque>
25 #include <map>
26 
27 namespace GLStats
28 {
29 class Data;
30 class Renderer;
31 struct Entity;
32 struct Item;
33 struct Thread;
34 struct Type;
35 
36 using lunchbox::uint128_t;
37 using lunchbox::Strings;
38 using lunchbox::StringsCIter;
39 
40 typedef std::deque< Item > Items;
41 typedef std::map< uint32_t, Type > TypeMap;
42 typedef TypeMap::const_iterator TypeMapCIter;
43 typedef std::vector< Type > Types;
44 typedef Types::const_iterator TypesCIter;
45 }
46 
47 #endif //GLSTATS_TYPES_H