Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

ServerSettings Class Reference

#include <ServerSettings.h>

Inheritance diagram for ServerSettings:

Inheritance graph
[legend]
Collaboration diagram for ServerSettings:

Collaboration graph
[legend]
List of all members.

Public Methods

 ServerSettings ()
bool setValue (const char *strName, const char *strValue)
bool readValues (char *strFilename, char *Separator)
bool setGoalWidth (double d)
double getGoalWidth () const
bool setPlayerSize (double d)
double getPlayerSize () const
bool setPlayerDecay (double d)
double getPlayerDecay () const
bool setPlayerRand (double d)
double getPlayerRand () const
bool setPlayerWeight (double d)
double getPlayerWeight () const
bool setPlayerSpeedMax (double d)
double getPlayerSpeedMax () const
bool setPlayerAccelMax (double d)
double getPlayerAccelMax () const
bool setStaminaMax (double d)
double getStaminaMax () const
bool setStaminaIncMax (double d)
double getStaminaIncMax () const
bool setRecoverDecThr (double d)
double getRecoverDecThr () const
bool setRecoverDec (double d)
double getRecoverDec () const
bool setRecoverMin (double d)
double getRecoverMin () const
bool setEffortDecThr (double d)
double getEffortDecThr () const
bool setEffortDec (double d)
double getEffortDec () const
bool setEffortIncThr (double d)
double getEffortIncThr () const
bool setEffortInc (double d)
double getEffortInc () const
bool setEffortMin (double d)
double getEffortMin () const
bool setHearMax (int i)
int getHearMax () const
bool setHearInc (int i)
int getHearInc () const
bool setHearDecay (int i)
int getHearDecay () const
bool setInertiaMoment (double d)
double getInertiaMoment () const
bool setSenseBodyStep (int i)
int getSenseBodyStep () const
bool setCatchableAreaL (double d)
double getCatchableAreaL () const
bool setCatchableAreaW (double d)
double getCatchableAreaW () const
bool setCatchProbability (double d)
double getCatchProbability () const
bool setCatchBanCycle (int i)
int getCatchBanCycle () const
bool setGoalieMaxMoves (int i)
int getGoalieMaxMoves () const
bool setBallSize (double d)
double getBallSize () const
bool setBallDecay (double d)
double getBallDecay () const
bool setBallRand (double d)
double getBallRand () const
bool setBallWeight (double d)
double getBallWeight () const
bool setBallSpeedMax (double d)
double getBallSpeedMax () const
bool setBallAccelMax (double d)
double getBallAccelMax () const
bool setWindForce (double d)
double getWindForce () const
bool setWindDir (double d)
double getWindDir () const
bool setWindRand (double d)
double getWindRand () const
bool setKickableMargin (double d)
double getKickableMargin () const
bool setCkickMargin (double d)
double getCkickMargin () const
bool setDashPowerRate (double d)
double getDashPowerRate () const
bool setKickPowerRate (double d)
double getKickPowerRate () const
bool setKickRand (double d)
double getKickRand () const
bool setVisibleAngle (double d)
double getVisibleAngle () const
bool setAudioCutDist (double d)
double getAudioCutDist () const
bool setQuantizeStep (double d)
double getQuantizeStep () const
bool setQuantizeStepL (double d)
double getQuantizeStepL () const
bool setMaxPower (int i)
int getMaxPower () const
bool setMinPower (int i)
int getMinPower () const
bool setMaxMoment (int i)
int getMaxMoment () const
bool setMinMoment (int i)
int getMinMoment () const
bool setMaxNeckMoment (int i)
int getMaxNeckMoment () const
bool setMinNeckMoment (int i)
int getMinNeckMoment () const
bool setMaxNeckAng (int i)
int getMaxNeckAng () const
bool setMinNeckAng (int i)
int getMinNeckAng () const
bool setPort (int i)
int getPort () const
bool setCoachPort (int i)
int getCoachPort () const
bool setSayCoachCntMax (int i)
int getSayCoachCntMax () const
bool setSayCoachMsgSize (int i)
int getSayCoachMsgSize () const
bool setClangWinSize (int i)
int getClangWinSize () const
bool setClangDefineWin (int i)
int getClangDefineWin () const
bool setClangMetaWin (int i)
int getClangMetaWin () const
bool setClangAdviceWin (int i)
int getClangAdviceWin () const
bool setClangInfoWin (int i)
int getClangInfoWin () const
bool setClangMessDelay (int i)
int getClangMessDelay () const
bool setClangMessPerCycle (int i)
int getClangMessPerCycle () const
bool setSendViStep (int i)
int getSendViStep () const
bool setSimulatorStep (int i)
int getSimulatorStep () const
bool setSendStep (int i)
int getSendStep () const
bool setRecvStep (int i)
int getRecvStep () const
bool setHalfTime (int i)
int getHalfTime () const
bool setDropBallTime (int i)
int getDropBallTime () const
bool setSayMsgSize (int i)
int getSayMsgSize () const
bool setUseOffside (bool b)
bool getUseOffside () const
bool setOffsideActiveAreaSize (double d)
double getOffsideActiveAreaSize () const
bool setForbidKickOffOffside (bool b)
bool getForbidKickOffOffside () const
bool setOffsideKickMargin (double d)
double getOffsideKickMargin () const
bool setVerbose (bool b)
bool getVerbose () const
bool setRecordVersion (int i)
int getRecordVersion () const
bool setRecordLog (bool b)
bool getRecordLog () const
bool setSendLog (bool b)
bool getSendLog () const
bool setLogTimes (bool b)
bool getLogTimes () const
bool setLogFile (char *str)
char * getLogFile ()
bool setPlayerTypes (int i)
int getPlayerTypes () const
bool setSubsMax (int i)
int getSubsMax () const
bool setPlayerSpeedMaxDeltaMin (double d)
double getPlayerSpeedMaxDeltaMin () const
bool setPlayerSpeedMaxDeltaMax (double d)
double getPlayerSpeedMaxDeltaMax () const
bool setStaminaIncMaxDeltaFactor (double d)
double getStaminaIncMaxDeltaFactor () const
bool setPlayerDecayDeltaMin (double d)
double getPlayerDecayDeltaMin () const
bool setPlayerDecayDeltaMax (double d)
double getPlayerDecayDeltaMax () const
bool setInertiaMomentDeltaFactor (double d)
double getInertiaMomentDeltaFactor () const
bool setDashPowerRateDeltaMin (double d)
double getDashPowerRateDeltaMin () const
bool setDashPowerRateDeltaMax (double d)
double getDashPowerRateDeltaMax () const
bool setPlayerSizeDeltaFactor (double d)
double getPlayerSizeDeltaFactor () const
bool setKickableMarginDeltaMin (double d)
double getKickableMarginDeltaMin () const
bool setKickableMarginDeltaMax (double d)
double getKickableMarginDeltaMax () const
bool setKickRandDeltaFactor (double d)
double getKickRandDeltaFactor () const
bool setExtraStaminaDeltaMin (double d)
double getExtraStaminaDeltaMin () const
bool setExtraStaminaDeltaMax (double d)
double getExtraStaminaDeltaMax () const
bool setEffortMaxDeltaFactor (double d)
double getEffortMaxDeltaFactor () const
bool setEffortMinDeltaFactor (double d)
double getEffortMinDeltaFactor () const
bool setEffortMax (double d)
double getEffortMax () const
bool setSlowDownFactor (int i)
int getSlowDownFactor () const
bool setVisibleDistance (double d)
double getVisibleDistance () const
bool setExtraStamina (double d)
double getExtraStamina () const
bool setMaximalKickDist (double d)
double getMaximalKickDist () const

Private Attributes

double dGoalWidth
double dPlayerSize
double dPlayerDecay
double dPlayerRand
double dPlayerWeight
double dPlayerSpeedMax
double dPlayerAccelMax
double dStaminaMax
double dStaminaIncMax
double dRecoverDecThr
double dRecoverDec
double dRecoverMin
double dEffortDecThr
double dEffortDec
double dEffortIncThr
double dEffortInc
double dEffortMin
int iHearMax
int iHearInc
int iHearDecay
double dInertiaMoment
int iSenseBodyStep
double dCatchableAreaL
double dCatchableAreaW
double dCatchProbability
int iCatchBanCycle
int iGoalieMaxMoves
double dBallSize
double dBallDecay
double dBallRand
double dBallWeight
double dBallSpeedMax
double dBallAccelMax
double dWindForce
double dWindDir
double dWindRand
double dKickableMargin
double dCkickMargin
double dDashPowerRate
double dKickPowerRate
double dKickRand
double dVisibleAngle
double dAudioCutDist
double dQuantizeStep
double dQuantizeStepL
int iMaxPower
int iMinPower
int iMaxMoment
int iMinMoment
int iMaxNeckMoment
int iMinNeckMoment
int iMaxNeckAng
int iMinNeckAng
int iPort
int iCoachPort
int iSayCoachCntMax
int iSayCoachMsgSize
int iClangWinSize
int iClangDefineWin
int iClangMetaWin
int iClangAdviceWin
int iClangInfoWin
int iClangMessDelay
int iClangMessPerCycle
int iSendViStep
int iSimulatorStep
int iSendStep
int iRecvStep
int iHalfTime
int iDropBallTime
int iSayMsgSize
bool bUseOffside
double dOffsideActiveAreaSize
bool bForbidKickOffOffside
double dOffsideKickMargin
bool bVerbose
int iRecordVersion
bool bRecordLog
bool bSendLog
bool bLogTimes
char strLogFile [256]
int iPlayerTypes
int iSubsMax
double dPlayerSpeedMaxDeltaMin
double dPlayerSpeedMaxDeltaMax
double dStaminaIncMaxDeltaFactor
double dPlayerDecayDeltaMin
double dPlayerDecayDeltaMax
double dInertiaMomentDeltaFactor
double dDashPowerRateDeltaMin
double dDashPowerRateDeltaMax
double dPlayerSizeDeltaFactor
double dKickableMarginDeltaMin
double dKickableMarginDeltaMax
double dKickRandDeltaFactor
double dExtraStaminaDeltaMin
double dExtraStaminaDeltaMax
double dEffortMaxDeltaFactor
double dEffortMinDeltaFactor
double dEffortMax
int iSlowDownFactor
double dVisibleDistance
double dExtraStamina
double dMaximalKickDist

Detailed Description

This class contains all the Soccerserver parameters that are available in the configuration file 'server.conf' along with their default values and standard set- and get methods for manipulating these values. The ServerSettings class is a subclass of the GenericValues class and therefore each value in this class can be reached through the string name of the corresponding parameter.

Definition at line 64 of file ServerSettings.h.


Constructor & Destructor Documentation

ServerSettings::ServerSettings  
 

Constructor for the ServerSettings class. It sets all the private member variables in this class to the values specified in the configuration files (server.conf and player.conf) of Soccer Server version 7.xx. These values can be changed by calling the method 'readValues' with a new configuration file or by calling the method 'setValue' for a specific variable.

Definition at line 59 of file ServerSettings.C.

References GenericValues::addSetting(), bForbidKickOffOffside, bLogTimes, bRecordLog, bSendLog, bUseOffside, bVerbose, dAudioCutDist, dBallAccelMax, dBallDecay, dBallRand, dBallSize, dBallSpeedMax, dBallWeight, dCatchableAreaL, dCatchableAreaW, dCatchProbability, dCkickMargin, dDashPowerRate, dDashPowerRateDeltaMax, dDashPowerRateDeltaMin, dEffortDec, dEffortDecThr, dEffortInc, dEffortIncThr, dEffortMax, dEffortMaxDeltaFactor, dEffortMin, dEffortMinDeltaFactor, dExtraStamina, dExtraStaminaDeltaMax, dExtraStaminaDeltaMin, dGoalWidth, dInertiaMoment, dInertiaMomentDeltaFactor, dKickableMargin, dKickableMarginDeltaMax, dKickableMarginDeltaMin, dKickPowerRate, dKickRand, dKickRandDeltaFactor, dMaximalKickDist, dOffsideActiveAreaSize, dOffsideKickMargin, dPlayerAccelMax, dPlayerDecay, dPlayerDecayDeltaMax, dPlayerDecayDeltaMin, dPlayerRand, dPlayerSize, dPlayerSizeDeltaFactor, dPlayerSpeedMax, dPlayerSpeedMaxDeltaMax, dPlayerSpeedMaxDeltaMin, dPlayerWeight, dQuantizeStep, dQuantizeStepL, dRecoverDec, dRecoverDecThr, dRecoverMin, dStaminaIncMax, dStaminaIncMaxDeltaFactor, dStaminaMax, dVisibleAngle, dVisibleDistance, dWindDir, dWindForce, dWindRand, iCatchBanCycle, iClangAdviceWin, iClangDefineWin, iClangInfoWin, iClangMessDelay, iClangMessPerCycle, iClangMetaWin, iClangWinSize, iCoachPort, iDropBallTime, iGoalieMaxMoves, iHalfTime, iHearDecay, iHearInc, iHearMax, iMaxMoment, iMaxNeckAng, iMaxNeckMoment, iMaxPower, iMinMoment, iMinNeckAng, iMinNeckMoment, iMinPower, iPlayerTypes, iPort, iRecordVersion, iRecvStep, iSayCoachCntMax, iSayCoachMsgSize, iSayMsgSize, iSendStep, iSendViStep, iSenseBodyStep, iSimulatorStep, iSlowDownFactor, iSubsMax, and strLogFile.


Member Function Documentation

double ServerSettings::getAudioCutDist   const
 

Get method for the 'dAudioCutDist' member variable.

Returns:
the maximum distance over which a spoken message can be heard

Definition at line 1252 of file ServerSettings.C.

double ServerSettings::getBallAccelMax   const
 

Get method for the 'dBallAccelMax' member variable.

Returns:
the maximum acceleration of the ball per cycle

Definition at line 1073 of file ServerSettings.C.

Referenced by BasicPlayer::accelerateBallToVelocity(), and BasicPlayer::kickTo().

double ServerSettings::getBallDecay   const
 

Get method for the 'dBallDecay' member variable.

Returns:
the ball speed decay per cycle

Definition at line 1008 of file ServerSettings.C.

Referenced by WorldModel::calculateStateBall(), WorldModel::calculateStateBall2(), WorldModel::getEndSpeedFromFirstSpeed(), WorldModel::getFirstSpeedFromDist(), WorldModel::getFirstSpeedFromEndSpeed(), WorldModel::getKickSpeedToTravel(), BasicPlayer::interceptClose(), BasicPlayer::interceptCloseGoalie(), WorldModel::predictPosAfterNrCycles(), WorldModel::updateBallAfterKick(), WorldModel::updateBallForCollision(), WorldModel::updateDynamicObjectForNextCycle(), and WorldModel::updateParticlesBall().

double ServerSettings::getBallRand   const
 

Get method for the 'dBallRand' member variable.

Returns:
the random error in the ball movement

Definition at line 1024 of file ServerSettings.C.

Referenced by WorldModel::calculateStateBall(), WorldModel::calculateStateBall2(), and WorldModel::updateParticlesBall().

double ServerSettings::getBallSize   const
 

Get method for the 'dBallSize' member variable.

Returns:
the size (=radius) of the ball

Definition at line 992 of file ServerSettings.C.

Referenced by WorldModel::getActualKickPowerRate(), BasicPlayer::interceptClose(), BasicPlayer::kickBallCloseToBody(), and WorldModel::updateBallForCollision().

double ServerSettings::getBallSpeedMax   const
 

Get method for the 'dBallSpeedMax' member variable.

Returns:
the maximum speed of the ball

Definition at line 1056 of file ServerSettings.C.

Referenced by WorldModel::calculateStateBall(), WorldModel::calculateStateBall2(), BasicPlayer::clearBall(), Player::deMeer5(), BasicPlayer::getEndSpeedForPass(), BasicPlayer::interceptClose(), BasicPlayer::interceptCloseGoalie(), BasicPlayer::kickTo(), WorldModel::updateBallAfterKick(), and WorldModel::updateParticlesBall().

double ServerSettings::getBallWeight   const
 

Get method for the 'dBallWeight' member variable.

Returns:
the weight of the ball (for wind)

Definition at line 1040 of file ServerSettings.C.

double ServerSettings::getCatchableAreaL   const
 

Get method for the 'dCatchableAreaL' member variable.

Returns:
the length of the area around the goalkeeper in which he can catch the ball

Definition at line 902 of file ServerSettings.C.

Referenced by BasicPlayer::getInterceptionPointBall(), BasicPlayer::interceptCloseGoalie(), and WorldModel::isBallCatchable().

double ServerSettings::getCatchableAreaW   const
 

Get method for the 'dCatchableAreaW' member variable.

Returns:
the width of the area around the goalkeeper in which he can catch the ball

Definition at line 920 of file ServerSettings.C.

int ServerSettings::getCatchBanCycle   const
 

Get method for the 'iCatchBanCycle' member variable.

Returns:
the number of cycles after a catch in which the goalkeeper cannot catch again

Definition at line 955 of file ServerSettings.C.

Referenced by WorldModel::isBallCatchable().

double ServerSettings::getCatchProbability   const
 

Get method for the 'dCatchProbability' member variable.

Returns:
the probability for a goalkeeper to catch the ball

Definition at line 937 of file ServerSettings.C.

double ServerSettings::getCkickMargin   const
 

Get method for the 'dCkickMargin' member variable.

Returns:
the corner kick margin, i.e. the minimum distance to the ball for offending players when a corner kick is taken

Definition at line 1162 of file ServerSettings.C.

int ServerSettings::getClangAdviceWin   const
 

Get method for the 'iClangAdviceWin' member variable.

Returns:
the number of advice messages by the coach per time window

Definition at line 1549 of file ServerSettings.C.

int ServerSettings::getClangDefineWin   const
 

Get method for the 'iClangDefineWin' member variable.

Returns:
the number of define messages by the coach per time window

Definition at line 1515 of file ServerSettings.C.

int ServerSettings::getClangInfoWin   const
 

Get method for the 'iClangInfoWin' member variable.

Returns:
the number of info messages by the coach per time window

Definition at line 1566 of file ServerSettings.C.

int ServerSettings::getClangMessDelay   const
 

Get method for the 'iClangMessDelay' member variable.

Returns:
the delay of coach messages, i.e. the number of cycles between the send to a player and the receival of the message

Definition at line 1585 of file ServerSettings.C.

int ServerSettings::getClangMessPerCycle   const
 

Get method for the 'iClangMessPerCycle' member variable.

Returns:
the number of coach messages per cycle

Definition at line 1602 of file ServerSettings.C.

int ServerSettings::getClangMetaWin   const
 

Get method for the 'iClangMetaWin' member variable.

Returns:
the number of meta messages by the coach per time window

Definition at line 1532 of file ServerSettings.C.

int ServerSettings::getClangWinSize   const
 

Get method for the 'iClangWinSize' member variable.

Returns:
time window which controls how many coach messages can be sent

Definition at line 1498 of file ServerSettings.C.

int ServerSettings::getCoachPort   const
 

Get method for the 'iCoachPort' member variable.

Returns:
the port number for a coach connection

Definition at line 1448 of file ServerSettings.C.

double ServerSettings::getDashPowerRate   const
 

Get method for the 'dDashPowerRate' member variable.

Returns:
the rate by which the 'Power' argument in a 'dash' command is multiplied (thus determining the amount of displacement of the player as a result of the 'dash')

Definition at line 1182 of file ServerSettings.C.

Referenced by WorldModel::getPowerForDash(), and WorldModel::predictStateAfterDash().

double ServerSettings::getDashPowerRateDeltaMax   const
 

Get method for the 'dDashPowerRateDeltaMax' member variable.

Returns:
the maximum delta for adjusting dash_power_rate

Definition at line 2079 of file ServerSettings.C.

double ServerSettings::getDashPowerRateDeltaMin   const
 

Get method for the 'dDashPowerRateDeltaMin' member variable.

Returns:
the minimum delta for adjusting dash_power_rate

Definition at line 2062 of file ServerSettings.C.

int ServerSettings::getDropBallTime   const
 

Get method for the 'iDropBallTime' member variable.

Returns:
the number of cycles to wait until dropping the ball automatically for free kicks, corner kicks, etc.

Definition at line 1712 of file ServerSettings.C.

double ServerSettings::getEffortDec   const
 

Get method for the 'dEffortDec' member variable.

Returns:
the decrement step per cycle for player effort capacity

Definition at line 741 of file ServerSettings.C.

Referenced by WorldModel::predictStaminaAfterDash().

double ServerSettings::getEffortDecThr   const
 

Get method for the 'dEffortDecThr' member variable.

Returns:
the percentage of stamina_max below which player effort capacity decreases

Definition at line 724 of file ServerSettings.C.

Referenced by WorldModel::predictStaminaAfterDash().

double ServerSettings::getEffortInc   const
 

Get method for the 'dEffortInc' member variable.

Returns:
the increment step per cycle for player effort capacity

Definition at line 776 of file ServerSettings.C.

Referenced by WorldModel::predictStaminaAfterDash().

double ServerSettings::getEffortIncThr   const
 

Get method for the 'dEffortIncThr' member variable.

Returns:
the percentage of stamina_max above which player effort capacity increases

Definition at line 759 of file ServerSettings.C.

Referenced by WorldModel::predictStaminaAfterDash().

double ServerSettings::getEffortMax   const
 

Get method for the 'dEffortMax' member variable.

Returns:
the maximum player effort capacity

Definition at line 2231 of file ServerSettings.C.

double ServerSettings::getEffortMaxDeltaFactor   const
 

Get method for the 'dEffortMaxDeltaFactor' member variable.

Returns:
the amount by which delta is multiplied for effort_max

Definition at line 2198 of file ServerSettings.C.

double ServerSettings::getEffortMin   const
 

Get method for the 'dEffortMin' member variable.

Returns:
the minimum value for player effort

Definition at line 792 of file ServerSettings.C.

Referenced by WorldModel::predictStaminaAfterDash().

double ServerSettings::getEffortMinDeltaFactor   const
 

Get method for the 'dEffortMinDeltaFactor' member variable.

Returns:
the amount by which delta is multiplied for effort_min

Definition at line 2215 of file ServerSettings.C.

double ServerSettings::getExtraStamina   const
 

Get method for the 'dExtraStamina' member variable.

Returns:
the amount of extra stamina that can be added to the maximum stamina of a player. This value depends on the type of heterogeneous player.

Definition at line 2285 of file ServerSettings.C.

double ServerSettings::getExtraStaminaDeltaMax   const
 

Get method for the 'dExtraStaminaDeltaMax' member variable.

Returns:
the maximum delta for adjusting extra_stamina

Definition at line 2181 of file ServerSettings.C.

double ServerSettings::getExtraStaminaDeltaMin   const
 

Get method for the 'dExtraStaminaDeltaMin' member variable.

Returns:
the minimum delta for adjusting extra_stamina

Definition at line 2164 of file ServerSettings.C.

bool ServerSettings::getForbidKickOffOffside   const
 

Get method for the 'bForbidKickOffOffside' member variable.

Returns:
a boolean flag indicating whether a kick from offside position is allowed

Definition at line 1783 of file ServerSettings.C.

int ServerSettings::getGoalieMaxMoves   const
 

Get method for the 'iGoalieMaxMoves' member variable.

Returns:
the maximum number of 'move' actions allowed for a goalkeeper after a catch

Definition at line 973 of file ServerSettings.C.

double ServerSettings::getGoalWidth   const
 

Get method for the 'dGoalWidth' member variable.

Returns:
the width of the goal

Definition at line 523 of file ServerSettings.C.

Referenced by BasicPlayer::defendGoalLine(), Player::deMeer5(), WorldModel::getGlobalPosition(), WorldModel::getOppGoalieType(), WorldModel::getOwnGoalieType(), WorldModel::getPosOpponentGoal(), WorldModel::getPosOwnGoal(), and WorldModel::isBallHeadingToGoal().

int ServerSettings::getHalfTime   const
 

Get method for the 'iHalfTime' member variable.

Returns:
the length (in seconds) of a single game half

Definition at line 1694 of file ServerSettings.C.

int ServerSettings::getHearDecay   const
 

Get method for the 'iHearDecay' member variable.

Returns:
the decay rate of player hearing capacity, i.e. minimum number of cycles for iHearInc messages

Definition at line 847 of file ServerSettings.C.

Referenced by Player::shallISaySomething().

int ServerSettings::getHearInc   const
 

Get method for the 'iHearInc' member variable.

Returns:
the minimum hearing capacity of a player, i.e. the number of messages a player can hear in iHearDecay simulation cycles

Definition at line 829 of file ServerSettings.C.

int ServerSettings::getHearMax   const
 

Get method for the 'iHearMax' member variable.

Returns:
the maximum hearing capacity of a player (a player can hear iHearInc messages in iHearDecay simulation cycles)

Definition at line 810 of file ServerSettings.C.

double ServerSettings::getInertiaMoment   const
 

Get method for the 'dInertiaMoment' member variable.

Returns:
the inertia moment of a player (affects actual turn angle depending on speed)

Definition at line 865 of file ServerSettings.C.

Referenced by WorldModel::getActualTurnAngle(), and WorldModel::getAngleForTurn().

double ServerSettings::getInertiaMomentDeltaFactor   const
 

Get method for the 'dInertiaMomentDeltaFactor' member variable.

Returns:
the amount by which delta is multiplied for inertia_moment

Definition at line 2045 of file ServerSettings.C.

double ServerSettings::getKickableMargin   const
 

Get method for the 'dKickableMargin' member variable.

Returns:
the margin around a player in which the ball is kickable (kickable area thus equals kickable_margin + ball_size + player_size)

Definition at line 1143 of file ServerSettings.C.

Referenced by WorldModel::getActualKickPowerRate(), BasicPlayer::interceptClose(), and BasicPlayer::kickBallCloseToBody().

double ServerSettings::getKickableMarginDeltaMax   const
 

Get method for the 'dKickableMarginDeltaMax' member variable.

Returns:
the maximum delta for adjusting kickable_margin

Definition at line 2130 of file ServerSettings.C.

double ServerSettings::getKickableMarginDeltaMin   const
 

Get method for the 'dKickableMarginDeltaMin' member variable.

Returns:
the minimum delta for adjusting kickable_margin

Definition at line 2113 of file ServerSettings.C.

double ServerSettings::getKickPowerRate   const
 

Get method for the 'dKickPowerRate' member variable.

Returns:
the rate by which the 'Power' argument in a 'kick' command is multiplied (thus determining the amount of displacement of the ball as a result of the 'kick')

Definition at line 1202 of file ServerSettings.C.

Referenced by WorldModel::getActualKickPowerRate(), and BasicPlayer::kickTo().

double ServerSettings::getKickRand   const
 

Get method for the 'dKickRand' member variable.

Returns:
the random error in kick direction

Definition at line 1218 of file ServerSettings.C.

double ServerSettings::getKickRandDeltaFactor   const
 

Get method for the 'dKickRandDeltaFactor' member variable.

Returns:
the amount by which delta is multiplied for kick_rand

Definition at line 2147 of file ServerSettings.C.

char * ServerSettings::getLogFile  
 

Get method for the 'strLogFile' member variable.

Returns:
name of the server log in which all actions received are stored

Definition at line 1907 of file ServerSettings.C.

bool ServerSettings::getLogTimes   const
 

Get method for the 'bLogTimes' member variable.

Returns:
a boolean flag indicating whether ms should be written between cycles in log file

Definition at line 1890 of file ServerSettings.C.

double ServerSettings::getMaximalKickDist   const
 

Get method for the 'dMaximalKickDist' member variable.

Returns:
the maximum distance from a player for which the ball is still kickable

Definition at line 2303 of file ServerSettings.C.

Referenced by WorldModel::calculateStateBall(), WorldModel::calculateStateBall2(), BasicPlayer::getInterceptionPointBall(), BasicPlayer::interceptClose(), WorldModel::isBallKickable(), WorldModel::predictNrCyclesToPoint(), and WorldModel::updateBallAfterKick().

int ServerSettings::getMaxMoment   const
 

Get method for the 'iMaxMoment' member variable.

Returns:
the maximum angle for a turn/kick

Definition at line 1334 of file ServerSettings.C.

Referenced by WorldModel::getAngleForTurn(), SoccerCommand::makeCatchCommand(), SoccerCommand::makeKickCommand(), and SoccerCommand::makeTurnCommand().

int ServerSettings::getMaxNeckAng   const
 

Get method for the 'iMaxNeckAng' member variable.

Returns:
the maximum neck angle relative to body

Definition at line 1398 of file ServerSettings.C.

Referenced by BasicPlayer::turnNeckToPoint().

int ServerSettings::getMaxNeckMoment   const
 

Get method for the 'iMaxNeckMoment' member variable.

Returns:
the maximum angle for a turnneck

Definition at line 1366 of file ServerSettings.C.

Referenced by SoccerCommand::makeTurnNeckCommand().

int ServerSettings::getMaxPower   const
 

Get method for the 'iMaxPower' member variable.

Returns:
the maximum power for a dash/kick

Definition at line 1302 of file ServerSettings.C.

Referenced by BasicPlayer::accelerateBallToVelocity(), BasicPlayer::freezeBall(), BasicPlayer::getInterceptionPointBall(), WorldModel::getPowerForDash(), BasicPlayer::interceptClose(), BasicPlayer::kickBallCloseToBody(), BasicPlayer::kickTo(), SoccerCommand::makeDashCommand(), and SoccerCommand::makeKickCommand().

int ServerSettings::getMinMoment   const
 

Get method for the 'iMinMoment' member variable.

Returns:
the minimum angle for a turn/kick

Definition at line 1350 of file ServerSettings.C.

Referenced by WorldModel::getAngleForTurn(), SoccerCommand::makeCatchCommand(), SoccerCommand::makeKickCommand(), and SoccerCommand::makeTurnCommand().

int ServerSettings::getMinNeckAng   const
 

Get method for the 'iMinNeckAng' member variable.

Returns:
the minimum neck angle relative to body

Definition at line 1414 of file ServerSettings.C.

Referenced by BasicPlayer::turnNeckToPoint().

int ServerSettings::getMinNeckMoment   const
 

Get method for the 'iMinNeckMoment' member variable.

Returns:
the minimum angle for a turnneck

Definition at line 1382 of file ServerSettings.C.

Referenced by SoccerCommand::makeTurnNeckCommand().

int ServerSettings::getMinPower   const
 

Get method for the 'iMinPower' member variable.

Returns:
the minimum power for a dash/kick

Definition at line 1318 of file ServerSettings.C.

Referenced by WorldModel::getPowerForDash(), SoccerCommand::makeDashCommand(), and SoccerCommand::makeKickCommand().

double ServerSettings::getOffsideActiveAreaSize   const
 

Get method for the 'dOffsideActiveAreaSize' member variable.

Returns:
the offside active area size, i.e. radius of circle around the ball in which player can be offside

Definition at line 1765 of file ServerSettings.C.

double ServerSettings::getOffsideKickMargin   const
 

Get method for the 'dOffsideKickMargin' member variable.

Returns:
the offside kick margin, i.e. the minimum distance to the ball for offending players when a free kick for offside is taken

Definition at line 1802 of file ServerSettings.C.

double ServerSettings::getPlayerAccelMax   const
 

Get method for the 'dPlayerAccelMax' member variable.

Returns:
the maximum acceleration of a player per cycle

Definition at line 623 of file ServerSettings.C.

double ServerSettings::getPlayerDecay   const
 

Get method for the 'dPlayerDecay' member variable.

Returns:
the player speed decay per cycle

Definition at line 558 of file ServerSettings.C.

Referenced by WorldModel::calculateStateAgent(), BasicPlayer::getInterceptionPointBall(), WorldModel::predictStateAfterDash(), WorldModel::updateAgentAndBallAfterSense(), and WorldModel::updateDynamicObjectForNextCycle().

double ServerSettings::getPlayerDecayDeltaMax   const
 

Get method for the 'dPlayerDecayDeltaMax' member variable.

Returns:
the maximum delta for adjusting player_decay

Definition at line 2028 of file ServerSettings.C.

double ServerSettings::getPlayerDecayDeltaMin   const
 

Get method for the 'dPlayerDecayDeltaMin' member variable.

Returns:
the minimum delta for adjusting player_decay

Definition at line 2011 of file ServerSettings.C.

double ServerSettings::getPlayerRand   const
 

Get method for the 'dPlayerRand' member variable.

Returns:
the random error in player movement

Definition at line 574 of file ServerSettings.C.

Referenced by WorldModel::calculateStatePlayer().

double ServerSettings::getPlayerSize   const
 

Get method for the 'dPlayerSize' member variable.

Returns:
the size (=radius) of a player

Definition at line 542 of file ServerSettings.C.

Referenced by WorldModel::getActualKickPowerRate(), BasicPlayer::interceptClose(), WorldModel::isCollisionAfterDash(), BasicPlayer::kickBallCloseToBody(), and WorldModel::updateBallForCollision().

double ServerSettings::getPlayerSizeDeltaFactor   const
 

Get method for the 'dPlayerSizeDeltaFactor' member variable.

Returns:
the amount by which delta is multiplied for player_size

Definition at line 2096 of file ServerSettings.C.

double ServerSettings::getPlayerSpeedMax   const
 

Get method for the 'dPlayerSpeedMax' member variable.

Returns:
the maximum speed of a player

Definition at line 606 of file ServerSettings.C.

Referenced by WorldModel::calculateStatePlayer(), WorldModel::getFastestInSetTo(), WorldModel::getPowerForDash(), BasicPlayer::interceptClose(), BasicPlayer::interceptCloseGoalie(), WorldModel::predictNrCyclesToPoint(), and WorldModel::predictStateAfterDash().

double ServerSettings::getPlayerSpeedMaxDeltaMax   const
 

Get method for the 'dPlayerSpeedMaxDeltaMax' member variable.

Returns:
the maximum delta for adjusting player_speed_max

Definition at line 1977 of file ServerSettings.C.

double ServerSettings::getPlayerSpeedMaxDeltaMin   const
 

Get method for the 'dPlayerSpeedMaxDeltaMin' member variable.

Returns:
the minimum delta for adjusting player_speed_max

Definition at line 1960 of file ServerSettings.C.

int ServerSettings::getPlayerTypes   const
 

Get method for the 'iPlayerTypes' member variable.

Returns:
the number of player types including the default player type

Definition at line 1924 of file ServerSettings.C.

double ServerSettings::getPlayerWeight   const
 

Get method for the 'dPlayerWeight' member variable.

Returns:
the weight of a player (for wind)

Definition at line 590 of file ServerSettings.C.

int ServerSettings::getPort   const
 

Get method for the 'iPort' member variable.

Returns:
the port number for a player connection

Definition at line 1431 of file ServerSettings.C.

Referenced by main().

double ServerSettings::getQuantizeStep   const
 

Get method for the 'dQuantizeStep' member variable.

Returns:
the quantization step for the distance of moving objects

Definition at line 1269 of file ServerSettings.C.

double ServerSettings::getQuantizeStepL   const
 

Get method for the 'dQuantizeStepL' member variable.

Returns:
the quantization step for the distance of landmarks

Definition at line 1286 of file ServerSettings.C.

Referenced by WorldModel::calculateStateAgent2(), WorldModel::checkParticlesAgent(), and WorldModel::initParticlesAgent().

bool ServerSettings::getRecordLog   const
 

Get method for the 'bRecordLog' member variable.

Returns:
a boolean flag indicating whether a log record for a game should be created

Definition at line 1854 of file ServerSettings.C.

int ServerSettings::getRecordVersion   const
 

Get method for the 'iRecordVersion' member variable.

Returns:
the type of log record

Definition at line 1836 of file ServerSettings.C.

double ServerSettings::getRecoverDec   const
 

Get method for the 'dRecoverDec' member variable.

Returns:
the decrement step per cycle for player recovery

Definition at line 690 of file ServerSettings.C.

Referenced by WorldModel::predictStaminaAfterDash().

double ServerSettings::getRecoverDecThr   const
 

Get method for the 'dRecoverDecThr' member variable.

Returns:
percentage of stamina_max below which player recovery decreases

Definition at line 673 of file ServerSettings.C.

Referenced by Player::deMeer5(), and WorldModel::predictStaminaAfterDash().

double ServerSettings::getRecoverMin   const
 

Get method for the 'dRecoverMin' member variable.

Returns:
the minimum player recovery

Definition at line 706 of file ServerSettings.C.

Referenced by WorldModel::predictStaminaAfterDash().

int ServerSettings::getRecvStep   const
 

Get method for the 'iRecvStep' member variable.

Returns:
the length of the interval (in ms) for accepting commands from a player

Definition at line 1677 of file ServerSettings.C.

int ServerSettings::getSayCoachCntMax   const
 

Get method for the 'iSayCoachCntMax' member variable.

Returns:
the maximum number of coach messages possible

Definition at line 1465 of file ServerSettings.C.

int ServerSettings::getSayCoachMsgSize   const
 

Get method for the 'iSayCoachMsgSize' member variable.

Returns:
the maximum size of coach messages

Definition at line 1481 of file ServerSettings.C.

int ServerSettings::getSayMsgSize   const
 

Get method for the 'iSayMsgSize' member variable.

Returns:
the maximum length (in bytes) of a spoken message

Definition at line 1729 of file ServerSettings.C.

bool ServerSettings::getSendLog   const
 

Get method for the 'bSendLog' member variable.

Returns:
a boolean flag indicating whether a send client command log for a game should be created

Definition at line 1872 of file ServerSettings.C.

int ServerSettings::getSendStep   const
 

Get method for the 'iSendStep' member variable.

Returns:
the length of the interval (in ms) between visual messages to a player in the standard view mode

Definition at line 1658 of file ServerSettings.C.

References iSendStep, and iSlowDownFactor.

int ServerSettings::getSendViStep   const
 

Get method for the 'iSendViStep' member variable.

Returns:
the interval of the coach's look, i.e. the length of the interval (in ms) between visual messages to the coach

Definition at line 1621 of file ServerSettings.C.

References iSendViStep, and iSlowDownFactor.

int ServerSettings::getSenseBodyStep   const
 

Get method for the 'iSenseBodyStep' member variable.

Returns:
the length of the interval (in ms) between sense_body information messages

Definition at line 883 of file ServerSettings.C.

References iSenseBodyStep, and iSlowDownFactor.

int ServerSettings::getSimulatorStep   const
 

Get method for the 'iSimulatorStep' member variable.

Returns:
the length (in ms) of a simulator cycle

Definition at line 1639 of file ServerSettings.C.

References iSimulatorStep, and iSlowDownFactor.

Referenced by ActHandler::sendMessage(), and SenseHandler::SenseHandler().

int ServerSettings::getSlowDownFactor   const
 

Get method for the 'iSlowDownFactor' member variable.

Returns:
the factor to slow down the simulator and send intervals

Definition at line 2248 of file ServerSettings.C.

double ServerSettings::getStaminaIncMax   const
 

Get method for the 'dStaminaIncMax' member variable.

Returns:
the maximum stamina increase of a player per cycle

Definition at line 656 of file ServerSettings.C.

Referenced by WorldModel::predictStaminaAfterDash().

double ServerSettings::getStaminaIncMaxDeltaFactor   const
 

Get method for the 'dStaminaIncMaxDeltaFactor' member variable.

Returns:
the amount by which delta is multiplied for stamina_inc_max

Definition at line 1994 of file ServerSettings.C.

double ServerSettings::getStaminaMax   const
 

Get method for the 'dStaminaMax' member variable.

Returns:
the maximum stamina of a player

Definition at line 639 of file ServerSettings.C.

Referenced by Player::deMeer5(), WorldModel::predictStaminaAfterDash(), and WorldModel::WorldModel().

int ServerSettings::getSubsMax   const
 

Get method for the 'iSubsMax' member variable.

Returns:
the maximum number of substitutions allowed during a game (this value also indicates the maximum number of players allowed for each type)

Definition at line 1943 of file ServerSettings.C.

bool ServerSettings::getUseOffside   const
 

Get method for the 'bUseOffside' member variable.

Returns:
a boolean flag indicating whether the offside rule should be applied or not

Definition at line 1747 of file ServerSettings.C.

bool ServerSettings::getVerbose   const
 

Get method for the 'bVerbose' member variable.

Returns:
a boolean flag indicating whether the verbose mode is active or not; in verbose mode the server sends extra error-information

Definition at line 1820 of file ServerSettings.C.

double ServerSettings::getVisibleAngle   const
 

Get method for the 'dVisibleAngle' member variable.

Returns:
the angle of the view cone of a player in the standard view mode

Definition at line 1235 of file ServerSettings.C.

double ServerSettings::getVisibleDistance   const
 

Get method for the 'dVisibleDistance' member variable.

Returns:
the distance within which objects are always 'visible' (even when not in view cone)

Definition at line 2266 of file ServerSettings.C.

Referenced by WorldModel::calculateStateBall(), WorldModel::calculateStateBall2(), and WorldModel::mapUnknownPlayers().

double ServerSettings::getWindDir   const
 

Get method for the 'dWindDir' member variable.

Returns:
the direction of the wind

Definition at line 1105 of file ServerSettings.C.

double ServerSettings::getWindForce   const
 

Get method for the 'dWindForce' member variable.

Returns:
the force of the wind

Definition at line 1089 of file ServerSettings.C.

double ServerSettings::getWindRand   const
 

Get method for the 'dWindRand' member variable.

Returns:
the random error in wind direction

Definition at line 1121 of file ServerSettings.C.

bool ServerSettings::readValues char *    strFileName,
char *    strSeparator
 

This method is originally defined in the superclass GenericValues and is overridden in this subclass. It reads the values from a server configuration file and assigns them to the proper variables in this class.

Parameters:
strFileName  a string representing the name of a configuration file
strSeparator  a string representing the separator between the name of a variable and its value
Returns:
a boolean indicating whether the values were read correctly

Definition at line 502 of file ServerSettings.C.

References dBallSize, dKickableMargin, dMaximalKickDist, dPlayerSize, and GenericValues::readValues().

Referenced by main().

bool ServerSettings::setAudioCutDist double    d
 

Set method for the 'dAudioCutDist' member variable.

Parameters:
d  a double value representing a new maximum distance over which a spoken message can be heard
Returns:
a boolean indicating whether the update was successful

Definition at line 1244 of file ServerSettings.C.

References dAudioCutDist.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setBallAccelMax double    d
 

Set method for the 'dBallAccelMax' member variable.

Parameters:
d  a double value representing a new maximum acceleration of the ball per cycle
Returns:
a boolean indicating whether the update was successful

Definition at line 1065 of file ServerSettings.C.

References dBallAccelMax.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setBallDecay double    d
 

Set method for the 'dBallDecay' member variable.

Parameters:
d  a double value representing a new ball speed decay per cycle
Returns:
a boolean indicating whether the update was successful

Definition at line 1000 of file ServerSettings.C.

References dBallDecay.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setBallRand double    d
 

Set method for the 'dBallRand' member variable.

Parameters:
d  a double value representing a new random error in the ball movement
Returns:
a boolean indicating whether the update was successful

Definition at line 1016 of file ServerSettings.C.

References dBallRand.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setBallSize double    d
 

Set method for the 'dBallSize' member variable.

Parameters:
d  a double value representing a new ball size
Returns:
a boolean indicating whether the update was successful

Definition at line 981 of file ServerSettings.C.

References dBallSize, dKickableMargin, dMaximalKickDist, and dPlayerSize.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setBallSpeedMax double    d
 

Set method for the 'dBallSpeedMax' member variable.

Parameters:
d  a double value representing a new maximum speed of the ball
Returns:
a boolean indicating whether the update was successful

Definition at line 1048 of file ServerSettings.C.

References dBallSpeedMax.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setBallWeight double    d
 

Set method for the 'dBallWeight' member variable.

Parameters:
d  a double value representing a new weight of the ball (for wind)
Returns:
a boolean indicating whether the update was successful

Definition at line 1032 of file ServerSettings.C.

References dBallWeight.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setCatchableAreaL double    d
 

Set method for the 'dCatchableAreaL' member variable.

Parameters:
d  a double value representing a new length of the area around the goalkeeper in which he can catch the ball
Returns:
a boolean indicating whether the update was successful

Definition at line 893 of file ServerSettings.C.

References dCatchableAreaL.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setCatchableAreaW double    d
 

Set method for the 'dCatchableAreaW' member variable.

Parameters:
d  a double value representing a new width of the area around the goalkeeper in which he can catch the ball
Returns:
a boolean indicating whether the update was successful

Definition at line 911 of file ServerSettings.C.

References dCatchableAreaW.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setCatchBanCycle int    i
 

Set method for the 'iCatchBanCycle' member variable.

Parameters:
i  an integer value representing a new number of cycles after a catch in which the goalkeeper cannot catch again
Returns:
a boolean indicating whether the update was successful

Definition at line 946 of file ServerSettings.C.

References iCatchBanCycle.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setCatchProbability double    d
 

Set method for the 'dCatchProbability' member variable.

Parameters:
d  a double value representing a new probability for a goalkeeper to catch the ball
Returns:
a boolean indicating whether the update was successful

Definition at line 929 of file ServerSettings.C.

References dCatchProbability.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setCkickMargin double    d
 

Set method for the 'dCkickMargin' member variable.

Parameters:
d  a double value representing a new corner kick margin, i.e. a new minimum distance to the ball for offending players when a corner kick is taken
Returns:
a boolean indicating whether the update was successful

Definition at line 1153 of file ServerSettings.C.

References dCkickMargin.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setClangAdviceWin int    i
 

Set method for the 'iClangAdviceWin' member variable.

Parameters:
i  an integer value representing a new number of advice messages by the coach per time window
Returns:
a boolean indicating whether the update was successful

Definition at line 1541 of file ServerSettings.C.

References iClangAdviceWin.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setClangDefineWin int    i
 

Set method for the 'iClangDefineWin' member variable.

Parameters:
i  an integer value representing a new number of define messages by the coach per time window
Returns:
a boolean indicating whether the update was successful

Definition at line 1507 of file ServerSettings.C.

References iClangDefineWin.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setClangInfoWin int    i
 

Set method for the 'iClangInfoWin' member variable.

Parameters:
i  an integer value representing a new number of info messages by the coach per time window
Returns:
a boolean indicating whether the update was successful

Definition at line 1558 of file ServerSettings.C.

References iClangInfoWin.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setClangMessDelay int    i
 

Set method for the 'iClangMessDelay' member variable.

Parameters:
i  an integer value representing a new delay of coach messages, i.e. a new number of cycles between the send to a player and the receival of the message
Returns:
a boolean indicating whether the update was successful

Definition at line 1576 of file ServerSettings.C.

References iClangMessDelay.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setClangMessPerCycle int    i
 

Set method for the 'iClangMessPerCycle' member variable.

Parameters:
i  an integer value representing a new number of coach messages per cycle
Returns:
a boolean indicating whether the update was successful

Definition at line 1594 of file ServerSettings.C.

References iClangMessPerCycle.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setClangMetaWin int    i
 

Set method for the 'iClangMetaWin' member variable.

Parameters:
i  an integer value representing a new number of meta messages by the coach per time window
Returns:
a boolean indicating whether the update was successful

Definition at line 1524 of file ServerSettings.C.

References iClangMetaWin.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setClangWinSize int    i
 

Set method for the 'iClangWinSize' member variable.

Parameters:
i  an integer value representing a new time window which controls how many coach messages can be sent
Returns:
a boolean indicating whether the update was successful

Definition at line 1490 of file ServerSettings.C.

References iClangWinSize.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setCoachPort int    i
 

Set method for the 'iCoachPort' member variable.

Parameters:
i  an integer value representing a new port number for a coach connection
Returns:
a boolean indicating whether the update was successful

Definition at line 1440 of file ServerSettings.C.

References iCoachPort.

bool ServerSettings::setDashPowerRate double    d
 

Set method for the 'dDashPowerRate' member variable.

Parameters:
d  a double value representing a new rate by which the 'Power' argument in a 'dash' command is multiplied (thus determining the amount of displacement of the player as a result of the 'dash')
Returns:
a boolean indicating whether the update was successful

Definition at line 1172 of file ServerSettings.C.

References dDashPowerRate.

Referenced by SenseHandler::analyzeServerParamMessage(), and WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setDashPowerRateDeltaMax double    d
 

Set method for the 'dDashPowerRateDeltaMax' member variable.

Parameters:
d  a double value representing a new maximum delta for adjusting dash_power_rate
Returns:
a boolean indicating whether the update was successful

Definition at line 2071 of file ServerSettings.C.

References dDashPowerRateDeltaMax.

bool ServerSettings::setDashPowerRateDeltaMin double    d
 

Set method for the 'dDashPowerRateDeltaMin' member variable.

Parameters:
d  a double value representing a new minimum delta for adjusting dash_power_rate
Returns:
a boolean indicating whether the update was successful

Definition at line 2054 of file ServerSettings.C.

References dDashPowerRateDeltaMin.

bool ServerSettings::setDropBallTime int    i
 

Set method for the 'iDropBallTime' member variable.

Parameters:
i  an integer value representing a new number of cycles to wait until dropping the ball automatically for free kicks, corner kicks, etc.
Returns:
a boolean indicating whether the update was successful

Definition at line 1703 of file ServerSettings.C.

References iDropBallTime.

bool ServerSettings::setEffortDec double    d
 

Set method for the 'dEffortDec' member variable.

Parameters:
d  a double value representing a new decrement step per cycle for player effort capacity
Returns:
a boolean indicating whether the update was successful

Definition at line 733 of file ServerSettings.C.

References dEffortDec.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setEffortDecThr double    d
 

Set method for the 'dEffortDecThr' member variable.

Parameters:
d  a double value representing a new percentage of stamina_max below which player effort capacity decreases
Returns:
a boolean indicating whether the update was successful

Definition at line 715 of file ServerSettings.C.

References dEffortDecThr.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setEffortInc double    d
 

Set method for the 'dEffortInc' member variable.

Parameters:
d  a double value representing a new increment step per cycle for player effort capacity
Returns:
a boolean indicating whether the update was successful

Definition at line 768 of file ServerSettings.C.

References dEffortInc.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setEffortIncThr double    d
 

Set method for the 'dEffortIncThr' member variable.

Parameters:
d  a double value representing a new percentage of stamina_max above which player effort capacity increases
Returns:
a boolean indicating whether the update was successful

Definition at line 750 of file ServerSettings.C.

References dEffortIncThr.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setEffortMax double    d
 

Set method for the 'dEffortMax' member variable.

Parameters:
d  a double value representing a new maximum player effort capacity
Returns:
a boolean indicating whether the update was successful

Definition at line 2223 of file ServerSettings.C.

References dEffortMax.

Referenced by WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setEffortMaxDeltaFactor double    d
 

Set method for the 'dEffortMaxDeltaFactor' member variable.

Parameters:
d  a double value representing a new amount by which delta is multiplied for effort_max
Returns:
a boolean indicating whether the update was successful

Definition at line 2190 of file ServerSettings.C.

References dEffortMaxDeltaFactor.

bool ServerSettings::setEffortMin double    d
 

Set method for the 'dEffortMin' member variable.

Parameters:
d  a double value representing a new minimum value for player effort
Returns:
a boolean indicating whether the update was successful

Definition at line 784 of file ServerSettings.C.

References dEffortMin.

Referenced by SenseHandler::analyzeServerParamMessage(), and WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setEffortMinDeltaFactor double    d
 

Set method for the 'dEffortMinDeltaFactor' member variable.

Parameters:
d  a double value representing a new amount by which delta is multiplied for effort_min
Returns:
a boolean indicating whether the update was successful

Definition at line 2207 of file ServerSettings.C.

References dEffortMinDeltaFactor.

bool ServerSettings::setExtraStamina double    d
 

Set method for the 'dExtraStamina' member variable.

Parameters:
d  a double value representing a new amount of extra stamina that can be added to the maximum stamina of a player. This value depends on the type of heterogeneous player.
Returns:
a boolean indicating whether the update was successful

Definition at line 2276 of file ServerSettings.C.

References dExtraStamina.

Referenced by WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setExtraStaminaDeltaMax double    d
 

Set method for the 'dExtraStaminaDeltaMax' member variable.

Parameters:
d  a double value representing a new maximum delta for adjusting extra_stamina
Returns:
a boolean indicating whether the update was successful

Definition at line 2173 of file ServerSettings.C.

References dExtraStaminaDeltaMax.

bool ServerSettings::setExtraStaminaDeltaMin double    d
 

Set method for the 'dExtraStaminaDeltaMin' member variable.

Parameters:
d  a double value representing a new minimum delta for adjusting extra_stamina
Returns:
a boolean indicating whether the update was successful

Definition at line 2156 of file ServerSettings.C.

References dExtraStaminaDeltaMin.

bool ServerSettings::setForbidKickOffOffside bool    b
 

Set method for the 'bForbidKickOffOffside' member variable.

Parameters:
b  a boolean value indicating whether a kick from offside position is allowed
Returns:
a boolean indicating whether the update was successful

Definition at line 1774 of file ServerSettings.C.

References bForbidKickOffOffside.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setGoalieMaxMoves int    i
 

Set method for the 'iGoalieMaxMoves' member variable.

Parameters:
i  an integer value representing a new maximum number of 'move' actions allowed for a goalkeeper after a catch
Returns:
a boolean indicating whether the update was successful

Definition at line 964 of file ServerSettings.C.

References iGoalieMaxMoves.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setGoalWidth double    d
 

Set method for the 'dGoalWidth' member variable.

Parameters:
d  a double value representing a new width of the goal
Returns:
a boolean indicating whether the update was successful

Definition at line 515 of file ServerSettings.C.

References dGoalWidth.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setHalfTime int    i
 

Set method for the 'iHalfTime' member variable.

Parameters:
i  an integer value representing a new length (in seconds) of a single game half
Returns:
a boolean indicating whether the update was successful

Definition at line 1686 of file ServerSettings.C.

References iHalfTime.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setHearDecay int    i
 

Set method for the 'iHearDecay' member variable.

Parameters:
i  an integer value representing a new decay rate of player hearing capacity, i.e. minimum number of cycles for iHearInc messages
Returns:
a boolean indicating whether the update was successful

Definition at line 838 of file ServerSettings.C.

References iHearDecay.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setHearInc int    i
 

Set method for the 'iHearInc' member variable.

Parameters:
i  an integer value representing a new minimum hearing capacity of a player, i.e. the number of messages a player can hear in iHearDecay simulation cycles
Returns:
a boolean indicating whether the update was successful

Definition at line 820 of file ServerSettings.C.

References iHearInc.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setHearMax int    i
 

Set method for the 'iHearMax' member variable.

Parameters:
i  an integer value representing a new maximum hearing capacity of a player (a player can hear iHearInc messages in iHearDecay simulation cycles)
Returns:
a boolean indicating whether the update was successful

Definition at line 801 of file ServerSettings.C.

References iHearMax.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setInertiaMoment double    d
 

Set method for the 'dInertiaMoment' member variable.

Parameters:
d  a double value representing a new inertia moment of a player (affects actual turn angle depending on speed)
Returns:
a boolean indicating whether the update was successful

Definition at line 856 of file ServerSettings.C.

References dInertiaMoment.

Referenced by SenseHandler::analyzeServerParamMessage(), and WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setInertiaMomentDeltaFactor double    d
 

Set method for the 'dInertiaMomentDeltaFactor' member variable.

Parameters:
d  a double value representing a new amount by which delta is multiplied for inertia_moment
Returns:
a boolean indicating whether the update was successful

Definition at line 2037 of file ServerSettings.C.

References dInertiaMomentDeltaFactor.

bool ServerSettings::setKickableMargin double    d
 

Set method for the 'dKickableMargin' member variable.

Parameters:
d  a double value representing a new margin around a player in which the ball is kickable (kickable area thus equals kickable_margin + ball_size + player_size)
Returns:
a boolean indicating whether the update was successful

Definition at line 1131 of file ServerSettings.C.

References dBallSize, dKickableMargin, dMaximalKickDist, and dPlayerSize.

Referenced by SenseHandler::analyzeServerParamMessage(), and WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setKickableMarginDeltaMax double    d
 

Set method for the 'dKickableMarginDeltaMax' member variable.

Parameters:
d  a double value representing a new maximum delta for adjusting kickable_margin
Returns:
a boolean indicating whether the update was successful

Definition at line 2122 of file ServerSettings.C.

References dKickableMarginDeltaMax.

bool ServerSettings::setKickableMarginDeltaMin double    d
 

Set method for the 'dKickableMarginDeltaMin' member variable.

Parameters:
d  a double value representing a new minimum delta for adjusting kickable_margin
Returns:
a boolean indicating whether the update was successful

Definition at line 2105 of file ServerSettings.C.

References dKickableMarginDeltaMin.

bool ServerSettings::setKickPowerRate double    d
 

Set method for the 'dKickPowerRate' member variable.

Parameters:
d  a double value representing a new rate by which the 'Power' argument in a 'kick' command is multiplied (thus determining the amount of displacement of the ball as a result of the 'kick')
Returns:
a boolean indicating whether the update was successful

Definition at line 1192 of file ServerSettings.C.

References dKickPowerRate.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setKickRand double    d
 

Set method for the 'dKickRand' member variable.

Parameters:
d  a double value representing a new random error in kick direction
Returns:
a boolean indicating whether the update was successful

Definition at line 1210 of file ServerSettings.C.

References dKickRand.

Referenced by SenseHandler::analyzeServerParamMessage(), and WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setKickRandDeltaFactor double    d
 

Set method for the 'dKickRandDeltaFactor' member variable.

Parameters:
d  a double value representing a new amount by which delta is multiplied for kick_rand
Returns:
a boolean indicating whether the update was successful

Definition at line 2139 of file ServerSettings.C.

References dKickRandDeltaFactor.

bool ServerSettings::setLogFile char *    str
 

Set method for the 'strLogFile' member variable.

Parameters:
str  a string representing a new server log to store all actions received
Returns:
a boolean indicating whether the update was successful

Definition at line 1899 of file ServerSettings.C.

References strLogFile.

bool ServerSettings::setLogTimes bool    b
 

Set method for the 'bLogTimes' member variable.

Parameters:
b  a boolean value indicating whether ms should be written between cycles in log file
Returns:
a boolean indicating whether the update was successful

Definition at line 1881 of file ServerSettings.C.

References bLogTimes.

bool ServerSettings::setMaximalKickDist double    d
 

Set method for the 'dMaximalKickDist' member variable.

Parameters:
d  a double value representing a new maximum distance from a player for which the ball is still kickable
Returns:
a boolean indicating whether the update was successful

Definition at line 2294 of file ServerSettings.C.

References dMaximalKickDist.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setMaxMoment int    i
 

Set method for the 'iMaxMoment' member variable.

Parameters:
i  an integer value representing a new maximum angle for a turn/kick
Returns:
a boolean indicating whether the update was successful

Definition at line 1326 of file ServerSettings.C.

References iMaxMoment.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setMaxNeckAng int    i
 

Set method for the 'iMaxNeckAng' member variable.

Parameters:
i  an integer value representing a new maximum neck angle rel. to body
Returns:
a boolean indicating whether the update was successful

Definition at line 1390 of file ServerSettings.C.

References iMaxNeckAng.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setMaxNeckMoment int    i
 

Set method for the 'iMaxNeckMoment' member variable.

Parameters:
i  an integer value representing a new maximum angle for a turnneck
Returns:
a boolean indicating whether the update was successful

Definition at line 1358 of file ServerSettings.C.

References iMaxNeckMoment.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setMaxPower int    i
 

Set method for the 'iMaxPower' member variable.

Parameters:
i  an integer value representing a new maximum power for a dash/kick
Returns:
a boolean indicating whether the update was successful

Definition at line 1294 of file ServerSettings.C.

References iMaxPower.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setMinMoment int    i
 

Set method for the 'iMinMoment' member variable.

Parameters:
i  an integer value representing a new minimum angle for a turn/kick
Returns:
a boolean indicating whether the update was successful

Definition at line 1342 of file ServerSettings.C.

References iMinMoment.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setMinNeckAng int    i
 

Set method for the 'iMinNeckAng' member variable.

Parameters:
i  an integer value representing a new minimum neck angle rel. to body
Returns:
a boolean indicating whether the update was successful

Definition at line 1406 of file ServerSettings.C.

References iMinNeckAng.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setMinNeckMoment int    i
 

Set method for the 'iMinNeckMoment' member variable.

Parameters:
i  an integer value representing a new minimum angle for a turnneck
Returns:
a boolean indicating whether the update was successful

Definition at line 1374 of file ServerSettings.C.

References iMinNeckMoment.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setMinPower int    i
 

Set method for the 'iMinPower' member variable.

Parameters:
i  an integer value representing a new minimum power for a dash/kick
Returns:
a boolean indicating whether the update was successful

Definition at line 1310 of file ServerSettings.C.

References iMinPower.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setOffsideActiveAreaSize double    d
 

Set method for the 'dOffsideActiveAreaSize' member variable.

Parameters:
d  a double value representing a new offside active area size, i.e. radius of circle around the ball in which player can be offside
Returns:
a boolean indicating whether the update was successful

Definition at line 1756 of file ServerSettings.C.

References dOffsideActiveAreaSize.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setOffsideKickMargin double    d
 

Set method for the 'dOffsideKickMargin' member variable.

Parameters:
d  a double value representing a new offside kick margin, i.e. a new minimum distance to the ball for offending players when a free kick for offside is taken
Returns:
a boolean indicating whether the update was successful

Definition at line 1793 of file ServerSettings.C.

References dOffsideKickMargin.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setPlayerAccelMax double    d
 

Set method for the 'dPlayerAccelMax' member variable.

Parameters:
d  a double value representing a new maximum acceleration of a player per cycle
Returns:
a boolean indicating whether the update was successful

Definition at line 615 of file ServerSettings.C.

References dPlayerAccelMax.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setPlayerDecay double    d
 

Set method for the 'dPlayerDecay' member variable.

Parameters:
d  a double value representing a new player speed decay per cycle
Returns:
a boolean indicating whether the update was successful

Definition at line 550 of file ServerSettings.C.

References dPlayerDecay.

Referenced by SenseHandler::analyzeServerParamMessage(), and WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setPlayerDecayDeltaMax double    d
 

Set method for the 'dPlayerDecayDeltaMax' member variable.

Parameters:
d  a double value representing a new maximum delta for adjusting player_decay
Returns:
a boolean indicating whether the update was successful

Definition at line 2020 of file ServerSettings.C.

References dPlayerDecayDeltaMax.

bool ServerSettings::setPlayerDecayDeltaMin double    d
 

Set method for the 'dPlayerDecayDeltaMin' member variable.

Parameters:
d  a double value representing a new minimum delta for adjusting player_decay
Returns:
a boolean indicating whether the update was successful

Definition at line 2003 of file ServerSettings.C.

References dPlayerDecayDeltaMin.

bool ServerSettings::setPlayerRand double    d
 

Set method for the 'dPlayerRand' member variable.

Parameters:
d  a double value representing a new random error in player movement
Returns:
a boolean indicating whether the update was successful

Definition at line 566 of file ServerSettings.C.

References dPlayerRand.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setPlayerSize double    d
 

Set method for the 'dPlayerSize' member variable.

Parameters:
d  a double value representing a new player size
Returns:
a boolean indicating whether the update was successful

Definition at line 531 of file ServerSettings.C.

References dBallSize, dKickableMargin, dMaximalKickDist, and dPlayerSize.

Referenced by SenseHandler::analyzeServerParamMessage(), and WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setPlayerSizeDeltaFactor double    d
 

Set method for the 'dPlayerSizeDeltaFactor' member variable.

Parameters:
d  a double value representing a new amount by which delta is multiplied for player_size
Returns:
a boolean indicating whether the update was successful

Definition at line 2088 of file ServerSettings.C.

References dPlayerSizeDeltaFactor.

bool ServerSettings::setPlayerSpeedMax double    d
 

Set method for the 'dPlayerSpeedMax' member variable.

Parameters:
d  a double value representing a new maximum speed of a player
Returns:
a boolean indicating whether the update was successful

Definition at line 598 of file ServerSettings.C.

References dPlayerSpeedMax.

Referenced by SenseHandler::analyzeServerParamMessage(), and WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setPlayerSpeedMaxDeltaMax double    d
 

Set method for the 'dPlayerSpeedMaxDeltaMax' member variable.

Parameters:
d  a double value representing a new maximum delta for adjusting player_speed_max
Returns:
a boolean indicating whether the update was successful

Definition at line 1969 of file ServerSettings.C.

References dPlayerSpeedMaxDeltaMax.

bool ServerSettings::setPlayerSpeedMaxDeltaMin double    d
 

Set method for the 'dPlayerSpeedMaxDeltaMin' member variable.

Parameters:
d  a double value representing a new minimum delta for adjusting player_speed_max
Returns:
a boolean indicating whether the update was successful

Definition at line 1952 of file ServerSettings.C.

References dPlayerSpeedMaxDeltaMin.

bool ServerSettings::setPlayerTypes int    i
 

Set method for the 'iPlayerTypes' member variable.

Parameters:
i  an integer value representing a new number of player types including the default player type
Returns:
a boolean indicating whether the update was successful

Definition at line 1916 of file ServerSettings.C.

References iPlayerTypes.

bool ServerSettings::setPlayerWeight double    d
 

Set method for the 'dPlayerWeight' member variable.

Parameters:
d  a double value representing a new weight of a player (for wind)
Returns:
a boolean indicating whether the update was successful

Definition at line 582 of file ServerSettings.C.

References dPlayerWeight.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setPort int    i
 

Set method for the 'iPort' member variable.

Parameters:
i  an integer value representing a new port number for a player connection
Returns:
a boolean indicating whether the update was successful

Definition at line 1423 of file ServerSettings.C.

References iPort.

bool ServerSettings::setQuantizeStep double    d
 

Set method for the 'dQuantizeStep' member variable.

Parameters:
d  a double value representing a new quantization step for the distance of moving objects
Returns:
a boolean indicating whether the update was successful

Definition at line 1261 of file ServerSettings.C.

References dQuantizeStep.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setQuantizeStepL double    d
 

Set method for the 'dQuantizeStepL' member variable.

Parameters:
d  a double value representing a new quantization step for the distance of landmarks
Returns:
a boolean indicating whether the update was successful

Definition at line 1278 of file ServerSettings.C.

References dQuantizeStepL.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setRecordLog bool    b
 

Set method for the 'bRecordLog' member variable.

Parameters:
b  a boolean value indicating whether a log record for a game should be created
Returns:
a boolean indicating whether the update was successful

Definition at line 1845 of file ServerSettings.C.

References bRecordLog.

bool ServerSettings::setRecordVersion int    i
 

Set method for the 'iRecordVersion' member variable.

Parameters:
i  an integer value representing a new type of log record
Returns:
a boolean indicating whether the update was successful

Definition at line 1828 of file ServerSettings.C.

References iRecordVersion.

bool ServerSettings::setRecoverDec double    d
 

Set method for the 'dRecoverDec' member variable.

Parameters:
d  a double value representing a new decrement step per cycle for player recovery
Returns:
a boolean indicating whether the update was successful

Definition at line 682 of file ServerSettings.C.

References dRecoverDec.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setRecoverDecThr double    d
 

Set method for the 'dRecoverDecThr' member variable.

Parameters:
d  a double value representing a new percentage of stamina_max below which player recovery decreases
Returns:
a boolean indicating whether the update was successful

Definition at line 665 of file ServerSettings.C.

References dRecoverDecThr.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setRecoverMin double    d
 

Set method for the 'dRecoverMin' member variable.

Parameters:
d  a double value representing a new minimum player recovery
Returns:
a boolean indicating whether the update was successful

Definition at line 698 of file ServerSettings.C.

References dRecoverMin.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setRecvStep int    i
 

Set method for the 'iRecvStep' member variable.

Parameters:
i  an integer value representing a new length of the interval (in ms) for accepting commands from a player
Returns:
a boolean indicating whether the update was successful

Definition at line 1668 of file ServerSettings.C.

References iRecvStep.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setSayCoachCntMax int    i
 

Set method for the 'iSayCoachCntMax' member variable.

Parameters:
i  an integer value representing a new maximum number of coach messages possible
Returns:
a boolean indicating whether the update was successful

Definition at line 1457 of file ServerSettings.C.

References iSayCoachCntMax.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setSayCoachMsgSize int    i
 

Set method for the 'iSayCoachMsgSize' member variable.

Parameters:
i  an integer value representing a new maximum size of coach messages
Returns:
a boolean indicating whether the update was successful

Definition at line 1473 of file ServerSettings.C.

References iSayCoachMsgSize.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setSayMsgSize int    i
 

Set method for the 'iSayMsgSize' member variable.

Parameters:
i  an integer value representing a new maximum length (in bytes) of a spoken message
Returns:
a boolean indicating whether the update was successful

Definition at line 1721 of file ServerSettings.C.

References iSayMsgSize.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setSendLog bool    b
 

Set method for the 'bSendLog' member variable.

Parameters:
b  a boolean value indicating whether a send client command log for a game should be created
Returns:
a boolean indicating whether the update was successful

Definition at line 1863 of file ServerSettings.C.

References bSendLog.

bool ServerSettings::setSendStep int    i
 

Set method for the 'iSendStep' member variable.

Parameters:
i  an integer value representing a new length of the interval (in ms) between visual messages to a player in the standard view mode
Returns:
a boolean indicating whether the update was successful

Definition at line 1649 of file ServerSettings.C.

References iSendStep.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setSendViStep int    i
 

Set method for the 'iSendViStep' member variable.

Parameters:
i  an integer value representing a new interval of the coach's look, i.e. a new length of the interval (in ms) between visual messages to the coach
Returns:
a boolean indicating whether the update was successful

Definition at line 1612 of file ServerSettings.C.

References iSendViStep.

bool ServerSettings::setSenseBodyStep int    i
 

Set method for the 'iSenseBodyStep' member variable.

Parameters:
i  an integer value representing a new length of the interval (in ms) between sense_body information messages
Returns:
a boolean indicating whether the update was successful

Definition at line 874 of file ServerSettings.C.

References iSenseBodyStep.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setSimulatorStep int    i
 

Set method for the 'iSimulatorStep' member variable.

Parameters:
i  an integer value representing a new length (in ms) of a simulator cycle
Returns:
a boolean indicating whether the update was successful

Definition at line 1631 of file ServerSettings.C.

References iSimulatorStep.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setSlowDownFactor int    i
 

Set method for the 'iSlowDownFactor' member variable.

Parameters:
i  an integer value representing a new factor to slow down the simulator and send intervals
Returns:
a boolean indicating whether the update was successful

Definition at line 2240 of file ServerSettings.C.

References iSlowDownFactor.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setStaminaIncMax double    d
 

Set method for the 'dStaminaIncMax' member variable.

Parameters:
d  a double value representing a new maximum stamina increase of a player per cycle
Returns:
a boolean indicating whether the update was successful

Definition at line 648 of file ServerSettings.C.

References dStaminaIncMax.

Referenced by SenseHandler::analyzeServerParamMessage(), and WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setStaminaIncMaxDeltaFactor double    d
 

Set method for the 'dStaminaIncMaxDeltaFactor' member variable.

Parameters:
d  a double value representing a new amount by which delta is multiplied for stamina_inc_max
Returns:
a boolean indicating whether the update was successful

Definition at line 1986 of file ServerSettings.C.

References dStaminaIncMaxDeltaFactor.

bool ServerSettings::setStaminaMax double    d
 

Set method for the 'dStaminaMax' member variable.

Parameters:
d  a double value representing a new maximum stamina of a player
Returns:
a boolean indicating whether the update was successful

Definition at line 631 of file ServerSettings.C.

References dStaminaMax.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setSubsMax int    i
 

Set method for the 'iSubsMax' member variable.

Parameters:
i  an integer value representing a new maximum number of substitutions allowed during a game (this value also indicates the maximum number of players allowed for each type)
Returns:
a boolean indicating whether the update was successful

Definition at line 1934 of file ServerSettings.C.

References iSubsMax.

bool ServerSettings::setUseOffside bool    b
 

Set method for the 'bUseOffside' member variable.

Parameters:
b  a boolean value indicating whether the offside rule should be applied or not
Returns:
a boolean indicating whether the update was successful

Definition at line 1738 of file ServerSettings.C.

References bUseOffside.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setValue const char *    strName,
const char *    strValue
[virtual]
 

This method is originally defined in the superclass GenericValues and is overridden in this subclass. It sets the variable denoted by the first argument to the value denoted by the second argument.

Parameters:
strName  a string representing the name of a variable for which the value must be (re)set
strValue  a string representing a value which must be assigned to the variable denoted by the first argument
Returns:
a boolean indicating whether the update was successful

Reimplemented from GenericValues.

Definition at line 485 of file ServerSettings.C.

References dBallSize, dKickableMargin, dMaximalKickDist, dPlayerSize, and GenericValues::setValue().

bool ServerSettings::setVerbose bool    b
 

Set method for the 'bVerbose' member variable.

Parameters:
b  a boolean value indicating whether the verbose mode is active or not; in verbose mode the server sends extra error-information
Returns:
a boolean indicating whether the update was successful

Definition at line 1811 of file ServerSettings.C.

References bVerbose.

bool ServerSettings::setVisibleAngle double    d
 

Set method for the 'dVisibleAngle' member variable.

Parameters:
d  a double value representing a new angle of the view cone of a player in the standard view mode
Returns:
a boolean indicating whether the update was successful

Definition at line 1227 of file ServerSettings.C.

References dVisibleAngle.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setVisibleDistance double    d
 

Set method for the 'dVisibleDistance' member variable.

Parameters:
d  a double value representing a new distance within which objects are always 'visible' (even when not in view cone)
Returns:
a boolean indicating whether the update was successful

Definition at line 2257 of file ServerSettings.C.

References dVisibleDistance.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setWindDir double    d
 

Set method for the 'dWindDir' member variable.

Parameters:
d  a double value representing a new direction of the wind
Returns:
a boolean indicating whether the update was successful

Definition at line 1097 of file ServerSettings.C.

References dWindDir.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setWindForce double    d
 

Set method for the 'dWindForce' member variable.

Parameters:
d  a double value representing a new force of the wind
Returns:
a boolean indicating whether the update was successful

Definition at line 1081 of file ServerSettings.C.

References dWindForce.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setWindRand double    d
 

Set method for the 'dWindRand' member variable.

Parameters:
d  a double value representing a new random error in wind direction
Returns:
a boolean indicating whether the update was successful

Definition at line 1113 of file ServerSettings.C.

References dWindRand.

Referenced by SenseHandler::analyzeServerParamMessage().


Member Data Documentation

bool ServerSettings::bForbidKickOffOffside [private]
 

forbid_kick_off_offside: a boolean flag indicating whether a kick from offside position is allowed

Definition at line 244 of file ServerSettings.h.

Referenced by ServerSettings(), and setForbidKickOffOffside().

bool ServerSettings::bLogTimes [private]
 

log_times: flag indicating whether ms should be written between cycles in log file

Definition at line 261 of file ServerSettings.h.

Referenced by ServerSettings(), and setLogTimes().

bool ServerSettings::bRecordLog [private]
 

record_log: flag indicating whether log record for game should be created

Definition at line 257 of file ServerSettings.h.

Referenced by ServerSettings(), and setRecordLog().

bool ServerSettings::bSendLog [private]
 

send_log: flag indicating whether send client command log for game should be created

Definition at line 259 of file ServerSettings.h.

Referenced by ServerSettings(), and setSendLog().

bool ServerSettings::bUseOffside [private]
 

use_offside: a boolean flag indicating whether the offside rule should be applied or not

Definition at line 239 of file ServerSettings.h.

Referenced by ServerSettings(), and setUseOffside().

bool ServerSettings::bVerbose [private]
 

verbose: flag indicating whether verbose mode is active or not; in verbose mode server sends extra error-information

Definition at line 253 of file ServerSettings.h.

Referenced by ServerSettings(), and setVerbose().

double ServerSettings::dAudioCutDist [private]
 

audio_cut_dist: maximum distance over which a spoken message can be heard

Definition at line 171 of file ServerSettings.h.

Referenced by ServerSettings(), and setAudioCutDist().

double ServerSettings::dBallAccelMax [private]
 

ball_accel_max: maximum acceleration of the ball per cycle

Definition at line 143 of file ServerSettings.h.

Referenced by ServerSettings(), and setBallAccelMax().

double ServerSettings::dBallDecay [private]
 

ball_decay: ball speed decay per cycle

Definition at line 139 of file ServerSettings.h.

Referenced by ServerSettings(), and setBallDecay().

double ServerSettings::dBallRand [private]
 

ball_rand: random error in ball movement

Definition at line 140 of file ServerSettings.h.

Referenced by ServerSettings(), and setBallRand().

double ServerSettings::dBallSize [private]
 

ball_size: the size (=radius) of the ball

Definition at line 138 of file ServerSettings.h.

Referenced by readValues(), ServerSettings(), setBallSize(), setKickableMargin(), setPlayerSize(), and setValue().

double ServerSettings::dBallSpeedMax [private]
 

ball_speed_max: maximum speed of the ball

Definition at line 142 of file ServerSettings.h.

Referenced by ServerSettings(), and setBallSpeedMax().

double ServerSettings::dBallWeight [private]
 

ball_weight: weight of the ball (for wind)

Definition at line 141 of file ServerSettings.h.

Referenced by ServerSettings(), and setBallWeight().

double ServerSettings::dCatchableAreaL [private]
 

catchable_area_l: length of area around goalkeeper in which he can catch the ball

Definition at line 126 of file ServerSettings.h.

Referenced by ServerSettings(), and setCatchableAreaL().

double ServerSettings::dCatchableAreaW [private]
 

catchable_area_w: width of area around goalkeeper in which he can catch the ball

Definition at line 128 of file ServerSettings.h.

Referenced by ServerSettings(), and setCatchableAreaW().

double ServerSettings::dCatchProbability [private]
 

catch_probability: the probability for a goalkeeper to catch the ball

Definition at line 130 of file ServerSettings.h.

Referenced by ServerSettings(), and setCatchProbability().

double ServerSettings::dCkickMargin [private]
 

ckick_margin: corner kick margin, i.e. the minimum distance to the ball for offending players when a corner kick is taken

Definition at line 155 of file ServerSettings.h.

Referenced by ServerSettings(), and setCkickMargin().

double ServerSettings::dDashPowerRate [private]
 

dash_power_rate: rate by which the 'Power' argument in a 'dash' command is multiplied (thus determining the amount of displacement of the player as a result of the 'dash')

Definition at line 158 of file ServerSettings.h.

Referenced by ServerSettings(), and setDashPowerRate().

double ServerSettings::dDashPowerRateDeltaMax [private]
 

dash_power_rate_delta_max: maximum delta for adjusting dash_power_rate

Definition at line 292 of file ServerSettings.h.

Referenced by ServerSettings(), and setDashPowerRateDeltaMax().

double ServerSettings::dDashPowerRateDeltaMin [private]
 

dash_power_rate_delta_min: minimum delta for adjusting dash_power_rate

Definition at line 290 of file ServerSettings.h.

Referenced by ServerSettings(), and setDashPowerRateDeltaMin().

double ServerSettings::dEffortDec [private]
 

effort_dec: decrement step per cycle for player effort capacity

Definition at line 97 of file ServerSettings.h.

Referenced by ServerSettings(), and setEffortDec().

double ServerSettings::dEffortDecThr [private]
 

effort_dec_thr: percentage of stamina_max below which player effort capacity decreases

Definition at line 95 of file ServerSettings.h.

Referenced by ServerSettings(), and setEffortDecThr().

double ServerSettings::dEffortInc [private]
 

effort_inc: increment step per cycle for player effort capacity

Definition at line 101 of file ServerSettings.h.

Referenced by ServerSettings(), and setEffortInc().

double ServerSettings::dEffortIncThr [private]
 

effort_incr_thr: percentage of stamina_max above which player effort capacity increases

Definition at line 99 of file ServerSettings.h.

Referenced by ServerSettings(), and setEffortIncThr().

double ServerSettings::dEffortMax [private]
 

effort_max: maximum player effort capacity

Definition at line 313 of file ServerSettings.h.

Referenced by ServerSettings(), and setEffortMax().

double ServerSettings::dEffortMaxDeltaFactor [private]
 

effort_max_delta_factor: amount delta is multiplied by for effort_max

Definition at line 306 of file ServerSettings.h.

Referenced by ServerSettings(), and setEffortMaxDeltaFactor().

double ServerSettings::dEffortMin [private]
 

effort_min: minimum value for player effort

Definition at line 103 of file ServerSettings.h.

Referenced by ServerSettings(), and setEffortMin().

double ServerSettings::dEffortMinDeltaFactor [private]
 

effort_min_delta_factor: amount delta is multiplied by for effort_min

Definition at line 308 of file ServerSettings.h.

Referenced by ServerSettings(), and setEffortMinDeltaFactor().

double ServerSettings::dExtraStamina [private]
 

extra_stamina: extra stamina for a heterogeneous player

Definition at line 320 of file ServerSettings.h.

Referenced by ServerSettings(), and setExtraStamina().

double ServerSettings::dExtraStaminaDeltaMax [private]
 

extra_stamina_delta_max: maximum delta for adjusting extra_stamina

Definition at line 304 of file ServerSettings.h.

Referenced by ServerSettings(), and setExtraStaminaDeltaMax().

double ServerSettings::dExtraStaminaDeltaMin [private]
 

extra_stamina_delta_min: minimum delta for adjusting extra_stamina

Definition at line 302 of file ServerSettings.h.

Referenced by ServerSettings(), and setExtraStaminaDeltaMin().

double ServerSettings::dGoalWidth [private]
 

goal_width: the width of the goal

Definition at line 74 of file ServerSettings.h.

Referenced by ServerSettings(), and setGoalWidth().

double ServerSettings::dInertiaMoment [private]
 

inertia_moment: inertia moment of a player; affects actual turn angle depending on speed

Definition at line 118 of file ServerSettings.h.

Referenced by ServerSettings(), and setInertiaMoment().

double ServerSettings::dInertiaMomentDeltaFactor [private]
 

inertia_moment_delta_factor: amount by which delta is multiplied for inertia_moment

Definition at line 287 of file ServerSettings.h.

Referenced by ServerSettings(), and setInertiaMomentDeltaFactor().

double ServerSettings::dKickableMargin [private]
 

kickable_margin: margin around player in which ball is kickable; kickable area thus equals kickable_margin + ball_size + player_size

Definition at line 152 of file ServerSettings.h.

Referenced by readValues(), ServerSettings(), setBallSize(), setKickableMargin(), setPlayerSize(), and setValue().

double ServerSettings::dKickableMarginDeltaMax [private]
 

kickable_margin_delta_max: maximum delta for adjusting kickable_margin

Definition at line 298 of file ServerSettings.h.

Referenced by ServerSettings(), and setKickableMarginDeltaMax().

double ServerSettings::dKickableMarginDeltaMin [private]
 

kickable_margin_delta_min: minimum delta for adjusting kickable_margin

Definition at line 296 of file ServerSettings.h.

Referenced by ServerSettings(), and setKickableMarginDeltaMin().

double ServerSettings::dKickPowerRate [private]
 

kick_power_rate: rate by which the 'Power' argument in a 'kick' command is multiplied (thus determining the amount of displacement of the ball as a result of the 'kick')

Definition at line 162 of file ServerSettings.h.

Referenced by ServerSettings(), and setKickPowerRate().

double ServerSettings::dKickRand [private]
 

kick_rand: random error in kick direction

Definition at line 166 of file ServerSettings.h.

Referenced by ServerSettings(), and setKickRand().

double ServerSettings::dKickRandDeltaFactor [private]
 

kick_rand_delta_factor: amount delta is multiplied by for kick_rand

Definition at line 300 of file ServerSettings.h.

Referenced by ServerSettings(), and setKickRandDeltaFactor().

double ServerSettings::dMaximalKickDist [private]
 

the maximum distance from a player for which the ball is still kickable

Definition at line 324 of file ServerSettings.h.

Referenced by readValues(), ServerSettings(), setBallSize(), setKickableMargin(), setMaximalKickDist(), setPlayerSize(), and setValue().

double ServerSettings::dOffsideActiveAreaSize [private]
 

offside_active_area_size: offside active area size, i.e. radius of circle around the ball in which player can be offside

Definition at line 241 of file ServerSettings.h.

Referenced by ServerSettings(), and setOffsideActiveAreaSize().

double ServerSettings::dOffsideKickMargin [private]
 

offside_kick_margin: offside kick margin, i.e. the minimum distance to the ball for offending players when a free kick for offside is taken

Definition at line 247 of file ServerSettings.h.

Referenced by ServerSettings(), and setOffsideKickMargin().

double ServerSettings::dPlayerAccelMax [private]
 

player_accel_max: maximum acceleration of a player per cycle

Definition at line 83 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerAccelMax().

double ServerSettings::dPlayerDecay [private]
 

player_decay: player speed decay per cycle

Definition at line 79 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerDecay().

double ServerSettings::dPlayerDecayDeltaMax [private]
 

player_decay_delta_max: maximum delta for adjusting player_decay

Definition at line 285 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerDecayDeltaMax().

double ServerSettings::dPlayerDecayDeltaMin [private]
 

player_decay_delta_min: minimum delta for adjusting player_decay

Definition at line 283 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerDecayDeltaMin().

double ServerSettings::dPlayerRand [private]
 

player_rand: random error in player movement

Definition at line 80 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerRand().

double ServerSettings::dPlayerSize [private]
 

player_size: the size (=radius) of a player

Definition at line 78 of file ServerSettings.h.

Referenced by readValues(), ServerSettings(), setBallSize(), setKickableMargin(), setPlayerSize(), and setValue().

double ServerSettings::dPlayerSizeDeltaFactor [private]
 

player_size_delta_factor: amount delta is multiplied by for player_size

Definition at line 294 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerSizeDeltaFactor().

double ServerSettings::dPlayerSpeedMax [private]
 

player_speed_max: maximum speed of a player

Definition at line 82 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerSpeedMax().

double ServerSettings::dPlayerSpeedMaxDeltaMax [private]
 

player_speed_max_delta_max: maximum delta for adjusting player_speed_max

Definition at line 278 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerSpeedMaxDeltaMax().

double ServerSettings::dPlayerSpeedMaxDeltaMin [private]
 

player_speed_max_delta_min: minimum delta for adjusting player_speed_max

Definition at line 276 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerSpeedMaxDeltaMin().

double ServerSettings::dPlayerWeight [private]
 

player_weight: weight of a player (for wind)

Definition at line 81 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerWeight().

double ServerSettings::dQuantizeStep [private]
 

quantize_step: quantization step for distance of moving objects

Definition at line 175 of file ServerSettings.h.

Referenced by ServerSettings(), and setQuantizeStep().

double ServerSettings::dQuantizeStepL [private]
 

quantize_step_l: quantization step for distance of landmarks

Definition at line 177 of file ServerSettings.h.

Referenced by ServerSettings(), and setQuantizeStepL().

double ServerSettings::dRecoverDec [private]
 

recover_dec: decrement step per cycle for player recovery

Definition at line 92 of file ServerSettings.h.

Referenced by ServerSettings(), and setRecoverDec().

double ServerSettings::dRecoverDecThr [private]
 

recover_dec_thr: percentage of stamina_max below which player recovery decreases

Definition at line 90 of file ServerSettings.h.

Referenced by ServerSettings(), and setRecoverDecThr().

double ServerSettings::dRecoverMin [private]
 

recover_min: minimum player recovery

Definition at line 94 of file ServerSettings.h.

Referenced by ServerSettings(), and setRecoverMin().

double ServerSettings::dStaminaIncMax [private]
 

stamina_inc_max: maximum stamina increase of a player per cycle

Definition at line 88 of file ServerSettings.h.

Referenced by ServerSettings(), and setStaminaIncMax().

double ServerSettings::dStaminaIncMaxDeltaFactor [private]
 

stamina_inc_max_delta_factor: amount by which delta is multiplied for stamina_inc_max

Definition at line 280 of file ServerSettings.h.

Referenced by ServerSettings(), and setStaminaIncMaxDeltaFactor().

double ServerSettings::dStaminaMax [private]
 

stamina_max: maximum stamina of a player

Definition at line 87 of file ServerSettings.h.

Referenced by ServerSettings(), and setStaminaMax().

double ServerSettings::dVisibleAngle [private]
 

visible_angle: angle of the view cone of a player in the standard view mode

Definition at line 169 of file ServerSettings.h.

Referenced by ServerSettings(), and setVisibleAngle().

double ServerSettings::dVisibleDistance [private]
 

visible_distance: distance within which objects are always 'visible' (even when not in view cone)

Definition at line 317 of file ServerSettings.h.

Referenced by ServerSettings(), and setVisibleDistance().

double ServerSettings::dWindDir [private]
 

wind_dir: the direction of the wind

Definition at line 148 of file ServerSettings.h.

Referenced by ServerSettings(), and setWindDir().

double ServerSettings::dWindForce [private]
 

wind_force: the force of the wind

Definition at line 147 of file ServerSettings.h.

Referenced by ServerSettings(), and setWindForce().

double ServerSettings::dWindRand [private]
 

wind_rand: random error in wind direction

Definition at line 149 of file ServerSettings.h.

Referenced by ServerSettings(), and setWindRand().

int ServerSettings::iCatchBanCycle [private]
 

catch_ban_cycle: number of cycles after catch in which goalkeeper cannot catch again

Definition at line 132 of file ServerSettings.h.

Referenced by ServerSettings(), and setCatchBanCycle().

int ServerSettings::iClangAdviceWin [private]
 

clang_advice_win: number of advice messages by coach per time window

Definition at line 207 of file ServerSettings.h.

Referenced by ServerSettings(), and setClangAdviceWin().

int ServerSettings::iClangDefineWin [private]
 

clang_define_win: number of define messages by coach per time window

Definition at line 203 of file ServerSettings.h.

Referenced by ServerSettings(), and setClangDefineWin().

int ServerSettings::iClangInfoWin [private]
 

clang_info_win: number of info messages by coach per time window

Definition at line 209 of file ServerSettings.h.

Referenced by ServerSettings(), and setClangInfoWin().

int ServerSettings::iClangMessDelay [private]
 

clang_mess_delay: delay of coach messages, i.e. the number of cycles between send to player and receival of message

Definition at line 211 of file ServerSettings.h.

Referenced by ServerSettings(), and setClangMessDelay().

int ServerSettings::iClangMessPerCycle [private]
 

clang_mess_per_cycle: number of coach messages per cycle

Definition at line 214 of file ServerSettings.h.

Referenced by ServerSettings(), and setClangMessPerCycle().

int ServerSettings::iClangMetaWin [private]
 

clang_meta_win: number of meta messages by coach per time window

Definition at line 205 of file ServerSettings.h.

Referenced by ServerSettings(), and setClangMetaWin().

int ServerSettings::iClangWinSize [private]
 

clang_win_size: time window which controls how many coach messages can be sent

Definition at line 201 of file ServerSettings.h.

Referenced by ServerSettings(), and setClangWinSize().

int ServerSettings::iCoachPort [private]
 

coach_port: port number for coach connection

Definition at line 193 of file ServerSettings.h.

Referenced by ServerSettings(), and setCoachPort().

int ServerSettings::iDropBallTime [private]
 

drop_ball_time: the number of cycles to wait until dropping the ball automatically for free kicks, corner kicks, etc.

Definition at line 230 of file ServerSettings.h.

Referenced by ServerSettings(), and setDropBallTime().

int ServerSettings::iGoalieMaxMoves [private]
 

goalie_max_moves: maximum number of 'move' actions allowed for goalkeeper after catch

Definition at line 134 of file ServerSettings.h.

Referenced by ServerSettings(), and setGoalieMaxMoves().

int ServerSettings::iHalfTime [private]
 

half_time: the length (in seconds) of a single game half

Definition at line 228 of file ServerSettings.h.

Referenced by ServerSettings(), and setHalfTime().

int ServerSettings::iHearDecay [private]
 

hear_decay: decay rate of player hearing capacity, i.e. minimum number of cycles for hear_inc messages

Definition at line 113 of file ServerSettings.h.

Referenced by ServerSettings(), and setHearDecay().

int ServerSettings::iHearInc [private]
 

hear_inc: minimum hearing capacity of a player, i.e. the number of messages a player can hear in hear_decay simulation cycles

Definition at line 110 of file ServerSettings.h.

Referenced by ServerSettings(), and setHearInc().

int ServerSettings::iHearMax [private]
 

hear_max: maximum hearing capacity of a player; a player can hear hear_inc messages in hear_decay simulation cycles

Definition at line 107 of file ServerSettings.h.

Referenced by ServerSettings(), and setHearMax().

int ServerSettings::iMaxMoment [private]
 

maxmoment: maximum angle for turn/kick

Definition at line 183 of file ServerSettings.h.

Referenced by ServerSettings(), and setMaxMoment().

int ServerSettings::iMaxNeckAng [private]
 

maxneckang: maximum neck angle rel. to body

Definition at line 187 of file ServerSettings.h.

Referenced by ServerSettings(), and setMaxNeckAng().

int ServerSettings::iMaxNeckMoment [private]
 

maxneckmoment: maximum angle for turnneck

Definition at line 185 of file ServerSettings.h.

Referenced by ServerSettings(), and setMaxNeckMoment().

int ServerSettings::iMaxPower [private]
 

maxpower: maximum power for dash/kick

Definition at line 181 of file ServerSettings.h.

Referenced by ServerSettings(), and setMaxPower().

int ServerSettings::iMinMoment [private]
 

minmoment: minimum angle for turn/kick

Definition at line 184 of file ServerSettings.h.

Referenced by ServerSettings(), and setMinMoment().

int ServerSettings::iMinNeckAng [private]
 

minneckang: minimum neck angle rel. to body

Definition at line 188 of file ServerSettings.h.

Referenced by ServerSettings(), and setMinNeckAng().

int ServerSettings::iMinNeckMoment [private]
 

minneckmoment: minimum angle for turnneck

Definition at line 186 of file ServerSettings.h.

Referenced by ServerSettings(), and setMinNeckMoment().

int ServerSettings::iMinPower [private]
 

minpower: minimum power for dash/kick

Definition at line 182 of file ServerSettings.h.

Referenced by ServerSettings(), and setMinPower().

int ServerSettings::iPlayerTypes [private]
 

player_types: the number of player types including the default player type

Definition at line 270 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerTypes().

int ServerSettings::iPort [private]
 

port: port number for player connection

Definition at line 192 of file ServerSettings.h.

Referenced by ServerSettings(), and setPort().

int ServerSettings::iRecordVersion [private]
 

record_version: the type of log record

Definition at line 256 of file ServerSettings.h.

Referenced by ServerSettings(), and setRecordVersion().

int ServerSettings::iRecvStep [private]
 

recv_step: the length of the interval (in ms) for accepting commands from a player

Definition at line 226 of file ServerSettings.h.

Referenced by ServerSettings(), and setRecvStep().

int ServerSettings::iSayCoachCntMax [private]
 

say_coach_cnt_max: maximum number of coach messages possible

Definition at line 197 of file ServerSettings.h.

Referenced by ServerSettings(), and setSayCoachCntMax().

int ServerSettings::iSayCoachMsgSize [private]
 

say_coach_msg_size: maximum size of coach messages

Definition at line 199 of file ServerSettings.h.

Referenced by ServerSettings(), and setSayCoachMsgSize().

int ServerSettings::iSayMsgSize [private]
 

say_msg_size: the maximum length (in bytes) of a spoken message

Definition at line 235 of file ServerSettings.h.

Referenced by ServerSettings(), and setSayMsgSize().

int ServerSettings::iSendStep [private]
 

send_step: the length of the interval (in ms) between visual messages to a player in the standard view mode

Definition at line 223 of file ServerSettings.h.

Referenced by getSendStep(), ServerSettings(), and setSendStep().

int ServerSettings::iSendViStep [private]
 

send_vi_step: interval of coach's look, i.e. the length of the interval (in ms) between visual messages to the coach

Definition at line 216 of file ServerSettings.h.

Referenced by getSendViStep(), ServerSettings(), and setSendViStep().

int ServerSettings::iSenseBodyStep [private]
 

sense_body_step: length of the interval (in ms) between sense_body information messages

Definition at line 122 of file ServerSettings.h.

Referenced by getSenseBodyStep(), ServerSettings(), and setSenseBodyStep().

int ServerSettings::iSimulatorStep [private]
 

simulator_step: the length (in ms) of a simulator cycle

Definition at line 221 of file ServerSettings.h.

Referenced by getSimulatorStep(), ServerSettings(), and setSimulatorStep().

int ServerSettings::iSlowDownFactor [private]
 

slow_down_factor: factor to slow down simulator and send intervals

Definition at line 315 of file ServerSettings.h.

Referenced by getSendStep(), getSendViStep(), getSenseBodyStep(), getSimulatorStep(), ServerSettings(), and setSlowDownFactor().

int ServerSettings::iSubsMax [private]
 

subs_max: the maximum number of substitutions allowed during a game; the value also indicates the maximum number of players allowed for each type

Definition at line 272 of file ServerSettings.h.

Referenced by ServerSettings(), and setSubsMax().

char ServerSettings::strLogFile[ 256 ] [private]
 

server log to store all actions received

Definition at line 263 of file ServerSettings.h.

Referenced by ServerSettings(), and setLogFile().


The documentation for this class was generated from the following files:
Generated on Thu Mar 7 00:37:57 2002 for UvA Trilearn 2001 by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001