#include <SoundImpNetwork.H>
Inherits IS3D::SoundImplementation.
Public Types | |
enum | SoundServerNetMessageType { SMSG_SetListenerLoc = 1001, SMSG_SetListenerVel = 1002, SMSG_SetListenerGain = 1003, SMSG_Load = 1004, SMSG_Play = 1005, SMSG_Stop = 1006, SMSG_DeleteSound = 1007, SMSG_SetParam = 1008 } |
Public Member Functions | |
SoundImpNetwork (const std::string &host, int port) | |
virtual | ~SoundImpNetwork () |
void | setListenerLoc (const CoordinateFrame &m) |
void | setListenerVel (const Vector3 &v) |
void | setListenerGain (const float g) |
void | load (const std::string &filename) |
void | play (const std::string &filename) |
void | stop (const std::string &filename) |
void | deleteSound (const std::string &filename) |
void | setParam (const std::string &filename, const SOUNDPARAM param, const float value) |
Protected Attributes | |
NetworkDevice * | _networkDevice |
LightweightConduitRef | _conduit |
NetAddress | _address |
IS3D::SoundImpNetwork::SoundImpNetwork | ( | const std::string & | host, | |
int | port | |||
) |
virtual IS3D::SoundImpNetwork::~SoundImpNetwork | ( | ) | [virtual] |
void IS3D::SoundImpNetwork::setListenerLoc | ( | const CoordinateFrame & | m | ) | [virtual] |
Implements IS3D::SoundImplementation.
void IS3D::SoundImpNetwork::setListenerVel | ( | const Vector3 & | v | ) | [virtual] |
Implements IS3D::SoundImplementation.
void IS3D::SoundImpNetwork::setListenerGain | ( | const float | g | ) | [virtual] |
Implements IS3D::SoundImplementation.
void IS3D::SoundImpNetwork::load | ( | const std::string & | filename | ) | [virtual] |
Implements IS3D::SoundImplementation.
void IS3D::SoundImpNetwork::play | ( | const std::string & | filename | ) | [virtual] |
Implements IS3D::SoundImplementation.
void IS3D::SoundImpNetwork::stop | ( | const std::string & | filename | ) | [virtual] |
Implements IS3D::SoundImplementation.
void IS3D::SoundImpNetwork::deleteSound | ( | const std::string & | filename | ) | [virtual] |
Implements IS3D::SoundImplementation.
void IS3D::SoundImpNetwork::setParam | ( | const std::string & | filename, | |
const SOUNDPARAM | param, | |||
const float | value | |||
) | [virtual] |
Implements IS3D::SoundImplementation.
NetworkDevice* IS3D::SoundImpNetwork::_networkDevice [protected] |
LightweightConduitRef IS3D::SoundImpNetwork::_conduit [protected] |
NetAddress IS3D::SoundImpNetwork::_address [protected] |