Loading [MathJax]/extensions/tex2jax.js
iCub-main
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
y
Variables
a
b
c
d
e
h
i
j
l
m
n
p
r
s
t
w
z
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
a
b
c
e
g
i
l
n
p
r
s
t
u
Enumerator
a
b
c
d
e
f
g
i
l
m
p
r
s
t
u
Properties
Related Symbols
a
b
c
g
i
l
o
q
r
s
t
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
x
y
z
Typedefs
Enumerations
Enumerator
_
a
c
d
e
g
j
m
n
p
s
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
icub-main
src
libraries
icubmod
fakeCan
msgList.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2008 RobotCub Consortium
3
* Author: Lorenzo Natale
4
* CopyPolicy: Released under the terms of the GNU GPL v2.0.
5
*
6
*/
7
8
#ifndef __MSGLIST__
9
#define __MSGLIST__
10
11
#include <mutex>
12
#include <yarp/dev/CanBusInterface.h>
13
#include "
fbCanBusMessage.h
"
14
15
#include <list>
16
17
typedef
std::list<FCMSG>::iterator
MsgIt
;
18
typedef
std::list<FCMSG>::const_iterator
MsgConstIt
;
19
20
class
MsgList
:
public
std::list<FCMSG>
21
{
22
std::mutex _mutex;
23
public
:
24
void
lock
() { _mutex.lock(); }
25
void
unlock
() { _mutex.unlock(); }
26
};
20
class
MsgList
:
public
std::list<FCMSG> {
…
};
27
28
#endif
MsgList
Definition
msgList.h:21
MsgList::lock
void lock()
Definition
msgList.h:24
MsgList::unlock
void unlock()
Definition
msgList.h:25
fbCanBusMessage.h
MsgConstIt
std::list< FCMSG >::const_iterator MsgConstIt
Definition
msgList.h:18
MsgIt
std::list< FCMSG >::iterator MsgIt
Definition
msgList.h:17
Generated on Wed Apr 9 2025 08:53:52 for iCub-main by
1.9.8