OpenZWave Library
1.4.0
Toggle main menu visibility
Loading...
Searching...
No Matches
cpp
src
platform
winRT
winRT/TimeStampImpl.h
Go to the documentation of this file.
1
//-----------------------------------------------------------------------------
2
//
3
// TimeStampImpl.h
4
//
5
// WinRT implementation of a TimeStamp
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 _TimeStampImpl_H
29
#define _TimeStampImpl_H
30
31
#include "
Defs.h
"
32
33
namespace
OpenZWave
34
{
37
class
TimeStampImpl
38
{
39
public
:
44
TimeStampImpl
();
45
50
~TimeStampImpl
();
51
57
void
SetTime
(
int32
_milliseconds );
58
65
int32
TimeRemaining
();
66
70
string
GetAsString
();
71
76
int32
operator-
(
TimeStampImpl
const
& _other );
77
78
private
:
79
TimeStampImpl
(
TimeStampImpl
const
& );
// prevent copy
80
TimeStampImpl
& operator = (
TimeStampImpl
const
& );
// prevent assignment
81
82
int64 m_stamp;
83
};
84
85
}
// namespace OpenZWave
86
87
#endif
//_TimeStampImpl_H
88
Defs.h
int32
signed int int32
Definition
Defs.h:79
OpenZWave::TimeStampImpl
Windows implementation of a timestamp.
Definition
windows/TimeStampImpl.h:38
OpenZWave::TimeStampImpl::~TimeStampImpl
~TimeStampImpl()
OpenZWave::TimeStampImpl::GetAsString
string GetAsString()
OpenZWave::TimeStampImpl::SetTime
void SetTime(int32 _milliseconds)
OpenZWave::TimeStampImpl::operator-
int32 operator-(TimeStampImpl const &_other)
Definition
windows/TimeStampImpl.cpp:109
OpenZWave::TimeStampImpl::TimeStampImpl
TimeStampImpl()
Definition
windows/TimeStampImpl.cpp:40
OpenZWave::TimeStampImpl::TimeRemaining
int32 TimeRemaining()
OpenZWave::TimeStampImpl::TimeStampImpl
TimeStampImpl()
OpenZWave
Definition
Bitfield.h:35
Generated on
for OpenZWave Library by
1.18.0