Impact Acquire SDK C++
|
An input stream buffer derived from std::basic_streambuf used to read from a file of a device. More...
#include <mvIMPACT_acquire_GenICam_FileStream.h>
Public Member Functions | |
filebuf_type * | close (void) |
Closes a file on the device. | |
IDevFileStreamBuf () | |
Constructs a new mvIMPACT::acquire::GenICam::IDevFileStreamBuf object. | |
bool | is_open (void) const |
Determines if a file is open. | |
filebuf_type * | open (mvIMPACT::acquire::Device *pDev, const char *pFileName, std::ios_base::openmode mode=std::ios_base::in) |
Opens a file on the device. | |
std::streamsize | size (void) const |
Fetch the size of the file currently selected on the device. | |
~IDevFileStreamBuf () | |
class destructor. | |
Protected Member Functions | |
int_type | pbackfail (int_type c) |
int_type | underflow (void) |
An input stream buffer derived from std::basic_streambuf used to read from a file of a device.
|
inline |
Constructs a new mvIMPACT::acquire::GenICam::IDevFileStreamBuf object.
|
inline |
class destructor.
|
inline |
Closes a file on the device.
|
inline |
Determines if a file is open.
|
inline |
Opens a file on the device.
The member function calls rdbuf -> open(_Filename, _Mode | ios_base::in). If open fails, the function calls setstate(failbit), which may throw an ios_base::failure exception.
pDev | A pointer to a mvIMPACT::acquire::Device object obtained from a mvIMPACT::acquire::DeviceManager object. |
pFileName | Name of the file to open |
mode | File open mode. One of the enumerations in ios_base::openmode |
|
inlineprotected |
|
inline |
Fetch the size of the file currently selected on the device.
|
inlineprotected |