OpenZWave Library
1.5.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
cpp
src
platform
winRT
winRT/EventImpl.h
Go to the documentation of this file.
1
//-----------------------------------------------------------------------------
2
//
3
// EventImpl.h
4
//
5
// WinRT implementation of a cross-platform event
6
//
7
// Copyright (c) 2015 Microsoft Corporation
8
// All rights reserved.
9
//
10
// SOFTWARE NOTICE AND LICENSE
11
//
12
// This file is part of OpenZWave.
13
//
14
// OpenZWave is free software: you can redistribute it and/or modify
15
// it under the terms of the GNU Lesser General Public License as published
16
// by the Free Software Foundation, either version 3 of the License,
17
// or (at your option) any later version.
18
//
19
// OpenZWave is distributed in the hope that it will be useful,
20
// but WITHOUT ANY WARRANTY; without even the implied warranty of
21
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
// GNU Lesser General Public License for more details.
23
//
24
// You should have received a copy of the GNU Lesser General Public License
25
// along with OpenZWave. If not, see <http://www.gnu.org/licenses/>.
26
//
27
//-----------------------------------------------------------------------------
28
#ifndef _EventImpl_H
29
#define _EventImpl_H
30
31
#include <Windows.h>
32
#include "
Defs.h
"
33
34
namespace
OpenZWave
35
{
38
class
EventImpl
39
{
40
private
:
41
friend
class
Event
;
42
friend
class
SocketImpl
;
43
friend
class
Wait
;
44
45
EventImpl();
46
~EventImpl();
47
48
void
Set();
49
void
Reset();
50
51
bool
Wait
(
int32
_timeout );
// The wait method is to be used only by the Wait::Multiple method
52
bool
IsSignalled();
53
54
HANDLE m_hEvent;
55
};
56
57
}
// namespace OpenZWave
58
59
#endif //_EventImpl_H
60
OpenZWave
Definition:
Bitfield.h:34
OpenZWave::EventImpl::Wait
friend class Wait
Definition:
windows/EventImpl.h:43
OpenZWave::EventImpl::Event
friend class Event
Definition:
windows/EventImpl.h:41
Defs.h
int32
signed int int32
Definition:
Defs.h:79
OpenZWave::EventImpl::SocketImpl
friend class SocketImpl
Definition:
windows/EventImpl.h:42
Generated on Sun Jan 21 2018 19:38:09 for OpenZWave Library by
1.8.8