Pleora Technologies Inc. eBUS SDK v6.5.1.6797 API



PvRawData.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2010, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __PVRAWDATA_H__
8 #define __PVRAWDATA_H__
9 
10 #include <PvBufferLib.h>
11 #include <PvPixelType.h>
12 
24 class PV_BUFFER_API PvRawData
25 {
26 public:
27 
28  virtual ~PvRawData() {}
29 
39  virtual uint64_t GetPayloadLength() const = 0;
40 
54  virtual PvResult Alloc( uint64_t aPayloadLength, uint32_t aMaximumChunkLength = 0 ) = 0;
55 
61  virtual void Free() = 0;
62 
79  virtual PvResult Attach( void * aRawBuffer, uint64_t aPayloadLength, uint32_t aMaximumChunkLength = 0 ) = 0;
80 
90  virtual uint8_t *Detach() = 0;
91 
92 };
93 
94 
95 #endif
Result information.
Definition: PvResult.h:29
Raw data interface to a PvBuffer.
Definition: PvRawData.h:24

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