#include <vidl2_istream.h>
Inheritance diagram for vidl2_istream:

Definition at line 18 of file vidl2_istream.h.
Public Member Functions | |
| vidl2_istream () | |
| Constructor. | |
| virtual | ~vidl2_istream () |
| Destructor. | |
| virtual bool | is_open () const =0 |
| Return true if the stream is open for reading. | |
| virtual bool | is_valid () const =0 |
| Return true if the stream is in a valid state. | |
| virtual bool | is_seekable () const =0 |
| Return true if the stream support seeking. | |
| virtual unsigned int | frame_number () const =0 |
| Return the current frame number. | |
| virtual void | close ()=0 |
| Close the stream. | |
| virtual bool | advance ()=0 |
| Advance to the next frame (but don't acquire an image). | |
| virtual vidl2_frame_sptr | read_frame ()=0 |
| Read the next frame from the stream (advance and acquire). | |
| virtual vidl2_frame_sptr | current_frame ()=0 |
| Return the current frame in the stream. | |
| virtual bool | seek_frame (unsigned int frame_number)=0 |
| Seek to the given frame number. | |
| void | ref () |
| Increment reference count. | |
| void | unref () |
| Decrement reference count. | |
| int | ref_count () const |
| Number of objects referring to this data. | |
Private Member Functions | |
| vidl2_istream (const vidl2_istream &other) | |
| prevent deep copying a stream. | |
Private Attributes | |
| int | ref_count_ |
|
|
Constructor.
Definition at line 22 of file vidl2_istream.h. |
|
|
Destructor.
Definition at line 24 of file vidl2_istream.h. |
|
|
prevent deep copying a stream.
Definition at line 56 of file vidl2_istream.h. |
|
|
Advance to the next frame (but don't acquire an image).
Implemented in vidl2_dc1394_istream, vidl2_dshow_file_istream, vidl2_dshow_live_istream< ParamsObject >, vidl2_ffmpeg_istream, vidl2_image_list_istream, and vidl2_v4l_istream. |
|
|
Close the stream.
Implemented in vidl2_dc1394_istream, vidl2_dshow_file_istream, vidl2_dshow_live_istream< ParamsObject >, vidl2_ffmpeg_istream, vidl2_image_list_istream, and vidl2_v4l_istream. |
|
|
Return the current frame in the stream.
Implemented in vidl2_dc1394_istream, vidl2_dshow_file_istream, vidl2_dshow_live_istream< ParamsObject >, vidl2_ffmpeg_istream, vidl2_image_list_istream, and vidl2_v4l_istream. |
|
|
Return the current frame number.
Implemented in vidl2_dc1394_istream, vidl2_dshow_file_istream, vidl2_dshow_live_istream< ParamsObject >, vidl2_ffmpeg_istream, vidl2_image_list_istream, and vidl2_v4l_istream. |
|
|
Return true if the stream is open for reading.
Implemented in vidl2_dc1394_istream, vidl2_dshow_file_istream, vidl2_dshow_live_istream< ParamsObject >, vidl2_ffmpeg_istream, vidl2_image_list_istream, and vidl2_v4l_istream. |
|
|
Return true if the stream support seeking.
Implemented in vidl2_dc1394_istream, vidl2_dshow_file_istream, vidl2_dshow_live_istream< ParamsObject >, vidl2_ffmpeg_istream, vidl2_image_list_istream, and vidl2_v4l_istream. |
|
|
Return true if the stream is in a valid state.
Implemented in vidl2_dc1394_istream, vidl2_dshow_file_istream, vidl2_dshow_live_istream< ParamsObject >, vidl2_ffmpeg_istream, vidl2_image_list_istream, and vidl2_v4l_istream. |
|
|
Read the next frame from the stream (advance and acquire).
Implemented in vidl2_dc1394_istream, vidl2_dshow_file_istream, vidl2_dshow_live_istream< ParamsObject >, vidl2_ffmpeg_istream, vidl2_image_list_istream, and vidl2_v4l_istream. |
|
|
Increment reference count.
Definition at line 63 of file vidl2_istream.h. |
|
|
Number of objects referring to this data.
Definition at line 69 of file vidl2_istream.h. |
|
|
Seek to the given frame number.
Implemented in vidl2_dc1394_istream, vidl2_dshow_file_istream, vidl2_dshow_live_istream< ParamsObject >, vidl2_ffmpeg_istream, vidl2_image_list_istream, and vidl2_v4l_istream. |
|
|
Decrement reference count.
Definition at line 66 of file vidl2_istream.h. |
|
|
Definition at line 72 of file vidl2_istream.h. |
1.4.4