Kind-of worked on the R-Tree; not really enough time to do much.
[aesalon.git] / include / shm / PacketHeader.h
blob18910dbc453fb2562d2f52c5766ee1bdb645f378
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/shm/PacketHeader.h
8 */
10 #ifndef AesalonSHM_PacketHeader_H
11 #define AesalonSHM_PacketHeader_H
13 #include <semaphore.h>
14 #include <stdint.h>
16 #include "ModuleID.h"
18 #ifdef __cplusplus
19 namespace SHM {
21 struct PacketHeader {
22 #else
23 typedef struct PacketHeader PacketHeader;
24 struct PacketHeader {
25 #endif
26 /** The size of the packet's data. */
27 uint32_t packetSize;
28 /** The module ID # of the module that generated this packet. */
29 ModuleID moduleID;
32 #ifdef __cplusplus
33 } // namespace SHM
34 #endif
36 #endif