diff --git a/documentation/app_class_diagram.mdj b/documentation/app_class_diagram.mdj index 0d86b20..08fc44d 100644 --- a/documentation/app_class_diagram.mdj +++ b/documentation/app_class_diagram.mdj @@ -521,13 +521,47 @@ "height": 13, "text": "-error: unsigned char", "horizontalAlignment": 0 + }, + { + "_type": "UMLAttributeView", + "_id": "AAAAAAFpKn3/Fi1cGQI=", + "_parent": { + "$ref": "AAAAAAFpHq11g76wgf4=" + }, + "model": { + "$ref": "AAAAAAFpKn3+5y1ZFXA=" + }, + "font": "Arial;13;0", + "left": 221, + "top": 819, + "width": 523.16748046875, + "height": 13, + "text": "-displayInverted: boolean", + "horizontalAlignment": 0 + }, + { + "_type": "UMLAttributeView", + "_id": "AAAAAAFpKn8jWi35UTU=", + "_parent": { + "$ref": "AAAAAAFpHq11g76wgf4=" + }, + "model": { + "$ref": "AAAAAAFpKn8jMS32ETQ=" + }, + "font": "Arial;13;0", + "left": 221, + "top": 834, + "width": 523.16748046875, + "height": 13, + "text": "-displayDimmed: boolean", + "horizontalAlignment": 0 } ], "font": "Arial;13;0", "left": 216, "top": 769, "width": 533.16748046875, - "height": 53 + "height": 83 }, { "_type": "UMLOperationCompartmentView", @@ -550,7 +584,7 @@ }, "font": "Arial;13;0", "left": 221, - "top": 827, + "top": 857, "width": 523.16748046875, "height": 13, "text": "#ScreenManager(&display: Adafruit_SSD1306)", @@ -567,7 +601,7 @@ }, "font": "Arial;13;0", "left": 221, - "top": 842, + "top": 872, "width": 523.16748046875, "height": 13, "text": "+addView(*logic_function: boolean, *pData: void, UID: const unsigned char): boolean", @@ -584,7 +618,7 @@ }, "font": "Arial;13;0", "left": 221, - "top": 857, + "top": 887, "width": 523.16748046875, "height": 13, "text": "+removeView(UID: const unsigned char): boolean", @@ -601,10 +635,10 @@ }, "font": "Arial;13;0", "left": 221, - "top": 872, + "top": 902, "width": 523.16748046875, "height": 13, - "text": "+displayView(UID: const unsigned char): boolean", + "text": "+displayView(UID: const char = -1): boolean", "horizontalAlignment": 0 }, { @@ -618,7 +652,7 @@ }, "font": "Arial;13;0", "left": 221, - "top": 887, + "top": 917, "width": 523.16748046875, "height": 13, "text": "+invertDisplay(inverted: boolean): void", @@ -635,7 +669,7 @@ }, "font": "Arial;13;0", "left": 221, - "top": 902, + "top": 932, "width": 523.16748046875, "height": 13, "text": "+dimDisplay(dimmed: boolean): void", @@ -652,7 +686,7 @@ }, "font": "Arial;13;0", "left": 221, - "top": 917, + "top": 947, "width": 523.16748046875, "height": 13, "text": "-createEmptyList(): void *", @@ -669,12 +703,46 @@ }, "font": "Arial;13;0", "left": 221, - "top": 932, + "top": 962, "width": 523.16748046875, "height": 13, "text": "+const getError(): unsigned char", "horizontalAlignment": 0 }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAFpKn+bfS6WhrY=", + "_parent": { + "$ref": "AAAAAAFpHq11g76xBiU=" + }, + "model": { + "$ref": "AAAAAAFpKn+bUC6TIU8=" + }, + "font": "Arial;13;0", + "left": 221, + "top": 977, + "width": 523.16748046875, + "height": 13, + "text": "+const isDisplayInverted(): boolean", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAFpKoAX6y9xyG0=", + "_parent": { + "$ref": "AAAAAAFpHq11g76xBiU=" + }, + "model": { + "$ref": "AAAAAAFpKoAXui9uQ2w=" + }, + "font": "Arial;13;0", + "left": 221, + "top": 992, + "width": 523.16748046875, + "height": 13, + "text": "+const isDisplayDimmed(): boolean", + "horizontalAlignment": 0 + }, { "_type": "UMLOperationView", "_id": "AAAAAAFpIV356hs9rsQ=", @@ -686,7 +754,7 @@ }, "font": "Arial;13;0", "left": 221, - "top": 947, + "top": 1007, "width": 523.16748046875, "height": 13, "text": "-addNewLinkAtTheEnd(ViewLinkedList *viewLinkedList, ViewLink viewLink): boolean", @@ -703,7 +771,7 @@ }, "font": "Arial;13;0", "left": 221, - "top": 962, + "top": 1022, "width": 523.16748046875, "height": 13, "text": "-isListEmpty(ViewLinkedList viewLinkedList): boolean", @@ -720,7 +788,7 @@ }, "font": "Arial;13;0", "left": 221, - "top": 977, + "top": 1037, "width": 523.16748046875, "height": 13, "text": "-removeLinkByUID(ViewLinkedList *viewLinkedList, UID: const unsigned char): boolean", @@ -729,9 +797,9 @@ ], "font": "Arial;13;0", "left": 216, - "top": 822, + "top": 852, "width": 533.16748046875, - "height": 173 + "height": 203 }, { "_type": "UMLReceptionCompartmentView", @@ -771,7 +839,7 @@ "left": 216, "top": 744, "width": 533.16748046875, - "height": 251, + "height": 311, "nameCompartment": { "$ref": "AAAAAAFpHq11gr6ruDw=" }, @@ -809,8 +877,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 813, - "top": 881, + "left": 814, + "top": 896, "height": 13, "alpha": 1.5707963267948966, "distance": 15, @@ -830,8 +898,8 @@ }, "visible": null, "font": "Arial;13;0", - "left": 813, - "top": 896, + "left": 814, + "top": 911, "height": 13, "alpha": 1.5707963267948966, "distance": 30, @@ -851,8 +919,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 814, - "top": 851, + "left": 813, + "top": 867, "height": 13, "alpha": -1.5707963267948966, "distance": 15, @@ -872,8 +940,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 852, - "top": 881, + "left": 853, + "top": 895, "height": 13, "alpha": 0.5235987755982988, "distance": 30, @@ -893,8 +961,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 850, - "top": 895, + "left": 851, + "top": 909, "height": 13, "alpha": 0.7853981633974483, "distance": 40, @@ -914,8 +982,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 857, - "top": 854, + "left": 856, + "top": 868, "height": 13, "alpha": -0.5235987755982988, "distance": 25, @@ -934,8 +1002,8 @@ "$ref": "AAAAAAFpHucSu788r0g=" }, "font": "Arial;13;0", - "left": 758, - "top": 884, + "left": 759, + "top": 900, "width": 94.65625, "height": 13, "alpha": -0.3058788210270264, @@ -956,8 +1024,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 777, - "top": 894, + "left": 778, + "top": 911, "height": 13, "alpha": -0.7853981633974483, "distance": 40, @@ -977,7 +1045,7 @@ "visible": false, "font": "Arial;13;0", "left": 770, - "top": 853, + "top": 870, "height": 13, "alpha": 0.5235987755982988, "distance": 25, @@ -1022,7 +1090,7 @@ "$ref": "AAAAAAFpHqCuVb5uVUA=" }, "lineStyle": 1, - "points": "879:873;749:872", + "points": "879:886;749:890", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAFpHucSvL8/DjI=" @@ -3445,8 +3513,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": -80, - "top": 112, + "left": -32, + "top": 224, "height": 13 }, { @@ -3456,8 +3524,8 @@ "$ref": "AAAAAAFpIVCNABPYowM=" }, "font": "Arial;13;1", - "left": 381, - "top": 1055, + "left": 405, + "top": 1111, "width": 153.55615234375, "height": 13, "text": "ViewLinkedList" @@ -3470,8 +3538,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": -80, - "top": 112, + "left": -32, + "top": 224, "width": 73.67724609375, "height": 13, "text": "(from Model)" @@ -3484,15 +3552,15 @@ }, "visible": false, "font": "Arial;13;0", - "left": -80, - "top": 112, + "left": -32, + "top": 224, "height": 13, "horizontalAlignment": 1 } ], "font": "Arial;13;0", - "left": 376, - "top": 1048, + "left": 400, + "top": 1104, "width": 163.55615234375, "height": 25, "stereotypeLabel": { @@ -3528,8 +3596,8 @@ "$ref": "AAAAAAFpIVFv0xYYyKo=" }, "font": "Arial;13;0", - "left": 381, - "top": 1078, + "left": 405, + "top": 1134, "width": 153.55615234375, "height": 13, "text": "+*pData: void", @@ -3545,8 +3613,8 @@ "$ref": "AAAAAAFpIVHZcha1vLw=" }, "font": "Arial;13;0", - "left": 381, - "top": 1093, + "left": 405, + "top": 1149, "width": 153.55615234375, "height": 13, "text": "+*logic_function: boolean", @@ -3562,8 +3630,8 @@ "$ref": "AAAAAAFpIVKy4BfqLR4=" }, "font": "Arial;13;0", - "left": 381, - "top": 1108, + "left": 405, + "top": 1164, "width": 153.55615234375, "height": 13, "text": "+UID: const unsigned char", @@ -3579,8 +3647,8 @@ "$ref": "AAAAAAFpIVL7ehiHAoI=" }, "font": "Arial;13;0", - "left": 381, - "top": 1123, + "left": 405, + "top": 1179, "width": 153.55615234375, "height": 13, "text": "+next: ViewLink*", @@ -3588,8 +3656,8 @@ } ], "font": "Arial;13;0", - "left": 376, - "top": 1073, + "left": 400, + "top": 1129, "width": 163.55615234375, "height": 68 }, @@ -3603,8 +3671,8 @@ "$ref": "AAAAAAFpIVCM/xPV/bU=" }, "font": "Arial;13;0", - "left": 376, - "top": 1141, + "left": 400, + "top": 1197, "width": 163.55615234375, "height": 10 }, @@ -3619,8 +3687,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": -40, - "top": 56, + "left": -16, + "top": 112, "width": 10, "height": 10 }, @@ -3635,16 +3703,16 @@ }, "visible": false, "font": "Arial;13;0", - "left": -40, - "top": 56, + "left": -16, + "top": 112, "width": 10, "height": 10 } ], "font": "Arial;13;0", "containerChangeable": true, - "left": 376, - "top": 1048, + "left": 400, + "top": 1104, "width": 163.55615234375, "height": 133, "nameCompartment": { @@ -3684,8 +3752,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 480, - "top": 1016, + "left": 495, + "top": 1072, "height": 13, "alpha": 1.5707963267948966, "distance": 15, @@ -3705,8 +3773,8 @@ }, "visible": null, "font": "Arial;13;0", - "left": 495, - "top": 1017, + "left": 510, + "top": 1072, "height": 13, "alpha": 1.5707963267948966, "distance": 30, @@ -3726,8 +3794,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 451, - "top": 1013, + "left": 466, + "top": 1073, "height": 13, "alpha": -1.5707963267948966, "distance": 15, @@ -3747,8 +3815,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 481, - "top": 1016, + "left": 496, + "top": 1074, "height": 13, "alpha": 0.5235987755982988, "distance": 30, @@ -3768,8 +3836,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 494, - "top": 1019, + "left": 509, + "top": 1077, "height": 13, "alpha": 0.7853981633974483, "distance": 40, @@ -3789,8 +3857,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 454, - "top": 1009, + "left": 468, + "top": 1070, "height": 13, "alpha": -0.5235987755982988, "distance": 25, @@ -3810,8 +3878,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 481, - "top": 1016, + "left": 496, + "top": 1071, "height": 13, "alpha": -0.5235987755982988, "distance": 30, @@ -3830,8 +3898,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 494, - "top": 1015, + "left": 509, + "top": 1068, "height": 13, "alpha": -0.7853981633974483, "distance": 40, @@ -3850,8 +3918,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 453, - "top": 1018, + "left": 468, + "top": 1075, "height": 13, "alpha": 0.5235987755982988, "distance": 25, @@ -3896,7 +3964,7 @@ "$ref": "AAAAAAFpHq11gr6quCs=" }, "lineStyle": 1, - "points": "469:995;464:1047", + "points": "481:1055;481:1103", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAFpIVDGIBS5fjw=" @@ -3931,6 +3999,182 @@ "headQualifiersCompartment": { "$ref": "AAAAAAFpIVDGIRTDqEk=" } + }, + { + "_type": "UMLClassView", + "_id": "AAAAAAFpKneDch8OUuM=", + "_parent": { + "$ref": "AAAAAAFF+qBtyKM79qY=" + }, + "model": { + "$ref": "AAAAAAFpKneDcR8MzCI=" + }, + "subViews": [ + { + "_type": "UMLNameCompartmentView", + "_id": "AAAAAAFpKneDch8PyEY=", + "_parent": { + "$ref": "AAAAAAFpKneDch8OUuM=" + }, + "model": { + "$ref": "AAAAAAFpKneDcR8MzCI=" + }, + "subViews": [ + { + "_type": "LabelView", + "_id": "AAAAAAFpKneDcx8QPkU=", + "_parent": { + "$ref": "AAAAAAFpKneDch8PyEY=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -144, + "top": -112, + "height": 13 + }, + { + "_type": "LabelView", + "_id": "AAAAAAFpKneDcx8Re7o=", + "_parent": { + "$ref": "AAAAAAFpKneDch8PyEY=" + }, + "font": "Arial;13;1", + "left": 885, + "top": 1047, + "width": 207, + "height": 13, + "text": "SDCardManager" + }, + { + "_type": "LabelView", + "_id": "AAAAAAFpKneDcx8SCYg=", + "_parent": { + "$ref": "AAAAAAFpKneDch8PyEY=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -144, + "top": -112, + "width": 73.67724609375, + "height": 13, + "text": "(from Model)" + }, + { + "_type": "LabelView", + "_id": "AAAAAAFpKneDcx8Tg7I=", + "_parent": { + "$ref": "AAAAAAFpKneDch8PyEY=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -144, + "top": -112, + "height": 13, + "horizontalAlignment": 1 + } + ], + "font": "Arial;13;0", + "left": 880, + "top": 1040, + "width": 217, + "height": 25, + "stereotypeLabel": { + "$ref": "AAAAAAFpKneDcx8QPkU=" + }, + "nameLabel": { + "$ref": "AAAAAAFpKneDcx8Re7o=" + }, + "namespaceLabel": { + "$ref": "AAAAAAFpKneDcx8SCYg=" + }, + "propertyLabel": { + "$ref": "AAAAAAFpKneDcx8Tg7I=" + } + }, + { + "_type": "UMLAttributeCompartmentView", + "_id": "AAAAAAFpKneDcx8URfg=", + "_parent": { + "$ref": "AAAAAAFpKneDch8OUuM=" + }, + "model": { + "$ref": "AAAAAAFpKneDcR8MzCI=" + }, + "font": "Arial;13;0", + "left": 880, + "top": 1065, + "width": 217, + "height": 10 + }, + { + "_type": "UMLOperationCompartmentView", + "_id": "AAAAAAFpKneDcx8Vby4=", + "_parent": { + "$ref": "AAAAAAFpKneDch8OUuM=" + }, + "model": { + "$ref": "AAAAAAFpKneDcR8MzCI=" + }, + "font": "Arial;13;0", + "left": 880, + "top": 1075, + "width": 217, + "height": 10 + }, + { + "_type": "UMLReceptionCompartmentView", + "_id": "AAAAAAFpKneDcx8WHvM=", + "_parent": { + "$ref": "AAAAAAFpKneDch8OUuM=" + }, + "model": { + "$ref": "AAAAAAFpKneDcR8MzCI=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -72, + "top": -56, + "width": 10, + "height": 10 + }, + { + "_type": "UMLTemplateParameterCompartmentView", + "_id": "AAAAAAFpKneDcx8XVFE=", + "_parent": { + "$ref": "AAAAAAFpKneDch8OUuM=" + }, + "model": { + "$ref": "AAAAAAFpKneDcR8MzCI=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -72, + "top": -56, + "width": 10, + "height": 10 + } + ], + "font": "Arial;13;0", + "containerChangeable": true, + "left": 880, + "top": 1040, + "width": 217, + "height": 177, + "nameCompartment": { + "$ref": "AAAAAAFpKneDch8PyEY=" + }, + "attributeCompartment": { + "$ref": "AAAAAAFpKneDcx8URfg=" + }, + "operationCompartment": { + "$ref": "AAAAAAFpKneDcx8Vby4=" + }, + "receptionCompartment": { + "$ref": "AAAAAAFpKneDcx8WHvM=" + }, + "templateParameterCompartment": { + "$ref": "AAAAAAFpKneDcx8XVFE=" + } } ] }, @@ -4345,6 +4589,26 @@ "name": "error", "visibility": "private", "type": "unsigned char" + }, + { + "_type": "UMLAttribute", + "_id": "AAAAAAFpKn3+5y1ZFXA=", + "_parent": { + "$ref": "AAAAAAFpHq11gr6oq4M=" + }, + "name": "displayInverted", + "visibility": "private", + "type": "boolean" + }, + { + "_type": "UMLAttribute", + "_id": "AAAAAAFpKn8jMS32ETQ=", + "_parent": { + "$ref": "AAAAAAFpHq11gr6oq4M=" + }, + "name": "displayDimmed", + "visibility": "private", + "type": "boolean" } ], "operations": [ @@ -4457,7 +4721,9 @@ "$ref": "AAAAAAFpHuGHYr8WkXQ=" }, "name": "UID", - "type": "const unsigned char" + "type": "const char", + "isReadOnly": true, + "defaultValue": "-1" }, { "_type": "UMLParameter", @@ -4565,6 +4831,44 @@ } ] }, + { + "_type": "UMLOperation", + "_id": "AAAAAAFpKn+bUC6TIU8=", + "_parent": { + "$ref": "AAAAAAFpHq11gr6oq4M=" + }, + "name": "const isDisplayInverted", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAFpKoAK7i70pY4=", + "_parent": { + "$ref": "AAAAAAFpKn+bUC6TIU8=" + }, + "type": "boolean", + "direction": "return" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAFpKoAXui9uQ2w=", + "_parent": { + "$ref": "AAAAAAFpHq11gr6oq4M=" + }, + "name": "const isDisplayDimmed", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAFpKoBTTC/AlA0=", + "_parent": { + "$ref": "AAAAAAFpKoAXui9uQ2w=" + }, + "type": "boolean", + "direction": "return" + } + ] + }, { "_type": "UMLOperation", "_id": "AAAAAAFpIV35vBs6xGk=", @@ -4656,7 +4960,8 @@ "_parent": { "$ref": "AAAAAAFpJr23GpTCSEg=" }, - "name": "ViewLinkedList *viewLinkedList" + "name": "ViewLinkedList *viewLinkedList", + "type": "" }, { "_type": "UMLParameter", @@ -5483,6 +5788,14 @@ "type": "ViewLink*" } ] + }, + { + "_type": "UMLClass", + "_id": "AAAAAAFpKneDcR8MzCI=", + "_parent": { + "$ref": "AAAAAAFF+qBWK6M3Z8Y=" + }, + "name": "SDCardManager" } ] }