YARP
Yet Another Robot Platform
Event.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_OS_EVENT_H
8
#define YARP_OS_EVENT_H
9
10
#include <
yarp/os/api.h
>
11
12
namespace
yarp::os
{
13
22
class
YARP_os_API
Event
23
{
24
public
:
30
Event
(
bool
autoResetAfterWait =
true
);
31
35
virtual
~Event
();
36
46
void
wait();
47
48
57
void
signal();
58
64
void
reset();
65
66
#ifndef DOXYGEN_SHOULD_SKIP_THIS
67
private
:
68
class
Private
;
69
Private
* mPriv;
70
#endif
// DOXYGEN_SHOULD_SKIP_THIS
71
};
72
73
}
// namespace yarp::os
74
75
#endif
// YARP_OS_EVENT_H
yarp::os::Event::Private
Definition:
Event.cpp:13
yarp::os::Event
A class for thread synchronization and mutual exclusion.
Definition:
Event.h:23
yarp::os
An interface to the operating system, including Port based communication.
Definition:
AbstractCarrier.h:13
api.h
YARP_os_API
#define YARP_os_API
Definition:
api.h:18
YARP
3.7.2
src
libYARP_os
src
yarp
os
Event.h
Generated on Fri Jul 1 2022 03:02:46 for YARP by
1.9.4