RCube
Rcube Rest Server calculates sail routes based on Grib files and sailing boat polar files
Loading...
Searching...
No Matches
ClientRequest Struct Reference

Client Request description. More...

Data Fields

int level
 
int type
 
int cogStep
 
int rangeCog
 
int jFactor
 
int kFactor
 
int nSectors
 
int penalty0
 
int penalty1
 
int penalty2
 
int initialAmure
 
int timeStep
 
time_t epochStart
 
bool isoc
 
bool isoDesc
 
bool sortByName
 
bool forbid
 
bool withWaves
 
bool withCurrent
 
double staminaVR
 
double motorSpeed
 
double threshold
 
double nightEfficiency
 
double dayEfficiency
 
double xWind
 
double maxWind
 
double constWindTws
 
double constWindTwd
 
double constWave
 
double constCurrentS
 
double constCurrentD
 
int nBoats
 
struct { 
 
   char   name [MAX_SIZE_NAME
 
   double   lat 
 
   double   lon 
 
boats [MAX_N_COMPETITORS
 
int nWp
 
struct { 
 
   double   lat 
 
   double   lon 
 
wp [MAX_N_WAY_POINT
 
char model [MAX_SIZE_RESOURCE_NAME]
 
char dirName [MAX_SIZE_RESOURCE_NAME]
 
char wavePolName [MAX_SIZE_RESOURCE_NAME]
 
char polarName [MAX_SIZE_RESOURCE_NAME]
 
char gribName [MAX_SIZE_RESOURCE_NAME]
 
char fileName [MAX_SIZE_RESOURCE_NAME]
 
char currentGribName [MAX_SIZE_RESOURCE_NAME]
 
char feedback [MAX_SIZE_FEED_BACK]
 

Detailed Description

Client Request description.

Definition at line 62 of file r3server.c.

Field Documentation

◆ [struct]

struct { ... } ClientRequest::boats[MAX_N_COMPETITORS]

◆ cogStep

int ClientRequest::cogStep

Definition at line 65 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ constCurrentD

double ClientRequest::constCurrentD

Definition at line 93 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ constCurrentS

double ClientRequest::constCurrentS

Definition at line 92 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ constWave

double ClientRequest::constWave

Definition at line 91 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ constWindTwd

double ClientRequest::constWindTwd

Definition at line 90 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ constWindTws

double ClientRequest::constWindTws

Definition at line 89 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ currentGribName

char ClientRequest::currentGribName[MAX_SIZE_RESOURCE_NAME]

Definition at line 111 of file r3server.c.

Referenced by decodeHttpReq(), launchAction(), and updateCurrentGrib().

◆ dayEfficiency

double ClientRequest::dayEfficiency

Definition at line 86 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ dirName

char ClientRequest::dirName[MAX_SIZE_RESOURCE_NAME]

Definition at line 106 of file r3server.c.

Referenced by decodeHttpReq(), and launchAction().

◆ epochStart

time_t ClientRequest::epochStart

Definition at line 75 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ feedback

char ClientRequest::feedback[MAX_SIZE_FEED_BACK]

Definition at line 112 of file r3server.c.

Referenced by decodeHttpReq(), and launchAction().

◆ fileName

char ClientRequest::fileName[MAX_SIZE_RESOURCE_NAME]

Definition at line 110 of file r3server.c.

Referenced by decodeHttpReq(), and launchAction().

◆ forbid

bool ClientRequest::forbid

Definition at line 79 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ gribName

char ClientRequest::gribName[MAX_SIZE_RESOURCE_NAME]

Definition at line 109 of file r3server.c.

Referenced by checkParamAndUpdate(), decodeHttpReq(), launchAction(), and updateWindGrib().

◆ initialAmure

int ClientRequest::initialAmure

Definition at line 73 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ isoc

bool ClientRequest::isoc

Definition at line 76 of file r3server.c.

Referenced by decodeHttpReq(), and launchAction().

◆ isoDesc

bool ClientRequest::isoDesc

Definition at line 77 of file r3server.c.

Referenced by decodeHttpReq(), and launchAction().

◆ jFactor

int ClientRequest::jFactor

Definition at line 67 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ kFactor

int ClientRequest::kFactor

Definition at line 68 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ lat

double ClientRequest::lat

Definition at line 97 of file r3server.c.

Referenced by checkParamAndUpdate(), decodeHttpReq(), and launchAction().

◆ level

int ClientRequest::level

Definition at line 63 of file r3server.c.

Referenced by allowedLevel(), handleClient(), and launchAction().

◆ lon

double ClientRequest::lon

Definition at line 98 of file r3server.c.

Referenced by checkParamAndUpdate(), decodeHttpReq(), and launchAction().

◆ maxWind

double ClientRequest::maxWind

Definition at line 88 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ model

char ClientRequest::model[MAX_SIZE_RESOURCE_NAME]

Definition at line 105 of file r3server.c.

Referenced by allowedLevel(), checkParamAndUpdate(), decodeHttpReq(), and launchAction().

◆ motorSpeed

double ClientRequest::motorSpeed

Definition at line 83 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ name

char ClientRequest::name[MAX_SIZE_NAME]

Definition at line 96 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ nBoats

int ClientRequest::nBoats

Definition at line 94 of file r3server.c.

Referenced by checkParamAndUpdate(), decodeHttpReq(), and launchAction().

◆ nightEfficiency

double ClientRequest::nightEfficiency

Definition at line 85 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ nSectors

int ClientRequest::nSectors

Definition at line 69 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ nWp

int ClientRequest::nWp

Definition at line 100 of file r3server.c.

Referenced by checkParamAndUpdate(), decodeHttpReq(), and launchAction().

◆ penalty0

int ClientRequest::penalty0

Definition at line 70 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ penalty1

int ClientRequest::penalty1

Definition at line 71 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ penalty2

int ClientRequest::penalty2

Definition at line 72 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ polarName

char ClientRequest::polarName[MAX_SIZE_RESOURCE_NAME]

Definition at line 108 of file r3server.c.

Referenced by checkParamAndUpdate(), decodeHttpReq(), and launchAction().

◆ rangeCog

int ClientRequest::rangeCog

Definition at line 66 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ sortByName

bool ClientRequest::sortByName

Definition at line 78 of file r3server.c.

Referenced by decodeHttpReq(), and launchAction().

◆ staminaVR

double ClientRequest::staminaVR

Definition at line 82 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ threshold

double ClientRequest::threshold

Definition at line 84 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ timeStep

int ClientRequest::timeStep

Definition at line 74 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ type

int ClientRequest::type

Definition at line 64 of file r3server.c.

Referenced by allowedLevel(), decodeHttpReq(), launchAction(), logRequest(), and main().

◆ wavePolName

char ClientRequest::wavePolName[MAX_SIZE_RESOURCE_NAME]

Definition at line 107 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ withCurrent

bool ClientRequest::withCurrent

Definition at line 81 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ withWaves

bool ClientRequest::withWaves

Definition at line 80 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().

◆ [struct]

struct { ... } ClientRequest::wp[MAX_N_WAY_POINT]

◆ xWind

double ClientRequest::xWind

Definition at line 87 of file r3server.c.

Referenced by checkParamAndUpdate(), and decodeHttpReq().


The documentation for this struct was generated from the following file: