⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 serversettings.c

📁 uva trilearn的robocup源程序
💻 C
📖 第 1 页 / 共 5 页
字号:
/*! Set method for the 'dAudioCutDist' member variable.    \param d a double value representing a new maximum distance over which a    spoken message can be heard    \return a boolean indicating whether the update was successful */bool ServerSettings::setAudioCutDist( double d ){  dAudioCutDist = d;  return ( true );}/*! Get method for the 'dAudioCutDist' member variable.    \return the maximum distance over which a spoken message can be heard */double ServerSettings::getAudioCutDist( ) const{  return ( dAudioCutDist );}/*! Set method for the 'dQuantizeStep' member variable.    \param d a double value representing a new quantization step for the    distance of moving objects    \return a boolean indicating whether the update was successful */bool ServerSettings::setQuantizeStep( double d ){  dQuantizeStep = d;  return ( true );}/*! Get method for the 'dQuantizeStep' member variable.    \return the quantization step for the distance of moving objects */double ServerSettings::getQuantizeStep( ) const{  return ( dQuantizeStep );}/*! Set method for the 'dQuantizeStepL' member variable.    \param d a double value representing a new quantization step for the    distance of landmarks    \return a boolean indicating whether the update was successful */bool ServerSettings::setQuantizeStepL( double d ){  dQuantizeStepL = d;  return ( true );}/*! Get method for the 'dQuantizeStepL' member variable.    \return the quantization step for the distance of landmarks */double ServerSettings::getQuantizeStepL( ) const{  return ( dQuantizeStepL );}/*! Set method for the 'iMaxPower' member variable.    \param i an integer value representing a new maximum power for a dash/kick    \return a boolean indicating whether the update was successful */bool ServerSettings::setMaxPower( int i ){  iMaxPower = i;  return ( true );}/*! Get method for the 'iMaxPower' member variable.    \return the maximum power for a dash/kick */int ServerSettings::getMaxPower( ) const{  return ( iMaxPower );}/*! Set method for the 'iMinPower' member variable.    \param i an integer value representing a new minimum power for a dash/kick    \return a boolean indicating whether the update was successful */bool ServerSettings::setMinPower( int i ){  iMinPower = i;  return ( true );}/*! Get method for the 'iMinPower' member variable.    \return the minimum power for a dash/kick */int ServerSettings::getMinPower( ) const{  return ( iMinPower );}/*! Set method for the 'iMaxMoment' member variable.    \param i an integer value representing a new maximum angle for a turn/kick    \return a boolean indicating whether the update was successful */bool ServerSettings::setMaxMoment( int i ){  iMaxMoment = i;  return ( true );}/*! Get method for the 'iMaxMoment' member variable.    \return the maximum angle for a turn/kick */int ServerSettings::getMaxMoment( ) const{  return ( iMaxMoment );}/*! Set method for the 'iMinMoment' member variable.    \param i an integer value representing a new minimum angle for a turn/kick    \return a boolean indicating whether the update was successful */bool ServerSettings::setMinMoment( int i ){  iMinMoment = i;  return ( true );}/*! Get method for the 'iMinMoment' member variable.    \return the minimum angle for a turn/kick */int ServerSettings::getMinMoment( ) const{  return ( iMinMoment );}/*! Set method for the 'iMaxNeckMoment' member variable.    \param i an integer value representing a new maximum angle for a turnneck    \return a boolean indicating whether the update was successful */bool ServerSettings::setMaxNeckMoment( int i ){  iMaxNeckMoment = i;  return ( true );}/*! Get method for the 'iMaxNeckMoment' member variable.    \return the maximum angle for a turnneck */int ServerSettings::getMaxNeckMoment( ) const{  return ( iMaxNeckMoment );}/*! Set method for the 'iMinNeckMoment' member variable.    \param i an integer value representing a new minimum angle for a turnneck    \return a boolean indicating whether the update was successful */bool ServerSettings::setMinNeckMoment( int i ){  iMinNeckMoment = i;  return ( true );}/*! Get method for the 'iMinNeckMoment' member variable.    \return the minimum angle for a turnneck */int ServerSettings::getMinNeckMoment( ) const{  return ( iMinNeckMoment );}/*! Set method for the 'iMaxNeckAng' member variable.    \param i an integer value representing a new maximum neck angle rel. to body    \return a boolean indicating whether the update was successful */bool ServerSettings::setMaxNeckAng( int i ){  iMaxNeckAng = i;  return ( true );}/*! Get method for the 'iMaxNeckAng' member variable.    \return the maximum neck angle relative to body */int ServerSettings::getMaxNeckAng( ) const{  return ( iMaxNeckAng );}/*! Set method for the 'iMinNeckAng' member variable.    \param i an integer value representing a new minimum neck angle rel. to body    \return a boolean indicating whether the update was successful */bool ServerSettings::setMinNeckAng( int i ){  iMinNeckAng = i;  return ( true );}/*! Get method for the 'iMinNeckAng' member variable.    \return the minimum neck angle relative to body */int ServerSettings::getMinNeckAng( ) const{  return ( iMinNeckAng );}/*! Set method for the 'iPort' member variable.    \param i an integer value representing a new port number for a player    connection    \return a boolean indicating whether the update was successful */bool ServerSettings::setPort( int i ){  iPort = i;  return ( true );}/*! Get method for the 'iPort' member variable.    \return the port number for a player connection */int ServerSettings::getPort( ) const{  return ( iPort );}/*! Set method for the 'iCoachPort' member variable.    \param i an integer value representing a new port number for a coach    connection    \return a boolean indicating whether the update was successful */bool ServerSettings::setCoachPort( int i ){  iCoachPort = i;  return ( true );}/*! Get method for the 'iCoachPort' member variable.    \return the port number for a coach connection */int ServerSettings::getCoachPort( ) const{  return ( iCoachPort );}/*! Set method for the 'iOlCoachPort' member variable.    \param i an integer value representing a new port number for an online              coach connection    \return a boolean indicating whether the update was successful */bool ServerSettings::setOlCoachPort( int i ){  iOlCoachPort = i;  return ( true );}/*! Get method for the 'iOlCoachPort' member variable.    \return the port number for an online coach connection */int ServerSettings::getOlCoachPort( ) const{  return ( iOlCoachPort );}/*! Set method for the 'iSayCoachCntMax' member variable.    \param i an integer value representing a new maximum number of coach    messages possible    \return a boolean indicating whether the update was successful */bool ServerSettings::setSayCoachCntMax( int i ){  iSayCoachCntMax = i;  return ( true );}/*! Get method for the 'iSayCoachCntMax' member variable.    \return the maximum number of coach messages possible */int ServerSettings::getSayCoachCntMax( ) const{  return ( iSayCoachCntMax );}/*! Set method for the 'iSayCoachMsgSize' member variable.    \param i an integer value representing a new maximum size of coach messages    \return a boolean indicating whether the update was successful */bool ServerSettings::setSayCoachMsgSize( int i ){  iSayCoachMsgSize = i;  return ( true );}/*! Get method for the 'iSayCoachMsgSize' member variable.    \return the maximum size of coach messages */int ServerSettings::getSayCoachMsgSize( ) const{  return ( iSayCoachMsgSize );}/*! Set method for the 'iClangWinSize' member variable.    \param i an integer value representing a new time window which controls how    many coach messages can be sent    \return a boolean indicating whether the update was successful */bool ServerSettings::setClangWinSize( int i ){  iClangWinSize = i;  return ( true );}/*! Get method for the 'iClangWinSize' member variable.    \return time window which controls how many coach messages can be sent */int ServerSettings::getClangWinSize( ) const{  return ( iClangWinSize );}/*! Set method for the 'iClangDefineWin' member variable.    \param i an integer value representing a new number of define messages by    the coach per time window    \return a boolean indicating whether the update was successful */bool ServerSettings::setClangDefineWin( int i ){  iClangDefineWin = i;  return ( true );}/*! Get method for the 'iClangDefineWin' member variable.    \return the number of define messages by the coach per time window */int ServerSettings::getClangDefineWin( ) const{  return ( iClangDefineWin );}/*! Set method for the 'iClangMetaWin' member variable.    \param i an integer value representing a new number of meta messages by the    coach per time window    \return a boolean indicating whether the update was successful */bool ServerSettings::setClangMetaWin( int i ){  iClangMetaWin = i;  return ( true );}/*! Get method for the 'iClangMetaWin' member variable.    \return the number of meta messages by the coach per time window */int ServerSettings::getClangMetaWin( ) const{  return ( iClangMetaWin );}/*! Set method for the 'iClangAdviceWin' member variable.    \param i an integer value representing a new number of advice messages by    the coach per time window    \return a boolean indicating whether the update 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -