LMMS
Loading...
Searching...
No Matches
plugins
CarlaBase
carla
source
modules
water
misc
Time.h
Go to the documentation of this file.
1
/*
2
==============================================================================
3
4
This file is part of the Water library.
5
Copyright (c) 2016 ROLI Ltd.
6
Copyright (C) 2017 Filipe Coelho <falktx@falktx.com>
7
8
Permission is granted to use this software under the terms of the ISC license
9
http://www.isc.org/downloads/software-support-policy/isc-license/
10
11
Permission to use, copy, modify, and/or distribute this software for any
12
purpose with or without fee is hereby granted, provided that the above
13
copyright notice and this permission notice appear in all copies.
14
15
THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD
16
TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
17
FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
18
OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
19
USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
20
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
21
OF THIS SOFTWARE.
22
23
==============================================================================
24
*/
25
26
#ifndef WATER_TIME_H_INCLUDED
27
#define WATER_TIME_H_INCLUDED
28
29
#include "
../water.h
"
30
31
namespace
water
{
32
namespace
Time
{
33
34
//==============================================================================
35
// Static methods for getting system timers directly..
36
44
int64
currentTimeMillis
()
noexcept
;
45
56
uint32
getMillisecondCounter
()
noexcept
;
57
58
}
59
}
60
61
#endif
// WATER_TIME_H_INCLUDED
water::Time
Definition
Time.h:32
water::Time::currentTimeMillis
int64 currentTimeMillis() noexcept
Definition
Time.cpp:102
water::Time::getMillisecondCounter
uint32 getMillisecondCounter() noexcept
Definition
Time.cpp:117
water
Definition
AudioSampleBuffer.h:33
water::uint32
unsigned int uint32
Definition
water.h:98
water::int64
long long int64
Definition
water.h:100
water.h
Generated on
for LMMS by
1.16.1