diff --git a/doc/figures/positioner_class_diagram.uxf b/doc/figures/positioner_class_diagram.uxf index f56f5e4..d741145 100644 --- a/doc/figures/positioner_class_diagram.uxf +++ b/doc/figures/positioner_class_diagram.uxf @@ -1,13 +1,14 @@ - + + //fontsize=14 - 6 + 10 com.umlet.element.Class - 648 - 378 - 60 - 36 + 1080 + 630 + 100 + 60 Positioning // Centralise le calcul des @@ -19,10 +20,10 @@ com.umlet.element.Class - 624 - 264 - 66 - 18 + 1040 + 430 + 110 + 30 UserInterface // Classe utilitaire servant à @@ -37,10 +38,10 @@ com.umlet.element.Class - 702 - 126 - 186 - 78 + 1170 + 210 + 310 + 130 Point3D -- @@ -56,10 +57,10 @@ com.umlet.element.Class - 918 - 150 - 72 - 18 + 1530 + 250 + 120 + 30 ReferencePoint @@ -67,21 +68,21 @@ com.umlet.element.Relation - 870 - 144 - 60 - 30 + 1450 + 240 + 100 + 50 lt=<<- - 18;18;48;18 + 30;30;80;30 com.umlet.element.Class - 456 - 30 - 72 - 30 + 760 + 50 + 120 + 50 Building -- @@ -91,10 +92,10 @@ com.umlet.element.Class - 450 - 144 - 78 - 30 + 750 + 240 + 130 + 50 Area -- @@ -104,10 +105,10 @@ com.umlet.element.Class - 594 - 90 - 60 - 18 + 990 + 150 + 100 + 30 Waypoint @@ -115,71 +116,71 @@ com.umlet.element.Relation - 636 - 90 - 78 - 48 + 1060 + 150 + 130 + 80 lt=<<- - 66;36;18;18 + 110;60;30;30 com.umlet.element.Relation - 480 - 42 - 30 - 114 + 800 + 70 + 50 + 190 lt=<<<<- m2=1..n - 18;18;18;102 + 30;30;30;170 com.umlet.element.Relation - 342 - 84 - 264 - 144 + 570 + 140 + 440 + 240 lt=<<<<- m2=0..n - 18;132;42;18;252;18 + 30;220;70;30;420;30 com.umlet.element.Relation - 384 - 378 - 276 - 120 + 640 + 630 + 460 + 200 lt=<<<- m1=0..1 m2=0..n - 264;18;18;108 + 440;30;30;180 com.umlet.element.Relation - 690 - 384 - 282 - 78 + 1150 + 640 + 470 + 130 lt=<<<- m1=0..1 m2=0..n - 18;18;270;66 + 30;30;450;110 com.umlet.element.Class - 624 - 444 - 96 - 18 + 1040 + 740 + 160 + 30 /PositioningAlgorithm/ fg= @@ -188,36 +189,36 @@ fg= com.umlet.element.Relation - 654 - 396 - 30 - 60 + 1090 + 660 + 50 + 100 lt=<<<<- m2=1..n - 18;18;18;48 + 30;30;30;80 com.umlet.element.Class - 654 - 210 - 90 - 18 + 1090 + 350 + 150 + 30 - owlps-positioning + owlps-positionerd bg=yellow com.umlet.element.Class - 318 - 270 - 114 - 30 + 530 + 450 + 190 + 50 - AccessPoint + CapturePoint -- #frequency: unsigned int //#friis_idx @@ -226,10 +227,10 @@ bg=yellow com.umlet.element.Class - 150 - 210 - 96 - 18 + 250 + 350 + 160 + 30 Mobile @@ -237,32 +238,32 @@ bg=yellow com.umlet.element.Relation - 642 - 210 - 60 - 66 + 1070 + 350 + 100 + 100 lt=<<<<- - 48;18;18;54 + 80;30;30;80 com.umlet.element.Relation - 672 - 210 - 48 - 180 + 1140 + 350 + 90 + 300 lt=<<<<- - 36;18;36;114;18;168 + 70;30;70;180;30;280 com.umlet.element.Class - 234 - 624 - 42 - 18 + 390 + 1040 + 70 + 30 InputDB fg=red @@ -271,10 +272,10 @@ fg=red com.umlet.element.Class - 282 - 486 - 132 - 24 + 470 + 810 + 220 + 40 Input // Gère les entrées @@ -285,15 +286,14 @@ fg=red com.umlet.element.Class - 270 - 534 - 132 - 42 + 450 + 890 + 220 + 70 /InputMedium/ //extends input flow ? -- - -- /+get_next_request(): Request/ @@ -301,21 +301,21 @@ fg=red com.umlet.element.Relation - 234 - 558 - 60 - 78 + 390 + 930 + 100 + 130 lt=<<- - 48;18;18;66 + 80;30;30;110 com.umlet.element.Class - 282 - 624 - 42 - 18 + 470 + 1040 + 70 + 30 InputXML fg=red @@ -324,21 +324,21 @@ fg=red com.umlet.element.Relation - 288 - 558 - 36 - 78 + 480 + 930 + 60 + 130 lt=<<- - 24;18;18;66 + 40;30;30;110 com.umlet.element.Class - 330 - 624 - 108 - 36 + 550 + 1040 + 180 + 60 InputCSV -- @@ -349,21 +349,21 @@ fg=red com.umlet.element.Relation - 330 - 558 - 36 - 78 + 550 + 930 + 60 + 130 lt=<<- - 18;18;24;66 + 30;30;40;110 com.umlet.element.Class - 390 - 678 - 90 - 30 + 650 + 1130 + 150 + 50 /InputNetworkSocket/ fg=red @@ -374,35 +374,35 @@ fg=red com.umlet.element.Relation - 384 - 558 - 114 - 78 + 640 + 930 + 190 + 130 lt=<<- - 18;18;102;66 + 30;30;170;110 com.umlet.element.Relation - 312 - 492 - 30 - 54 + 520 + 820 + 50 + 90 lt=<<<<- // A priori, il n'y a pas de raison // d'avoir plusieurs sources en // entrée. - 18;18;18;42 + 30;30;30;70 com.umlet.element.Class - 444 - 624 - 84 - 30 + 740 + 1040 + 140 + 50 /InputSocket/ fg=red @@ -413,32 +413,32 @@ fg=red com.umlet.element.Relation - 414 - 636 - 60 - 54 + 690 + 1060 + 100 + 90 lt=<<- - 48;18;18;42 + 80;30;30;70 com.umlet.element.Relation - 474 - 636 - 60 - 54 + 790 + 1060 + 100 + 90 lt=<<- - 18;18;48;42 + 30;30;80;70 com.umlet.element.Class - 486 - 678 - 90 - 30 + 810 + 1130 + 150 + 50 InputUnixSocket fg=red @@ -449,10 +449,10 @@ fg=red com.umlet.element.Class - 960 - 450 - 60 - 18 + 1600 + 750 + 100 + 30 Output // Gère les sorties de résultats @@ -461,10 +461,10 @@ fg=red com.umlet.element.Class - 1008 - 510 - 72 - 18 + 1680 + 850 + 120 + 30 /OutputMedium/ @@ -472,21 +472,21 @@ fg=red com.umlet.element.Relation - 1014 - 510 - 30 - 66 + 1690 + 850 + 50 + 110 lt=<<- - 18;18;18;54 + 30;30;30;90 com.umlet.element.Class - 1062 - 564 - 54 - 18 + 1770 + 940 + 90 + 30 OutputCSV @@ -494,32 +494,32 @@ fg=red com.umlet.element.Relation - 1026 - 510 - 66 - 66 + 1710 + 850 + 110 + 110 lt=<<- - 18;18;54;54 + 30;30;90;90 com.umlet.element.Relation - 1092 - 564 - 72 - 78 + 1820 + 940 + 120 + 130 lt=<<- - 60;18;18;66 + 100;30;30;110 com.umlet.element.Class - 1122 - 564 - 96 - 18 + 1870 + 940 + 160 + 30 /OutputNetworkSocket/ @@ -527,10 +527,10 @@ fg=red com.umlet.element.Class - 1068 - 630 - 84 - 18 + 1780 + 1050 + 140 + 30 OutputUDPSocket @@ -538,44 +538,44 @@ fg=red com.umlet.element.Relation - 1050 - 510 - 114 - 66 + 1750 + 850 + 190 + 110 lt=<<- - 18;18;102;54 + 30;30;170;90 com.umlet.element.Relation - 978 - 450 - 78 - 72 + 1630 + 750 + 130 + 120 lt=<<<<- m2=1..n - 18;18;66;60 + 30;30;110;100 com.umlet.element.Relation - 1080 - 384 - 78 - 90 + 1800 + 640 + 130 + 150 lt=<<- - 66;18;18;78 + 110;30;30;130 com.umlet.element.Class - 1002 - 564 - 54 - 18 + 1670 + 940 + 90 + 30 OutputXML fg=red @@ -584,10 +584,10 @@ fg=red com.umlet.element.Class - 948 - 564 - 48 - 18 + 1580 + 940 + 80 + 30 OutputDB fg=red @@ -596,10 +596,10 @@ fg=red com.umlet.element.Class - 876 - 564 - 66 - 18 + 1460 + 940 + 110 + 30 OutputTerminal @@ -607,108 +607,108 @@ fg=red com.umlet.element.Relation - 894 - 510 - 126 - 66 + 1490 + 850 + 210 + 110 lt=<<- - 114;18;18;54 + 190;30;30;90 com.umlet.element.Relation - 954 - 510 - 78 - 66 + 1590 + 850 + 130 + 110 lt=<<- - 66;18;18;54 + 110;30;30;90 com.umlet.element.Relation - 228 - 204 - 114 - 30 + 380 + 340 + 190 + 50 lt=<<<<- m2=0..n - 102;18;18;18 + 170;30;30;30 com.umlet.element.Relation - 396 - 168 - 318 - 114 + 660 + 280 + 530 + 190 lt=<<<<- coordinates m1=0..n - 18;102;216;30;306;30 + 30;170;360;50;510;50 com.umlet.element.Relation - 510 - 138 - 204 - 42 + 850 + 230 + 340 + 70 lt=<<<<- coordinates m2=2 m1=0..n - 18;30;192;30 + 30;50;320;50 com.umlet.element.Relation - 510 - 90 - 114 - 72 + 850 + 150 + 190 + 120 lt=- m1=1..n m2=0..n - 18;60;102;18 + 30;100;170;30 com.umlet.element.Relation - 360 - 42 - 108 - 186 + 600 + 70 + 180 + 310 lt=->>>> m1=0..n - 96;18;18;174 + 160;30;30;290 com.umlet.element.Relation - 690 - 150 - 300 - 246 + 1150 + 250 + 500 + 410 lt=-> m2=0..n - 18;234;288;120;288;18 + 30;390;480;200;480;30 com.umlet.element.Class - 624 - 294 - 66 - 18 + 1090 + 510 + 100 + 30 Configuration bg=green @@ -718,32 +718,32 @@ bg=green com.umlet.element.Relation - 636 - 264 - 30 - 42 + 1060 + 430 + 90 + 100 - lt=- - 18;30;18;18 + lt=<. + 70;80;30;30 com.umlet.element.Relation - 642 - 294 - 30 - 96 + 1070 + 510 + 90 + 140 - lt=- - 18;18;18;84 + lt=<. + 70;30;30;120 com.umlet.element.Class - 396 - 732 - 72 - 18 + 660 + 1220 + 120 + 30 InputUDPSocket @@ -751,21 +751,21 @@ bg=green com.umlet.element.Relation - 414 - 690 - 30 - 54 + 690 + 1150 + 50 + 90 lt=<<- - 18;18;18;42 + 30;30;30;70 com.umlet.element.Class - 204 - 330 - 96 - 36 + 340 + 550 + 160 + 60 Measurement // Représente une liste de signaux reçus d'un @@ -778,59 +778,59 @@ bg=green com.umlet.element.Relation - 114 - 210 - 126 - 216 + 190 + 350 + 210 + 360 lt=<- m2=0..n transmitter - 42;18;42;114;114;204 + 70;30;70;190;190;340 com.umlet.element.Relation - 282 - 282 - 84 - 60 + 470 + 470 + 140 + 100 lt=- m2=0..n receiver - 72;18;18;48 + 120;30;30;80 com.umlet.element.Relation - 234 - 414 - 48 - 132 + 390 + 690 + 80 + 220 lt=>- - 36;120;18;18 + 60;200;30;30 com.umlet.element.Relation - 876 - 150 - 78 - 96 + 1460 + 250 + 130 + 160 lt=- m2=1..n - 66;18;18;84 + 110;30;30;140 com.umlet.element.Class - 612 - 564 - 42 - 18 + 1020 + 940 + 70 + 30 NSS // Anciennement RADAR @@ -839,10 +839,10 @@ m2=1..n com.umlet.element.Class - 534 - 564 - 36 - 18 + 890 + 940 + 60 + 30 FBCM @@ -850,10 +850,10 @@ m2=1..n com.umlet.element.Class - 558 - 606 - 60 - 18 + 930 + 1010 + 100 + 30 FRBHMBasic @@ -861,43 +861,43 @@ m2=1..n com.umlet.element.Relation - 540 - 504 - 72 - 72 + 900 + 840 + 120 + 120 lt=<<- - 60;18;18;60 + 100;30;30;100 com.umlet.element.Relation - 618 - 504 - 108 - 72 + 1030 + 840 + 180 + 120 lt=<<- - 96;18;18;60 + 160;30;30;100 com.umlet.element.Relation - 720 - 504 - 42 - 114 + 1200 + 840 + 70 + 190 lt=<<- - 30;18;18;102 + 50;30;30;170 com.umlet.element.Class - 102 - 564 - 78 - 18 + 170 + 940 + 130 + 30 /InputLogMedium/ @@ -905,22 +905,22 @@ m2=1..n com.umlet.element.Relation - 126 - 480 - 168 - 96 + 210 + 800 + 280 + 160 lt=<<<<- m2=0..n - 156;18;18;18;18;84 + 260;30;30;30;30;140 com.umlet.element.Class 0 - 624 - 54 - 18 + 1040 + 90 + 30 InputLogDB fg=red @@ -929,21 +929,21 @@ fg=red com.umlet.element.Relation - 6 - 564 - 132 - 72 + 10 + 940 + 220 + 120 lt=<<- - 120;18;18;60 + 200;30;30;100 com.umlet.element.Class - 168 - 624 - 60 - 18 + 280 + 1040 + 100 + 30 InputLogXML fg=red @@ -952,21 +952,21 @@ fg=red com.umlet.element.Relation - 132 - 564 - 78 - 72 + 220 + 940 + 130 + 120 lt=<<- - 18;18;66;60 + 30;30;110;100 com.umlet.element.Class - 60 - 624 - 102 - 36 + 100 + 1040 + 170 + 60 InputLogCSV -- @@ -977,21 +977,21 @@ fg=red com.umlet.element.Relation - 102 - 564 - 48 - 72 + 170 + 940 + 80 + 120 lt=<<- - 36;18;18;60 + 60;30;30;100 com.umlet.element.Class - 1122 - 384 - 78 - 18 + 1870 + 640 + 130 + 30 /StatisticsMedium/ fg=red @@ -1000,23 +1000,23 @@ fg=red com.umlet.element.Relation - 978 - 372 - 156 - 90 + 1630 + 620 + 260 + 150 lt=<<<<- m1=0..1 m2=0..n - 18;78;144;18 + 30;130;240;30 com.umlet.element.Class - 1044 - 462 - 84 - 18 + 1740 + 770 + 140 + 30 StatisticsTerminal fg=red @@ -1025,10 +1025,10 @@ fg=red com.umlet.element.Class - 1134 - 462 - 66 - 18 + 1890 + 770 + 110 + 30 StatisticsXML fg=red @@ -1037,21 +1037,21 @@ fg=red com.umlet.element.Relation - 1140 - 384 - 36 - 90 + 1900 + 640 + 60 + 150 lt=<<- - 18;18;24;78 + 30;30;40;130 com.umlet.element.Class - 1206 - 462 - 66 - 18 + 2010 + 770 + 110 + 30 StatisticsDB fg=red @@ -1060,21 +1060,21 @@ fg=red com.umlet.element.Relation - 1158 - 384 - 96 - 90 + 1930 + 640 + 160 + 150 lt=<<- - 18;18;84;78 + 30;30;140;130 com.umlet.element.Class - 834 - 234 - 90 - 18 + 1390 + 390 + 150 + 30 CalibrationRequest @@ -1082,21 +1082,21 @@ fg=red com.umlet.element.Relation - 258 - 234 - 642 - 198 + 430 + 390 + 1070 + 330 lt=<<- - 18;186;630;60;630;18 + 30;310;850;170;1050;30 com.umlet.element.Class - 204 - 252 - 96 - 60 + 340 + 420 + 160 + 100 WifiDevice -- @@ -1109,32 +1109,32 @@ fg=red com.umlet.element.Relation - 282 - 264 - 48 - 30 + 470 + 440 + 80 + 50 lt=<<- - 18;18;36;18 + 30;30;60;30 com.umlet.element.Relation - 156 - 210 - 60 - 96 + 260 + 350 + 100 + 160 lt=<<- - 48;84;18;84;18;18 + 80;140;30;140;30;30 com.umlet.element.Class - 702 - 606 - 72 - 18 + 1170 + 1010 + 120 + 30 FRBHMDiscrete fg=red @@ -1143,21 +1143,21 @@ fg=red com.umlet.element.Relation - 540 - 564 - 60 - 54 + 900 + 940 + 100 + 90 lt=<<- - 18;18;48;42 + 30;30;80;70 com.umlet.element.Class - 450 - 564 - 78 - 18 + 750 + 940 + 130 + 30 InterlinkNetworks @@ -1165,21 +1165,21 @@ fg=red com.umlet.element.Relation - 468 - 504 - 126 - 72 + 780 + 840 + 210 + 120 lt=<<- - 114;18;18;60 + 190;30;30;100 com.umlet.element.Class - 780 - 606 - 84 - 18 + 1300 + 1010 + 140 + 30 FRBHMContinuous fg=red @@ -1188,21 +1188,21 @@ fg=red com.umlet.element.Relation - 750 - 504 - 60 - 114 + 1250 + 840 + 100 + 190 lt=<<- - 18;18;48;102 + 30;30;80;170 com.umlet.element.Class - 228 - 414 - 48 - 18 + 380 + 690 + 80 + 30 Request // Représente une requête envoyée @@ -1212,22 +1212,22 @@ fg=red com.umlet.element.Relation - 234 - 348 - 30 - 78 + 390 + 580 + 50 + 130 lt=<<<<- m2=1..n - 18;66;18;18 + 30;110;30;30 com.umlet.element.Class - 330 - 216 - 48 - 18 + 550 + 360 + 80 + 30 Stock bg=green @@ -1238,33 +1238,33 @@ bg=green com.umlet.element.Relation - 360 - 204 - 306 - 30 + 600 + 340 + 510 + 50 lt=<<<<- - 294;18;18;18 + 490;30;30;30 com.umlet.element.Relation - 330 - 216 - 30 - 66 + 550 + 360 + 50 + 110 lt=<<<<- m2=0..n - 18;18;18;54 + 30;30;30;90 com.umlet.element.Class - 252 - 144 - 42 - 18 + 420 + 240 + 70 + 30 PosUtil bg=green @@ -1275,10 +1275,10 @@ bg=green com.umlet.element.Class - 888 - 324 - 60 - 18 + 1480 + 540 + 100 + 30 Result @@ -1286,44 +1286,44 @@ bg=green com.umlet.element.Relation - 960 - 324 - 90 - 138 + 1600 + 540 + 150 + 230 lt=>- - 18;126;78;18 + 30;210;130;30 com.umlet.element.Relation - 732 - 186 - 168 - 150 + 1220 + 310 + 280 + 250 lt=->>>> position - 36;18;36;108;156;138 + 60;30;60;180;260;230 com.umlet.element.Relation - 258 - 318 - 642 - 120 + 430 + 530 + 1070 + 200 lt=<- - 630;18;18;108 + 1050;30;30;180 com.umlet.element.Class - 102 - 438 - 132 - 36 + 170 + 730 + 220 + 60 Timestamp -- @@ -1335,21 +1335,21 @@ position com.umlet.element.Relation - 138 - 402 - 102 - 48 + 230 + 670 + 170 + 80 lt=<<<<- - 90;18;18;18;18;36 + 150;30;30;30;30;60 com.umlet.element.Class - 750 - 450 - 60 - 18 + 1250 + 750 + 100 + 30 RealPosition // Faux algorithme qui retourne @@ -1359,21 +1359,21 @@ position com.umlet.element.Relation - 702 - 438 - 60 - 30 + 1170 + 730 + 100 + 50 lt=<<- - 18;18;48;18 + 30;30;80;30 com.umlet.element.Class - 246 - 114 - 60 - 18 + 410 + 190 + 100 + 30 posexcept.hh // Ensemble de classes d'exceptions @@ -1382,10 +1382,10 @@ position com.umlet.element.Class - 1014 - 234 - 54 - 18 + 1690 + 390 + 90 + 30 Direction @@ -1393,45 +1393,45 @@ position com.umlet.element.Relation - 906 - 222 - 120 - 30 + 1510 + 370 + 200 + 50 lt=<<<<- - 18;18;108;18 + 30;30;180;30 com.umlet.element.Relation - 324 + 540 0 - 636 - 228 + 1060 + 380 lt=->>>> m1=0..n - 624;150;624;18;30;18;18;216 + 1040;250;1040;30;50;30;30;360 com.umlet.element.Relation - 360 - 216 - 486 - 54 + 600 + 360 + 810 + 90 lt=->>>> m1=0..n - 474;24;66;42;18;18 + 790;40;110;70;30;30 com.umlet.element.Class - 714 - 750 - 108 - 30 + 1190 + 1250 + 180 + 50 TextFileWriter -- @@ -1442,32 +1442,32 @@ m1=0..n com.umlet.element.Relation - 738 - 564 - 360 - 198 + 1230 + 940 + 600 + 330 lt=<- - 18;186;348;18 + 30;310;580;30 com.umlet.element.Relation - 96 - 642 - 630 - 126 + 160 + 1070 + 1050 + 210 lt=<- - 618;114;228;114;18;18 + 1030;190;380;190;30;30 com.umlet.element.Class - 576 - 504 - 108 - 18 + 960 + 840 + 180 + 30 /TrilaterationAlgorithm/ @@ -1475,10 +1475,10 @@ m1=0..n com.umlet.element.Class - 438 - 504 - 102 - 18 + 730 + 840 + 170 + 30 /TrilaterationMethod/ @@ -1486,10 +1486,10 @@ m1=0..n com.umlet.element.Class - 540 - 474 - 48 - 18 + 900 + 790 + 80 + 30 MinMax @@ -1497,43 +1497,43 @@ m1=0..n com.umlet.element.Relation - 522 - 492 - 66 - 30 + 870 + 820 + 110 + 50 lt=-> - 54;18;18;18 + 90;30;30;30 com.umlet.element.Relation - 618 - 444 - 66 - 72 + 1030 + 740 + 110 + 120 lt=<<- - 54;18;18;60 + 90;30;30;100 com.umlet.element.Relation - 474 - 468 - 78 - 48 + 790 + 780 + 130 + 80 lt=<<- - 18;36;66;18 + 30;60;110;30 com.umlet.element.Class - 708 - 504 - 102 - 18 + 1180 + 840 + 170 + 30 /CartographyAlgorithm/ @@ -1541,54 +1541,54 @@ m1=0..n com.umlet.element.Relation - 678 - 444 - 96 - 72 + 1130 + 740 + 160 + 120 lt=<<- - 18;18;84;60 + 30;30;140;100 com.umlet.element.Relation - 666 - 504 - 144 - 114 + 1110 + 840 + 240 + 190 lt=<<- - 18;18;132;102 + 30;30;220;170 com.umlet.element.Relation - 570 - 564 - 66 - 54 + 950 + 940 + 110 + 90 lt=<<- - 54;18;18;42 + 90;30;30;70 com.umlet.element.Relation - 648 - 504 - 102 - 114 + 1080 + 840 + 170 + 190 lt=<<- - 18;18;90;102 + 30;30;150;170 com.umlet.element.Class - 420 - 330 - 102 - 36 + 700 + 550 + 170 + 60 CSVFileReader -- @@ -1599,21 +1599,21 @@ m1=0..n com.umlet.element.Relation - 396 - 348 - 60 - 288 + 660 + 580 + 100 + 480 lt=<- - 48;18;18;276 + 80;30;30;460 com.umlet.element.Class - 552 - 318 - 90 - 18 + 960 + 550 + 150 + 30 TopologyReaderCSV @@ -1621,32 +1621,32 @@ m1=0..n com.umlet.element.Relation - 504 - 312 - 60 - 42 + 840 + 540 + 140 + 50 lt=<- - 18;30;48;18 + 30;30;120;30 com.umlet.element.Relation - 564 - 252 - 72 - 30 + 950 + 410 + 110 + 50 lt=<- - 18;18;60;18 + 30;30;90;30 com.umlet.element.Class - 306 - 360 - 108 - 30 + 510 + 600 + 180 + 50 TextFileReader -- @@ -1657,21 +1657,21 @@ m1=0..n com.umlet.element.Relation - 348 - 330 - 84 - 42 + 580 + 550 + 140 + 70 lt=<<- - 18;30;18;18;72;18 + 30;50;30;30;120;30 com.umlet.element.Class - 504 - 264 - 78 - 18 + 850 + 430 + 130 + 30 InputDataReader @@ -1679,34 +1679,34 @@ m1=0..n com.umlet.element.Relation - 552 - 264 - 60 - 66 + 950 + 420 + 110 + 150 - lt=<- - 48;54;18;18 + lt=<. + 90;130;90;60;30;30 com.umlet.element.Relation - 510 - 30 - 96 - 72 + 850 + 50 + 160 + 120 lt=- m1=1..n m2=1..n - 18;18;84;60 + 30;30;140;100 com.umlet.element.Class - 630 - 606 - 66 - 18 + 1050 + 1010 + 110 + 30 NSSViterbi // Anciennement RADARViterbi @@ -1716,10 +1716,10 @@ fg=red com.umlet.element.Class - 720 - 666 - 48 - 18 + 1200 + 1110 + 80 + 30 Viterbi fg=red @@ -1728,87 +1728,87 @@ fg=red com.umlet.element.Relation - 624 - 564 - 54 - 54 + 1040 + 940 + 90 + 90 lt=<<- - 18;18;42;42 + 30;30;70;70 com.umlet.element.Relation - 666 - 606 - 78 - 72 + 1110 + 1010 + 130 + 120 lt=<<- - 66;60;18;18 + 110;100;30;30 com.umlet.element.Relation - 732 - 606 - 72 - 72 + 1220 + 1010 + 120 + 120 lt=<<- - 18;60;60;18 + 30;100;100;30 com.umlet.element.Relation - 726 - 606 - 30 - 72 + 1210 + 1010 + 50 + 120 lt=<<- - 18;60;18;18 + 30;100;30;30 com.umlet.element.Class - 456 - 294 - 108 - 18 + 760 + 500 + 180 + 30 - AccessPointsReaderCSV + CapturePointsReaderCSV com.umlet.element.Relation - 498 - 264 - 36 - 42 + 830 + 430 + 70 + 90 - lt=<- - 18;30;24;18 + lt=<. + 30;70;50;30 com.umlet.element.Relation - 468 - 294 - 42 - 48 + 840 + 500 + 100 + 70 lt=<- - 18;36;30;18 + 30;50;80;50;80;30 com.umlet.element.Class - 1014 - 324 - 54 - 18 + 1690 + 540 + 90 + 30 ResultList @@ -1816,22 +1816,22 @@ fg=red com.umlet.element.Relation - 930 - 312 - 96 - 30 + 1550 + 520 + 160 + 50 lt=<<<<- m2=0..n - 84;18;18;18 + 140;30;30;30 com.umlet.element.Class - 372 - 306 - 78 - 18 + 620 + 510 + 130 + 30 MobilesReaderCSV @@ -1839,32 +1839,32 @@ m2=0..n com.umlet.element.Relation - 426 - 258 - 90 - 60 + 710 + 420 + 160 + 110 - lt=<- - 18;48;18;18;78;18 + lt=<. + 30;90;50;30;140;30 com.umlet.element.Relation - 366 - 306 - 66 - 42 + 610 + 510 + 110 + 70 lt=<- - 54;30;18;30;18;18 + 90;50;30;50;30;30 com.umlet.element.Class - 1158 - 630 - 102 - 18 + 1930 + 1050 + 170 + 30 OutputTCPSocketEvAAL @@ -1872,21 +1872,21 @@ m2=0..n com.umlet.element.Relation - 1158 - 564 - 60 - 78 + 1930 + 940 + 100 + 130 lt=<<- - 18;18;48;66 + 30;30;80;110 com.umlet.element.Class - 306 - 426 - 108 - 36 + 510 + 710 + 180 + 60 CSVStringReader -- @@ -1898,22 +1898,34 @@ m2=0..n com.umlet.element.Relation - 396 - 348 - 84 - 96 + 660 + 580 + 140 + 160 lt=<<- - 18;84;72;84;72;18 + 30;140;120;140;120;30 + + + com.umlet.element.Relation + + 640 + 430 + 350 + 480 + + lt=-> +m2=* + 330;30;300;170;30;460 com.umlet.element.Class - 138 - 42 - 60 - 18 + 230 + 70 + 100 + 30 StaticClass bg=green @@ -1922,10 +1934,10 @@ bg=green com.umlet.element.Class - 138 - 66 - 60 - 18 + 230 + 110 + 100 + 30 executable bg=yellow @@ -1934,10 +1946,10 @@ bg=yellow com.umlet.element.custom.Systemborder - 132 - 24 - 84 - 96 + 220 + 40 + 140 + 160 Color legend @@ -1945,10 +1957,10 @@ bg=yellow com.umlet.element.Class - 138 - 96 - 72 - 18 + 230 + 160 + 120 + 30 Unimplemented fg=red diff --git a/libowlps/libowlps.c b/libowlps/libowlps.c index 4386195..12bfe02 100644 --- a/libowlps/libowlps.c +++ b/libowlps/libowlps.c @@ -83,6 +83,7 @@ void owl_mac_bytes_to_string_r(const uint8_t *const mac_binary, bool owl_mac_equals(const uint8_t *const mac1, const uint8_t *const mac2) { + // TODO: we could use memcmp() int i ; for (i = ETHER_ADDR_LEN - 1 ; i >= 0 ; --i) if(mac1[i] != mac2[i]) diff --git a/owlps-positioner/request.cc b/owlps-positioner/request.cc index 82d8724..7541893 100644 --- a/owlps-positioner/request.cc +++ b/owlps-positioner/request.cc @@ -257,7 +257,7 @@ ostream& operator<<(ostream &os, const Request &r) << " (received at " << r.time_received << "; " ; if (r.real_position) - os << " Real coordinates : " << *r.real_position << "; " ; + os << "Real coordinates: " << *r.real_position << "; " ; // MAC address os << "Type: " << static_cast(r.type) diff --git a/owlps-positioner/stock.hh b/owlps-positioner/stock.hh index c94c911..9b2dc75 100644 --- a/owlps-positioner/stock.hh +++ b/owlps-positioner/stock.hh @@ -86,7 +86,7 @@ public: //@{ /// Returns the number of buildings static unsigned int nb_buildings(void) ; - /// Reads the Building corresponding to a given name + /// Returns the Building corresponding to a given name static const Building& get_building(const std::string &name) ; /// Searches for a Building and creates it if it does not exist static const Building& find_create_building(const std::string &name) ; @@ -117,7 +117,7 @@ public: static unsigned int nb_mobiles(void) ; /// Verify the existence of a mobile static bool mobile_exists(const std::string &mac) ; - /// Reads the Mobile corresponding to a given MAC address + /// Returns the Mobile corresponding to a given MAC address static const Mobile& get_mobile(const std::string &mac) ; /// Searches for a Mobile given its MAC address and creates it if it /// does not exist @@ -138,7 +138,7 @@ public: std::unordered_map& get_cps(void) ; /// Verify the existence of a CP static bool cp_exists(const std::string &mac) ; - /// Reads the CapturePoint corresponding to a given MAC address + /// Returns the CapturePoint corresponding to a given MAC address static const CapturePoint& get_cp(const std::string &mac) ; /// Searches for a CapturePoint given its MAC address and creates it /// if it does not exist @@ -166,7 +166,7 @@ public: static unsigned int nb_reference_points(void) ; /// Verify the existence of a reference point at the given coordinates static bool reference_point_exists(const ReferencePoint &point) ; - /// Reads the ReferencePoint at the given coordinates + /// Returns the ReferencePoint at the given coordinates static const ReferencePoint& get_reference_point(const ReferencePoint &point) ; /// Searches for a ReferencePoint and adds it if it does not exist diff --git a/scripts/owlps-aggsetcoord.pl b/scripts/owlps-aggsetcoord.pl index 57eb708..6386a49 100755 --- a/scripts/owlps-aggsetcoord.pl +++ b/scripts/owlps-aggsetcoord.pl @@ -33,8 +33,8 @@ By default, B uses the coordinates already present in the input file (manually set by the user, most of the time) to interpolate the coordinates of lines containing default values. A given coordinate is interpolated according to the previous and next known coordinates and their -timestamps, assuming the mobile moves at a constant speed between two -timestamps. The interpolation is done in 3 dimensions, each dimension being +timestamps, assuming the mobile moves at a constant speed between two known +coordinates. The interpolation is done in 3 dimensions, each dimension being interpolated independently. Alternatively, using the B<-c> option will disable interpolation but apply an