IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseOutputTile2dCollAttribute.h
1 // BaseOutputTile2dCollAttribute.h:
3 // --------------------------------
4 //
15 
16 #ifndef __IPSDKIMAGEPROCESSING_BASEOUTPUTTILE2DCOLLATTRIBUTE_H__
17 #define __IPSDKIMAGEPROCESSING_BASEOUTPUTTILE2DCOLLATTRIBUTE_H__
18 
19 #include <IPSDKImageProcessing/Attribute/TileColl/Tile2dColl/BaseTile2dCollAttribute.h>
20 
21 namespace ipsdk {
22 namespace imaproc {
23 
26 
28 {
29  // declare serial class
31 
32  // declare output data
34 
35 // predefined public types
36 public:
39 
41  typedef std::vector<image::OutputImageTile2dPtr> ValueType;
42 
44  typedef std::vector<image::OutputImageTile2dPtr> StorageType;
45 
47  typedef std::vector<image::OutputImageTile2dConstPtr> ConstStorageType;
48 
49 // constructor and destructor
50 protected:
53 public:
55  virtual ~BaseOutputTile2dCollAttribute() = 0;
56 
57 // methods
58 public:
66  void init(const StorageType& imageTileColl);
67 
72  const image::OutputImageTile2d& getImageTile2d(const ipUInt32 tileIdx) const;
73  image::OutputImageTile2d& getImageTile2d(const ipUInt32 tileIdx);
75 
80  const ConstStorageType& getStorage() const;
81  const StorageType& getStorage();
83 
84 private:
87  BoolResult syncOutputDerived(const Guid& processingSocketGuid);
88 
89 // attributes
90 protected:
91 
92 };
93 
96 
97 } // end of namespace imaproc
98 } // end of namespace ipsdk
99 
100 #endif // __IPSDKIMAGEPROCESSING_BASEOUTPUTTILE2DCOLLATTRIBUTE_H__
std::vector< image::OutputImageTile2dPtr > ValueType
value type associated to object
Definition: BaseOutputTile2dCollAttribute.h:41
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
std::vector< image::OutputImageTile2dConstPtr > ConstStorageType
const storage type associated to object
Definition: BaseOutputTile2dCollAttribute.h:47
Base class for attributes associated to collection of image 2d tile.
Definition: BaseTile2dCollAttribute.h:27
Output class for 2d image tiles.
Definition: OutputImageTile2d.h:28
#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
Class encapsulating an auto initialized uuid.
Definition: Guid.h:27
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
std::vector< image::OutputImageTile2dPtr > StorageType
storage type associated to object
Definition: BaseOutputTile2dCollAttribute.h:44
image::OutputImageTile2d TileType
tile type associated to object
Definition: BaseOutputTile2dCollAttribute.h:38
Base class for output attributes associated to collection of image 2d tile.
Definition: BaseOutputTile2dCollAttribute.h:27
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53