Pleora Technologies Inc. eBUS SDK v7.0.1.7536 API



Loading...
Searching...
No Matches
PvTftpClient.h
1// *****************************************************************************
2//
3// Copyright (c) 2013, Pleora Technologies Inc., All rights reserved.
4//
5// *****************************************************************************
6
7#ifndef __PVTFTPCLIENT_H__
8#define __PVTFTPCLIENT_H__
9
10#include <PvBaseLib.h>
11#include <PvResult.h>
12#include <PvString.h>
13
14
15namespace PvBaseLib
16{
17 class TftpClient;
18}
19
20
21class PV_BASE_API PvTftpClient
22{
23public:
24
27
28 PvResult Init( const PvString &aDeviceIPAddress, const PvString &aDeviceFilename );
29
30 PvResult SendFile( const PvString &aHostFilename = "" );
31 PvResult SendData( const uint8_t *aBuffer, uint32_t aBufferLength );
32 PvResult GetFile( const PvString &aHostFilename = "" );
33 PvResult GetData( uint8_t *aBuffer, uint32_t aBufferLength, uint32_t *aBytesRead );
34
35 PvResult Abort();
36 PvResult GetWarning( PvString &aWarning );
37 PvResult GetTransferResult() const;
38 PvResult GetProgress( int64_t &aCompleted, int64_t &aTotal );
39
40protected:
41
42private:
43
44#ifndef PV_GENERATING_DOXYGEN_DOC
45
46 PvBaseLib::TftpClient *mThis;
47
48#endif // PV_GENERATING_DOXYGEN_DOC
49
50 // Not implemented
51 PvTftpClient( const PvTftpClient & );
52 const PvTftpClient &operator=( const PvTftpClient & );
53
54};
55
56
57#endif
Result information.
Definition PvResult.h:30
String class.
Definition PvString.h:26
Sends or receives files from a GigE Vision video interface using the TFTP protocol.
Definition PvTftpClient.h:22

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