Logo Search packages:      
Sourcecode: darkice version File versions

IceCast2 Class Reference

#include <IceCast2.h>

Inheritance diagram for IceCast2:

CastSink Sink Reporter Referable

List of all members.


Detailed Description

Class representing output to an IceCast2 server with ice login

Author:
Author
darkeye
Version:
Revision
1.3

Definition at line 59 of file IceCast2.h.


Public Types

enum  StreamFormat { mp3, oggVorbis }

Public Member Functions

virtual bool canWrite (unsigned int sec, unsigned int usec) throw ( Exception )
virtual void close (void) throw ( Exception )
unsigned int decreaseReferenceCount (void) throw ( Exception )
virtual void flush (void) throw ( Exception )
unsigned int getBitRate (void) const throw ()
unsigned int getBufferDuration (void) const throw ()
const char * getDescription (void) const throw ()
StreamFormat getFormat (void) const throw ()
const char * getGenre (void) const throw ()
bool getIsPublic (void) const throw ()
const char * getMountPoint (void) const throw ()
const char * getName (void) const throw ()
const char * getPassword (void) const throw ()
unsigned int getReferenceCount (void) const throw ()
const char * getUrl (void) const throw ()
 IceCast2 (const IceCast2 &cs) throw ( Exception )
 IceCast2 (TcpSocket *socket, const char *password, const char *mountPoint, StreamFormat format, unsigned int bitRate, const char *name=0, const char *description=0, const char *url=0, const char *genre=0, bool isPublic=false, Sink *streamDump=0, unsigned int bufferDuration=10) throw ( Exception )
unsigned int increaseReferenceCount (void) throw ( Exception )
virtual bool isOpen (void) const throw ()
virtual bool open (void) throw ( Exception )
virtual IceCast2operator= (const IceCast2 &cs) throw ( Exception )
virtual unsigned int write (const void *buf, unsigned int len) throw ( Exception )
virtual ~IceCast2 (void) throw ( Exception )

Static Public Member Functions

static std::ostream & getReportOutputStream (void) throw ()
static unsigned int getReportVerbosity (void) throw ()
template<class T, class U, class V, class W>
static void reportEvent (unsigned int verbosity, const T t, const U u, const V v, const W w) throw ()
template<class T, class U, class V>
static void reportEvent (unsigned int verbosity, const T t, const U u, const V v) throw ()
template<class T, class U>
static void reportEvent (unsigned int verbosity, const T t, const U u) throw ()
template<class T>
static void reportEvent (unsigned int verbosity, const T t) throw ()
static void setReportOutputStream (std::ostream &os) throw ()
static void setReportVerbosity (unsigned int verbosity) throw ()

Protected Member Functions

SinkgetSink (void) const throw ()
TcpSocketgetSocket (void) const throw ()
 IceCast2 (void) throw ( Exception )
virtual bool sendLogin (void) throw ( Exception )

Private Member Functions

void init (StreamFormat format, const char *mountPoint, const char *description) throw ( Exception )
void strip (void) throw ( Exception )

Private Attributes

char * description
StreamFormat format
char * mountPoint

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index