Pleora Technologies Inc. eBUS SDK v5.1.10.4642 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 }; // namespace PvAppUtilsLib
18 
19 
20 class PV_APPUTILS_API PvFPSStabilizer
21 {
22 public:
23 
25  ~PvFPSStabilizer();
26 
27  bool IsTimeToDisplay( uint32_t aTargetFPS );
28  uint32_t GetAverage();
29 
30  void Reset();
31 
32 private:
33 
34  PvAppUtilsLib::FPSStabilizer *mThis;
35 
36  // Not implemented
38  const PvFPSStabilizer &operator=( const PvFPSStabilizer & );
39 
40 };
41 
42 #endif
Definition: PvAcquisitionStateManager.h:14
Display frame rate manager. Used to stabilize the frames-per-seconds displayed.
Definition: PvFPSStabilizer.h:20

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