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
17
int
size
;
18
int
newsize
;
19
20
int
head
;
21
int
tail
;
22
int
avail
;
23
int
waiting
;
24
};
25
26
struct
ShmemPacket_t
27
{
28
int
command
;
29
int
size
;
30
};
31
32
#endif
// YARP_SHMEM_SHMEMTYPES_H
ShmemHeader_t
Definition
ShmemTypes.h:13
ShmemHeader_t::size
int size
Definition
ShmemTypes.h:17
ShmemHeader_t::tail
int tail
Definition
ShmemTypes.h:21
ShmemHeader_t::head
int head
Definition
ShmemTypes.h:20
ShmemHeader_t::newsize
int newsize
Definition
ShmemTypes.h:18
ShmemHeader_t::avail
int avail
Definition
ShmemTypes.h:22
ShmemHeader_t::resize
bool resize
Definition
ShmemTypes.h:14
ShmemHeader_t::waiting
int waiting
Definition
ShmemTypes.h:23
ShmemHeader_t::close
bool close
Definition
ShmemTypes.h:15
ShmemPacket_t
Definition
ShmemTypes.h:27
ShmemPacket_t::size
int size
Definition
ShmemTypes.h:29
ShmemPacket_t::command
int command
Definition
ShmemTypes.h:28
YARP
3.9.0+210-20240906.11+gita697bdf68
src
carriers
shmem_carrier
ShmemTypes.h
Generated on Sun Sep 8 2024 02:30:39 for YARP by
1.9.8