Wraps a data_dev device so it can be automatically freed.
More...
#include <GpuAsyncLib.hh>
|
| | DataDev (const char *path) |
| | Open path for reading and writing; logs a critical message and aborts on failure.
|
| |
| | ~DataDev () |
| | Close the file descriptor.
|
| |
| int | fd () const |
| | Return the file descriptor.
|
| |
Wraps a data_dev device so it can be automatically freed.
◆ DataDev()
| DataDev::DataDev |
( |
const char * |
path | ) |
|
Open path for reading and writing; logs a critical message and aborts on failure.
◆ ~DataDev()
Close the file descriptor.
◆ fd()
| int DataDev::fd |
( |
| ) |
const |
|
inline |
Return the file descriptor.
◆ fd_
The documentation for this class was generated from the following file: