Pleora Technologies Inc. eBUS SDK v6.2.8.5877 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 
13 
14 class PV_BUFFER_API PvRawData
15 {
16 public:
17 
18  virtual ~PvRawData() {}
19 
20  virtual uint64_t GetPayloadLength() const = 0;
21 
22  virtual PvResult Alloc( uint64_t aPayloadLength, uint32_t aMaximumChunkLength = 0 ) = 0;
23  virtual void Free() = 0;
24 
25  virtual PvResult Attach( void * aRawBuffer, uint64_t aPayloadLength, uint32_t aMaximumChunkLength = 0 ) = 0;
26  virtual uint8_t *Detach() = 0;
27 
28 };
29 
30 
31 #endif
Result information.
Definition: PvResult.h:13
Raw data interface to a PvBuffer.
Definition: PvRawData.h:14

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