YARP
Yet Another Robot Platform
Loading...
Searching...
No Matches
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
12
struct
ShmemHeader_t
13
{
14
bool
resize
;
15
bool
close
;
16
// Set by the reader once it has mapped this segment. When set, the
17
// writer can release the previous (smaller) segments.
18
bool
attached
;
19
20
int
size
;
21
int
newsize
;
22
23
int
head
;
24
int
tail
;
25
int
avail
;
26
int
waiting
;
27
};
28
29
struct
ShmemPacket_t
30
{
31
int
command
;
32
int
size
;
33
};
34
35
#endif
// YARP_SHMEM_SHMEMTYPES_H
ShmemHeader_t
Definition
ShmemTypes.h:13
ShmemHeader_t::size
int size
Definition
ShmemTypes.h:20
ShmemHeader_t::tail
int tail
Definition
ShmemTypes.h:24
ShmemHeader_t::attached
bool attached
Definition
ShmemTypes.h:18
ShmemHeader_t::head
int head
Definition
ShmemTypes.h:23
ShmemHeader_t::newsize
int newsize
Definition
ShmemTypes.h:21
ShmemHeader_t::avail
int avail
Definition
ShmemTypes.h:25
ShmemHeader_t::resize
bool resize
Definition
ShmemTypes.h:14
ShmemHeader_t::waiting
int waiting
Definition
ShmemTypes.h:26
ShmemHeader_t::close
bool close
Definition
ShmemTypes.h:15
ShmemPacket_t
Definition
ShmemTypes.h:30
ShmemPacket_t::size
int size
Definition
ShmemTypes.h:32
ShmemPacket_t::command
int command
Definition
ShmemTypes.h:31
YARP
4.0.2+169-20261113.4+git2cc772dc6
src
carriers
shmem_carrier
ShmemTypes.h
Generated on Sun Nov 15 2026 02:10:03 for YARP by
1.9.8