#include <path_finding_client.h>
◆ PathFindingClient()
PathFindingClient::PathFindingClient |
( |
const char * |
savePath | ) |
|
|
inlineexplicit |
конструктор
- Parameters
-
savePath | путь к файлу сохранения |
◆ getResult()
void PathFindingClient::getResult |
( |
| ) |
|
◆ init()
void PathFindingClient::init |
( |
int |
port, |
|
|
const char * |
addr, |
|
|
std::vector< double > |
start, |
|
|
std::vector< double > |
end, |
|
|
int |
delay |
|
) |
| |
|
virtual |
Инициализация клиента
- Parameters
-
port | порт |
addr | адрес сервера |
delay | пауза в микросекундах между итерациями цикла |
start | стартовое состояние |
end | конечное состояние |
◆ mainLoop()
void PathFindingClient::mainLoop |
( |
| ) |
|
|
overridevirtual |
◆ requestReady()
void PathFindingClient::requestReady |
( |
| ) |
|
Запрос, готов ли планировщик
◆ startFindPath()
void PathFindingClient::startFindPath |
( |
| ) |
|
◆ _end
std::vector<double> PathFindingClient::_end |
|
protected |
◆ _start
std::vector<double> PathFindingClient::_start |
|
protected |
◆ COMMAND_FIND_PATH_RESULT
const int PathFindingClient::COMMAND_FIND_PATH_RESULT = 2 |
|
static |
◆ COMMAND_IS_READY
const int PathFindingClient::COMMAND_IS_READY = 0 |
|
static |
Проверка, готов ли планировщик
◆ COMMAND_START_FIND_PATH
const int PathFindingClient::COMMAND_START_FIND_PATH = 1 |
|
static |
The documentation for this class was generated from the following files:
- project/network/clients/include/path_finding_client.h
- project/network/clients/src/path_finding_client.cpp