YARP
Yet Another Robot Platform
ShmemTypes.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3  * SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef YARP_SHMEM_SHMEMTYPES_H
8 #define YARP_SHMEM_SHMEMTYPES_H
9 
10 #define SHMEM_DEFAULT_SIZE 4096
11 
13 {
14  bool resize;
15  bool close;
16 
17  int size;
18  int newsize;
19 
20  int head;
21  int tail;
22  int avail;
23  int waiting;
24 };
25 
27 {
28  int command;
29  int size;
30 };
31 
32 #endif // YARP_SHMEM_SHMEMTYPES_H