IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
ElementInfosCounter.h
Go to the documentation of this file.
1 // ElementInfosCounter.h:
3 // ------------------
4 //
14 
15 #ifndef __IPSDKBASEPROCESSING_ELEMENTINFOSCOUNTER_H__
16 #define __IPSDKBASEPROCESSING_ELEMENTINFOSCOUNTER_H__
17 
19 #include <IPSDKUtil/BaseTypes.h>
20 
21 namespace ipsdk {
22 namespace processor {
23 
26 public:
29 
30  void update();
31  ipUInt64 getNbPending() const;
32  ipUInt64 getNbNotReleased() const;
33  ipUInt64 getNbProcessed() const;
34  ipUInt64 getRemainingDataMemorySize() const;
35  ipReal64 getProgressRatio() const;
36 private:
37  ipUInt64 _nbPending;
38  ipUInt64 _nbNotReleased;
39  ipUInt64 _nbProcessed;
40  ipUInt64 _remainingDataMemorySize;
41  ipReal64 _progressRatio;
42 };
43 
44 typedef boost::shared_ptr<ElementInfosCounter> ElementInfosCounterPtr;
45 
47 IPSDKBASEPROCESSING_API ElementInfosCounterPtr
49 
52 
53 } // end of namespace processor
54 } // end of namespace ipsdk
55 
56 #endif // __IPSDKBASEPROCESSING_ELEMENTINFOSCOUNTER_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
#define IPSDKBASEPROCESSING_API
Import/Export macro for library IPSDKBaseProcessing.
Definition: IPSDKBaseProcessingExports.h:27
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
IPSDKBASEPROCESSING_API ElementInfosCounterPtr createElementInfosCounter()
Utilitary function to create a ElementInfosCounterPtr.
Base types for multiplatform compatibility.
Definition of import/export macro for library.
Data type to retrieve the number of pending, processing and processed elements.
Definition: ElementInfosCounter.h:25