IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
ExternalBuffer.h
1 // ExternalBuffer.h:
3 // -----------------
4 //
14 
15 #ifndef __IPSDKBASEDATA_EXTERNALBUFFER_H__
16 #define __IPSDKBASEDATA_EXTERNALBUFFER_H__
17 
18 #include <IPSDKBaseData/Buffer/BaseBlockBuffer.h>
19 
20 namespace ipsdk {
21 
24 
26 {
27  // declare serial class
29 
30 public:
34  ~ExternalBuffer();
36 
37 // methods
38 public:
40  eBufferType getBufferType() const;
41 
45  void init(const ipUInt64 size,
46  const eDataType& dataType,
47  void* pData);
48 
50  template <typename T>
51  void init(const ipUInt64 size,
52  T* pBuffer);
53 
54 // attributes
55 protected:
56 
57 };
58 
61 
62 inline eBufferType
64 {
66 }
67 
70 
71 } // end of namespace ipsdk
72 
73 #endif // __IPSDKBASEDATA_EXTERNALBUFFER_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
Base class for mono block buffers.
Definition: BaseBlockBuffer.h:25
External buffer.
Definition: BufferTypes.h:44
eDataType
Enumerate describing a base type.
Definition: BaseTypes.h:77
Class allowing to encapsulate sized external data pointer.
Definition: ExternalBuffer.h:25
#define IPSDK_DECLARE_DYNAMIC_WITH_COPY(libraryName, className)
macro enabling dynamic properties on class and copy support
Definition: DynamicHdrMacro.h:83
eBufferType
Enumerate describing buffer types.
Definition: BufferTypes.h:36
#define IPSDKBASEDATA_API
Import/Export macro for library IPSDKUtil.
Definition: IPSDKBaseDataExports.h:27
eBufferType getBufferType() const
retrieve buffer type
Definition: ExternalBuffer.h:63