Kind-of worked on the R-Tree; not really enough time to do much.
[aesalon.git] / include / visualizer / PIDAllocator.h
blobbb897a2a4d6a9c989716b34fa199286996acdb95
1 /** Aesalon, a tool to visualize program behaviour in real time.
2 Copyright (C) 2009-2011, Aesalon development team.
4 Aesalon is distributed under the terms of the GNU GPLv3. See
5 the included file LICENSE for more information.
7 @file include/visualizer/PIDAllocator.h
8 */
10 #ifndef AesalonVisualizer_PIDAllocator_H
11 #define AesalonVisualizer_PIDAllocator_H
13 #include <stdint.h>
15 namespace Visualizer {
17 class PIDAllocator {
18 private:
19 static uint32_t m_nextID;
20 public:
21 static uint32_t nextID() { return ++m_nextID; }
24 } // namespace Visualizer
26 #endif