IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BufferTypes.h
Go to the documentation of this file.
1 // BufferTypes.h:
3 // --------------
4 //
14 
15 #ifndef __IPSDKBASEDATA_BUFFERTYPES_H__
16 #define __IPSDKBASEDATA_BUFFERTYPES_H__
17 
19 #include <boost/shared_ptr.hpp>
20 #include <vector>
21 
22 namespace ipsdk {
23 
24 class HybridBuffer;
25 class ExternalBuffer;
26 class TypedOwnBuffer;
27 class FragHybridBuffer;
28 
31 
35 
37  (eBT_OwnTyped)
38 
41 
43  (eBT_Hybrid)
44 
47 
50 )
51 
52 
55 // collection of buffer pointers
56 typedef std::vector<void*> BufferPtrColl;
57 
58 // collection of buffer const pointers
59 typedef std::vector<const void*> BufferConstPtrColl;
60 
63 
66 typedef boost::shared_ptr<HybridBuffer> HybridBufferPtr;
67 typedef boost::shared_ptr<const HybridBuffer> HybridBufferConstPtr;
69 
72 typedef boost::shared_ptr<ExternalBuffer> ExternalBufferPtr;
73 typedef boost::shared_ptr<const ExternalBuffer> ExternalBufferConstPtr;
75 
78 typedef boost::shared_ptr<TypedOwnBuffer> TypedOwnBufferPtr;
79 typedef boost::shared_ptr<const TypedOwnBuffer> TypedOwnBufferConstPtr;
81 
84 typedef boost::shared_ptr<FragHybridBuffer> FragHybridBufferPtr;
85 typedef boost::shared_ptr<const FragHybridBuffer> FragHybridBufferConstPtr;
87 
90 
91 
92 } // end of namespace ipsdk
93 
94 #endif // __IPSDKBASEDATA_BUFFERTYPES_H__
Fragmented hybrid buffer.
Definition: BufferTypes.h:46
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
boost::shared_ptr< const TypedOwnBuffer > TypedOwnBufferConstPtr
shared pointer to TypedOwnBuffer
Definition: BufferTypes.h:77
boost::shared_ptr< FragHybridBuffer > FragHybridBufferPtr
shared pointer to FragHybridBuffer
Definition: BufferTypes.h:82
Hybrid buffer.
Definition: BufferTypes.h:42
Own mutable buffer.
Definition: BufferTypes.h:40
External buffer.
Definition: BufferTypes.h:44
boost::shared_ptr< const ExternalBuffer > ExternalBufferConstPtr
shared pointer to ExternalBuffer
Definition: BufferTypes.h:71
boost::shared_ptr< ExternalBuffer > ExternalBufferPtr
shared pointer to ExternalBuffer
Definition: BufferTypes.h:70
boost::shared_ptr< HybridBuffer > HybridBufferPtr
shared pointer to HybridBuffer
Definition: BufferTypes.h:64
eBufferType
Enumerate describing buffer types.
Definition: BufferTypes.h:36
boost::shared_ptr< const HybridBuffer > HybridBufferConstPtr
shared pointer to HybridBuffer
Definition: BufferTypes.h:65
boost::shared_ptr< const FragHybridBuffer > FragHybridBufferConstPtr
shared pointer to FragHybridBuffer
Definition: BufferTypes.h:83
Predefined macros for enumerates management.
#define IPSDK_ENUM(enumTypeStr, enumSeq)
macro allowing to declare an enumerate for library
Definition: EnumMacros.h:26
Own typed buffer.
Definition: BufferTypes.h:38
boost::shared_ptr< TypedOwnBuffer > TypedOwnBufferPtr
shared pointer to TypedOwnBuffer
Definition: BufferTypes.h:76