IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BenchmarkResults.h
1 // BenchmarkResults.h:
3 // -------------------
4 //
14 
15 #ifndef __BENCHCORETHREADS_BENCHMARKRESULTS_H__
16 #define __BENCHCORETHREADS_BENCHMARKRESULTS_H__
17 
18 // suppression warnings
19 // warning C4251: 'ipsdk::bench::BenchmarkResults::_benchResultColl' : class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class 'ipsdk::bench::BenchmarkResults'
20 #pragma warning (push)
21 #pragma warning (disable : 4251)
22 
24 #include <Benchmark/IPSDKBenchmarkTools/BenchmarkResultsTypes.h>
25 #include <IPSDKSerialization/Engine/BaseSerializationObject.h>
26 #include <vector>
27 
28 namespace ipsdk {
29 namespace bench {
30 
31 class BenchmarkResultInfo;
32 
35 
37 {
38  // declare serial class
40 
41 public:
47 
48 // methods
49 public:
51  void addResult(const ResultInfoPtr& pResultInfo);
52 
53 // attributes
54 protected:
56  std::vector<ResultInfoPtr> _benchResultColl;
57 };
58 
61 
62 } // end of namespace bench
63 } // end of namespace ipsdk
64 
65 #pragma warning (pop)
66 
67 #endif // __BENCHCORETHREADS_BENCHMARKRESULTS_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Class used to store benchmark results.
Definition: BenchmarkResults.h:36
#define IPSDK_DECLARE_SERIAL_WITHOUT_COPY(libraryName, className)
macro enabling serialization on class
Definition: SerializationHdrMacro.h:79
std::vector< ResultInfoPtr > _benchResultColl
collection of results
Definition: BenchmarkResults.h:56
boost::shared_ptr< BenchmarkResultInfo > ResultInfoPtr
shared pointer to benchmark result information
Definition: BenchmarkResultsTypes.h:23
#define IPSDKBENCHMARKTOOLS_API
Import/Export macro for library IPSDKBenchmarkTools.
Definition: IPSDKBenchmarkToolsExports.h:25
Base class for serializable class.
Definition: BaseSerializationObject.h:33
Definition of import/export macro for library.