IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseInputTile2dCollAttribute.h
1 // BaseInputTile2dCollAttribute.h:
3 // -------------------------------
4 //
15 
16 #ifndef __IPSDKIMAGEPROCESSING_BASEINPUTTILE2DCOLLATTRIBUTE_H__
17 #define __IPSDKIMAGEPROCESSING_BASEINPUTTILE2DCOLLATTRIBUTE_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 input data
34 
35 // predefined public types
36 public:
39 
41  typedef std::vector<image::InputImageTile2dPtr> ValueType;
42 
44  typedef std::vector<image::InputImageTile2dPtr> StorageType;
45 
47  typedef std::vector<image::InputImageTile2dConstPtr> ConstStorageType;
48 
49 // constructor and destructor
50 protected:
53 public:
55  virtual ~BaseInputTile2dCollAttribute() = 0;
56 
57 // methods
58 public:
66  void init(const StorageType& imageTileColl);
67 
71  const image::InputImageTile2d& getImageTile2d(const ipUInt32 tileIdx) const;
72 
77  const ConstStorageType& getStorage() const;
78  const StorageType& getStorage();
80 
81 private:
84  BoolResult syncInputDerived(const Guid& processingSocketGuid);
85 
86 // attributes
87 protected:
88 
89 };
90 
93 
94 } // end of namespace imaproc
95 } // end of namespace ipsdk
96 
97 #endif // __IPSDKIMAGEPROCESSING_BASEINPUTTILE2DCOLLATTRIBUTE_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Base class for input attributes associated to collection of image 2d tile.
Definition: BaseInputTile2dCollAttribute.h:27
Base class for attributes associated to collection of image 2d tile.
Definition: BaseTile2dCollAttribute.h:27
#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
std::vector< image::InputImageTile2dConstPtr > ConstStorageType
const storage type associated to object
Definition: BaseInputTile2dCollAttribute.h:47
Class encapsulating an auto initialized uuid.
Definition: Guid.h:27
image::InputImageTile2d TileType
tile type associated to object
Definition: BaseInputTile2dCollAttribute.h:38
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
Input class for 2d image tiles.
Definition: InputImageTile2d.h:29
std::vector< image::InputImageTile2dPtr > StorageType
storage type associated to object
Definition: BaseInputTile2dCollAttribute.h:44
std::vector< image::InputImageTile2dPtr > ValueType
value type associated to object
Definition: BaseInputTile2dCollAttribute.h:41
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53