4 modified_by 36 "daniele"
9 default_attribute_visibility protected default_relation_visibility protected default_operation_visibility public
10 //class diagram settings
11 draw_all_relations yes hide_attributes no hide_operations no show_members_full_definition no show_members_visibility no show_members_stereotype no show_parameter_dir yes show_parameter_name yes package_name_in_tab no class_drawing_mode natural drawing_language uml show_context_mode no auto_label_position yes show_infonote no shadow yes
12 //use case diagram settings
13 package_name_in_tab no show_context no auto_label_position yes draw_all_relations yes shadow yes
14 //sequence diagram settings
15 show_full_operations_definition no write_horizontally yes class_drawing_mode natural drawing_language uml draw_all_relations yes shadow yes
16 //collaboration diagram settings
17 show_full_operations_definition no show_hierarchical_rank no write_horizontally yes drawing_language uml package_name_in_tab no show_context no draw_all_relations yes shadow yes
18 //object diagram settings
19 write_horizontally yes package_name_in_tab no show_context no auto_label_position yes draw_all_relations yes shadow yes
20 //component diagram settings
21 package_name_in_tab no show_context no auto_label_position yes draw_all_relations yes shadow yes
22 draw_component_as_icon no show_component_req_prov no show_component_rea no
23 //deployment diagram settings
24 package_name_in_tab no show_context no write_horizontally yes auto_label_position yes draw_all_relations yes shadow yes
25 draw_component_as_icon no show_component_req_prov no show_component_rea no
26 //state diagram settings
27 package_name_in_tab no show_context no auto_label_position yes write_trans_label_horizontally yes show_trans_definition no draw_all_relations yes shadow yes
28 show_activities yes region_horizontally yes drawing_language uml
29 //activity diagram settings
30 package_name_in_tab no show_context no show_opaque_action_definition no auto_label_position yes write_flow_label_horizontally no draw_all_relations yes shadow yes
31 show_infonote yes drawing_language uml
33 class_color yellow duration_color transparent continuation_color gray note_color blue fragment_color transparent subject_color transparent usecase_color yellow package_color transparent component_color green artifact_color green deploymentnode_color gray state_color yellow stateaction_color transparent activity_color transparent activityregion_color transparent activityaction_color transparent parameterpin_color white
39 classview 128021 "ArchitetturaGlobale"
40 //class diagram settings
41 draw_all_relations yes hide_attributes default hide_operations default show_members_full_definition yes show_members_visibility yes show_members_stereotype yes show_parameter_dir no show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
42 //collaboration diagram settings
43 show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default draw_all_relations default shadow default
44 //object diagram settings
45 write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default
46 //sequence diagram settings
47 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
48 //state diagram settings
49 package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default
50 show_activities default region_horizontally default drawing_language default
52 //activity diagram settings
53 package_name_in_tab default show_context default show_opaque_action_definition default auto_label_position default write_flow_label_horizontally default draw_all_relations default shadow default
54 show_infonote default drawing_language default
55 classdiagram 128021 "Global"
56 draw_all_relations no hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
60 classdiagram 128149 "PlayerDiagram"
61 draw_all_relations no hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
65 classdiagram 128393 "GUIDiagram"
66 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
70 classdiagram 128521 "CoreDiagram"
71 draw_all_relations no hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
75 class 128277 "SoQtRenderArea"
81 explicit_switch_type ""
85 class 128533 "QWidget"
91 explicit_switch_type ""
95 class 128661 "RenderWidget"
97 cpp_decl "${comment}${template}class ${name}${inherit} {
104 explicit_switch_type ""
106 associated_diagram classdiagram_ref 128021 // Global
107 operation 128105 "RenderWidget"
108 public explicit_return_type ""
110 param in name "dim" explicit_type "int"
111 param in name "lock" type class_ref 130709 // SyncSharedCondition
112 param in name "defaultCubeColor" type class_ref 128253 // QColor
113 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}${)}${volatile}${throw};
115 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
123 attribute 128060 "DefaultCubeColor"
124 class_attribute const_attribute private type class_ref 128253 // QColor
125 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
132 classrelation 128277 // <generalisation>
133 relation 128277 ---|>
135 classrelation_ref 128277 // <generalisation>
136 b parent class_ref 128533 // QWidget
139 operation 128824 "drawMove"
140 public explicit_return_type "bool"
142 param in name "p" type class_ref 129173 // Point
143 param in name "c" explicit_type "QColor"
144 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, const ${t1} & ${p1}${)}${const}${volatile}${throw}${abstract};
146 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
152 comment "true se la mossa รจ valida altrimenti false
156 attribute 128006 "scene"
157 private type class_ref 129685 // SceneGraph
158 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
165 classrelation 128006 // <directional composition>
167 a role_name "" protected
168 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
170 classrelation_ref 128006 // <directional composition>
171 b parent class_ref 129685 // SceneGraph
174 attribute 129001 "acceptMove"
175 private explicit_type "bool"
176 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
183 operation 129385 "acceptMove"
184 public explicit_return_type "void"
186 param in name "value" explicit_type "bool"
187 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
189 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
197 operation 128828 "uncheckedDraw"
198 public explicit_return_type "void"
200 param in name "pointList" explicit_type "QList<Point>"
201 param in name "colorList" explicit_type "QList<QColor>"
203 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
205 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
211 comment "se colorList==0 allora usa defaultCubeColor"
214 operation 131000 "highlightSuggested"
216 public explicit_return_type "void"
218 param in name "point" type class_ref 129173 // Point
219 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
221 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
229 classrelation 128107 // <directional composition>
231 a role_name "" protected
232 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
234 classrelation_ref 128107 // <directional composition>
235 b parent class_ref 128277 // SoQtRenderArea
238 attribute 128107 "renderArea"
239 private type class_ref 128277 // SoQtRenderArea
240 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
247 attribute 128085 "sync"
248 private type class_ref 130709 // SyncSharedCondition
249 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
257 class 128789 "ChatWidget"
263 explicit_switch_type ""
265 classrelation 129208 // <generalisation>
266 relation 129208 ---|>
268 cpp default "${type}"
269 classrelation_ref 129208 // <generalisation>
270 b parent class_ref 128568 // QDockWidget
273 operation 128235 "displayText"
275 public explicit_return_type "void"
277 param in name "text" type class_ref 128440 // QString
278 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
280 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
288 operation 128107 "textEntered"
290 public explicit_return_type "void"
292 param in name "text" type class_ref 128440 // QString
293 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
295 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
304 class 128917 "MainWindow"
310 explicit_switch_type ""
312 attribute 129301 "loop"
313 private type class_ref 130325 // GameLoop
320 attribute 129173 "net"
321 private type class_ref 130069 // Network
328 attribute 128917 "sync"
329 private type class_ref 130709 // SyncSharedCondition
336 attribute 129429 "settings"
337 private type class_ref 130453 // SettingsManager
344 attribute 128040 "playersInfo"
345 private explicit_type "QMap<int,PlayerInfo>"
346 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
353 attribute 128637 "suggester"
354 private type class_ref 129720 // Suggester
355 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
362 attribute 128149 "render"
363 private type class_ref 128661 // RenderWidget
370 attribute 128277 "chat"
371 private type class_ref 128789 // ChatWidget
378 attribute 129848 "timer"
379 private type class_ref 128381 // TimerWidget
380 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
387 operation 128175 "loadGame"
388 public explicit_return_type "bool"
390 param in name "fileName" type class_ref 128440 // QString
391 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
393 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
401 operation 128047 "saveGame"
402 public explicit_return_type "bool"
404 param in name "fileName" type class_ref 128440 // QString
405 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
407 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
415 classrelation 128917 // <directional composition>
417 a role_name "" protected
418 classrelation_ref 128917 // <directional composition>
419 b parent class_ref 128789 // ChatWidget
422 classrelation 129045 // <directional composition>
424 a role_name "" protected
425 classrelation_ref 129045 // <directional composition>
426 b parent class_ref 128661 // RenderWidget
429 classrelation 128019 // <generalisation>
430 relation 128019 ---|>
432 classrelation_ref 128019 // <generalisation>
433 b parent class_ref 128019 // QMainWindow
436 classrelation 128440 // <directional composition>
438 a role_name "" protected
439 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
441 classrelation_ref 128440 // <directional composition>
442 b parent class_ref 130069 // Network
445 classrelation 128568 // <directional composition>
447 a role_name "" protected
448 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
450 classrelation_ref 128568 // <directional composition>
451 b parent class_ref 129941 // AI
454 classrelation 128696 // <directional composition>
456 a role_name "" protected
457 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
459 classrelation_ref 128696 // <directional composition>
460 b parent class_ref 130709 // SyncSharedCondition
463 classrelation 128264 // <directional composition>
465 a role_name "" protected
466 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
468 classrelation_ref 128264 // <directional composition>
469 b parent class_ref 130453 // SettingsManager
472 classrelation 128262 // <directional composition>
474 a role_name "" protected
475 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
477 classrelation_ref 128262 // <directional composition>
478 b parent class_ref 130325 // GameLoop
481 operation 128392 "turn"
483 public explicit_return_type "void"
485 param in name "player" type class_ref 129045 // Player
486 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
488 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
496 operation 128361 "drawMove"
498 public explicit_return_type "void"
500 param in name "move" type class_ref 129301 // Move
501 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
503 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
509 comment "invoca RenderWidget::drawMove e se questa chiamata ritorna false messaggio all'utente e sara su tutto"
512 operation 128060 "undoMoves"
514 public explicit_return_type "void"
516 param in name "index" explicit_type "QModelIndex"
517 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
519 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
525 comment "disattiva la possibilitร da parte dell'utente di eseguire mosse
526 resetta su render e game matrix le caselle indicate nella lista index+1..n
527 invoca setLastRound(index-2...index) su game matrix
528 setta su GameLoop il turno con setTurn(index+1.id())
529 toglie gli elementi index+1..n dalla history
530 invoca notifyMove(Point_null)
534 operation 128700 "showPastGameStatus"
536 public explicit_return_type "void"
538 param in name "index" explicit_type "QModelIndex"
539 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
541 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
547 comment "vedi pesablock, รจ il gestore dell'evento history::clicked"
550 attribute 129976 "history"
551 private type class_ref 129848 // HistoryModel
552 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
559 classrelation 130744 // <directional composition>
561 a role_name "" protected
562 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
564 classrelation_ref 130744 // <directional composition>
565 b parent class_ref 129848 // HistoryModel
568 attribute 130232 "gameMatrix"
569 private type class_ref 129557 // GameMatrix
570 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
577 attribute 128381 "playersWidget"
578 private type class_ref 129021 // PlayersWidget
579 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
586 classrelation 129533 // <directional composition>
588 a role_name "" protected
589 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
591 classrelation_ref 129533 // <directional composition>
592 b parent class_ref 129720 // Suggester
595 classrelation 128316 // <directional composition>
597 a role_name "" protected
598 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
600 classrelation_ref 128316 // <directional composition>
601 b parent class_ref 128381 // TimerWidget
604 classrelation 128572 // <directional composition>
606 a role_name "" protected
607 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
609 classrelation_ref 128572 // <directional composition>
610 b parent class_ref 129021 // PlayersWidget
613 classrelation 128700 // <directional composition>
615 a role_name "" protected
616 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
618 classrelation_ref 128700 // <directional composition>
619 b parent class_ref 128893 // QTableView
622 attribute 128188 "historyView"
623 private type class_ref 128893 // QTableView
624 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
631 operation 129206 "newStandAloneGame"
633 public explicit_return_type "void"
635 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
637 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
645 classrelation 128054 // <unidirectional association>
647 a role_name "" multiplicity "0..3" private
648 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
650 classrelation_ref 128054 // <unidirectional association>
651 b parent class_ref 129976 // PlayerInfo
654 operation 128020 "playerWin"
656 public explicit_return_type "void"
658 param in name "playerId" explicit_type "int"
659 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
661 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
669 operation 128276 "playersDraw"
671 public explicit_return_type "void"
673 param in name "playersIds" explicit_type "QList<int>"
674 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
676 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
684 operation 130360 "forceMove"
686 public explicit_return_type "void"
688 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
690 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
699 class 129045 "Player"
700 abstract visibility package
705 explicit_switch_type ""
707 operation 128617 "Player"
708 public explicit_return_type ""
710 param in name "id" explicit_type "int"
711 param in name "sync" type class_ref 130709 // SyncSharedCondition
712 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
714 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
722 attribute 128745 "sync"
723 private type class_ref 130709 // SyncSharedCondition
724 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
731 operation 128184 "move"
732 abstract cpp_virtual public return_type class_ref 129301 // Move
734 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
741 attribute 128168 "id"
742 const_attribute private explicit_type "int"
743 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
750 operation 128040 "id"
751 const public explicit_return_type "int"
753 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
755 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
770 explicit_switch_type ""
773 private explicit_type "int"
774 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
782 private explicit_type "int"
783 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
791 private explicit_type "int"
792 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
799 operation 128875 "Point"
800 public explicit_return_type ""
802 param in name "x" explicit_type "int"
803 param in name "y" explicit_type "int"
804 param in name "z" explicit_type "int"
805 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
807 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
822 explicit_switch_type ""
824 attribute 128405 "playerId"
825 private explicit_type "int"
832 attribute 128533 "coord"
833 private type class_ref 129173 // Point
840 classrelation 129173 // <directional composition>
842 a role_name "" protected
843 classrelation_ref 129173 // <directional composition>
844 b parent class_ref 129173 // Point
847 operation 129641 "Move"
848 public explicit_return_type ""
850 param in name "id" explicit_type "int"
851 param in name "coord" type class_ref 129173 // Point
852 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
854 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
863 class 129557 "GameMatrix"
869 explicit_switch_type ""
871 comment "istanziata da MainWindow e passata poi a GameLoop"
872 attribute 128042 "EmptyPoint"
873 class_attribute const_attribute private explicit_type "int"
875 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
882 operation 130104 "GameMatrix"
883 public explicit_return_type ""
885 param in name "dim1" explicit_type "int"
886 param in name "dim2" explicit_type "int"
887 param in name "numPlayers" explicit_type "int"
888 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, ${t1} ${p1}, ${t2} ${p2}${)}${volatile}${throw};
890 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
898 attribute 128873 "lastRound"
899 private explicit_type "QList<Point>"
900 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
905 comment "/buffer delle ultime mosse da rivedere"
908 attribute 129129 "dim1"
909 private explicit_type "int"
910 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
917 attribute 129257 "dim2"
918 private explicit_type "int"
919 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
926 operation 129513 "add"
927 public explicit_return_type "bool"
929 param in name "move" type class_ref 129301 // Move
930 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
932 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
938 comment "se la mossa ha portato una vittoria ritorna true altrimenti false"
941 operation 128554 "clear"
942 public explicit_return_type "void"
944 param in name "point" type class_ref 129173 // Point
945 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
947 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
955 operation 130232 "numberOfPlayers"
956 public explicit_return_type "int"
958 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
960 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
966 comment "lastRound.size()"
969 operation 128188 "setLastRound"
970 public explicit_return_type "void"
972 param in name "round" explicit_type "QList<Point>"
973 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
975 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
983 operation 128404 "isFull"
984 const public explicit_return_type "bool"
986 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
988 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
996 attribute 128148 "freeCounter"
997 private explicit_type "int"
998 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1006 class 129685 "SceneGraph"
1012 explicit_switch_type ""
1016 class 129813 "QWaitCondition"
1022 explicit_switch_type ""
1024 operation 130025 "wait"
1025 public explicit_return_type "bool"
1027 param in name "lock" type class_ref 130837 // QMutex
1028 param in name "timeout" explicit_type "unsigned long"
1029 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1031 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1039 operation 130153 "wakeOne"
1040 public explicit_return_type "void"
1042 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1044 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1059 explicit_switch_type ""
1061 attribute 128084 "mat"
1062 private type class_ref 129557 // GameMatrix
1069 operation 128084 "AI"
1070 public explicit_return_type ""
1072 param in name "id" explicit_type "int"
1073 param in name "mat" type class_ref 129557 // GameMatrix
1080 operation 128212 "move"
1081 public return_type class_ref 129301 // Move
1083 param in name "level" explicit_type "int"
1088 comment "prima di ritornare la mossa mette a false il bool forceMove"
1091 attribute 128296 "playerId"
1092 const_attribute private explicit_type "int"
1093 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1100 attribute 128424 "forceMove"
1101 private explicit_type "bool"
1102 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1107 comment "default false."
1110 operation 129976 "forceMove"
1111 public explicit_return_type "void"
1113 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1115 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1121 comment "setta a true il bool forceMove"
1125 class 130069 "Network"
1131 explicit_switch_type ""
1133 operation 128426 "sendPlayersInfo"
1134 public explicit_return_type "void"
1136 param in name "info" explicit_type "QList<PlayerInfo>"
1137 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1139 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1147 operation 128042 "sendGameSettings"
1148 public explicit_return_type "void"
1150 param in name "d1" explicit_type "int"
1151 param in name "d2" explicit_type "int"
1152 param in name "playersType" explicit_type "QStringList"
1153 param in name "timer" explicit_type "int"
1154 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1156 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1164 operation 128340 "sendChatMsg"
1166 public explicit_return_type "void"
1168 param in name "msg" type class_ref 128440 // QString
1169 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1176 operation 128468 "sendMove"
1178 public explicit_return_type "void"
1180 param in name "move" type class_ref 129301 // Move
1181 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1188 attribute 128552 "CurrentPlayer"
1189 private explicit_type "int"
1190 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1195 comment "rappresenta l'ID del player che usa la GUI in una partita online.
1196 puรฒ essere uno solo per partita online quindi va settato una volta che si รจ ricevuta lista edi giocatori e quindi l'id del giocatore locale."
1199 operation 128956 "receivedChatMsg"
1201 public explicit_return_type "void"
1203 param in name "msg" type class_ref 128440 // QString
1204 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1206 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1214 operation 128363 "receivedMove"
1216 public explicit_return_type "void"
1218 param in name "move" type class_ref 129301 // Move
1219 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1221 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1230 class 130197 "QThread"
1231 abstract visibility package
1236 explicit_switch_type ""
1238 operation 128393 "run"
1239 abstract cpp_virtual protected explicit_return_type "void"
1241 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1249 class 130325 "GameLoop"
1255 explicit_switch_type ""
1257 comment "quando attende una mossa da RemotePlayer o HumanPlayer va in wait, quando invece tocca ad AIPlayer deve essere questo Thread che esegue il calcolo. NON deve andare in wait."
1258 operation 128054 "GameLoop"
1259 public explicit_return_type ""
1261 param in name "players" explicit_type "QList<Player>"
1262 param in name "mat" type class_ref 129557 // GameMatrix
1263 cpp_decl " ${comment}${inline}${name}${(}const ${t0} & ${p0}, ${t1} ${p1}, ${t2} ${p2}, const ${t3} & ${p3}${)}${volatile}${throw};
1265 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1273 operation 128520 "run"
1274 protected explicit_return_type "void"
1276 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1278 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1286 operation 128316 "setTurn"
1287 public explicit_return_type "void"
1289 param in name "id" explicit_type "int"
1290 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1292 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1300 classrelation 130069 // <realization>
1301 relation 130069 -_-|>
1303 classrelation_ref 130069 // <realization>
1304 b parent class_ref 130197 // QThread
1307 attribute 128264 "players"
1308 private explicit_type "QList<Player>"
1309 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
1316 attribute 128134 "mat"
1317 private type class_ref 129557 // GameMatrix
1318 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1325 classrelation 128134 // <directional composition>
1326 relation 128134 *-->
1327 a role_name "" protected
1328 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1330 classrelation_ref 128134 // <directional composition>
1331 b parent class_ref 129557 // GameMatrix
1334 operation 130488 "forceMove"
1336 public explicit_return_type "void"
1338 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1340 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1348 operation 128233 "moved"
1350 public explicit_return_type "void"
1352 param in name "move" type class_ref 129301 // Move
1353 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1355 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1363 operation 128264 "turn"
1365 public explicit_return_type "void"
1367 param in name "player" type class_ref 129045 // Player
1368 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1375 attribute 129592 "currentPlayer"
1376 private type class_ref 129045 // Player
1377 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1382 comment "mantenuto consistente per poter effettuare la forceMove()"
1385 classrelation 128042 // <directional composition>
1386 relation 128042 *-->
1387 a role_name "" multiplicity "2..3" protected
1388 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1390 classrelation_ref 128042 // <directional composition>
1391 b parent class_ref 129045 // Player
1394 operation 128148 "win"
1396 public explicit_return_type "void"
1398 param in name "playerId" explicit_type "int"
1399 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1401 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1409 attribute 128020 "winStatus"
1410 private explicit_type "QList<bool>"
1411 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1416 comment "se winStatus[i]==false allora il player[i] non ha realizzato una condizione di vittoria"
1419 operation 128532 "draw"
1421 public explicit_return_type "void"
1423 param in name "playersIds" explicit_type "QList<int>"
1424 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1426 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1435 class 130709 "SyncSharedCondition"
1441 explicit_switch_type ""
1443 attribute 129557 "sync"
1444 private type class_ref 129813 // QWaitCondition
1451 attribute 128105 "point"
1452 private type class_ref 129173 // Point
1453 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1460 operation 129129 "waitForMove"
1461 public return_type class_ref 129173 // Point
1463 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1465 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1473 operation 129257 "notifyMove"
1474 public explicit_return_type "void"
1476 param in name "p" type class_ref 129173 // Point
1477 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1479 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1487 classrelation 128105 // <generalisation>
1488 relation 128105 ---|>
1490 cpp default "${type}"
1491 classrelation_ref 128105 // <generalisation>
1492 b parent class_ref 130837 // QMutex
1495 classrelation 128168 // <directional composition>
1496 relation 128168 *-->
1497 a role_name "" protected
1498 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1500 classrelation_ref 128168 // <directional composition>
1501 b parent class_ref 129813 // QWaitCondition
1505 class 130837 "QMutex"
1511 explicit_switch_type ""
1513 operation 129769 "lock"
1514 public explicit_return_type "void"
1516 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1518 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1526 operation 129897 "unlock"
1527 public explicit_return_type "void"
1529 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1531 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1540 class 128019 "QMainWindow"
1546 explicit_switch_type ""
1550 class 128056 "HumanPlayer"
1552 cpp_decl "${comment}${template}class ${name}${inherit} {
1559 explicit_switch_type ""
1561 operation 128745 "HumanPlayer"
1562 public explicit_return_type ""
1564 param in name "id" explicit_type "int"
1565 param in name "sync" type class_ref 130709 // SyncSharedCondition
1566 param in name "render" type class_ref 128661 // RenderWidget
1567 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1569 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1577 operation 128440 "move"
1578 cpp_virtual public return_type class_ref 129301 // Move
1580 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1582 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1590 attribute 128233 "render"
1591 private type class_ref 128661 // RenderWidget
1592 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1599 classrelation 128361 // <realization>
1600 relation 128361 -_-|>
1602 cpp default "${type}"
1603 classrelation_ref 128361 // <realization>
1604 b parent class_ref 129045 // Player
1608 class 128184 "RemotePlayer"
1610 cpp_decl "${comment}${template}class ${name}${inherit} {
1617 explicit_switch_type ""
1619 operation 128873 "RemotePlayer"
1620 public explicit_return_type ""
1622 param in name "id" explicit_type "int"
1623 param in name "sync" type class_ref 130709 // SyncSharedCondition
1624 param in name "net" type class_ref 130069 // Network
1625 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1627 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1635 operation 128568 "move"
1636 cpp_virtual public return_type class_ref 129301 // Move
1638 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1640 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1648 attribute 128361 "net"
1649 private type class_ref 130069 // Network
1650 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1657 classrelation 128489 // <realization>
1658 relation 128489 -_-|>
1660 cpp default "${type}"
1661 classrelation_ref 128489 // <realization>
1662 b parent class_ref 129045 // Player
1666 class 128312 "AIPlayer"
1668 cpp_decl "${comment}${template}class ${name}${inherit} {
1675 explicit_switch_type ""
1677 operation 129001 "AIPlayer"
1678 public explicit_return_type ""
1680 param in name "id" explicit_type "int"
1681 param in name "sync" type class_ref 130709 // SyncSharedCondition
1682 param in name "mat" type class_ref 129557 // GameMatrix
1683 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1685 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1691 comment "inizializza skill con la costante di classe DefaultSkill"
1694 attribute 128386 "DefaultSkill"
1695 class_attribute const_attribute private explicit_type "int"
1696 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1703 operation 128696 "move"
1704 cpp_virtual public return_type class_ref 129301 // Move
1706 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1708 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1716 classrelation 128617 // <realization>
1717 relation 128617 -_-|>
1719 cpp default "${type}"
1720 classrelation_ref 128617 // <realization>
1721 b parent class_ref 129045 // Player
1724 attribute 128258 "skill"
1725 private explicit_type "int"
1726 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1733 operation 128002 "skill"
1734 const public explicit_return_type "int"
1736 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1738 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1746 operation 128130 "setSkill"
1747 public explicit_return_type "void"
1749 param in name "sk" explicit_type "int"
1750 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1752 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1760 classrelation 130360 // <generalisation>
1761 relation 130360 ---|>
1763 cpp default "${type}"
1764 classrelation_ref 130360 // <generalisation>
1765 b parent class_ref 129941 // AI
1769 class 128440 "QString"
1771 cpp_decl "${comment}${template}class ${name}${inherit} {
1778 explicit_switch_type ""
1782 class 128568 "QDockWidget"
1784 cpp_decl "${comment}${template}class ${name}${inherit} {
1791 explicit_switch_type ""
1793 classrelation 128009 // <generalisation>
1794 relation 128009 ---|>
1796 cpp default "${type}"
1797 classrelation_ref 128009 // <generalisation>
1798 b parent class_ref 128533 // QWidget
1802 class 128008 "QSettings"
1804 cpp_decl "${comment}${template}class ${name}${inherit} {
1811 explicit_switch_type ""
1815 class 129720 "Suggester"
1817 cpp_decl "${comment}${template}class ${name}${inherit} {
1824 explicit_switch_type ""
1826 operation 130744 "Suggester"
1827 public explicit_return_type ""
1829 param in name "id" explicit_type "int"
1830 param in name "mat" type class_ref 129557 // GameMatrix
1831 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
1833 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1841 attribute 128130 "SuggestedMoveLevel"
1842 class_attribute const_attribute private explicit_type "int"
1843 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1850 classrelation 130488 // <generalisation>
1851 relation 130488 ---|>
1852 stereotype "private"
1854 cpp default "${type}"
1855 classrelation_ref 130488 // <generalisation>
1856 b parent class_ref 129941 // AI
1859 classrelation 130616 // <realization>
1860 relation 130616 -_-|>
1862 cpp default "${type}"
1863 classrelation_ref 130616 // <realization>
1864 b parent class_ref 130197 // QThread
1867 operation 130616 "run"
1868 protected explicit_return_type "void"
1870 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1872 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1880 operation 128056 "suggestMove"
1881 public return_type class_ref 129173 // Point
1883 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1885 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1891 comment "prima di ritornare mettea false il bool forceMove"
1894 operation 130872 "suggestedMoveReady"
1896 public explicit_return_type "void"
1898 param in name "point" type class_ref 129173 // Point
1899 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1901 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1909 classrelation 129405 // <directional composition>
1910 relation 129405 *-->
1911 a role_name "" protected
1912 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1914 classrelation_ref 129405 // <directional composition>
1915 b parent class_ref 129720 // Suggester
1919 class 129848 "HistoryModel"
1921 cpp_decl "${comment}${template}class ${name}${inherit} {
1928 explicit_switch_type ""
1930 attribute 130104 "history"
1931 private explicit_type "QList<Move>"
1932 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1939 operation 128765 "columnCount"
1940 const cpp_virtual public explicit_return_type "int"
1942 param in name "parent" explicit_type "QModelIndex"
1943 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1950 operation 128637 "rowCount"
1951 const cpp_virtual public explicit_return_type "int"
1953 param in name "parent" explicit_type "QModelIndex"
1954 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1961 operation 128509 "data"
1962 const cpp_virtual public explicit_return_type "QVariant"
1964 param in name "index" explicit_type "QModelIndex"
1965 param in name "role" explicit_type "int"
1966 defaultvalue "Qt::DisplayRole"
1967 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${abstract};
1974 operation 128893 "flags"
1975 const cpp_virtual public explicit_return_type "Qt::ItemFlags"
1977 param in name "index" explicit_type "QModelIndex"
1978 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1980 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1988 operation 129021 "headerData"
1989 const cpp_virtual public explicit_return_type "QVariant"
1991 param in name "section" explicit_type "int"
1992 param in name "orientation" explicit_type "Qt::Orientation"
1993 param in name "role" explicit_type "int"
1994 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, const ${t1} & ${p1}, ${t2} ${p2}${)}${const}${volatile}${throw}${abstract};
1996 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2004 operation 131128 "add"
2005 public explicit_return_type "void"
2007 param in name "move" type class_ref 129301 // Move
2008 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2010 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2018 classrelation 128637 // <realization>
2019 relation 128637 -_-|>
2021 cpp default "${type}"
2022 classrelation_ref 128637 // <realization>
2023 b parent class_ref 128509 // QAbstractTableModel
2026 operation 129259 "insertRows"
2027 cpp_virtual public explicit_return_type "bool"
2029 param in name "row" explicit_type "int"
2030 param in name "count" explicit_type "int"
2031 param in name "parent" explicit_type "QModelIndex"
2032 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2034 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2042 operation 129387 "removeRows"
2043 cpp_virtual public explicit_return_type "bool"
2045 param in name "row" explicit_type "int"
2046 param in name "count" explicit_type "int"
2047 param in name "parent" explicit_type "QModelIndex"
2048 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2050 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2059 class 129976 "PlayerInfo"
2061 cpp_decl "${comment}${template}class ${name}${inherit} {
2068 explicit_switch_type ""
2070 attribute 130360 "name"
2071 private type class_ref 128440 // QString
2072 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2079 attribute 130488 "color"
2080 private explicit_type "QColor"
2081 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2088 attribute 130616 "type"
2089 private type class_ref 128440 // QString
2090 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2097 operation 129131 "PlayerInfo"
2098 public explicit_return_type ""
2100 param in name "name" type class_ref 128440 // QString
2101 param in name "color" type class_ref 128253 // QColor
2102 param in name "type" type class_ref 128440 // QString
2103 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2105 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2114 class 128125 "QTimer"
2116 cpp_decl "${comment}${template}class ${name}${inherit} {
2123 explicit_switch_type ""
2125 operation 128253 "start"
2127 public explicit_return_type "void"
2129 param in name "msec" explicit_type "int"
2130 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2132 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2140 operation 128381 "stop"
2142 public explicit_return_type "void"
2144 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2146 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2154 operation 128125 "timeout"
2156 public explicit_return_type "void"
2158 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2160 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2169 class 128253 "QColor"
2171 cpp_decl "${comment}${template}class ${name}${inherit} {
2178 explicit_switch_type ""
2182 class 128381 "TimerWidget"
2184 cpp_decl "${comment}${template}class ${name}${inherit} {
2191 explicit_switch_type ""
2193 attribute 128125 "timer"
2194 private type class_ref 128125 // QTimer
2195 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2202 classrelation 128381 // <directional composition>
2203 relation 128381 *-->
2204 a role_name "" protected
2205 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2207 classrelation_ref 128381 // <directional composition>
2208 b parent class_ref 128125 // QTimer
2211 classrelation 128509 // <generalisation>
2212 relation 128509 ---|>
2214 cpp default "${type}"
2215 classrelation_ref 128509 // <generalisation>
2216 b parent class_ref 128533 // QWidget
2220 class 128509 "QAbstractTableModel"
2221 abstract visibility package
2222 cpp_decl "${comment}${template}class ${name}${inherit} {
2229 explicit_switch_type ""
2233 class 128893 "QTableView"
2235 cpp_decl "${comment}${template}class ${name}${inherit} {
2242 explicit_switch_type ""
2244 classrelation 128444 // <generalisation>
2245 relation 128444 ---|>
2247 cpp default "${type}"
2248 classrelation_ref 128444 // <generalisation>
2249 b parent class_ref 128533 // QWidget
2253 class 129021 "PlayersWidget"
2255 cpp_decl "${comment}${template}class ${name}${inherit} {
2262 explicit_switch_type ""
2264 comment "rappresenta turno, colore, tipo, nome dei players"
2265 operation 129149 "PlayersWidget"
2266 public explicit_return_type ""
2268 param in name "info" explicit_type "QMap<int,PlayerInfo>"
2269 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2271 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2277 comment "crea un QLabel per ogni player con freccia turno, colore, tipo, nome."
2280 classrelation 128828 // <generalisation>
2281 relation 128828 ---|>
2283 cpp default "${type}"
2284 classrelation_ref 128828 // <generalisation>
2285 b parent class_ref 128533 // QWidget
2289 class 128426 "AbstractSettings"
2290 abstract visibility package
2291 cpp_decl "${comment}${template}class ${name}${inherit} {
2298 explicit_switch_type ""
2300 operation 128776 "language"
2301 abstract const cpp_virtual public return_type class_ref 128440 // QString
2303 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2310 operation 129416 "geometry"
2311 abstract const cpp_virtual public explicit_return_type "QByteArray"
2313 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2320 operation 128444 "defaultCubeColor"
2321 abstract const cpp_virtual public return_type class_ref 128253 // QColor
2323 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2330 operation 128619 "backgroundColor"
2331 abstract const cpp_virtual public return_type class_ref 128253 // QColor
2333 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2340 operation 129544 "setLanguage"
2341 abstract cpp_virtual public explicit_return_type "void"
2343 param in name "lang" type class_ref 128440 // QString
2344 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2351 operation 129800 "setGeometry"
2352 abstract cpp_virtual public explicit_return_type "void"
2354 param in name "geom" explicit_type "QByteArray"
2355 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2362 operation 128572 "setDefaultCubeColor"
2363 abstract cpp_virtual public explicit_return_type "void"
2365 param in name "color" type class_ref 128253 // QColor
2366 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2373 operation 128747 "setBackgroundColor"
2374 abstract cpp_virtual public explicit_return_type "void"
2376 param in name "color" type class_ref 128253 // QColor
2377 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2385 class 130453 "SettingsManager"
2386 abstract visibility package
2387 cpp_decl "${comment}${template}class ${name}${inherit} {
2394 explicit_switch_type ""
2396 operation 128904 "playersInfo"
2397 abstract const cpp_virtual public explicit_return_type "QList<PlayerInfo>"
2399 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2406 operation 129032 "difficulty1"
2407 abstract const cpp_virtual public explicit_return_type "int"
2409 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2416 operation 129160 "difficulty2"
2417 abstract const cpp_virtual public explicit_return_type "int"
2419 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2426 operation 129672 "setPlayersInfo"
2427 abstract cpp_virtual public explicit_return_type "void"
2429 param in name "info" explicit_type "QList<PlayerInfo>"
2430 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2437 operation 128009 "setDifficulty1"
2438 abstract cpp_virtual public explicit_return_type "void"
2440 param in name "d1" explicit_type "int"
2441 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${abstract};
2448 operation 128137 "setDifficulty2"
2449 abstract cpp_virtual public explicit_return_type "void"
2451 param in name "d2" explicit_type "int"
2452 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2459 classrelation 129450 // <generalisation>
2460 relation 129450 ---|>
2462 cpp default "${type}"
2463 classrelation_ref 129450 // <generalisation>
2464 b parent class_ref 128426 // AbstractSettings
2468 class 128042 "LocalSettings"
2470 cpp_decl "${comment}${template}class ${name}${inherit} {
2477 explicit_switch_type ""
2479 classrelation 129578 // <generalisation>
2480 relation 129578 ---|>
2482 cpp default "${type}"
2483 classrelation_ref 129578 // <generalisation>
2484 b parent class_ref 128298 // GUISettings
2487 classrelation 129962 // <realization>
2488 relation 129962 -_-|>
2490 cpp default "${type}"
2491 classrelation_ref 129962 // <realization>
2492 b parent class_ref 130453 // SettingsManager
2496 class 128170 "ServerSettings"
2498 cpp_decl "${comment}${template}class ${name}${inherit} {
2505 explicit_switch_type ""
2507 operation 128170 "timerDuration"
2508 const public explicit_return_type "int"
2510 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2512 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2520 operation 128298 "setTimerDuration"
2521 public explicit_return_type "void"
2523 param in name "msec" explicit_type "int"
2524 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2526 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2534 classrelation 129706 // <generalisation>
2535 relation 129706 ---|>
2537 cpp default "${type}"
2538 classrelation_ref 129706 // <generalisation>
2539 b parent class_ref 128298 // GUISettings
2542 classrelation 129834 // <realization>
2543 relation 129834 -_-|>
2545 cpp default "${type}"
2546 classrelation_ref 129834 // <realization>
2547 b parent class_ref 130453 // SettingsManager
2551 class 128298 "GUISettings"
2553 cpp_decl "${comment}${template}class ${name}${inherit} {
2560 explicit_switch_type ""
2562 classrelation 129194 // <realization>
2563 relation 129194 -_-|>
2565 cpp default "${type}"
2566 classrelation_ref 129194 // <realization>
2567 b parent class_ref 128426 // AbstractSettings
2570 classrelation 129322 // <generalisation>
2571 relation 129322 ---|>
2572 stereotype "protected"
2574 cpp default "${type}"
2575 classrelation_ref 129322 // <generalisation>
2576 b parent class_ref 128008 // QSettings
2583 formal name "K" type "typename" explicit_default_value ""
2585 formal name "T" type "typename" explicit_default_value ""
2587 cpp_decl "${comment}${template}class ${name}${inherit} {
2594 explicit_switch_type ""
2598 class 128182 "QList"
2600 cpp_decl "${comment}${template}class ${name}${inherit} {
2607 explicit_switch_type ""
2611 sequencediagram 128054 "InitSequence"
2612 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations yes shadow default
2616 sequencediagram 128148 "GameLoopRun"
2617 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
2621 sequencediagram 128213 "HumanPlayer::move"
2622 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
2623 overlapping_bars size A3
2627 package_ref 128002 // GUI
2629 package_ref 128130 // Network
2631 package_ref 128258 // Core
2633 package_ref 128386 // AI