#include <Source.h>
Inheritance diagram for Source:
Definition at line 57 of file Source.h.
Public Member Functions | |
virtual | ~Source (void) throw ( Exception ) |
Destructor. | |
virtual bool | open (void)=0 throw ( Exception ) |
Open the Source. | |
virtual bool | isOpen (void) const =0 throw () |
Check if the Source is open. | |
virtual bool | canRead (unsigned int sec, unsigned int usec)=0 throw ( Exception ) |
Check if the Source can be read from. | |
virtual unsigned int | read (void *buf, unsigned int len)=0 throw ( Exception ) |
Read from the Source. | |
virtual void | close (void)=0 throw ( Exception ) |
Close the Source. | |
Protected Member Functions | |
Source (void) throw ( Exception ) | |
Default Constructor. | |
Source (const Source &source) throw ( Exception ) | |
Copy Constructor. | |
virtual Source & | operator= (const Source &source) throw ( Exception ) |
Assignment operator. |
|
Default Constructor.
|
|
Copy Constructor.
|
|
Destructor.
|
|
Check if the Source can be read from. Blocks until the specified time for data to be available.
Implemented in AlsaDspSource, JackDspSource, OssDspSource, SolarisDspSource, and TcpSocket. Referenced by ShoutCast::sendLogin(), IceCast2::sendLogin(), and IceCast::sendLogin(). |
|
Close the Source.
Implemented in AlsaDspSource, JackDspSource, OssDspSource, SolarisDspSource, and TcpSocket. |
|
Check if the Source is open.
Implemented in AlsaDspSource, JackDspSource, OssDspSource, SolarisDspSource, and TcpSocket. Referenced by ShoutCast::sendLogin(), IceCast2::sendLogin(), and IceCast::sendLogin(). |
|
Open the Source.
Implemented in AlsaDspSource, JackDspSource, OssDspSource, SolarisDspSource, and TcpSocket. |
|
Assignment operator.
Definition at line 92 of file Source.h. Referenced by TcpSocket::operator=(), and AudioSource::operator=(). |
|
Read from the Source.
Implemented in AlsaDspSource, JackDspSource, OssDspSource, SolarisDspSource, and TcpSocket. Referenced by ShoutCast::sendLogin(), IceCast2::sendLogin(), and IceCast::sendLogin(). |