IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseInOutYStripColor2dAttribute.h
1 // BaseInOutYStripColor2dAttribute.h:
3 // ----------------------------------
4 //
15 
16 #ifndef __IPSDKIMAGEPROCESSING_BASEINOUTYSTRIPCOLOR2DATTRIBUTE_H__
17 #define __IPSDKIMAGEPROCESSING_BASEINOUTYSTRIPCOLOR2DATTRIBUTE_H__
18 
19 #include <IPSDKImageProcessing/Attribute/Strip/YStripColor2d/BaseYStripColor2dAttribute.h>
20 
21 namespace ipsdk {
22 
23 namespace image {
24  class InOutImageYStripColor2d;
25 }
26 
27 namespace imaproc {
28 
31 
33 {
34  // declare serial class
36 
37  // declare in/out 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 ~BaseInOutYStripColor2dAttribute() = 0;
58 
59 // methods
60 public:
64  void init(const StorageType& pImageYStripColor2d);
65 
70  const ValueType& getImageYStripColor2d() const;
71  ValueType& getImageYStripColor2d();
73 
78  ConstStorageType getStorage() const;
79  StorageType getStorage();
81 
82 private:
85  BoolResult syncInputDerived(const Guid& processingSocketGuid);
86 
89  BoolResult syncOutputDerived(const Guid& processingSocketGuid);
90 
91 // attributes
92 protected:
93 
94 };
95 
98 
99 } // end of namespace imaproc
100 } // end of namespace ipsdk
101 
102 #endif // __IPSDKIMAGEPROCESSING_BASEINOUTYSTRIPCOLOR2DATTRIBUTE_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
image::InOutImageYStripColor2d ValueType
value type associated to object
Definition: BaseInOutYStripColor2dAttribute.h:43
Input and output class for color image 2d strip with splitting along Y axis.
Definition: InOutImageYStripColor2d.h:26
#define IPSDK_DECLARE_ABSTRACT_SERIAL_WITHOUT_COPY(libraryName, className)
macro enabling serialization on abstract class
Definition: SerializationHdrMacro.h:97
#define IPSDK_DECLARE_INOUT_DATA()
macro allowing to declare an in/out data
Definition: DataStatusHdrMacros.h:120
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 color image 2d strip with splitting along X axis attributes.
Definition: BaseYStripColor2dAttribute.h:27
Base class for input and output color image 2d strip with splitting along X axis attributes.
Definition: BaseInOutYStripColor2dAttribute.h:32
boost::shared_ptr< const ValueType > ConstStorageType
const storage type associated to object
Definition: BaseInOutYStripColor2dAttribute.h:49
boost::shared_ptr< ValueType > StorageType
storage type associated to object
Definition: BaseInOutYStripColor2dAttribute.h:46