GenApi::IFileProtocolAdapter#
Adapter between the std::iostreambuf and the SFNC Features representing the device filesystem.
#include <GenApi/Filestream.h>
Inherited by GenApi::FileProtocolAdapter
Public Functions#
| Name | |
|---|---|
| virtual bool | attach(GenApi::INodeMap * pInterface) |
| virtual bool | openFile(const char * pFileName, std::ios_base::openmode mode) |
| virtual bool | closeFile(const char * pFileName) |
| virtual GenICam_streamsize | write(const char * buf, int64_t offs, int64_t len, const char * pFileName) |
| virtual GenICam_streamsize | read(char * buf, int64_t offs, GenICam_streamsize len, const char * pFileName) |
| virtual int64_t | getBufSize(const char * pFileName, std::ios_base::openmode mode) |
| virtual bool | deleteFile(const char * pFileName) |
Public Functions Documentation#
attach#
virtual bool attach(
GenApi::INodeMap * pInterface
)
Reimplemented by: GenApi::FileProtocolAdapter::attach
openFile#
virtual bool openFile(
const char * pFileName,
std::ios_base::openmode mode
)
Reimplemented by: GenApi::FileProtocolAdapter::openFile
closeFile#
virtual bool closeFile(
const char * pFileName
)
Reimplemented by: GenApi::FileProtocolAdapter::closeFile
write#
virtual GenICam_streamsize write(
const char * buf,
int64_t offs,
int64_t len,
const char * pFileName
)
Reimplemented by: GenApi::FileProtocolAdapter::write
read#
virtual GenICam_streamsize read(
char * buf,
int64_t offs,
GenICam_streamsize len,
const char * pFileName
)
Reimplemented by: GenApi::FileProtocolAdapter::read
getBufSize#
virtual int64_t getBufSize(
const char * pFileName,
std::ios_base::openmode mode
)
Reimplemented by: GenApi::FileProtocolAdapter::getBufSize
deleteFile#
virtual bool deleteFile(
const char * pFileName
)
Reimplemented by: GenApi::FileProtocolAdapter::deleteFile
Updated on 5 July 2022 at 15:30:01