netupdater.h

Go to the documentation of this file.
00001 
00025 #ifndef NETUPDATER_H_INCLUDED_C419EF97
00026 #define NETUPDATER_H_INCLUDED_C419EF97
00027 
00028 #include <cc++/socket.h>
00029 #include "openalpp/streamupdater.h"
00030 #include "stdlib.h"
00031 #include "openalpp/export.h"
00032 
00033 namespace openalpp {
00034 
00038 class OPENALPP_API NetUpdater : public StreamUpdater {
00042   ost::UDPSocket *socket_;
00043 
00047   ost::TCPStream *controlsocket_;
00048 
00052   unsigned int buffersize_;
00053  public:
00065   NetUpdater(ost::UDPSocket *socket,ost::TCPStream *controlsocket,
00066              const ALuint buffer1,ALuint buffer2,
00067              ALenum format,unsigned int frequency,
00068              unsigned int buffersize);
00069 
00074   void run();
00075 };
00076 
00077 }
00078 
00079 #endif /* NETUPDATER_H_INCLUDED_C419EF97 */

Generated on Thu Oct 12 05:46:17 2006 for openalpp by  doxygen 1.4.7