Pleora Technologies Inc. eBUS SDK v6.4.0.6670 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 
30 class PV_APPUTILS_API PvFPSStabilizer
31 {
32 public:
33 
38 
42  ~PvFPSStabilizer();
43 
59  bool IsTimeToDisplay( uint32_t aTargetFPS );
60 
68  uint32_t GetAverage();
69 
73  void Reset();
74 
75 private:
76 
77  PvAppUtilsLib::FPSStabilizer *mThis;
78 
79  // Not implemented
81  const PvFPSStabilizer &operator=( const PvFPSStabilizer & );
82 
83 };
84 
85 #endif
PvFPSStabilizer
Display frame rate manager. Used to stabilize the frames-per-seconds displayed.
Definition: PvFPSStabilizer.h:30

Copyright (c) 2002-2024 Pleora Technologies Inc.
www.pleora.com