#include <EGraphTemp.h>
Public Member Functions | |
Evader (Identity ID, PlayerClient *client, Position2dProxy *posProxy, LaserProxy *laserProxy) | |
~Evader () | |
void | clientRead () |
Identity | getID () |
EvasionTypes | getEvasion () |
Pose | getPose () |
Position | getPosition () |
double | getWidth () |
Scan | getScan () |
Position | getLSRPosition () |
Position | getCellPosition (DubInt indices) |
void | randomWalk () |
void | smartWalk (AgentPositions agentPosVec) |
void | runaway (AgentPositions agentPosVec) |
void | setToNoEvasion () |
void | setToRandomWalk () |
void | setToSmartWalk () |
void | setToRunaway () |
void | goTo (Position pos) |
void | stop () |
void | doEvasion (AgentPositions agentPosVec) |
void | drawLSR (Graphics2dProxy &gp, bool bOnlyLSR) |
Protected Member Functions | |
void | recordLSR () |
Protected Attributes | |
Identity | m_iID |
PlayerClient * | m_pClient |
Position2dProxy * | m_pPosProxy |
LaserProxy * | m_pLaserProxy |
EvasionTypes | m_eEvasion |
Grid | m_LSR |
EvaderPath | m_path |
Evader::Evader | ( | Identity | ID, | |
PlayerClient * | client, | |||
Position2dProxy * | posProxy, | |||
LaserProxy * | laserProxy | |||
) |
Evader::~Evader | ( | ) |
void Evader::recordLSR | ( | ) | [protected] |
void Evader::clientRead | ( | ) |
Identity Evader::getID | ( | ) | [inline] |
EvasionTypes Evader::getEvasion | ( | ) | [inline] |
Pose Evader::getPose | ( | void | ) | [inline] |
Position Evader::getPosition | ( | void | ) | [inline] |
double Evader::getWidth | ( | ) | [inline] |
Scan Evader::getScan | ( | ) |
Position Evader::getLSRPosition | ( | ) |
void Evader::randomWalk | ( | ) |
void Evader::smartWalk | ( | AgentPositions | agentPosVec | ) |
void Evader::runaway | ( | AgentPositions | agentPosVec | ) |
void Evader::setToNoEvasion | ( | ) |
void Evader::setToRandomWalk | ( | ) |
void Evader::setToSmartWalk | ( | ) |
void Evader::setToRunaway | ( | ) |
void Evader::goTo | ( | Position | pos | ) |
void Evader::stop | ( | void | ) | [inline] |
void Evader::doEvasion | ( | AgentPositions | agentPosVec | ) |
void Evader::drawLSR | ( | Graphics2dProxy & | gp, | |
bool | bOnlyLSR | |||
) |
Identity Evader::m_iID [protected] |
PlayerClient* Evader::m_pClient [protected] |
Position2dProxy* Evader::m_pPosProxy [protected] |
LaserProxy* Evader::m_pLaserProxy [protected] |
EvasionTypes Evader::m_eEvasion [protected] |
Grid Evader::m_LSR [protected] |
EvaderPath Evader::m_path [protected] |