YARP
Yet Another Robot Platform
ShmemTypes.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3
* Copyright (C) 2006-2010 RobotCub Consortium
4
* All rights reserved.
5
*
6
* This software may be modified and distributed under the terms of the
7
* BSD-3-Clause license. See the accompanying LICENSE file for details.
8
*/
9
10
#ifndef YARP_SHMEM_SHMEMTYPES_H
11
#define YARP_SHMEM_SHMEMTYPES_H
12
13
#define SHMEM_DEFAULT_SIZE 4096
14
15
struct
ShmemHeader_t
16
{
17
bool
resize
;
18
bool
close
;
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
ShmemPacket_t
Definition:
ShmemTypes.h:30
ShmemHeader_t::size
int size
Definition:
ShmemTypes.h:20
ShmemHeader_t
Definition:
ShmemTypes.h:16
ShmemHeader_t::close
bool close
Definition:
ShmemTypes.h:18
ShmemHeader_t::resize
bool resize
Definition:
ShmemTypes.h:17
ShmemHeader_t::avail
int avail
Definition:
ShmemTypes.h:25
ShmemHeader_t::tail
int tail
Definition:
ShmemTypes.h:24
ShmemHeader_t::head
int head
Definition:
ShmemTypes.h:23
ShmemHeader_t::newsize
int newsize
Definition:
ShmemTypes.h:21
ShmemPacket_t::size
int size
Definition:
ShmemTypes.h:32
ShmemPacket_t::command
int command
Definition:
ShmemTypes.h:31
ShmemHeader_t::waiting
int waiting
Definition:
ShmemTypes.h:26
YARP
3.4.100+20201223.2+gitb8ea4d712
src
carriers
shmem_carrier
ShmemTypes.h
Generated on Sun Jan 3 2021 02:46:22 for YARP by
1.8.20