DevNull Class Reference
<class description="" goes="" here=""> <short description=""> More...
#include <DevNull.hpp>
Inheritance diagram for DevNull:
Public Member Functions | |
virtual Frame * | getFrame () |
returns a frame if one complete frame is available, otherwise null is returned. | |
virtual int | writeFrame (Frame *frm, ESInfo *out_es=NULL) |
returns the number of packets sent. | |
virtual bool | open () |
opens the IO connection. | |
virtual bool | close (bool immediate=false) |
closes the IO class. | |
virtual bool | destroy () |
deletes the data source for this IO class. | |
virtual int | getBufferFillLevel () const |
returns a value from 0..100 indicating buffer usage | |
void | setESInfo (ESInfo *es) |
for compatibility to IO class * | |
ESInfo * | getESInfo () |
virtual const char * | getURL () const |
returns a local file name or an URL | |
virtual bool | setToFrameNumber (u32 frameNumber) |
repositions the IO class to the given frame. | |
Protected Attributes | |
char | url [12] |
Detailed Description
<class description="" goes="" here=""> <short description="">
- Author:
- Michael Kropfberger and Peter Schojer
- Version:
- Id
- DevNull.hpp,v 1.13 2006/01/26 11:42:00 mkropfbe Exp
Definition at line 60 of file DevNull.hpp.
Member Function Documentation
|
closes the IO class.
Implements IO. Definition at line 94 of file DevNull.hpp.
|
|
deletes the data source for this IO class. Will only work with local files, remote files can not be deleted and will always return true. Implements IO. Definition at line 103 of file DevNull.hpp.
|
|
returns a frame if one complete frame is available, otherwise null is returned. This function is typically blocking. Don't use a NULL return value to conclude STREAMEOF, always check with getState()! Implements IO. Definition at line 71 of file DevNull.hpp.
|
|
opens the IO connection. State is set to OPENING. Depending on the underlying QIODevice, a network connection or a file connection is established. When the connection is ready for use, State is OPEN Implements IO. Definition at line 89 of file DevNull.hpp.
|
|
repositions the IO class to the given frame. Will return false in the following cases:
Reimplemented from IO. Definition at line 129 of file DevNull.hpp.
|
|
returns the number of packets sent. Returns 0 on error Implements IO. Definition at line 79 of file DevNull.hpp.
|
The documentation for this class was generated from the following file: