4 modified_by 45 "davide"
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 128122 "NetworkDiagram"
56 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
60 classdiagram 129163 "StreamSocketTest"
61 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
65 classdiagram 129291 "ClientSocketTest"
66 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
70 classdiagram 129419 "ServerSocketTest"
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 129291 "QObject"
77 cpp_decl "${comment}${template}class ${name}${inherit} {
84 explicit_switch_type ""
88 class 130069 "Network"
89 abstract visibility package
94 explicit_switch_type ""
96 operation 129980 "Network"
97 public explicit_return_type ""
99 param in name "gui" explicit_type "QWidget"
100 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
102 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
110 operation 129395 "~Network"
111 cpp_virtual public explicit_return_type ""
113 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
115 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
123 operation 128122 "requestMove"
124 abstract cpp_virtual public explicit_return_type "Point"
126 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
133 attribute 129340 "_gui"
134 private explicit_type "QWidget"
135 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
142 operation 129168 "setupChat"
143 abstract cpp_virtual public explicit_return_type "void"
145 param in name "widget" explicit_type "ChatWidget"
146 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
154 class 128170 "ServerSettings"
156 cpp_decl "${comment}${template}class ${name}${inherit} {
163 explicit_switch_type ""
165 operation 129186 "serverPort"
166 const public explicit_return_type "quint16"
168 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
170 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
178 operation 128170 "timerDuration"
179 const public explicit_return_type "int"
181 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
183 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
191 operation 129314 "setServerPort"
192 public explicit_return_type "void"
194 param in name "port" explicit_type "quint16"
195 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
197 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
205 operation 128298 "setTimerDuration"
206 public explicit_return_type "void"
208 param in name "msec" explicit_type "int"
209 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
211 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
220 class 129345 "GameClient"
222 cpp_decl "${comment}${template}class ${name}${inherit} {
229 explicit_switch_type ""
231 classrelation 129345 // <realization>
232 relation 129345 -_-|>
234 cpp default "${type}"
235 classrelation_ref 129345 // <realization>
236 b parent class_ref 130069 // Network
239 classrelation 129168 // <directional composition>
241 a role_name "" protected
242 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
244 classrelation_ref 129168 // <directional composition>
245 b parent class_ref 129168 // ClientSocket
248 attribute 129267 "_localPlayer"
249 private explicit_type "int"
250 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
257 attribute 129296 "_server"
258 private type class_ref 129168 // ClientSocket
259 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
266 operation 129296 "GameClient"
267 public explicit_return_type ""
269 param in name "gui" explicit_type "QWidget"
270 param in name "serverAddress" type class_ref 128440 // QString
271 param in name "serverPort" explicit_type "quint16"
272 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
274 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
282 operation 129561 "~GameClient"
283 cpp_virtual public explicit_return_type ""
285 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
287 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
295 operation 129424 "requestMove"
296 cpp_virtual public explicit_return_type "Point"
298 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
305 operation 129552 "setupChat"
306 cpp_virtual public explicit_return_type "void"
308 param in name "widget" explicit_type "ChatWidget"
309 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
311 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
319 operation 129267 "setLocalPlayer"
321 private explicit_return_type "void"
323 param in name "id" explicit_type "int"
324 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
326 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
335 class 129217 "GameServer"
337 cpp_decl "${comment}${template}class ${name}${inherit} {
344 explicit_switch_type ""
346 classrelation 129217 // <realization>
347 relation 129217 -_-|>
349 cpp default "${type}"
350 classrelation_ref 129217 // <realization>
351 b parent class_ref 130069 // Network
354 classrelation 129296 // <directional composition>
356 a role_name "" multiplicity "*" protected
357 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
359 classrelation_ref 129296 // <directional composition>
360 b parent class_ref 129296 // ServerSocket
363 classrelation 129424 // <directional composition>
365 a role_name "" protected
366 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
368 classrelation_ref 129424 // <directional composition>
369 b parent class_ref 129212 // QTcpServer
372 operation 129936 "GameServer"
373 public explicit_return_type ""
375 param in name "gui" explicit_type "QWidget"
376 param in name "history" explicit_type "HistoryModel"
377 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
379 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
387 operation 129433 "~GameServer"
388 cpp_virtual public explicit_return_type ""
390 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
392 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
400 operation 129680 "requestMove"
401 cpp_virtual public explicit_return_type "Point"
403 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
410 operation 129808 "setupChat"
411 cpp_virtual public explicit_return_type "void"
413 param in name "widget" explicit_type "ChatWidget"
414 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
416 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
424 operation 130064 "handleIncomingConnection"
426 private explicit_return_type "void"
428 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
430 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
438 operation 132431 "handleJoinRequest"
440 private explicit_return_type "void"
442 param in name "mode" type class_ref 128440 // QString
443 param in name "name" type class_ref 128440 // QString
444 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
446 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
454 operation 128024 "setTurn"
456 private explicit_return_type "void"
458 param in name "playerId" explicit_type "int"
459 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
461 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
469 attribute 129424 "_listener"
470 private type class_ref 129212 // QTcpServer
471 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
478 attribute 129552 "_pendingConnections"
479 private explicit_type "QLinkedList<ServerSocket>"
480 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
487 attribute 129680 "_remotePlayers"
488 private explicit_type "QList<ServerSocket>"
489 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
496 attribute 129808 "_spectators"
497 private explicit_type "QList<ServerSocket>"
498 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
505 attribute 130064 "_gameInProgress"
506 private explicit_type "bool"
507 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
514 attribute 129936 "_history"
515 private explicit_type "HistoryModel"
516 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
523 attribute 129199 "_names"
524 private explicit_type "QStringList"
525 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
532 attribute 130492 "_numberOfPlayers"
533 private explicit_type "int"
534 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
541 attribute 128024 "_turn"
542 private explicit_type "int"
543 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
550 attribute 129395 "_settings"
551 private type class_ref 128170 // ServerSettings
552 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
560 class 129231 "StreamSocket"
562 cpp_decl "${comment}${template}class ${name}${inherit} {
569 explicit_switch_type ""
571 class 129359 "ProtocolState"
572 visibility protected stereotype "enum"
573 cpp_decl "${comment}enum ${name} {
577 java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
581 php_decl "${comment}final ${visibility}class ${name} {
584 idl_decl "${comment}enum ${name} {
587 explicit_switch_type ""
589 attribute 129743 "Unconnected"
590 public type class_ref 129359 // ProtocolState
591 cpp_decl " ${name}${value},${comment}"
597 attribute 129871 "Listening"
598 public type class_ref 129359 // ProtocolState
599 cpp_decl " ${name}${value},${comment}"
605 attribute 129999 "Connecting"
606 public type class_ref 129359 // ProtocolState
607 cpp_decl " ${name}${value},${comment}"
613 attribute 130127 "Connected"
614 public type class_ref 129359 // ProtocolState
615 cpp_decl " ${name}${value},${comment}"
621 attribute 130255 "OpeningStream"
622 public type class_ref 129359 // ProtocolState
623 cpp_decl " ${name}${value},${comment}"
629 attribute 130383 "FullyOpened"
630 public type class_ref 129359 // ProtocolState
631 cpp_decl " ${name}${value},${comment}"
637 attribute 130511 "Idle"
638 public type class_ref 129359 // ProtocolState
639 cpp_decl " ${name}${value},${comment}"
645 attribute 130639 "AwaitingJoinRequest"
646 public type class_ref 129359 // ProtocolState
647 cpp_decl " ${name}${value},${comment}"
653 attribute 130767 "AwaitingJoinAnswer"
654 public type class_ref 129359 // ProtocolState
655 cpp_decl " ${name}${value},${comment}"
661 attribute 130895 "AwaitingPlayers"
662 public type class_ref 129359 // ProtocolState
663 cpp_decl " ${name}${value},${comment}"
669 attribute 131023 "AwaitingGameStart"
670 public type class_ref 129359 // ProtocolState
671 cpp_decl " ${name}${value},${comment}"
677 attribute 131151 "Playing"
678 public type class_ref 129359 // ProtocolState
679 cpp_decl " ${name}${value},${comment}"
685 attribute 131279 "AwaitingMove"
686 public type class_ref 129359 // ProtocolState
687 cpp_decl " ${name}${value},${comment}"
693 attribute 131407 "Closing"
694 public type class_ref 129359 // ProtocolState
695 cpp_decl " ${name}${value},${comment}"
701 attribute 131535 "Closed"
702 public type class_ref 129359 // ProtocolState
703 cpp_decl " ${name}${value},${comment}"
710 classrelation 129487 // <generalisation>
711 relation 129487 ---|>
712 stereotype "protected"
714 cpp default "${type}"
715 classrelation_ref 129487 // <generalisation>
716 b parent class_ref 129601 // QXmlStreamWriter
719 classrelation 129615 // <generalisation>
720 relation 129615 ---|>
721 stereotype "protected"
723 cpp default "${type}"
724 classrelation_ref 129615 // <generalisation>
725 b parent class_ref 129473 // QXmlStreamReader
728 classrelation 129743 // <directional composition>
730 a role_name "" protected
731 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
733 classrelation_ref 129743 // <directional composition>
734 b parent class_ref 129340 // QTcpSocket
737 attribute 129231 "_supportedProtocolVersion"
738 class_attribute const_attribute protected type class_ref 128440 // QString
739 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
746 attribute 129359 "_socket"
747 protected type class_ref 129340 // QTcpSocket
748 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
755 attribute 129487 "_buffer"
756 private explicit_type "QLinkedList<Move>"
757 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
764 attribute 129615 "_state"
765 private explicit_type "ProtocolState"
766 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
773 operation 129231 "StreamSocket"
774 protected explicit_return_type ""
776 param in name "socket" type class_ref 129340 // QTcpSocket
777 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
779 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
787 operation 129177 "~StreamSocket"
788 public explicit_return_type ""
790 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
792 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
800 operation 129305 "state"
801 const public explicit_return_type "ProtocolState"
803 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
805 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
813 operation 129359 "changeState"
814 protected explicit_return_type "void"
816 param in name "state" explicit_type "ProtocolState"
817 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
819 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
827 operation 129487 "sendChatMessage"
829 public explicit_return_type "void"
831 param in name "msg" type class_ref 128440 // QString
832 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
834 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
842 operation 129615 "sendMove"
844 public explicit_return_type "void"
846 param in name "move" explicit_type "Move"
847 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
849 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
857 operation 129743 "openStream"
859 protected explicit_return_type "void"
861 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
863 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
871 operation 129871 "closeStream"
873 protected explicit_return_type "void"
875 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
877 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
885 operation 129999 "handleError"
887 protected explicit_return_type "void"
889 param in name "error" explicit_type "QAbstractSocket::SocketError"
890 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
892 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
900 operation 130127 "parseData"
902 protected explicit_return_type "void"
904 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
906 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
914 operation 130255 "playerJoined"
916 protected explicit_return_type "void"
918 param in name "id" explicit_type "int"
919 param in name "name" type class_ref 128440 // QString
920 param in name "type" type class_ref 128440 // QString
921 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
923 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
931 operation 130383 "playerLeft"
933 protected explicit_return_type "void"
935 param in name "id" explicit_type "int"
936 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
938 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
946 operation 130511 "receivedChatMessage"
948 protected explicit_return_type "void"
950 param in name "msg" type class_ref 128440 // QString
951 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
953 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
961 operation 130639 "receivedMove"
963 protected explicit_return_type "void"
965 param in name "move" explicit_type "Move"
966 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
968 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
976 operation 130767 "startGame"
978 protected explicit_return_type "void"
980 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
982 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
990 classrelation 129187 // <unidirectional association>
992 a role_name "" protected
993 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
995 classrelation_ref 129187 // <unidirectional association>
996 b multiplicity "*" parent class_ref 129359 // ProtocolState
1000 class 129168 "ClientSocket"
1002 cpp_decl "${comment}${template}class ${name}${inherit} {
1009 explicit_switch_type ""
1011 classrelation 129359 // <generalisation>
1012 relation 129359 ---|>
1014 cpp default "${type}"
1015 classrelation_ref 129359 // <generalisation>
1016 b parent class_ref 129231 // StreamSocket
1019 operation 129315 "ClientSocket"
1020 public explicit_return_type ""
1022 param in name "socket" type class_ref 129340 // QTcpSocket
1023 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
1025 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1033 operation 132047 "joinGame"
1035 public explicit_return_type "void"
1037 param in name "mode" type class_ref 128440 // QString
1038 param in name "name" type class_ref 128440 // QString
1039 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1041 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1049 operation 132175 "cancelJoin"
1051 public explicit_return_type "void"
1053 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1055 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1063 operation 132303 "parseData"
1065 protected explicit_return_type "void"
1067 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1069 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1077 operation 132559 "joinAccepted"
1079 protected explicit_return_type "void"
1081 param in name "id" explicit_type "int"
1082 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1084 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1092 operation 132687 "joinRefused"
1094 protected explicit_return_type "void"
1096 param in name "cause" explicit_type "int"
1097 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1099 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1107 operation 132815 "receivedGameSettings"
1109 protected explicit_return_type "void"
1111 param in name "d1" explicit_type "int"
1112 param in name "d2" explicit_type "int"
1113 param in name "timer" explicit_type "int"
1114 param in name "playing" explicit_type "bool"
1115 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1117 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1125 operation 132943 "receivedHistory"
1127 protected explicit_return_type "void"
1129 param in name "history" explicit_type "QList<Move>"
1130 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1132 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1141 class 129296 "ServerSocket"
1143 cpp_decl "${comment}${template}class ${name}${inherit} {
1150 explicit_switch_type ""
1152 classrelation 129231 // <generalisation>
1153 relation 129231 ---|>
1155 cpp default "${type}"
1156 classrelation_ref 129231 // <generalisation>
1157 b parent class_ref 129231 // StreamSocket
1160 operation 129187 "ServerSocket"
1161 public explicit_return_type ""
1163 param in name "socket" type class_ref 129340 // QTcpSocket
1164 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
1166 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1174 operation 130895 "acceptJoin"
1175 public explicit_return_type "void"
1177 param in name "id" explicit_type "int"
1178 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1180 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1188 operation 131023 "refuseJoin"
1189 public explicit_return_type "void"
1191 param in name "cause" explicit_type "int"
1192 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1194 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1202 operation 131151 "sendGameSettings"
1204 public explicit_return_type "void"
1206 param in name "d1" explicit_type "int"
1207 param in name "d2" explicit_type "int"
1208 param in name "timer" explicit_type "int"
1209 param in name "playing" explicit_type "bool"
1210 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1212 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1220 operation 131279 "sendHistory"
1222 public explicit_return_type "void"
1224 param in name "history" explicit_type "QList<Move>"
1225 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1227 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1235 operation 131407 "sendPlayerJoined"
1237 public explicit_return_type "void"
1239 param in name "id" explicit_type "int"
1240 param in name "name" type class_ref 128440 // QString
1241 param in name "type" type class_ref 128440 // QString
1242 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1244 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1252 operation 131535 "sendPlayerLeft"
1254 public explicit_return_type "void"
1256 param in name "id" explicit_type "int"
1257 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1259 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1267 operation 131663 "sendStartGame"
1269 public explicit_return_type "void"
1271 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1273 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1281 operation 131791 "parseData"
1283 protected explicit_return_type "void"
1285 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1287 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1295 operation 131919 "joinRequested"
1297 protected explicit_return_type "void"
1299 param in name "mode" type class_ref 128440 // QString
1300 param in name "name" type class_ref 128440 // QString
1301 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1303 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1312 class 129340 "QTcpSocket"
1314 cpp_decl "${comment}${template}class ${name}${inherit} {
1321 explicit_switch_type ""
1323 operation 130448 "connected"
1325 protected explicit_return_type "void"
1327 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1329 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1337 operation 130576 "error"
1339 protected explicit_return_type "void"
1341 param in name "socketError" explicit_type "QAbstractSocket::SocketError"
1342 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1344 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1352 operation 130320 "readyRead"
1354 protected explicit_return_type "void"
1356 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1358 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1367 class 129212 "QTcpServer"
1369 cpp_decl "${comment}${template}class ${name}${inherit} {
1376 explicit_switch_type ""
1378 operation 130192 "newConnection"
1380 protected explicit_return_type "void"
1382 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1384 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1393 class 129473 "QXmlStreamReader"
1395 cpp_decl "${comment}${template}class ${name}${inherit} {
1402 explicit_switch_type ""
1406 class 129601 "QXmlStreamWriter"
1408 cpp_decl "${comment}${template}class ${name}${inherit} {
1415 explicit_switch_type ""
1419 class 129419 "QSignalSpy"
1421 cpp_decl "${comment}${template}class ${name}${inherit} {
1428 explicit_switch_type ""
1430 classrelation 130187 // <dependency>
1431 relation 130187 -_->
1433 cpp default "#include in source"
1434 classrelation_ref 130187 // <dependency>
1435 b parent class_ref 129231 // StreamSocket
1438 classrelation 130443 // <dependency>
1439 relation 130443 -_->
1441 cpp default "#include in source"
1442 classrelation_ref 130443 // <dependency>
1443 b parent class_ref 129168 // ClientSocket
1446 classrelation 131083 // <dependency>
1447 relation 131083 -_->
1449 cpp default "#include in source"
1450 classrelation_ref 131083 // <dependency>
1451 b parent class_ref 129296 // ServerSocket
1455 class 128440 "QString"
1457 cpp_decl "${comment}${template}class ${name}${inherit} {
1464 explicit_switch_type ""
1468 class 129199 "QStringList"
1470 cpp_decl "${comment}${template}class ${name}${inherit} {
1477 explicit_switch_type ""
1481 class 128182 "QList"
1484 formal name "T" type "typename" explicit_default_value ""
1486 cpp_decl "${comment}${template}class ${name}${inherit} {
1493 explicit_switch_type ""
1497 class 128122 "QLinkedList"
1500 formal name "T" type "typename" explicit_default_value ""
1502 cpp_decl "${comment}${template}class ${name}${inherit} {
1509 explicit_switch_type ""
1516 formal name "K" type "typename" explicit_default_value ""
1518 formal name "T" type "typename" explicit_default_value ""
1520 cpp_decl "${comment}${template}class ${name}${inherit} {
1527 explicit_switch_type ""
1531 class 129163 "StreamSocketTest"
1533 cpp_decl "${comment}${template}class ${name}${inherit} {
1540 explicit_switch_type ""
1542 classrelation 129419 // <generalisation>
1543 relation 129419 ---|>
1545 cpp default "${type}"
1546 classrelation_ref 129419 // <generalisation>
1547 b parent class_ref 129291 // QObject
1550 classrelation 129163 // <directional composition>
1551 relation 129163 *-->
1552 a role_name "" protected
1553 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1555 classrelation_ref 129163 // <directional composition>
1556 b parent class_ref 129340 // QTcpSocket
1559 classrelation 129291 // <directional composition>
1560 relation 129291 *-->
1561 a role_name "" protected
1562 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1564 classrelation_ref 129291 // <directional composition>
1565 b parent class_ref 129231 // StreamSocket
1568 attribute 129803 "_listener"
1569 private type class_ref 129212 // QTcpServer
1570 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1577 attribute 129163 "_serverStub"
1578 private type class_ref 129340 // QTcpSocket
1579 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1586 attribute 129291 "_testedObject"
1587 private type class_ref 129231 // StreamSocket
1588 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1595 attribute 129419 "_receivedChatMessageSpy"
1596 private type class_ref 129419 // QSignalSpy
1597 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1604 attribute 129547 "_receivedMoveSpy"
1605 private type class_ref 129419 // QSignalSpy
1606 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1613 attribute 129675 "_startGameSpy"
1614 private type class_ref 129419 // QSignalSpy
1615 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1622 classrelation 129547 // <directional composition>
1623 relation 129547 *-->
1624 a role_name "" protected
1625 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1627 classrelation_ref 129547 // <directional composition>
1628 b parent class_ref 129212 // QTcpServer
1631 classrelation 130059 // <directional composition>
1632 relation 130059 *-->
1633 a role_name "" multiplicity "3" protected
1634 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1636 classrelation_ref 130059 // <directional composition>
1637 b parent class_ref 129419 // QSignalSpy
1641 class 129547 "ClientSocketTest"
1643 cpp_decl "${comment}${template}class ${name}${inherit} {
1650 explicit_switch_type ""
1652 classrelation 129675 // <directional composition>
1653 relation 129675 *-->
1654 a role_name "" protected
1655 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1657 classrelation_ref 129675 // <directional composition>
1658 b parent class_ref 129168 // ClientSocket
1661 classrelation 129803 // <directional composition>
1662 relation 129803 *-->
1663 a role_name "" protected
1664 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1666 classrelation_ref 129803 // <directional composition>
1667 b parent class_ref 129212 // QTcpServer
1670 classrelation 129931 // <directional composition>
1671 relation 129931 *-->
1672 a role_name "" protected
1673 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1675 classrelation_ref 129931 // <directional composition>
1676 b parent class_ref 129340 // QTcpSocket
1679 classrelation 130571 // <directional composition>
1680 relation 130571 *-->
1681 a role_name "" multiplicity "4" protected
1682 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1684 classrelation_ref 130571 // <directional composition>
1685 b parent class_ref 129419 // QSignalSpy
1688 classrelation 130315 // <generalisation>
1689 relation 130315 ---|>
1691 cpp default "${type}"
1692 classrelation_ref 130315 // <generalisation>
1693 b parent class_ref 129291 // QObject
1696 attribute 130059 "_listener"
1697 private type class_ref 129212 // QTcpServer
1698 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1705 attribute 130187 "_serverStub"
1706 private type class_ref 129340 // QTcpSocket
1707 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1714 attribute 129931 "_testedObject"
1715 private type class_ref 129168 // ClientSocket
1716 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1723 attribute 130315 "_joinAcceptedSpy"
1724 private type class_ref 129419 // QSignalSpy
1725 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1732 attribute 130443 "_joinRefusedSpy"
1733 private type class_ref 129419 // QSignalSpy
1734 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1741 attribute 130571 "_receivedGameSettingsSpy"
1742 private type class_ref 129419 // QSignalSpy
1743 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1750 attribute 130699 "_receivedHistorySpy"
1751 private type class_ref 129419 // QSignalSpy
1752 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1760 class 129675 "ServerSocketTest"
1762 cpp_decl "${comment}${template}class ${name}${inherit} {
1769 explicit_switch_type ""
1771 classrelation 130699 // <generalisation>
1772 relation 130699 ---|>
1774 cpp default "${type}"
1775 classrelation_ref 130699 // <generalisation>
1776 b parent class_ref 129291 // QObject
1779 classrelation 130827 // <directional composition>
1780 relation 130827 *-->
1781 a role_name "" protected
1782 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1784 classrelation_ref 130827 // <directional composition>
1785 b parent class_ref 129296 // ServerSocket
1788 classrelation 130955 // <directional composition>
1789 relation 130955 *-->
1790 a role_name "" multiplicity "1" protected
1791 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1793 classrelation_ref 130955 // <directional composition>
1794 b parent class_ref 129419 // QSignalSpy
1797 attribute 128173 "_listener"
1798 private type class_ref 129212 // QTcpServer
1799 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1806 attribute 128045 "_clientStub"
1807 private type class_ref 129340 // QTcpSocket
1808 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1815 attribute 130827 "_testedObject"
1816 private type class_ref 129296 // ServerSocket
1817 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1824 attribute 130955 "_joinRequestedSpy"
1825 private type class_ref 129419 // QSignalSpy
1826 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1833 classrelation 128045 // <directional composition>
1834 relation 128045 *-->
1835 a role_name "" protected
1836 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1838 classrelation_ref 128045 // <directional composition>
1839 b parent class_ref 129340 // QTcpSocket
1842 classrelation 128173 // <directional composition>
1843 relation 128173 *-->
1844 a role_name "" protected
1845 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1847 classrelation_ref 128173 // <directional composition>
1848 b parent class_ref 129212 // QTcpServer
1853 package_ref 128130 // Network