IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseOutputYStrip2dAttribute.h
1 // BaseOutputYStrip2dAttribute.h:
3 // ------------------------------
4 //
15 
16 #ifndef __IPSDKIMAGEPROCESSING_BASEOUTPUTYSTRIP2DATTRIBUTE_H__
17 #define __IPSDKIMAGEPROCESSING_BASEOUTPUTYSTRIP2DATTRIBUTE_H__
18 
19 #include <IPSDKImageProcessing/Attribute/Strip/YStrip2d/BaseYStrip2dAttribute.h>
20 
21 namespace ipsdk {
22 
23 namespace image {
24  class OutputImageYStrip2d;
25 }
26 
27 namespace imaproc {
28 
31 
33 {
34  // declare serial class
36 
37  // declare output 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 ~BaseOutputYStrip2dAttribute() = 0;
58 
59 // methods
60 public:
64  void init(const StorageType& pImageYStrip2d);
65 
70  const ValueType& getImageYStrip2d() const;
71  ValueType& getImageYStrip2d();
73 
78  ConstStorageType getStorage() const;
79  StorageType getStorage();
81 
82 private:
85  BoolResult syncOutputDerived(const Guid& processingSocketGuid);
86 
87 // attributes
88 protected:
89 
90 };
91 
94 
95 } // end of namespace imaproc
96 } // end of namespace ipsdk
97 
98 #endif // __IPSDKIMAGEPROCESSING_BASEOUTPUTYSTRIP2DATTRIBUTE_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
image::OutputImageYStrip2d ValueType
value type associated to object
Definition: BaseOutputYStrip2dAttribute.h:43
#define IPSDK_DECLARE_ABSTRACT_SERIAL_WITHOUT_COPY(libraryName, className)
macro enabling serialization on abstract class
Definition: SerializationHdrMacro.h:97
#define IPSDK_DECLARE_OUTPUT_DATA()
macro allowing to declare an output data
Definition: DataStatusHdrMacros.h:113
boost::shared_ptr< ValueType > StorageType
storage type associated to object
Definition: BaseOutputYStrip2dAttribute.h:46
Class encapsulating an auto initialized uuid.
Definition: Guid.h:27
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
boost::shared_ptr< const ValueType > ConstStorageType
const storage type associated to object
Definition: BaseOutputYStrip2dAttribute.h:49
Base class for image 2d strip with splitting along Y axis attributes.
Definition: BaseYStrip2dAttribute.h:26
Base class for output image 2d strip with splitting along Y axis attributes.
Definition: BaseOutputYStrip2dAttribute.h:32
Output class for image 2d strip with splitting along Y axis.
Definition: OutputImageYStrip2d.h:26