Pleora Technologies Inc. eBUS SDK v6.5.1.6797 API



PvPleoraCompressed.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2023, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __PVPLEORACOMPRESSED_H__
8 #define __PVPLEORACOMPRESSED_H__
9 
10 #include <PvResult.h>
11 #include <PvTypes.h>
12 #include <PvPixelType.h>
13 
26 class PV_BUFFER_API PvPleoraCompressed
27 {
28 public:
29 
30  virtual ~PvPleoraCompressed() {}
31 
41  virtual uint64_t GetPayloadLength() const = 0;
42 
48  virtual void SetPayloadLength( uint64_t aLength ) = 0;
49 
62  virtual PvResult Alloc( uint64_t aPayloadLength ) = 0;
63 
69  virtual void Free() = 0;
70 
86  virtual PvResult Attach( void * aRawBuffer, uint64_t aPayloadLength ) = 0;
87 
97  virtual uint8_t *Detach() = 0;
98 
99 private:
100 
101  // Not implemented
102  //PvPleoraCompressed( const PvPleoraCompressed & );
103  //const PvPleoraCompressed &operator=( const PvPleoraCompressed & );
104 };
105 
106 #endif // __PVPLEORACOMPRESSED_H__
Result information.
Definition: PvResult.h:29
Pleora compressed interface to a PvBuffer.
Definition: PvPleoraCompressed.h:26

Copyright (c) 2002-2024 Pleora Technologies Inc.
www.pleora.com