IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RuleImageIsOnGpu.h
1 // RuleImageIsOnGpu.h:
3 // ----------------------
4 //
13 
14 #ifndef __IPSDKIMAGEPROCESSING_RULEIMAGEISONGPU_H__
15 #define __IPSDKIMAGEPROCESSING_RULEIMAGEISONGPU_H__
16 
17 #include <IPSDKImageProcessing/Rule/Image/ImageProperty/BaseImagePropertyRule.h>
18 
19 namespace ipsdk {
20 namespace imaproc {
21 
24 
26 {
27 // predefined public type
28 public:
30  static const eImagePropertyRuleType::domain g_imagePropertyRuleType = eImagePropertyRuleType::eIPRT_GpuImage;
31 
32 public:
38 
39 // methods
40 public:
42  eImagePropertyRuleType getImagePropertyRuleType() const;
43 
48  void init(const ImageAttributeConstWeakPtr& pAttribute);
49 
50 protected:
52  bool testRule() const;
53 
55  std::string createRuleFormalString() const;
56 
58  std::string createRuleEvaluatedString(const ipUInt32 increment) const;
59 
60 // attributes
61 protected:
62 
63 };
64 
67 
70 {
72 }
73 
76 
77 } // end of namespace imaproc
78 } // end of namespace ipsdk
79 
80 #endif // __IPSDKIMAGEPROCESSING_RULEIMAGEISONGPU_H__
check where image is stored on GPU
Definition: ImagePropertyRuleTypes.h:50
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
static const eImagePropertyRuleType::domain g_imagePropertyRuleType
image processing rule type associated to rule
Definition: RuleImageIsOnGpu.h:30
boost::weak_ptr< const BaseImageAttribute > ImageAttributeConstWeakPtr
Definition: ImageAttributeTypes.h:38
Rule allowing to check where an image is stored on GPU.
Definition: RuleImageIsOnGpu.h:25
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
eImagePropertyRuleType getImagePropertyRuleType() const
get image property rule type
Definition: RuleImageIsOnGpu.h:69
Base class for rules allowing to check property of an image attribute.
Definition: BaseImagePropertyRule.h:27
eImagePropertyRuleType
enumerate describing image property rule operation type
Definition: ImagePropertyRuleTypes.h:34
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53