eBUS SDK v6.2.8.5877 API
PvFPSStabilizer.h
1
// *****************************************************************************
2
//
3
// Copyright (c) 2012, Pleora Technologies Inc., All rights reserved.
4
//
5
// *****************************************************************************
6
7
#ifndef __PVFPSSTABILIZER_H__
8
#define __PVFPSSTABILIZER_H__
9
10
#include <PvAppUtilsLib.h>
11
12
13
namespace
PvAppUtilsLib
14
{
15
class
FPSStabilizer;
16
}
17
18
19
class
PV_APPUTILS_API
PvFPSStabilizer
20
{
21
public
:
22
23
PvFPSStabilizer
();
24
~
PvFPSStabilizer
();
25
26
bool
IsTimeToDisplay( uint32_t aTargetFPS );
27
uint32_t GetAverage();
28
29
void
Reset();
30
31
private
:
32
33
PvAppUtilsLib::FPSStabilizer *mThis;
34
35
// Not implemented
36
PvFPSStabilizer
(
const
PvFPSStabilizer
& );
37
const
PvFPSStabilizer
&operator=(
const
PvFPSStabilizer
& );
38
39
};
40
41
#endif
PvFPSStabilizer
Display frame rate manager. Used to stabilize the frames-per-seconds displayed.
Definition:
PvFPSStabilizer.h:19
Copyright (c) 2002-2021 Pleora Technologies Inc.
www.pleora.com