IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BasePriority.h
1 // BasePriority.h:
3 // ---------------
4 //
14 
15 #ifndef __IPSDKCORE_BASEPRIORITY_H__
16 #define __IPSDKCORE_BASEPRIORITY_H__
17 
18 // suppression warnings
19 // warning C4251: 'ipsdk::core::BasePriority::_priority' : class 'ipsdk::core::ePriority' needs to have dll-interface to be used by clients of class 'ipsdk::core::BasePriority'
20 #pragma warning (push)
21 #pragma warning (disable : 4251)
22 
25 
26 namespace ipsdk {
27 namespace core {
28 
31 
33 {
34 public:
37  BasePriority(const ePriority& priority);
38  virtual ~BasePriority() = 0;
40 
41 // methods
42 public:
44  const ePriority& getPriority() const;
45 
46 // attributes
47 private:
49  ePriority _priority;
50 };
51 
54 
55 inline const ePriority&
57 {
58  return _priority;
59 }
60 
63 
64 } // end of namespace core
65 } // end of namespace ipsdk
66 
67 #pragma warning (pop)
68 
69 #endif // __IPSDKCORE_BASEPRIORITY_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Definition of import/export macro for library.
Base class for priority encapsulation.
Definition: BasePriority.h:32
#define IPSDKCORE_API
Import/Export macro for library IPSDKCore.
Definition: IPSDKCoreExports.h:27
const ePriority & getPriority() const
retrieve priority associated to object
Definition: BasePriority.h:56
ePriority
Enumerate describing priority.
Definition: PriorityTypes.h:32
Predefined types for priorities management.