Impact Acquire SDK C++
|
An output stream buffer derived from std::basic_streambuf used to write to a file on a device. More...
#include <mvIMPACT_acquire_GenICam_FileStream.h>
Public Member Functions | |
filebuf_type * | close (void) |
Closes a file on the device. | |
bool | is_open (void) const |
Determines if a file is open. | |
ODevFileStreamBuf () | |
Constructs a new mvIMPACT::acquire::GenICam::ODevFileStreamBuf object. | |
filebuf_type * | open (mvIMPACT::acquire::Device *pDev, const char *pFileName, std::ios_base::openmode mode) |
Opens a file on the device. | |
~ODevFileStreamBuf () | |
class destructor. | |
Protected Member Functions | |
int_type | overflow (int_type c=traits_type::eof()) |
int | sync (void) |
std::streamsize | xsputn (const char_type *s, std::streamsize n) |
An output stream buffer derived from std::basic_streambuf used to write to a file on a device.
|
inline |
Constructs a new mvIMPACT::acquire::GenICam::ODevFileStreamBuf 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 |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |