16template<
typename T,
size_t Size>
21 unsigned int id[Size];
23 const unsigned int size = Size;
25 const unsigned int bytes = Size *
sizeof(T);
A templated-class for managing data packet.
Definition: Packet.h:17
T getValue(unsigned int i)
Get a value of the packet.
Definition: Packet.h:37
const unsigned int bytes
Number of bytes of the packet according to sizeof(T) and Size.
Definition: Packet.h:25
T value[Size]
Buffer with base type T and size Size.
Definition: Packet.h:19
Packet()
Constructor.
Definition: Packet.h:30
const unsigned int size
Number of element of the packet.
Definition: Packet.h:23
A configuration file for the source code.