Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

SoundImpNet.H

Go to the documentation of this file.
00001 
00011 #ifndef SOUNDIMPNET
00012 #define SOUNDIMPNET
00013 
00014 #include "SoundMgr.H"
00015 
00016 
00017 class SoundImpNet : public SoundImplementation
00018 {
00019 public:
00020 
00021   // the host and the port upon which the soundserver is running
00022   SoundImpNet(str_ptr host, int port);
00023   ~SoundImpNet();
00024 
00025   void setListenerLoc(Wtransf m);
00026   void setListenerVel(Wvec v);
00027   void setListenerGain(float g);
00028   
00029   void load(str_ptr filename);
00030   void play(str_ptr filename);
00031   void stop(str_ptr filename);
00032   void deleteSound(str_ptr filename);
00033   void setParam(str_ptr filename, SOUNDPARAM param, float value);
00034 
00035 protected:
00036   
00037   void send_network_msg(str_ptr msg);
00038 
00039   str_ptr _host;
00040   int     _port;
00041   
00042 
00043 };
00044 
00045 #endif

Generated on Thu Jul 8 15:19:29 2004 for inspace by doxygen 1.3.4