YARP
Yet Another Robot Platform
Event.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_OS_EVENT_H
11
#define YARP_OS_EVENT_H
12
13
#include <
yarp/os/api.h
>
14
15
namespace
yarp
{
16
namespace
os {
17
26
class
YARP_os_API
Event
27
{
28
public
:
34
Event
(
bool
autoResetAfterWait =
true
);
35
39
virtual
~
Event
();
40
50
void
wait();
51
52
61
void
signal();
62
68
void
reset();
69
70
#ifndef DOXYGEN_SHOULD_SKIP_THIS
71
private
:
72
class
Private
;
73
Private
* mPriv;
74
#endif // DOXYGEN_SHOULD_SKIP_THIS
75
};
76
77
}
// namespace os
78
}
// namespace yarp
79
80
#endif // YARP_OS_EVENT_H
api.h
YARP_os_API
#define YARP_os_API
Definition:
api.h:19
yarp::os::Event
A class for thread synchronization and mutual exclusion.
Definition:
Event.h:27
yarp
The main, catch-all namespace for YARP.
Definition:
environment.h:18
yarp::os::Event::Private
Definition:
Event.cpp:16
YARP
3.4.100+20201223.2+gitb8ea4d712
src
libYARP_os
src
yarp
os
Event.h
Generated on Sun Jan 3 2021 02:46:24 for YARP by
1.8.20