IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseInputYStripColor2dAttribute.h
1 // BaseInputYStripColor2dAttribute.h:
3 // ----------------------------------
4 //
15 
16 #ifndef __IPSDKIMAGEPROCESSING_BASEINPUTYSTRIPCOLOR2DATTRIBUTE_H__
17 #define __IPSDKIMAGEPROCESSING_BASEINPUTYSTRIPCOLOR2DATTRIBUTE_H__
18 
19 #include <IPSDKImageProcessing/Attribute/Strip/YStripColor2d/BaseYStripColor2dAttribute.h>
20 
21 namespace ipsdk {
22 
23 namespace image {
24  class InputImageYStripColor2d;
25 }
26 
27 namespace imaproc {
28 
31 
33 {
34  // declare serial class
36 
37  // declare input data
39 
40 // predefined public types
41 public:
44 
46  typedef boost::shared_ptr<ValueType> StorageType;
47 
49  typedef boost::shared_ptr<const ValueType> ConstStorageType;
50 
51 // constructor and destructor
52 protected:
55 public:
57  virtual ~BaseInputYStripColor2dAttribute() = 0;
58 
59 // methods
60 public:
64  void init(const StorageType& pImageYStripColor2d);
65 
69  const ValueType& getImageYStripColor2d() const;
70 
75  ConstStorageType getStorage() const;
76  StorageType getStorage();
78 
79 private:
82  BoolResult syncInputDerived(const Guid& processingSocketGuid);
83 
84 // attributes
85 protected:
86 
87 };
88 
91 
92 } // end of namespace imaproc
93 } // end of namespace ipsdk
94 
95 #endif // __IPSDKIMAGEPROCESSING_BASEINPUTYSTRIPCOLOR2DATTRIBUTE_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
#define IPSDK_DECLARE_ABSTRACT_SERIAL_WITHOUT_COPY(libraryName, className)
macro enabling serialization on abstract class
Definition: SerializationHdrMacro.h:97
#define IPSDK_DECLARE_INPUT_DATA()
macro allowing to declare an input data
Definition: DataStatusHdrMacros.h:106
boost::shared_ptr< const ValueType > ConstStorageType
const storage type associated to object
Definition: BaseInputYStripColor2dAttribute.h:49
image::InputImageYStripColor2d ValueType
value type associated to object
Definition: BaseInputYStripColor2dAttribute.h:43
Class encapsulating an auto initialized uuid.
Definition: Guid.h:27
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
Base class for input color image 2d strip with splitting along X axis attributes. ...
Definition: BaseInputYStripColor2dAttribute.h:32
boost::shared_ptr< ValueType > StorageType
storage type associated to object
Definition: BaseInputYStripColor2dAttribute.h:46
Input class for color image 2d strip with splitting along Y axis.
Definition: InputImageYStripColor2d.h:26
Base class for color image 2d strip with splitting along X axis attributes.
Definition: BaseYStripColor2dAttribute.h:27