Pleora Technologies Inc. eBUS SDK v6.2.8.5877 API



PvBufferWriter.h
Go to the documentation of this file.
1 // *****************************************************************************
2 //
3 // Copyright (c) 2008, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __PVBUFFERWRITTER_H__
8 #define __PVBUFFERWRITTER_H__
9 
10 #include <PvBuffer.h>
11 #include <PvBufferConverter.h>
12 #include <PvBufferFormatType.h>
13 
14 
15 namespace PvBufferLib
16 {
17  class BufferWriter;
18 }
19 
20 
21 class PV_BUFFER_API PvBufferWriter
22 {
23 
24 public:
25 
27  virtual ~PvBufferWriter();
28 
29  PvResult Store( PvBuffer* aBuffer, const PvString& aFilename, PvBufferFormatType aType = PvBufferFormatBMP, uint32_t *aBytesWritten = NULL );
30 
31  PvBufferConverter &GetConverter();
32 
33 protected:
34 
35 private:
36 
37  // Not implemented
38  PvBufferWriter( const PvBufferWriter & );
39  const PvBufferWriter &operator=( const PvBufferWriter & );
40 
41  PvBufferLib::BufferWriter *mThis;
42 };
43 
44 #endif
Used to convert a PvBuffer to another pixel type.
Definition: PvBufferConverter.h:28
String class.
Definition: PvString.h:21
Result information.
Definition: PvResult.h:13
Saves the contents of a PvBuffer object to a raw data file or bitmap.
Definition: PvBufferWriter.h:21
Represents a block of GigE Vision or USB3 Vision data in memory.
Definition: PvBuffer.h:47
Definition: PvBuffer.h:19

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