#include <file_source_impl.h>
List of all members.
Constructor & Destructor Documentation
gr::blocks::file_source_impl::file_source_impl |
( |
size_t |
itemsize, |
|
|
const char * |
filename, |
|
|
bool |
repeat |
|
) |
| |
gr::blocks::file_source_impl::~file_source_impl |
( |
| ) |
|
Member Function Documentation
void gr::blocks::file_source_impl::close |
( |
| ) |
|
|
virtual |
void gr::blocks::file_source_impl::open |
( |
const char * |
filename, |
|
|
bool |
repeat |
|
) |
| |
|
virtual |
Opens a new file.
- Parameters:
-
filename | name of the file to source from |
repeat | repeat file from start |
Implements gr::blocks::file_source.
bool gr::blocks::file_source_impl::seek |
( |
long |
seek_point, |
|
|
int |
whence |
|
) |
| |
|
virtual |
seek file to seek_point
relative to whence
- Parameters:
-
seek_point | sample offset in file |
whence | one of SEEK_SET, SEEK_CUR, SEEK_END (man fseek) |
Implements gr::blocks::file_source.
The documentation for this class was generated from the following file: