YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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
12namespace yarp::os {
13
23{
24public:
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
67private:
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
A mini-server for performing network communication in the background.
A class for thread synchronization and mutual exclusion.
Definition Event.h:23
An interface to the operating system, including Port based communication.
#define YARP_os_API
Definition api.h:18