Browse Source

ajout de traceur pour la qualité d'image

Sébastien DI MERCURIO 2 years ago
parent
commit
5da49a7e59
81 changed files with 4949 additions and 694 deletions
  1. 25
    2
      software/monitor/monitor/Client.cs
  2. 35
    7
      software/monitor/monitor/CommandManager.cs
  3. 176
    39
      software/monitor/monitor/DestijlCommandManager.cs
  4. 2494
    0
      software/monitor/monitor/Doxyfile
  5. 192
    23
      software/monitor/monitor/MonitorUI.cs
  6. 22
    1
      software/monitor/monitor/Program.cs
  7. 3
    0
      software/monitor/monitor/afterBuild.sh
  8. 19
    19
      software/monitor/monitor/docs/html/_client_8cs_source.html
  9. 23
    23
      software/monitor/monitor/docs/html/_command_manager_8cs_source.html
  10. 3
    0
      software/monitor/monitor/docs/html/_destijl_command_manager_8cs.html
  11. 67
    68
      software/monitor/monitor/docs/html/_destijl_command_manager_8cs_source.html
  12. 1
    1
      software/monitor/monitor/docs/html/_monitor_u_i_8cs.html
  13. 49
    49
      software/monitor/monitor/docs/html/_monitor_u_i_8cs_source.html
  14. 5
    5
      software/monitor/monitor/docs/html/_program_8cs_source.html
  15. 4
    4
      software/monitor/monitor/docs/html/annotated.html
  16. 193
    27
      software/monitor/monitor/docs/html/class_main_window.html
  17. 1
    1
      software/monitor/monitor/docs/html/class_main_window__coll__graph.map
  18. 1
    1
      software/monitor/monitor/docs/html/class_main_window__coll__graph.md5
  19. 18
    18
      software/monitor/monitor/docs/html/classmonitor_1_1_client.html
  20. 16
    18
      software/monitor/monitor/docs/html/classmonitor_1_1_command_manager.html
  21. 26
    22
      software/monitor/monitor/docs/html/classmonitor_1_1_destijl_command_list.html
  22. 2
    3
      software/monitor/monitor/docs/html/classmonitor_1_1_destijl_command_manager-members.html
  23. 214
    80
      software/monitor/monitor/docs/html/classmonitor_1_1_destijl_command_manager.html
  24. 0
    1
      software/monitor/monitor/docs/html/classmonitor_1_1_destijl_command_manager.js
  25. 2
    2
      software/monitor/monitor/docs/html/classmonitor_1_1_main_class.html
  26. 16
    12
      software/monitor/monitor/docs/html/classmonitor_1_1_robot_command_list.html
  27. 3
    6
      software/monitor/monitor/docs/html/functions.html
  28. 0
    3
      software/monitor/monitor/docs/html/functions_func.html
  29. 4
    4
      software/monitor/monitor/docs/html/hierarchy.html
  30. 1
    1
      software/monitor/monitor/docs/html/inherit_graph_0.map
  31. 1
    1
      software/monitor/monitor/docs/html/inherit_graph_0.md5
  32. 1
    1
      software/monitor/monitor/docs/html/inherit_graph_3.map
  33. 1
    1
      software/monitor/monitor/docs/html/inherit_graph_3.md5
  34. 1
    1
      software/monitor/monitor/docs/html/inherit_graph_4.map
  35. 1
    1
      software/monitor/monitor/docs/html/inherit_graph_4.md5
  36. 1
    1
      software/monitor/monitor/docs/html/inherit_graph_6.map
  37. 1
    1
      software/monitor/monitor/docs/html/inherit_graph_6.md5
  38. 4
    4
      software/monitor/monitor/docs/html/inherits.html
  39. 3
    0
      software/monitor/monitor/docs/html/namespacemonitor.html
  40. 5
    6
      software/monitor/monitor/docs/html/navtreeindex0.js
  41. 1
    2
      software/monitor/monitor/docs/html/search/all_b.js
  42. 1
    1
      software/monitor/monitor/docs/html/search/all_c.js
  43. 1
    2
      software/monitor/monitor/docs/html/search/functions_6.js
  44. 3
    3
      software/monitor/monitor/docs/latex/_destijl_command_manager_8cs.tex
  45. 1
    1
      software/monitor/monitor/docs/latex/_monitor_u_i_8cs.tex
  46. 4
    4
      software/monitor/monitor/docs/latex/annotated.tex
  47. 238
    49
      software/monitor/monitor/docs/latex/class_main_window.tex
  48. 1
    1
      software/monitor/monitor/docs/latex/class_main_window__coll__graph.md5
  49. BIN
      software/monitor/monitor/docs/latex/class_main_window__coll__graph.pdf
  50. 18
    18
      software/monitor/monitor/docs/latex/classmonitor_1_1_client.tex
  51. 17
    18
      software/monitor/monitor/docs/latex/classmonitor_1_1_command_manager.tex
  52. 28
    21
      software/monitor/monitor/docs/latex/classmonitor_1_1_destijl_command_list.tex
  53. 316
    75
      software/monitor/monitor/docs/latex/classmonitor_1_1_destijl_command_manager.tex
  54. 2
    2
      software/monitor/monitor/docs/latex/classmonitor_1_1_main_class.tex
  55. 18
    11
      software/monitor/monitor/docs/latex/classmonitor_1_1_robot_command_list.tex
  56. 3
    3
      software/monitor/monitor/docs/latex/namespacemonitor.tex
  57. BIN
      software/monitor/monitor/monitor
  58. 13
    0
      software/monitor/monitor/monitor.csproj
  59. 1
    1
      software/raspberry/superviseur-robot/lib/src/image.cpp
  60. 119
    0
      software/raspberry/superviseur-robot/superviseur/nbproject/Makefile-Debug__RPI_.mk
  61. 1
    1
      software/raspberry/superviseur-robot/superviseur/nbproject/Makefile-impl.mk
  62. 8
    0
      software/raspberry/superviseur-robot/superviseur/nbproject/Makefile-variables.mk
  63. 76
    0
      software/raspberry/superviseur-robot/superviseur/nbproject/Package-Debug__RPI_.bash
  64. 37
    0
      software/raspberry/superviseur-robot/superviseur/nbproject/configurations.xml
  65. 1
    0
      software/raspberry/superviseur-robot/superviseur/nbproject/private/Makefile-variables.mk
  66. 33
    2
      software/raspberry/superviseur-robot/superviseur/nbproject/private/configurations.xml
  67. 1
    3
      software/raspberry/superviseur-robot/superviseur/nbproject/private/private.xml
  68. 4
    0
      software/raspberry/superviseur-robot/superviseur/nbproject/project.xml
  69. 10
    9
      software/raspberry/testeur/testeur/main.cpp
  70. 107
    0
      software/raspberry/testeur/testeur/nbproject/Makefile-Debug-rpi.mk
  71. 5
    5
      software/raspberry/testeur/testeur/nbproject/Makefile-Debug.mk
  72. 1
    1
      software/raspberry/testeur/testeur/nbproject/Makefile-impl.mk
  73. 8
    0
      software/raspberry/testeur/testeur/nbproject/Makefile-variables.mk
  74. 76
    0
      software/raspberry/testeur/testeur/nbproject/Package-Debug-rpi.bash
  75. 95
    0
      software/raspberry/testeur/testeur/nbproject/configurations.xml
  76. 1
    0
      software/raspberry/testeur/testeur/nbproject/private/Makefile-variables.mk
  77. 35
    2
      software/raspberry/testeur/testeur/nbproject/private/configurations.xml
  78. 0
    0
      software/raspberry/testeur/testeur/nbproject/private/downloads-10.105.1.13-pi-22
  79. 1
    2
      software/raspberry/testeur/testeur/nbproject/private/private.xml
  80. 26
    0
      software/raspberry/testeur/testeur/nbproject/private/timestamps-10.105.1.13-pi-22
  81. 4
    0
      software/raspberry/testeur/testeur/nbproject/project.xml

+ 25
- 2
software/monitor/monitor/Client.cs View File

@@ -1,4 +1,25 @@
1
-using System;
1
+//
2
+//  Client.cs
3
+//
4
+//  Author:
5
+//       Di MERCURIO Sébastien <dimercur@insa-toulouse.fr>
6
+//
7
+//  Copyright (c) 2018 INSA - DGEI
8
+//
9
+//  This program is free software: you can redistribute it and/or modify
10
+//  it under the terms of the GNU General Public License as published by
11
+//  the Free Software Foundation, either version 3 of the License, or
12
+//  (at your option) any later version.
13
+//
14
+//  This program is distributed in the hope that it will be useful,
15
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+//  GNU General Public License for more details.
18
+//
19
+//  You should have received a copy of the GNU General Public License
20
+//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+
22
+using System;
2 23
 using System.Net.Sockets;
3 24
 using System.Text;
4 25
 
@@ -17,7 +38,7 @@ namespace monitor
17 38
         /// <summary>
18 39
         /// Default server port number
19 40
         /// </summary>
20
-        public const int defaultPort = 4500;
41
+        public const int defaultPort = 5544;
21 42
 
22 43
         /// <summary>
23 44
         /// Tcp client object
@@ -186,6 +207,8 @@ namespace monitor
186 207
                 }
187 208
 
188 209
                 // Prepare for reading new data
210
+                if (newLength> BufferMaxSize) newLength = BufferMaxSize;
211
+                if (newLength <= 0) newLength = 1;
189 212
                 stream.BeginRead(buffer, 0, newLength, new AsyncCallback(ReadCallback), message);
190 213
             }
191 214
         }

+ 35
- 7
software/monitor/monitor/CommandManager.cs View File

@@ -1,4 +1,25 @@
1
-using System.Threading;
1
+//
2
+//  CommandManager.cs
3
+//
4
+//  Author:
5
+//       Di MERCURIO Sébastien <dimercur@insa-toulouse.fr>
6
+//
7
+//  Copyright (c) 2018 INSA - DGEI
8
+//
9
+//  This program is free software: you can redistribute it and/or modify
10
+//  it under the terms of the GNU General Public License as published by
11
+//  the Free Software Foundation, either version 3 of the License, or
12
+//  (at your option) any later version.
13
+//
14
+//  This program is distributed in the hope that it will be useful,
15
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+//  GNU General Public License for more details.
18
+//
19
+//  You should have received a copy of the GNU General Public License
20
+//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+
22
+using System.Threading;
2 23
 
3 24
 namespace monitor
4 25
 {
@@ -158,24 +179,31 @@ namespace monitor
158 179
             {
159 180
                 isBusy = true;
160 181
 
182
+                // Send command to server
161 183
                 Client.Write(cmd);
162 184
 
163
-                if (timeout > 0) // la commande attend un acquitement
185
+                if (timeout > 0) // Command request an acknowledge
164 186
                 {
165
-                    waitForAcknowledge = true;
187
+                    
188
+                    waitForAcknowledge = true;  // Flag used in OnMessageReception callback to avoid
189
+                                                // sending acknowledge message to upper level
166 190
                     waitTimer.Interval = timeout;
167
-                    waitTimer.Start();
191
+                    waitTimer.Start();          // Start timeout timer
168 192
 
169
-                    waitEvent.WaitOne();
170
-                    waitEvent.Reset(); // remise à zero pour une prochaine commande
193
+                    waitEvent.WaitOne();        // Stop current thread, waiting for waitEvent semaphore 
194
+                                                // produced in OnMessageReception when either a message is received
195
+                                                // or a timeout occur
171 196
 
172
-                    if (this.messageReceived == null) // timeout: connection au serveur defectueuse
197
+                    waitEvent.Reset();          // reset semaphore for next message
198
+
199
+                    if (this.messageReceived == null) // timeout: server connection error
173 200
                     {
174 201
                         status = CommandManagerStatus.Timeout;
175 202
                     }
176 203
                 }
177 204
                 else isBusy = false;
178 205
 
206
+                // return received answer, null in case of timeout
179 207
                 answer = this.messageReceived;
180 208
                 this.messageReceived = null;
181 209
             }

+ 176
- 39
software/monitor/monitor/DestijlCommandManager.cs View File

@@ -1,8 +1,32 @@
1
-using System;
1
+//
2
+//  DestijlCommandManager.cs
3
+//
4
+//  Author:
5
+//       Di MERCURIO Sébastien <dimercur@insa-toulouse.fr>
6
+//
7
+//  Copyright (c) 2018 INSA - DGEI
8
+//
9
+//  This program is free software: you can redistribute it and/or modify
10
+//  it under the terms of the GNU General Public License as published by
11
+//  the Free Software Foundation, either version 3 of the License, or
12
+//  (at your option) any later version.
13
+//
14
+//  This program is distributed in the hope that it will be useful,
15
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+//  GNU General Public License for more details.
18
+//
19
+//  You should have received a copy of the GNU General Public License
20
+//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+
22
+using System;
2 23
 
3 24
 namespace monitor
4 25
 {
5
-    public class DestijlCommandList
26
+    /// <summary>
27
+    /// Commands and options parameters used in Destijl project when communicating with server
28
+    /// </summary>
29
+    public static class DestijlCommandList
6 30
     {
7 31
         public const string HeaderMtsComDmb = "COM";
8 32
         public const string HeaderMtsDmbOrder = "DMB";
@@ -29,7 +53,10 @@ namespace monitor
29 53
         public const string HeaderStmBat = "BAT";
30 54
     }
31 55
 
32
-    public class RobotCommandList
56
+    /// <summary>
57
+    /// Commands used for robot messages
58
+    /// </summary>
59
+    public static class RobotCommandList
33 60
     {
34 61
         public const string RobotPing = "p";
35 62
         public const string RobotReset = "r";
@@ -43,18 +70,40 @@ namespace monitor
43 70
         public const string RobotPowerOff = "z";
44 71
     }
45 72
 
73
+    /// <summary>
74
+    /// Specialization class for command manager, which implemnent destijl protocol between monitor and server
75
+    /// </summary>
46 76
     public class DestijlCommandManager
47 77
     {
78
+        /// <summary>
79
+        /// Command Manager object
80
+        /// </summary>
48 81
         private CommandManager commandManager = null;
49 82
 
83
+        /// <summary>
84
+        /// Part of received message corresponding to command header
85
+        /// </summary>
50 86
         private string receivedHeader = null;
87
+
88
+        /// <summary>
89
+        /// Part of received message corresponding to command data
90
+        /// </summary>
51 91
         private string receivedData = null;
52 92
 
93
+        /// <summary>
94
+        /// Callback for sending received data to application level
95
+        /// </summary>
53 96
         public delegate void CommandReceivedEvent(string header, string data, byte[] buffer);
54 97
         public CommandReceivedEvent commandReceivedEvent = null;
55 98
 
56
-        public double timeout = 100; // timeout pour les commandes avec acquitement
99
+        /// <summary>
100
+        /// Timeout used for command with acknowledge
101
+        /// </summary>
102
+        public double timeout = 100; 
57 103
 
104
+        /// <summary>
105
+        /// List of available return status
106
+        /// </summary>
58 107
         public enum CommandStatus
59 108
         {
60 109
             Success,
@@ -65,74 +114,111 @@ namespace monitor
65 114
             CommunicationLostWithServer
66 115
         }
67 116
 
117
+        /// <summary>
118
+        /// Initializes a new instance of the <see cref="monitor.DestijlCommandManager"/> class.
119
+        /// </summary>
120
+        /// <param name="callback">Callback reference for reception of data</param>
68 121
         public DestijlCommandManager(CommandReceivedEvent callback)
69 122
         {
70 123
             commandManager = new CommandManager(OnCommandReceived);
71 124
             this.commandReceivedEvent += callback;
72 125
         }
73 126
 
127
+        /// <summary>
128
+        /// Releases unmanaged resources and performs other cleanup operations before the
129
+        /// <see cref="monitor.DestijlCommandManager"/> is reclaimed by garbage collection.
130
+        /// </summary>
74 131
         ~DestijlCommandManager()
75 132
         {
76 133
             if (commandManager != null) commandManager.Close();
77 134
         }
78 135
 
136
+        /// <summary>
137
+        /// Callback used for receiving data from lower layer (CommandManager class)
138
+        /// </summary>
139
+        /// <param name="msg">String containing received message</param>
140
+        /// <param name="buffer">Raw buffer to be used when data are not in ascii format (image for example)</param>
79 141
         private void OnCommandReceived(string msg, byte[] buffer)
80 142
         {
143
+            // Firstly, split message in (at least) two part : header, and data
81 144
             string[] msgs = msg.Split(':');
82 145
 
146
+            // If it exist at least on element in string array, it should be command header
83 147
             if (msgs.Length >= 1) receivedHeader = msgs[0];
84 148
             else receivedHeader = null;
85 149
 
150
+            // if msgs array contains at least two elements, second element is normally data
86 151
             if (msgs.Length >= 2) receivedData = msgs[1];
87 152
             else receivedData = null;
88 153
 
154
+            // when split is done, provide data to application
89 155
             this.commandReceivedEvent?.Invoke(receivedHeader, receivedData, buffer);
90 156
         }
91 157
 
158
+        /// <summary>
159
+        /// Open the specified hostname server, using default port number.
160
+        /// </summary>
161
+        /// <returns>true if connection succeded, false otherwise</returns>
162
+        /// <param name="hostname">Hostname to connect to</param>
92 163
         public bool Open(string hostname)
93 164
         {
94 165
             return this.Open(hostname, Client.defaultPort);
95 166
         }
96 167
 
168
+        /// <summary>
169
+        /// Open connection to server "host", with port number "port"
170
+        /// </summary>
171
+        /// <returns>true if connection succeded, false otherwise</returns>
172
+        /// <param name="hostname">Hostname to connect to</param>
173
+        /// <param name="port">Port number for connection</param>
97 174
         public bool Open(string hostname, int port)
98 175
         {
99 176
             if (commandManager != null) return commandManager.Open(hostname, port);
100 177
             else return false;
101 178
         }
102 179
 
180
+        /// <summary>
181
+        /// Close connection to server
182
+        /// </summary>
103 183
         public void Close()
104 184
         {
105 185
             if (commandManager != null) commandManager.Close();
106 186
         }
107 187
 
188
+        /// <summary>
189
+        /// Creates the command to send to server, based on header and data provided
190
+        /// </summary>
191
+        /// <returns>The command string</returns>
192
+        /// <param name="header">Header part of the command</param>
193
+        /// <param name="data">Data part of the command</param>
108 194
         private string CreateCommand(string header, string data)
109 195
         {
110 196
             return header + ":" + data;
111 197
         }
112 198
 
113
-        private void SplitCommand(string cmd, out string header, out string data)
114
-        {
115
-            string[] cmdParts = cmd.Split(':');
116
-
117
-            if (cmdParts.Length > 0) header = cmdParts[0];
118
-            else header = null;
119
-
120
-            if (cmdParts.Length > 1) data = cmdParts[1];
121
-            else data = null;
122
-        }
123
-
199
+        /// <summary>
200
+        /// Provide DestijlCommandManager.CommandStatus based on status received by CommandManager.SendCommand and answer string 
201
+        /// </summary>
202
+        /// <returns>Status compatible with DestijlCommandManager.CommandStatus type</returns>
203
+        /// <param name="localStatus">Status provided by CommandManager.SendCommand</param>
204
+        /// <param name="answer">Answer provided by CommandManager.SendCommand</param>
124 205
         private CommandStatus DecodeStatus(CommandManager.CommandManagerStatus localStatus, string answer)
125 206
         {
126 207
             CommandStatus status = CommandStatus.Success;
127 208
 
209
+            // if timeout occures, return CommandStatus.CommunicationLostWithServer
128 210
             if (localStatus == CommandManager.CommandManagerStatus.Timeout) status = CommandStatus.CommunicationLostWithServer;
211
+            // if a command is currently processed, return Busy
129 212
             else if (localStatus == CommandManager.CommandManagerStatus.Busy) status = CommandStatus.Busy;
130 213
             else
131 214
             {
132 215
                 if (answer != null)
133 216
                 {
217
+                    // if command is not acknowledged, return Rejected
134 218
                     if (answer.ToUpper().Contains(DestijlCommandList.HeaderStmNoAck)) status = CommandStatus.Rejected;
219
+                    // if communication is lost with robot, return CommunicationLostWithRobot
135 220
                     else if (answer.ToUpper().Contains(DestijlCommandList.HeaderStmLostDmb)) status = CommandStatus.CommunicationLostWithRobot;
221
+                    // if answer is empty, communication with robot is lost
136 222
                     else if (answer.Length == 0) status = CommandStatus.CommunicationLostWithServer;
137 223
                     //else status = CommandStatus.InvalidAnswer;
138 224
                 }
@@ -141,6 +227,10 @@ namespace monitor
141 227
             return status;
142 228
         }
143 229
 
230
+        /// <summary>
231
+        /// Open communication with robot and wait acknowledge
232
+        /// </summary>
233
+        /// <returns>Command status (see DecodeStatus)</returns>
144 234
         public CommandStatus RobotOpenCom()
145 235
         {
146 236
             CommandManager.CommandManagerStatus localStatus;
@@ -154,6 +244,10 @@ namespace monitor
154 244
             return DecodeStatus(localStatus, answer);
155 245
         }
156 246
 
247
+        /// <summary>
248
+        /// Close communication with robot and wait acknowledge
249
+        /// </summary>
250
+        /// <returns>Command status (see DecodeStatus)</returns>
157 251
         public CommandStatus RobotCloseCom()
158 252
         {
159 253
             CommandManager.CommandManagerStatus localStatus;
@@ -167,6 +261,10 @@ namespace monitor
167 261
             return DecodeStatus(localStatus, answer);
168 262
         }
169 263
 
264
+        /// <summary>
265
+        /// Ping the robot.
266
+        /// </summary>
267
+        /// <returns>Command status (see DecodeStatus)</returns>
170 268
         public CommandStatus RobotPing()
171 269
         {
172 270
             CommandManager.CommandManagerStatus localStatus;
@@ -180,6 +278,10 @@ namespace monitor
180 278
             return DecodeStatus(localStatus, answer);
181 279
         }
182 280
 
281
+        /// <summary>
282
+        /// Reset robot and let it in idle mode
283
+        /// </summary>
284
+        /// <returns>Command status (see DecodeStatus)</returns>
183 285
         public CommandStatus RobotReset()
184 286
         {
185 287
             CommandManager.CommandManagerStatus localStatus;
@@ -193,6 +295,10 @@ namespace monitor
193 295
             return DecodeStatus(localStatus, answer);
194 296
         }
195 297
 
298
+        /// <summary>
299
+        /// Start robot, enabling watchdog
300
+        /// </summary>
301
+        /// <returns>Command status (see DecodeStatus)</returns>
196 302
         public CommandStatus RobotStartWithWatchdog()
197 303
         {
198 304
             CommandManager.CommandManagerStatus localStatus;
@@ -206,6 +312,10 @@ namespace monitor
206 312
             return DecodeStatus(localStatus, answer);
207 313
         }
208 314
 
315
+        /// <summary>
316
+        /// Start robot, without enabling watchdog 
317
+        /// </summary>
318
+        /// <returns>Command status (see DecodeStatus)</returns>
209 319
         public CommandStatus RobotStartWithoutWatchdog()
210 320
         {
211 321
             CommandManager.CommandManagerStatus localStatus;
@@ -219,6 +329,11 @@ namespace monitor
219 329
             return DecodeStatus(localStatus, answer);
220 330
         }
221 331
 
332
+        /// <summary>
333
+        /// Move robot forward or backward, for a distance expressed in millimeter
334
+        /// </summary>
335
+        /// <returns>Command status (see DecodeStatus)</returns>
336
+        /// <param name="distance">Distance of mouvment, in millimeter</param>
222 337
         public CommandStatus RobotMove(int distance)
223 338
         {
224 339
             CommandManager.CommandManagerStatus localStatus;
@@ -232,6 +347,11 @@ namespace monitor
232 347
             return DecodeStatus(localStatus, answer);
233 348
         }
234 349
 
350
+        /// <summary>
351
+        /// Make robot turn left or right, for a given angle
352
+        /// </summary>
353
+        /// <returns>Command status (see DecodeStatus)</returns>
354
+        /// <param name="angle">Angle of turn, in degree (negative for left, positive for right)</param>
235 355
         public CommandStatus RobotTurn(int angle)
236 356
         {
237 357
             CommandManager.CommandManagerStatus localStatus;
@@ -245,14 +365,13 @@ namespace monitor
245 365
             return DecodeStatus(localStatus, answer);
246 366
         }
247 367
 
248
-        //public CommandStatus RobotGetBattery(out int battery)
368
+        /// <summary>
369
+        /// Request robot battery level
370
+        /// </summary>
371
+        /// <returns>Command status (see DecodeStatus)</returns>
249 372
         public CommandStatus RobotGetBattery()
250 373
         {
251 374
             CommandManager.CommandManagerStatus localStatus;
252
-            //CommandStatus status = CommandStatus.Success;
253
-
254
-            //battery = -1;
255
-
256 375
             string answer;
257 376
 
258 377
             localStatus = commandManager.SendCommand(
@@ -260,32 +379,18 @@ namespace monitor
260 379
                 out answer,
261 380
                 0);
262 381
 
263
-            //if (localStatus == CommandManager.CommandManagerStatus.AnswerReceived) {
264
-            //    string[] msg = answer.Split(':');
265
-
266
-            //    if (msg.Length > 1)
267
-            //    {
268
-            //        try
269
-            //        {
270
-            //            battery = Convert.ToInt32(msg[1]);
271
-            //        }
272
-            //        catch (Exception) { }
273
-            //    }
274
-            //}
275
-            //else if (localStatus == CommandManager.CommandManagerStatus.Timeout)
276
-            //{
277
-            //    status = CommandStatus.CommunicationLostWithServer;
278
-            //}
279
-
280
-            //return status;
281 382
             return DecodeStatus(localStatus, answer);
282 383
         }
283 384
 
385
+        /// <summary>
386
+        /// Request robot firmware version
387
+        /// </summary>
388
+        /// <returns>Command status (see DecodeStatus)</returns>
389
+        /// <param name="version">todo</param>
284 390
         public CommandStatus RobotGetVersion(out string version)
285 391
         {
286 392
             CommandManager.CommandManagerStatus localStatus;
287 393
             CommandStatus status = CommandStatus.Success;
288
-
289 394
             version = "";
290 395
 
291 396
             string answer;
@@ -312,6 +417,10 @@ namespace monitor
312 417
             return status;
313 418
         }
314 419
 
420
+        /// <summary>
421
+        /// Power off robot
422
+        /// </summary>
423
+        /// <returns>Command status (see DecodeStatus)</returns>
315 424
         public CommandStatus RobotPowerOff()
316 425
         {
317 426
             CommandManager.CommandManagerStatus localStatus;
@@ -325,6 +434,10 @@ namespace monitor
325 434
             return DecodeStatus(localStatus, answer);
326 435
         }
327 436
 
437
+        /// <summary>
438
+        /// Open camera on remote device
439
+        /// </summary>
440
+        /// <returns>Command status (see DecodeStatus)</returns>
328 441
         public CommandStatus CameraOpen()
329 442
         {
330 443
             CommandManager.CommandManagerStatus localStatus;
@@ -338,6 +451,10 @@ namespace monitor
338 451
             return DecodeStatus(localStatus, answer);
339 452
         }
340 453
 
454
+        /// <summary>
455
+        /// Close camera on remote device
456
+        /// </summary>
457
+        /// <returns>Command status (see DecodeStatus)</returns>
341 458
         public CommandStatus CameraClose()
342 459
         {
343 460
             CommandManager.CommandManagerStatus localStatus;
@@ -351,6 +468,10 @@ namespace monitor
351 468
             return DecodeStatus(localStatus, answer);
352 469
         }
353 470
 
471
+        /// <summary>
472
+        /// Request still image of detected arena
473
+        /// </summary>
474
+        /// <returns>Command status (see DecodeStatus)</returns>
354 475
         public CommandStatus CameraAskArena()
355 476
         {
356 477
             CommandManager.CommandManagerStatus localStatus;
@@ -364,6 +485,10 @@ namespace monitor
364 485
             return DecodeStatus(localStatus, answer);
365 486
         }
366 487
 
488
+        /// <summary>
489
+        /// Confirm arena detection (after requesting image of detected arena, using CameraAskArena
490
+        /// </summary>
491
+        /// <returns>Command status (see DecodeStatus)</returns>
367 492
         public CommandStatus CameraArenaConfirm()
368 493
         {
369 494
             CommandManager.CommandManagerStatus localStatus;
@@ -377,6 +502,10 @@ namespace monitor
377 502
             return DecodeStatus(localStatus, answer);
378 503
         }
379 504
 
505
+        /// <summary>
506
+        /// Reject arena detected (after requesting image of detected arena, using CameraAskArena
507
+        /// </summary>
508
+        /// <returns>Command status (see DecodeStatus)</returns>
380 509
         public CommandStatus CameraArenaInfirm()
381 510
         {
382 511
             CommandManager.CommandManagerStatus localStatus;
@@ -390,6 +519,10 @@ namespace monitor
390 519
             return DecodeStatus(localStatus, answer);
391 520
         }
392 521
 
522
+        /// <summary>
523
+        /// Request robot position computing
524
+        /// </summary>
525
+        /// <returns>Command status (see DecodeStatus)</returns>
393 526
         public CommandStatus CameraComputePosition()
394 527
         {
395 528
             CommandManager.CommandManagerStatus localStatus;
@@ -403,6 +536,10 @@ namespace monitor
403 536
             return DecodeStatus(localStatus, answer);
404 537
         }
405 538
 
539
+        /// <summary>
540
+        /// Stop robot position computing
541
+        /// </summary>
542
+        /// <returns>Command status (see DecodeStatus)</returns>
406 543
         public CommandStatus CameraStopComputePosition()
407 544
         {
408 545
             CommandManager.CommandManagerStatus localStatus;

+ 2494
- 0
software/monitor/monitor/Doxyfile
File diff suppressed because it is too large
View File


+ 192
- 23
software/monitor/monitor/MonitorUI.cs View File

@@ -1,17 +1,49 @@
1
-using System;
1
+//
2
+//  MonitorUI.cs
3
+//
4
+//  Author:
5
+//       Di MERCURIO Sébastien <dimercur@insa-toulouse.fr>
6
+//
7
+//  Copyright (c) 2018 INSA - DGEI
8
+//
9
+//  This program is free software: you can redistribute it and/or modify
10
+//  it under the terms of the GNU General Public License as published by
11
+//  the Free Software Foundation, either version 3 of the License, or
12
+//  (at your option) any later version.
13
+//
14
+//  This program is distributed in the hope that it will be useful,
15
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+//  GNU General Public License for more details.
18
+//
19
+//  You should have received a copy of the GNU General Public License
20
+//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+
22
+
23
+using System;
2 24
 using Gtk;
3 25
 using Gdk;
4 26
 
5 27
 using monitor;
6 28
 
7 29
 /// <summary>
8
-/// Main window.
30
+/// Main part of the program, behavior of main window
9 31
 /// </summary>
10 32
 public partial class MainWindow : Gtk.Window
11 33
 {
34
+    /// <summary>
35
+    /// Destijl command manager reference
36
+    /// </summary>
12 37
     private DestijlCommandManager cmdManager;
38
+
39
+    /// <summary>
40
+    /// Pixbuffer used for displaying image
41
+    /// </summary>
13 42
     private Pixbuf drawingareaCameraPixbuf;
14 43
 
44
+    /// <summary>
45
+    /// List of availble state for the application
46
+    /// </summary>
15 47
     enum SystemState
16 48
     {
17 49
         NotConnected,
@@ -19,38 +51,57 @@ public partial class MainWindow : Gtk.Window
19 51
         RobotConnected
20 52
     };
21 53
 
54
+    /// <summary>
55
+    /// The state of the system. Can take a value from SystemState
56
+    /// </summary>
22 57
     private SystemState systemState = SystemState.NotConnected;
58
+
59
+    /// <summary>
60
+    /// Timer for battery request
61
+    /// </summary>
23 62
     private System.Timers.Timer batteryTimer;
24 63
 
64
+    private int imageReceivedCounter = 0;
65
+    private int badImageReceivedCounter = 0;
66
+
67
+    /// <summary>
68
+    /// Initializes a new instance of the <see cref="MainWindow"/> class.
69
+    /// </summary>
25 70
     public MainWindow() : base(Gtk.WindowType.Toplevel)
26 71
     {
27 72
         Build();
28 73
 
29 74
         cmdManager = new DestijlCommandManager(OnCommandReceivedEvent);
30 75
 
76
+        // create new timer for battery request, every 10s
31 77
         batteryTimer = new System.Timers.Timer(10000.0);
32 78
         batteryTimer.Elapsed += OnBatteryTimerElapsed;
33 79
 
80
+        // Customize controls
34 81
         AdjustControls();
35
-        PixbufFormat[] format = Gdk.Pixbuf.Formats;
36
-        foreach (PixbufFormat f in format)
37
-        {
38
-            Console.WriteLine("Format: " + f.Name);
39
-        }
40 82
     }
41 83
 
84
+    /// <summary>
85
+    /// Make some adjustement to controls, like disabling some controls
86
+    /// </summary>
42 87
     public void AdjustControls()
43 88
     {
89
+        // Change state of system, and grey every controls not needed
44 90
         ChangeState(SystemState.NotConnected);
45 91
 
46
-        drawingareaCameraPixbuf = new Pixbuf((string)null);
92
+        // Load "no picture" image from disque
47 93
         drawingareaCameraPixbuf = Pixbuf.LoadFromResource("monitor.ressources.missing_picture.png");
48 94
 
95
+        // setup server controls
49 96
         entryServerName.Text = Client.defaultIP;
50 97
         entryServerPort.Text = Client.defaultPort.ToString();
51
-        entryTimeout.Text = "10000";
98
+        entryTimeout.Text = "1000";
52 99
     }
53 100
 
101
+    /// <summary>
102
+    /// Method used to change controls visibility (greyed or not) depending on current state
103
+    /// </summary>
104
+    /// <param name="newState">New state</param>
54 105
     private void ChangeState(SystemState newState)
55 106
     {
56 107
         switch (newState)
@@ -117,6 +168,13 @@ public partial class MainWindow : Gtk.Window
117 168
         systemState = newState;
118 169
     }
119 170
 
171
+    /// <summary>
172
+    /// Display a popup message window
173
+    /// </summary>
174
+    /// <param name="type">Type of popup window (question, error, information,...)</param>
175
+    /// <param name="buttons">Buttons available on popup window</param>
176
+    /// <param name="title">Title of window</param>
177
+    /// <param name="message">Message</param>
120 178
     private void MessagePopup(MessageType type, ButtonsType buttons, string title, string message)
121 179
     {
122 180
         MessageDialog md = new MessageDialog(this, DialogFlags.DestroyWithParent, type, buttons, message)
@@ -128,6 +186,11 @@ public partial class MainWindow : Gtk.Window
128 186
         md.Destroy();
129 187
     }
130 188
 
189
+    /// <summary>
190
+    /// Callback called when delete event is sent by window
191
+    /// </summary>
192
+    /// <param name="sender">Sender object</param>
193
+    /// <param name="a">Not really sure of what it is...</param>
131 194
     protected void OnDeleteEvent(object sender, DeleteEventArgs a)
132 195
     {
133 196
         Console.WriteLine("Bye bye");
@@ -137,16 +200,27 @@ public partial class MainWindow : Gtk.Window
137 200
         a.RetVal = true;
138 201
     }
139 202
 
203
+    /// <summary>
204
+    /// Callback called when new message is received from server
205
+    /// </summary>
206
+    /// <param name="header">Header of message</param>
207
+    /// <param name="data">Data of message</param>
208
+    /// <param name="buffer">Raw buffer corresponding of received message</param>
140 209
     public void OnCommandReceivedEvent(string header, string data, byte[] buffer)
141 210
     {
211
+        // if we have received a valid message
142 212
         if (header != null)
143 213
         {
214
+#if DEBUG
215
+            // print message content
144 216
             Console.WriteLine("Received header (" + header.Length + "): " + header);
145 217
             if (header.ToUpper() != DestijlCommandList.HeaderStmImage)
146 218
             {
147 219
                 if (data != null) Console.WriteLine("Received data (" + data.Length + "): " + data);
148 220
             }
149
-
221
+#endif
222
+            // depending on message received (based on header)
223
+            // launch correponding action
150 224
             if (header.ToUpper() == DestijlCommandList.HeaderStmBat)
151 225
             {
152 226
                 switch (data[0])
@@ -167,15 +241,35 @@ public partial class MainWindow : Gtk.Window
167 241
             }
168 242
             else if (header.ToUpper() == DestijlCommandList.HeaderStmImage)
169 243
             {
244
+                // if message is an image, convert it to a pixbuf
245
+                // that can be displayed
170 246
                 byte[] image = new byte[buffer.Length - 4];
171 247
                 System.Buffer.BlockCopy(buffer, 4, image, 0, image.Length);
172 248
 
173
-                drawingareaCameraPixbuf = new Pixbuf(image);
174
-                drawingAreaCamera.QueueDraw();
249
+                imageReceivedCounter++;
250
+                try
251
+                {
252
+                    drawingareaCameraPixbuf = new Pixbuf(image);
253
+                    drawingAreaCamera.QueueDraw();
254
+                }
255
+                catch (GLib.GException)
256
+                {
257
+                    badImageReceivedCounter++;
258
+#if DEBUG
259
+                    Console.WriteLine("Bad Image: " + badImageReceivedCounter +
260
+                                      " / " + imageReceivedCounter +
261
+                                      " (" + badImageReceivedCounter * 100 / imageReceivedCounter + "%)");
262
+#endif                    
263
+                }
175 264
             }
176 265
         }
177 266
     }
178 267
 
268
+    /// <summary>
269
+    /// Callback called by "quit" menu
270
+    /// </summary>
271
+    /// <param name="sender">Sender object</param>
272
+    /// <param name="e">Event</param>
179 273
     protected void OnQuitActionActivated(object sender, EventArgs e)
180 274
     {
181 275
         Console.WriteLine("Bye bye 2");
@@ -184,6 +278,11 @@ public partial class MainWindow : Gtk.Window
184 278
         Application.Quit();
185 279
     }
186 280
 
281
+    /// <summary>
282
+    /// Callback called by "show log" menu
283
+    /// </summary>
284
+    /// <param name="sender">Sender object</param>
285
+    /// <param name="e">Event</param>
187 286
     protected void OnShowLogWindowActionActivated(object sender, EventArgs e)
188 287
     {
189 288
         MessagePopup(MessageType.Info,
@@ -191,16 +290,24 @@ public partial class MainWindow : Gtk.Window
191 290
                      "Logger not yet implemented");
192 291
     }
193 292
 
293
+    /// <summary>
294
+    /// Callback called by "buttonServerConnection" button
295
+    /// </summary>
296
+    /// <param name="sender">Sender object</param>
297
+    /// <param name="e">Event</param>
194 298
     protected void OnButtonServerConnectionClicked(object sender, EventArgs e)
195 299
     {
196 300
         DestijlCommandManager.CommandStatus statusCmd;
197 301
 
302
+        // if we are currently connected
198 303
         if (buttonServerConnection.Label == "Disconnect")
199 304
         {
305
+            // Change state to disconnect and close connection
200 306
             ChangeState(SystemState.NotConnected);
201 307
         }
202
-        else
308
+        else // we are not currently connected to server
203 309
         {
310
+            // if information about hostname or port are invalid, show a popup error
204 311
             if ((entryServerName.Text == "") || (entryServerPort.Text == ""))
205 312
             {
206 313
                 MessagePopup(MessageType.Error,
@@ -212,6 +319,7 @@ public partial class MainWindow : Gtk.Window
212 319
                 Console.WriteLine("Connecting to " + entryServerName.Text + ":" + entryServerPort.Text);
213 320
                 bool status = false;
214 321
 
322
+                // try to convert timout string value to double. If that failed, default to 100 ms
215 323
                 try
216 324
                 {
217 325
                     cmdManager.timeout = Convert.ToDouble(entryTimeout.Text);
@@ -222,6 +330,7 @@ public partial class MainWindow : Gtk.Window
222 330
                     entryTimeout.Text = cmdManager.timeout.ToString();
223 331
                 }
224 332
 
333
+                // try to connect to givn server. 
225 334
                 try
226 335
                 {
227 336
                     status = cmdManager.Open(entryServerName.Text, Convert.ToInt32(entryServerPort.Text));
@@ -232,13 +341,14 @@ public partial class MainWindow : Gtk.Window
232 341
                     return;
233 342
                 }
234 343
 
344
+                //if connection status is not ok, show an error popup
235 345
                 if (status != true)
236 346
                 {
237 347
                     MessagePopup(MessageType.Error,
238 348
                                  ButtonsType.Ok, "Error",
239 349
                                  "Unable to connect to server " + entryServerName.Text + ":" + Convert.ToInt32(entryServerPort.Text));
240 350
                 }
241
-                else
351
+                else // if we succed in connecting, open communication with robot
242 352
                 {
243 353
                     Console.Write("Send command RobotOpenCom: ");
244 354
                     statusCmd = cmdManager.RobotOpenCom();
@@ -248,7 +358,7 @@ public partial class MainWindow : Gtk.Window
248 358
                     {
249 359
                         ChangeState(SystemState.ServerConnected);
250 360
                     }
251
-                    else
361
+                    else // if communication with robot is not possible, show error
252 362
                     {
253 363
                         MessagePopup(MessageType.Error,
254 364
                                      ButtonsType.Ok, "Error",
@@ -261,26 +371,34 @@ public partial class MainWindow : Gtk.Window
261 371
         }
262 372
     }
263 373
 
374
+    /// <summary>
375
+    /// Callback called when "buttonRobotactivation" is clicked
376
+    /// </summary>
377
+    /// <param name="sender">Sender object</param>
378
+    /// <param name="e">Event</param>
264 379
     protected void OnButtonRobotActivationClicked(object sender, EventArgs e)
265 380
     {
266 381
         DestijlCommandManager.CommandStatus status;
267 382
 
268
-        if (buttonRobotActivation.Label == "Activate") // activation du robot
383
+        //if robot is not activated
384
+        if (buttonRobotActivation.Label == "Activate") 
269 385
         {
270
-            if (radioButtonWithWatchdog.Active) // Demarrage avec watchdog
386
+            // if a startup with watchdog is requested
387
+            if (radioButtonWithWatchdog.Active) 
271 388
             {
272 389
                 status = cmdManager.RobotStartWithWatchdog();
273 390
             }
274
-            else // Demarrage sans watchdog
391
+            else // startup without watchdog
275 392
             {
276 393
                 status = cmdManager.RobotStartWithoutWatchdog();
277 394
             }
278 395
 
396
+            // if status of command is ok, change state of system, enabling robot control
279 397
             if (status == DestijlCommandManager.CommandStatus.Success)
280 398
             {
281 399
                 ChangeState(SystemState.RobotConnected);
282 400
             }
283
-            else
401
+            else // if status is not ok, depending of error, show appropriate error
284 402
             {
285 403
                 if (status == DestijlCommandManager.CommandStatus.CommunicationLostWithServer)
286 404
                 {
@@ -293,15 +411,16 @@ public partial class MainWindow : Gtk.Window
293 411
                 }
294 412
             }
295 413
         }
296
-        else // Reset du robot
414
+        else // If robot is already activated, request reset of robot
297 415
         {
298 416
             status = cmdManager.RobotReset();
299 417
 
418
+            // if status of command is ok, change state of system, disabling robot control
300 419
             if (status == DestijlCommandManager.CommandStatus.Success)
301 420
             {
302 421
                 ChangeState(SystemState.ServerConnected);
303 422
             }
304
-            else
423
+            else // if status is not ok, depending of error, show appropriate error
305 424
             {
306 425
                 if (status == DestijlCommandManager.CommandStatus.CommunicationLostWithServer)
307 426
                 {
@@ -316,8 +435,14 @@ public partial class MainWindow : Gtk.Window
316 435
         }
317 436
     }
318 437
 
438
+    /// <summary>
439
+    /// Callback called when user click on direction button
440
+    /// </summary>
441
+    /// <param name="sender">Sender button</param>
442
+    /// <param name="e">Event</param>
319 443
     protected void OnButtonMouvClicked(object sender, EventArgs e)
320 444
     {
445
+        // depending on button clicked, launch appropriate action
321 446
         if (sender == buttonRight)
322 447
         {
323 448
             cmdManager.RobotTurn(90);
@@ -340,14 +465,22 @@ public partial class MainWindow : Gtk.Window
340 465
         }
341 466
     }
342 467
 
468
+    /// <summary>
469
+    /// Callback called when battery timer expired
470
+    /// </summary>
471
+    /// <param name="sender">Sender object</param>
472
+    /// <param name="e">Event</param>
343 473
     void OnBatteryTimerElapsed(object sender, System.Timers.ElapsedEventArgs e)
344 474
     {
345 475
         DestijlCommandManager.CommandStatus status;
346 476
         batteryTimer.Stop();
347 477
 
478
+        // if battery checkbox is checked, a request for battery level is done
348 479
         if (checkButtonGetBattery.Active)
349 480
         {
350 481
             status = cmdManager.RobotGetBattery();
482
+
483
+            // if status is not ok, show appropriate message and print "Unknown" for battery level
351 484
             switch (status)
352 485
             {
353 486
                 case DestijlCommandManager.CommandStatus.Success:
@@ -376,8 +509,14 @@ public partial class MainWindow : Gtk.Window
376 509
         else batteryTimer.Start();
377 510
     }
378 511
 
512
+    /// <summary>
513
+    /// Callback called when checkbutton for camera is clicked
514
+    /// </summary>
515
+    /// <param name="sender">Sender object</param>
516
+    /// <param name="e">Event</param>
379 517
     protected void OnCheckButtonCameraOnClicked(object sender, EventArgs e)
380 518
     {
519
+        // if camera is already active, switch it off
381 520
         if (!checkButtonCameraOn.Active)
382 521
         {
383 522
             if (cmdManager.CameraClose() != DestijlCommandManager.CommandStatus.Success)
@@ -387,8 +526,11 @@ public partial class MainWindow : Gtk.Window
387 526
                              "Error when closing camera: bad answer for supervisor or timeout");
388 527
             }
389 528
         }
390
-        else
529
+        else // camera is not active, switch it on
391 530
         {
531
+            badImageReceivedCounter = 0;
532
+            imageReceivedCounter = 0;
533
+
392 534
             if (cmdManager.CameraOpen() != DestijlCommandManager.CommandStatus.Success)
393 535
             {
394 536
                 MessagePopup(MessageType.Error,
@@ -399,8 +541,14 @@ public partial class MainWindow : Gtk.Window
399 541
         }
400 542
     }
401 543
 
544
+    /// <summary>
545
+    /// Callback called when checkbutton robot position is clicked
546
+    /// </summary>
547
+    /// <param name="sender">Sender object</param>
548
+    /// <param name="e">Event</param>
402 549
     protected void OnCheckButtonRobotPositionClicked(object sender, EventArgs e)
403 550
     {
551
+        // if server already send robot position, stop it
404 552
         if (!checkButtonRobotPosition.Active)
405 553
         {
406 554
             if (cmdManager.CameraStopComputePosition() != DestijlCommandManager.CommandStatus.Success)
@@ -410,7 +558,7 @@ public partial class MainWindow : Gtk.Window
410 558
                              "Error when stopping position reception: bad answer for supervisor or timeout");
411 559
             }
412 560
         }
413
-        else
561
+        else // start reception of robot position
414 562
         {
415 563
             if (cmdManager.CameraComputePosition() != DestijlCommandManager.CommandStatus.Success)
416 564
             {
@@ -423,6 +571,11 @@ public partial class MainWindow : Gtk.Window
423 571
         }
424 572
     }
425 573
 
574
+    /// <summary>
575
+    /// Callback called when drawingarea need refresh
576
+    /// </summary>
577
+    /// <param name="o">Sender object</param>
578
+    /// <param name="args">Expose arguments</param>
426 579
     protected void OnDrawingAreaCameraExposeEvent(object o, ExposeEventArgs args)
427 580
     {
428 581
         //Console.WriteLine("Event expose. Args = " + args.ToString());
@@ -431,19 +584,23 @@ public partial class MainWindow : Gtk.Window
431 584
         Gdk.Pixbuf displayPixbuf;
432 585
         int areaWidth, areaHeight;
433 586
 
587
+        // Get graphic context for background
434 588
         Gdk.GC gc = area.Style.BackgroundGC(Gtk.StateType.Normal);
435 589
 
590
+        // get size of drawingarea widget
436 591
         area.GdkWindow.GetSize(out areaWidth, out areaHeight);
437 592
         int width = drawingareaCameraPixbuf.Width;
438 593
         int height = drawingareaCameraPixbuf.Height;
439 594
         float ratio = (float)width / (float)height;
440 595
 
596
+        // if widget is smaller than image, reduce it
441 597
         if (areaWidth <= width)
442 598
         {
443 599
             width = areaWidth;
444 600
             height = (int)(width / ratio);
445 601
         }
446 602
 
603
+        // if image is smaller than widget, enlarge it
447 604
         if (width > areaWidth)
448 605
         {
449 606
             width = areaWidth;
@@ -454,8 +611,10 @@ public partial class MainWindow : Gtk.Window
454 611
             height = areaHeight;
455 612
         }
456 613
 
614
+        //scale original picture and copy result in local pixbuf
457 615
         displayPixbuf = drawingareaCameraPixbuf.ScaleSimple(width, height, InterpType.Bilinear);
458 616
 
617
+        // draw local pixbuff centered on drawingarea
459 618
         area.GdkWindow.DrawPixbuf(gc, displayPixbuf,
460 619
                                   0, 0,
461 620
                                   (areaWidth - displayPixbuf.Width) / 2,
@@ -464,6 +623,9 @@ public partial class MainWindow : Gtk.Window
464 623
                                   RgbDither.Normal, 0, 0);
465 624
     }
466 625
 
626
+    /// <summary>
627
+    /// Show a popup asking user to tell if arena is correct or not 
628
+    /// </summary>
467 629
     protected void DetectArena()
468 630
     {
469 631
         DestijlCommandManager.CommandStatus status;
@@ -493,8 +655,14 @@ public partial class MainWindow : Gtk.Window
493 655
         }
494 656
     }
495 657
 
658
+    /// <summary>
659
+    /// Callback called when "detect Arena " button is clicked
660
+    /// </summary>
661
+    /// <param name="sender">Sender object</param>
662
+    /// <param name="e">Event</param>
496 663
     protected void OnButtonAskArenaClicked(object sender, EventArgs e)
497 664
     {
665
+        // Send command to server for arean rendering
498 666
         if (cmdManager.CameraAskArena() != DestijlCommandManager.CommandStatus.Success)
499 667
         {
500 668
             MessagePopup(MessageType.Error,
@@ -503,6 +671,7 @@ public partial class MainWindow : Gtk.Window
503 671
             return;
504 672
         }
505 673
 
674
+        // show popup and wait for user to say if arena is ok or not 
506 675
         DetectArena();
507 676
     }
508 677
 }

+ 22
- 1
software/monitor/monitor/Program.cs View File

@@ -1,4 +1,25 @@
1
-using System;
1
+//
2
+//  Program.cs
3
+//
4
+//  Author:
5
+//       Di MERCURIO Sébastien <dimercur@insa-toulouse.fr>
6
+//
7
+//  Copyright (c) 2018 INSA - DGEI
8
+//
9
+//  This program is free software: you can redistribute it and/or modify
10
+//  it under the terms of the GNU General Public License as published by
11
+//  the Free Software Foundation, either version 3 of the License, or
12
+//  (at your option) any later version.
13
+//
14
+//  This program is distributed in the hope that it will be useful,
15
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+//  GNU General Public License for more details.
18
+//
19
+//  You should have received a copy of the GNU General Public License
20
+//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+
22
+using System;
2 23
 using Gtk;
3 24
 
4 25
 namespace monitor

+ 3
- 0
software/monitor/monitor/afterBuild.sh View File

@@ -0,0 +1,3 @@
1
+echo $(pwd)
2
+cp $(pwd)/bin/Debug/monitor.exe $(pwd)/monitor
3
+chmod +x $(pwd)/monitor

+ 19
- 19
software/monitor/monitor/docs/html/_client_8cs_source.html
File diff suppressed because it is too large
View File


+ 23
- 23
software/monitor/monitor/docs/html/_command_manager_8cs_source.html
File diff suppressed because it is too large
View File


+ 3
- 0
software/monitor/monitor/docs/html/_destijl_command_manager_8cs.html View File

@@ -93,10 +93,13 @@ $(document).ready(function(){initNavTree('_destijl_command_manager_8cs.html','')
93 93
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
94 94
 Classes</h2></td></tr>
95 95
 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_list.html">monitor.DestijlCommandList</a></td></tr>
96
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Commands and options parameters used in Destijl project when communicating with server  <a href="classmonitor_1_1_destijl_command_list.html#details">More...</a><br /></td></tr>
96 97
 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
97 98
 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_robot_command_list.html">monitor.RobotCommandList</a></td></tr>
99
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Commands used for robot messages  <a href="classmonitor_1_1_robot_command_list.html#details">More...</a><br /></td></tr>
98 100
 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
99 101
 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">monitor.DestijlCommandManager</a></td></tr>
102
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specialization class for command manager, which implemnent destijl protocol between monitor and server  <a href="classmonitor_1_1_destijl_command_manager.html#details">More...</a><br /></td></tr>
100 103
 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
101 104
 </table><table class="memberdecls">
102 105
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>

+ 67
- 68
software/monitor/monitor/docs/html/_destijl_command_manager_8cs_source.html
File diff suppressed because it is too large
View File


+ 1
- 1
software/monitor/monitor/docs/html/_monitor_u_i_8cs.html View File

@@ -92,7 +92,7 @@ $(document).ready(function(){initNavTree('_monitor_u_i_8cs.html','');});
92 92
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
93 93
 Classes</h2></td></tr>
94 94
 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html">MainWindow</a></td></tr>
95
-<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main window.  <a href="class_main_window.html#details">More...</a><br /></td></tr>
95
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main part of the program, behavior of main window  <a href="class_main_window.html#details">More...</a><br /></td></tr>
96 96
 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
97 97
 </table>
98 98
 </div><!-- contents -->

+ 49
- 49
software/monitor/monitor/docs/html/_monitor_u_i_8cs_source.html
File diff suppressed because it is too large
View File


+ 5
- 5
software/monitor/monitor/docs/html/_program_8cs_source.html
File diff suppressed because it is too large
View File


+ 4
- 4
software/monitor/monitor/docs/html/annotated.html View File

@@ -89,11 +89,11 @@ $(document).ready(function(){initNavTree('annotated.html','');});
89 89
 <tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">&#9660;</span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespacemonitor.html" target="_self">monitor</a></td><td class="desc"></td></tr>
90 90
 <tr id="row_0_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_client.html" target="_self">Client</a></td><td class="desc">Static class for TCP client </td></tr>
91 91
 <tr id="row_0_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_command_manager.html" target="_self">CommandManager</a></td><td class="desc">Command Manager. Use for timeout managment during reception of data Used as intermediate layer between TCP client class (<a class="el" href="classmonitor_1_1_client.html" title="Static class for TCP client ">Client</a>) and application level managment of command and answers </td></tr>
92
-<tr id="row_0_2_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_destijl_command_list.html" target="_self">DestijlCommandList</a></td><td class="desc"></td></tr>
93
-<tr id="row_0_3_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_destijl_command_manager.html" target="_self">DestijlCommandManager</a></td><td class="desc"></td></tr>
92
+<tr id="row_0_2_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_destijl_command_list.html" target="_self">DestijlCommandList</a></td><td class="desc">Commands and options parameters used in Destijl project when communicating with server </td></tr>
93
+<tr id="row_0_3_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_destijl_command_manager.html" target="_self">DestijlCommandManager</a></td><td class="desc">Specialization class for command manager, which implemnent destijl protocol between monitor and server </td></tr>
94 94
 <tr id="row_0_4_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_main_class.html" target="_self">MainClass</a></td><td class="desc"></td></tr>
95
-<tr id="row_0_5_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_robot_command_list.html" target="_self">RobotCommandList</a></td><td class="desc"></td></tr>
96
-<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_main_window.html" target="_self">MainWindow</a></td><td class="desc">Main window. </td></tr>
95
+<tr id="row_0_5_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classmonitor_1_1_robot_command_list.html" target="_self">RobotCommandList</a></td><td class="desc">Commands used for robot messages </td></tr>
96
+<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_main_window.html" target="_self">MainWindow</a></td><td class="desc">Main part of the program, behavior of main window </td></tr>
97 97
 </table>
98 98
 </div><!-- directory -->
99 99
 </div><!-- contents -->

+ 193
- 27
software/monitor/monitor/docs/html/class_main_window.html View File

@@ -92,7 +92,7 @@ $(document).ready(function(){initNavTree('class_main_window.html','');});
92 92
 </div><!--header-->
93 93
 <div class="contents">
94 94
 
95
-<p>Main window.  
95
+<p>Main part of the program, behavior of main window  
96 96
  <a href="class_main_window.html#details">More...</a></p>
97 97
 <div class="dynheader">
98 98
 Inheritance diagram for MainWindow:</div>
@@ -104,7 +104,7 @@ Collaboration diagram for MainWindow:</div>
104 104
 <div class="dyncontent">
105 105
 <div class="center"><img src="class_main_window__coll__graph.png" border="0" usemap="#_main_window_coll__map" alt="Collaboration graph"/></div>
106 106
 <map name="_main_window_coll__map" id="_main_window_coll__map">
107
-<area shape="rect" id="node3" href="classmonitor_1_1_destijl_command_manager.html" title="monitor.DestijlCommandManager" alt="" coords="179,184,395,211"/>
107
+<area shape="rect" id="node3" href="classmonitor_1_1_destijl_command_manager.html" title="Specialization class for command manager, which implemnent destijl protocol between monitor and serve..." alt="" coords="179,184,395,211"/>
108 108
 <area shape="rect" id="node4" href="classmonitor_1_1_command_manager.html" title="Command Manager. Use for timeout managment during reception of data Used as intermediate layer betwee..." alt="" coords="188,95,367,121"/>
109 109
 </map>
110 110
 <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
@@ -112,35 +112,49 @@ Collaboration diagram for MainWindow:</div>
112 112
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
113 113
 Public Member Functions</h2></td></tr>
114 114
 <tr class="memitem:af607d50e4d1b04d3c494661489283f45"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#af607d50e4d1b04d3c494661489283f45">MainWindow</a> ()</td></tr>
115
+<tr class="memdesc:af607d50e4d1b04d3c494661489283f45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a new instance of the <a class="el" href="class_main_window.html" title="Main part of the program, behavior of main window ">MainWindow</a> class.  <a href="#af607d50e4d1b04d3c494661489283f45">More...</a><br /></td></tr>
115 116
 <tr class="separator:af607d50e4d1b04d3c494661489283f45"><td class="memSeparator" colspan="2">&#160;</td></tr>
116 117
 <tr class="memitem:a9a0f3d4cd871609f12d328af2f588664"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a9a0f3d4cd871609f12d328af2f588664">AdjustControls</a> ()</td></tr>
118
+<tr class="memdesc:a9a0f3d4cd871609f12d328af2f588664"><td class="mdescLeft">&#160;</td><td class="mdescRight">Make some adjustement to controls, like disabling some controls  <a href="#a9a0f3d4cd871609f12d328af2f588664">More...</a><br /></td></tr>
117 119
 <tr class="separator:a9a0f3d4cd871609f12d328af2f588664"><td class="memSeparator" colspan="2">&#160;</td></tr>
118 120
 <tr class="memitem:a4b651f10b9079c128b9e36d15ad10211"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a4b651f10b9079c128b9e36d15ad10211">OnCommandReceivedEvent</a> (string header, string data, byte[] buffer)</td></tr>
121
+<tr class="memdesc:a4b651f10b9079c128b9e36d15ad10211"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called when new message is received from server  <a href="#a4b651f10b9079c128b9e36d15ad10211">More...</a><br /></td></tr>
119 122
 <tr class="separator:a4b651f10b9079c128b9e36d15ad10211"><td class="memSeparator" colspan="2">&#160;</td></tr>
120 123
 </table><table class="memberdecls">
121 124
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
122 125
 Protected Member Functions</h2></td></tr>
123 126
 <tr class="memitem:a64bdcb29cebb58957790da1ee2733fe1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a64bdcb29cebb58957790da1ee2733fe1">OnDeleteEvent</a> (object sender, DeleteEventArgs a)</td></tr>
127
+<tr class="memdesc:a64bdcb29cebb58957790da1ee2733fe1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called when delete event is sent by window  <a href="#a64bdcb29cebb58957790da1ee2733fe1">More...</a><br /></td></tr>
124 128
 <tr class="separator:a64bdcb29cebb58957790da1ee2733fe1"><td class="memSeparator" colspan="2">&#160;</td></tr>
125 129
 <tr class="memitem:ab54b643c364b46a150f6f993267bb709"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ab54b643c364b46a150f6f993267bb709">OnQuitActionActivated</a> (object sender, EventArgs e)</td></tr>
130
+<tr class="memdesc:ab54b643c364b46a150f6f993267bb709"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called by "quit" menu  <a href="#ab54b643c364b46a150f6f993267bb709">More...</a><br /></td></tr>
126 131
 <tr class="separator:ab54b643c364b46a150f6f993267bb709"><td class="memSeparator" colspan="2">&#160;</td></tr>
127 132
 <tr class="memitem:a87132738a6ca496303940d56e091bdc7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a87132738a6ca496303940d56e091bdc7">OnShowLogWindowActionActivated</a> (object sender, EventArgs e)</td></tr>
133
+<tr class="memdesc:a87132738a6ca496303940d56e091bdc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called by "show log" menu  <a href="#a87132738a6ca496303940d56e091bdc7">More...</a><br /></td></tr>
128 134
 <tr class="separator:a87132738a6ca496303940d56e091bdc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
129 135
 <tr class="memitem:ac0acc6c3a63f405f14ec8e4d132a2661"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ac0acc6c3a63f405f14ec8e4d132a2661">OnButtonServerConnectionClicked</a> (object sender, EventArgs e)</td></tr>
136
+<tr class="memdesc:ac0acc6c3a63f405f14ec8e4d132a2661"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called by "buttonServerConnection" button  <a href="#ac0acc6c3a63f405f14ec8e4d132a2661">More...</a><br /></td></tr>
130 137
 <tr class="separator:ac0acc6c3a63f405f14ec8e4d132a2661"><td class="memSeparator" colspan="2">&#160;</td></tr>
131 138
 <tr class="memitem:a2b5e11a49a10b24c59bebb377cdfeae8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a2b5e11a49a10b24c59bebb377cdfeae8">OnButtonRobotActivationClicked</a> (object sender, EventArgs e)</td></tr>
139
+<tr class="memdesc:a2b5e11a49a10b24c59bebb377cdfeae8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called when "buttonRobotactivation" is clicked  <a href="#a2b5e11a49a10b24c59bebb377cdfeae8">More...</a><br /></td></tr>
132 140
 <tr class="separator:a2b5e11a49a10b24c59bebb377cdfeae8"><td class="memSeparator" colspan="2">&#160;</td></tr>
133 141
 <tr class="memitem:a7f8d06747f887216ab8c941ad10cb48b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a7f8d06747f887216ab8c941ad10cb48b">OnButtonMouvClicked</a> (object sender, EventArgs e)</td></tr>
142
+<tr class="memdesc:a7f8d06747f887216ab8c941ad10cb48b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called when user click on direction button  <a href="#a7f8d06747f887216ab8c941ad10cb48b">More...</a><br /></td></tr>
134 143
 <tr class="separator:a7f8d06747f887216ab8c941ad10cb48b"><td class="memSeparator" colspan="2">&#160;</td></tr>
135 144
 <tr class="memitem:af4b587cdd614d5bdb8d9158a1f59e4fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#af4b587cdd614d5bdb8d9158a1f59e4fa">OnCheckButtonCameraOnClicked</a> (object sender, EventArgs e)</td></tr>
145
+<tr class="memdesc:af4b587cdd614d5bdb8d9158a1f59e4fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called when checkbutton for camera is clicked  <a href="#af4b587cdd614d5bdb8d9158a1f59e4fa">More...</a><br /></td></tr>
136 146
 <tr class="separator:af4b587cdd614d5bdb8d9158a1f59e4fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
137 147
 <tr class="memitem:a20d07605619027d82a30552f294b128f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a20d07605619027d82a30552f294b128f">OnCheckButtonRobotPositionClicked</a> (object sender, EventArgs e)</td></tr>
148
+<tr class="memdesc:a20d07605619027d82a30552f294b128f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called when checkbutton robot position is clicked  <a href="#a20d07605619027d82a30552f294b128f">More...</a><br /></td></tr>
138 149
 <tr class="separator:a20d07605619027d82a30552f294b128f"><td class="memSeparator" colspan="2">&#160;</td></tr>
139 150
 <tr class="memitem:afe4b0001f191554aed5d9b65208a06f5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#afe4b0001f191554aed5d9b65208a06f5">OnDrawingAreaCameraExposeEvent</a> (object o, ExposeEventArgs args)</td></tr>
151
+<tr class="memdesc:afe4b0001f191554aed5d9b65208a06f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called when drawingarea need refresh  <a href="#afe4b0001f191554aed5d9b65208a06f5">More...</a><br /></td></tr>
140 152
 <tr class="separator:afe4b0001f191554aed5d9b65208a06f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
141 153
 <tr class="memitem:a89c79ce9ca4114ca9c50f32dc080e9cd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a89c79ce9ca4114ca9c50f32dc080e9cd">DetectArena</a> ()</td></tr>
154
+<tr class="memdesc:a89c79ce9ca4114ca9c50f32dc080e9cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Show a popup asking user to tell if arena is correct or not  <a href="#a89c79ce9ca4114ca9c50f32dc080e9cd">More...</a><br /></td></tr>
142 155
 <tr class="separator:a89c79ce9ca4114ca9c50f32dc080e9cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
143 156
 <tr class="memitem:a31e299085d6286d680bd488c73fdff82"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a31e299085d6286d680bd488c73fdff82">OnButtonAskArenaClicked</a> (object sender, EventArgs e)</td></tr>
157
+<tr class="memdesc:a31e299085d6286d680bd488c73fdff82"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called when "detect Arena " button is clicked  <a href="#a31e299085d6286d680bd488c73fdff82">More...</a><br /></td></tr>
144 158
 <tr class="separator:a31e299085d6286d680bd488c73fdff82"><td class="memSeparator" colspan="2">&#160;</td></tr>
145 159
 </table><table class="memberdecls">
146 160
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-types"></a>
@@ -148,33 +162,41 @@ Private Types</h2></td></tr>
148 162
 <tr class="memitem:a7b18ca1f8f71faf272c9856aaf7b8e3d"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3d">SystemState</a> { <a class="el" href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3da4075072d219e061ca0f3124f8fbef463">SystemState.NotConnected</a>, 
149 163
 <a class="el" href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3da911ba363fd1483b5b36fda7b0149cf76">SystemState.ServerConnected</a>, 
150 164
 <a class="el" href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3da9761e78f9ae0d6f598d953b4d9e839e1">SystemState.RobotConnected</a>
151
- }</td></tr>
165
+ }<tr class="memdesc:a7b18ca1f8f71faf272c9856aaf7b8e3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of availble state for the application  <a href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3d">More...</a><br /></td></tr>
166
+</td></tr>
152 167
 <tr class="separator:a7b18ca1f8f71faf272c9856aaf7b8e3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
153 168
 </table><table class="memberdecls">
154 169
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
155 170
 Private Member Functions</h2></td></tr>
156 171
 <tr class="memitem:aedc27cabbe1604313a452fcbf3ffe9f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#aedc27cabbe1604313a452fcbf3ffe9f4">ChangeState</a> (<a class="el" href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3d">SystemState</a> newState)</td></tr>
172
+<tr class="memdesc:aedc27cabbe1604313a452fcbf3ffe9f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Method used to change controls visibility (greyed or not) depending on current state  <a href="#aedc27cabbe1604313a452fcbf3ffe9f4">More...</a><br /></td></tr>
157 173
 <tr class="separator:aedc27cabbe1604313a452fcbf3ffe9f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
158 174
 <tr class="memitem:afc4f923aaa481a93dddaff6303efb9e0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#afc4f923aaa481a93dddaff6303efb9e0">MessagePopup</a> (MessageType type, ButtonsType buttons, string title, string message)</td></tr>
175
+<tr class="memdesc:afc4f923aaa481a93dddaff6303efb9e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display a popup message window  <a href="#afc4f923aaa481a93dddaff6303efb9e0">More...</a><br /></td></tr>
159 176
 <tr class="separator:afc4f923aaa481a93dddaff6303efb9e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
160 177
 <tr class="memitem:af303b70c08cda04a76f6418f727c4891"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#af303b70c08cda04a76f6418f727c4891">OnBatteryTimerElapsed</a> (object sender, System.Timers.ElapsedEventArgs e)</td></tr>
178
+<tr class="memdesc:af303b70c08cda04a76f6418f727c4891"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback called when battery timer expired  <a href="#af303b70c08cda04a76f6418f727c4891">More...</a><br /></td></tr>
161 179
 <tr class="separator:af303b70c08cda04a76f6418f727c4891"><td class="memSeparator" colspan="2">&#160;</td></tr>
162 180
 </table><table class="memberdecls">
163 181
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
164 182
 Private Attributes</h2></td></tr>
165 183
 <tr class="memitem:a0b60450970b8a6fb6e016d5c0728e474"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">DestijlCommandManager</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a0b60450970b8a6fb6e016d5c0728e474">cmdManager</a></td></tr>
184
+<tr class="memdesc:a0b60450970b8a6fb6e016d5c0728e474"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destijl command manager reference  <a href="#a0b60450970b8a6fb6e016d5c0728e474">More...</a><br /></td></tr>
166 185
 <tr class="separator:a0b60450970b8a6fb6e016d5c0728e474"><td class="memSeparator" colspan="2">&#160;</td></tr>
167 186
 <tr class="memitem:a41581e449b18e87acbdff5baa12c2050"><td class="memItemLeft" align="right" valign="top">Pixbuf&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a41581e449b18e87acbdff5baa12c2050">drawingareaCameraPixbuf</a></td></tr>
187
+<tr class="memdesc:a41581e449b18e87acbdff5baa12c2050"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pixbuffer used for displaying image  <a href="#a41581e449b18e87acbdff5baa12c2050">More...</a><br /></td></tr>
168 188
 <tr class="separator:a41581e449b18e87acbdff5baa12c2050"><td class="memSeparator" colspan="2">&#160;</td></tr>
169 189
 <tr class="memitem:a105025ee1bdfac188f1ce640d593550d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3d">SystemState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a105025ee1bdfac188f1ce640d593550d">systemState</a> = <a class="el" href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3da4075072d219e061ca0f3124f8fbef463">SystemState.NotConnected</a></td></tr>
190
+<tr class="memdesc:a105025ee1bdfac188f1ce640d593550d"><td class="mdescLeft">&#160;</td><td class="mdescRight">The state of the system. Can take a value from SystemState  <a href="#a105025ee1bdfac188f1ce640d593550d">More...</a><br /></td></tr>
170 191
 <tr class="separator:a105025ee1bdfac188f1ce640d593550d"><td class="memSeparator" colspan="2">&#160;</td></tr>
171 192
 <tr class="memitem:a57f0325d8b8a63be586001b9a469d9ae"><td class="memItemLeft" align="right" valign="top">System.Timers.Timer&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a57f0325d8b8a63be586001b9a469d9ae">batteryTimer</a></td></tr>
193
+<tr class="memdesc:a57f0325d8b8a63be586001b9a469d9ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Timer for battery request  <a href="#a57f0325d8b8a63be586001b9a469d9ae">More...</a><br /></td></tr>
172 194
 <tr class="separator:a57f0325d8b8a63be586001b9a469d9ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
173 195
 </table>
174 196
 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
175
-<div class="textblock"><p>Main window. </p>
197
+<div class="textblock"><p>Main part of the program, behavior of main window </p>
176 198
 
177
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00010">10</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
199
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00032">32</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
178 200
 </div><h2 class="groupheader">Member Enumeration Documentation</h2>
179 201
 <a id="a7b18ca1f8f71faf272c9856aaf7b8e3d"></a>
180 202
 <h2 class="memtitle"><span class="permalink"><a href="#a7b18ca1f8f71faf272c9856aaf7b8e3d">&#9670;&nbsp;</a></span>SystemState</h2>
@@ -195,13 +217,15 @@ Private Attributes</h2></td></tr>
195 217
   </tr>
196 218
 </table>
197 219
 </div><div class="memdoc">
220
+
221
+<p>List of availble state for the application </p>
198 222
 <table class="fieldtable">
199 223
 <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a7b18ca1f8f71faf272c9856aaf7b8e3da4075072d219e061ca0f3124f8fbef463"></a>NotConnected&#160;</td><td class="fielddoc"></td></tr>
200 224
 <tr><td class="fieldname"><a id="a7b18ca1f8f71faf272c9856aaf7b8e3da911ba363fd1483b5b36fda7b0149cf76"></a>ServerConnected&#160;</td><td class="fielddoc"></td></tr>
201 225
 <tr><td class="fieldname"><a id="a7b18ca1f8f71faf272c9856aaf7b8e3da9761e78f9ae0d6f598d953b4d9e839e1"></a>RobotConnected&#160;</td><td class="fielddoc"></td></tr>
202 226
 </table>
203 227
 
204
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00015">15</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
228
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00047">47</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
205 229
 
206 230
 </div>
207 231
 </div>
@@ -221,7 +245,9 @@ Private Attributes</h2></td></tr>
221 245
       </table>
222 246
 </div><div class="memdoc">
223 247
 
224
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00025">25</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
248
+<p>Initializes a new instance of the <a class="el" href="class_main_window.html" title="Main part of the program, behavior of main window ">MainWindow</a> class. </p>
249
+
250
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00067">67</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
225 251
 
226 252
 </div>
227 253
 </div>
@@ -241,7 +267,9 @@ Private Attributes</h2></td></tr>
241 267
       </table>
242 268
 </div><div class="memdoc">
243 269
 
244
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00042">42</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
270
+<p>Make some adjustement to controls, like disabling some controls </p>
271
+
272
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00084">84</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
245 273
 
246 274
 </div>
247 275
 </div>
@@ -269,7 +297,15 @@ Private Attributes</h2></td></tr>
269 297
 </table>
270 298
 </div><div class="memdoc">
271 299
 
272
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00054">54</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
300
+<p>Method used to change controls visibility (greyed or not) depending on current state </p>
301
+<dl class="params"><dt>Parameters</dt><dd>
302
+  <table class="params">
303
+    <tr><td class="paramname">newState</td><td>New state</td></tr>
304
+  </table>
305
+  </dd>
306
+</dl>
307
+
308
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00103">103</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
273 309
 
274 310
 </div>
275 311
 </div>
@@ -296,7 +332,9 @@ Private Attributes</h2></td></tr>
296 332
 </table>
297 333
 </div><div class="memdoc">
298 334
 
299
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00467">467</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
335
+<p>Show a popup asking user to tell if arena is correct or not </p>
336
+
337
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00610">610</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
300 338
 
301 339
 </div>
302 340
 </div>
@@ -346,7 +384,18 @@ Private Attributes</h2></td></tr>
346 384
 </table>
347 385
 </div><div class="memdoc">
348 386
 
349
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00120">120</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
387
+<p>Display a popup message window </p>
388
+<dl class="params"><dt>Parameters</dt><dd>
389
+  <table class="params">
390
+    <tr><td class="paramname">type</td><td>Type of popup window (question, error, information,...)</td></tr>
391
+    <tr><td class="paramname">buttons</td><td>Buttons available on popup window</td></tr>
392
+    <tr><td class="paramname">title</td><td>Title of window</td></tr>
393
+    <tr><td class="paramname">message</td><td>Message</td></tr>
394
+  </table>
395
+  </dd>
396
+</dl>
397
+
398
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00176">176</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
350 399
 
351 400
 </div>
352 401
 </div>
@@ -384,7 +433,16 @@ Private Attributes</h2></td></tr>
384 433
 </table>
385 434
 </div><div class="memdoc">
386 435
 
387
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00343">343</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
436
+<p>Callback called when battery timer expired </p>
437
+<dl class="params"><dt>Parameters</dt><dd>
438
+  <table class="params">
439
+    <tr><td class="paramname">sender</td><td>Sender object</td></tr>
440
+    <tr><td class="paramname">e</td><td>Event</td></tr>
441
+  </table>
442
+  </dd>
443
+</dl>
444
+
445
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00457">457</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
388 446
 
389 447
 </div>
390 448
 </div>
@@ -422,7 +480,16 @@ Private Attributes</h2></td></tr>
422 480
 </table>
423 481
 </div><div class="memdoc">
424 482
 
425
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00496">496</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
483
+<p>Callback called when "detect Arena " button is clicked </p>
484
+<dl class="params"><dt>Parameters</dt><dd>
485
+  <table class="params">
486
+    <tr><td class="paramname">sender</td><td>Sender object</td></tr>
487
+    <tr><td class="paramname">e</td><td>Event</td></tr>
488
+  </table>
489
+  </dd>
490
+</dl>
491
+
492
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00644">644</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
426 493
 
427 494
 </div>
428 495
 </div>
@@ -460,7 +527,16 @@ Private Attributes</h2></td></tr>
460 527
 </table>
461 528
 </div><div class="memdoc">
462 529
 
463
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00319">319</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
530
+<p>Callback called when user click on direction button </p>
531
+<dl class="params"><dt>Parameters</dt><dd>
532
+  <table class="params">
533
+    <tr><td class="paramname">sender</td><td>Sender button</td></tr>
534
+    <tr><td class="paramname">e</td><td>Event</td></tr>
535
+  </table>
536
+  </dd>
537
+</dl>
538
+
539
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00427">427</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
464 540
 
465 541
 </div>
466 542
 </div>
@@ -498,7 +574,16 @@ Private Attributes</h2></td></tr>
498 574
 </table>
499 575
 </div><div class="memdoc">
500 576
 
501
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00264">264</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
577
+<p>Callback called when "buttonRobotactivation" is clicked </p>
578
+<dl class="params"><dt>Parameters</dt><dd>
579
+  <table class="params">
580
+    <tr><td class="paramname">sender</td><td>Sender object</td></tr>
581
+    <tr><td class="paramname">e</td><td>Event</td></tr>
582
+  </table>
583
+  </dd>
584
+</dl>
585
+
586
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00363">363</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
502 587
 
503 588
 </div>
504 589
 </div>
@@ -536,7 +621,16 @@ Private Attributes</h2></td></tr>
536 621
 </table>
537 622
 </div><div class="memdoc">
538 623
 
539
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00194">194</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
624
+<p>Callback called by "buttonServerConnection" button </p>
625
+<dl class="params"><dt>Parameters</dt><dd>
626
+  <table class="params">
627
+    <tr><td class="paramname">sender</td><td>Sender object</td></tr>
628
+    <tr><td class="paramname">e</td><td>Event</td></tr>
629
+  </table>
630
+  </dd>
631
+</dl>
632
+
633
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00282">282</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
540 634
 
541 635
 </div>
542 636
 </div>
@@ -574,7 +668,16 @@ Private Attributes</h2></td></tr>
574 668
 </table>
575 669
 </div><div class="memdoc">
576 670
 
577
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00379">379</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
671
+<p>Callback called when checkbutton for camera is clicked </p>
672
+<dl class="params"><dt>Parameters</dt><dd>
673
+  <table class="params">
674
+    <tr><td class="paramname">sender</td><td>Sender object</td></tr>
675
+    <tr><td class="paramname">e</td><td>Event</td></tr>
676
+  </table>
677
+  </dd>
678
+</dl>
679
+
680
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00501">501</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
578 681
 
579 682
 </div>
580 683
 </div>
@@ -612,7 +715,16 @@ Private Attributes</h2></td></tr>
612 715
 </table>
613 716
 </div><div class="memdoc">
614 717
 
615
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00402">402</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
718
+<p>Callback called when checkbutton robot position is clicked </p>
719
+<dl class="params"><dt>Parameters</dt><dd>
720
+  <table class="params">
721
+    <tr><td class="paramname">sender</td><td>Sender object</td></tr>
722
+    <tr><td class="paramname">e</td><td>Event</td></tr>
723
+  </table>
724
+  </dd>
725
+</dl>
726
+
727
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00530">530</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
616 728
 
617 729
 </div>
618 730
 </div>
@@ -648,7 +760,17 @@ Private Attributes</h2></td></tr>
648 760
       </table>
649 761
 </div><div class="memdoc">
650 762
 
651
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00140">140</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
763
+<p>Callback called when new message is received from server </p>
764
+<dl class="params"><dt>Parameters</dt><dd>
765
+  <table class="params">
766
+    <tr><td class="paramname">header</td><td>Header of message</td></tr>
767
+    <tr><td class="paramname">data</td><td>Data of message</td></tr>
768
+    <tr><td class="paramname">buffer</td><td>Raw buffer corresponding of received message</td></tr>
769
+  </table>
770
+  </dd>
771
+</dl>
772
+
773
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00207">207</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
652 774
 
653 775
 </div>
654 776
 </div>
@@ -686,7 +808,16 @@ Private Attributes</h2></td></tr>
686 808
 </table>
687 809
 </div><div class="memdoc">
688 810
 
689
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00131">131</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
811
+<p>Callback called when delete event is sent by window </p>
812
+<dl class="params"><dt>Parameters</dt><dd>
813
+  <table class="params">
814
+    <tr><td class="paramname">sender</td><td>Sender object</td></tr>
815
+    <tr><td class="paramname">a</td><td>Not really sure of what it is...</td></tr>
816
+  </table>
817
+  </dd>
818
+</dl>
819
+
820
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00192">192</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
690 821
 
691 822
 </div>
692 823
 </div>
@@ -724,7 +855,16 @@ Private Attributes</h2></td></tr>
724 855
 </table>
725 856
 </div><div class="memdoc">
726 857
 
727
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00426">426</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
858
+<p>Callback called when drawingarea need refresh </p>
859
+<dl class="params"><dt>Parameters</dt><dd>
860
+  <table class="params">
861
+    <tr><td class="paramname">o</td><td>Sender object</td></tr>
862
+    <tr><td class="paramname">args</td><td>Expose arguments</td></tr>
863
+  </table>
864
+  </dd>
865
+</dl>
866
+
867
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00560">560</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
728 868
 
729 869
 </div>
730 870
 </div>
@@ -762,7 +902,16 @@ Private Attributes</h2></td></tr>
762 902
 </table>
763 903
 </div><div class="memdoc">
764 904
 
765
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00179">179</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
905
+<p>Callback called by "quit" menu </p>
906
+<dl class="params"><dt>Parameters</dt><dd>
907
+  <table class="params">
908
+    <tr><td class="paramname">sender</td><td>Sender object</td></tr>
909
+    <tr><td class="paramname">e</td><td>Event</td></tr>
910
+  </table>
911
+  </dd>
912
+</dl>
913
+
914
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00257">257</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
766 915
 
767 916
 </div>
768 917
 </div>
@@ -800,7 +949,16 @@ Private Attributes</h2></td></tr>
800 949
 </table>
801 950
 </div><div class="memdoc">
802 951
 
803
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00187">187</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
952
+<p>Callback called by "show log" menu </p>
953
+<dl class="params"><dt>Parameters</dt><dd>
954
+  <table class="params">
955
+    <tr><td class="paramname">sender</td><td>Sender object</td></tr>
956
+    <tr><td class="paramname">e</td><td>Event</td></tr>
957
+  </table>
958
+  </dd>
959
+</dl>
960
+
961
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00270">270</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
804 962
 
805 963
 </div>
806 964
 </div>
@@ -825,7 +983,9 @@ Private Attributes</h2></td></tr>
825 983
 </table>
826 984
 </div><div class="memdoc">
827 985
 
828
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00023">23</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
986
+<p>Timer for battery request </p>
987
+
988
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00062">62</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
829 989
 
830 990
 </div>
831 991
 </div>
@@ -849,7 +1009,9 @@ Private Attributes</h2></td></tr>
849 1009
 </table>
850 1010
 </div><div class="memdoc">
851 1011
 
852
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00012">12</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
1012
+<p>Destijl command manager reference </p>
1013
+
1014
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00037">37</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
853 1015
 
854 1016
 </div>
855 1017
 </div>
@@ -873,7 +1035,9 @@ Private Attributes</h2></td></tr>
873 1035
 </table>
874 1036
 </div><div class="memdoc">
875 1037
 
876
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00013">13</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
1038
+<p>Pixbuffer used for displaying image </p>
1039
+
1040
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00042">42</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
877 1041
 
878 1042
 </div>
879 1043
 </div>
@@ -897,7 +1061,9 @@ Private Attributes</h2></td></tr>
897 1061
 </table>
898 1062
 </div><div class="memdoc">
899 1063
 
900
-<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00022">22</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
1064
+<p>The state of the system. Can take a value from SystemState </p>
1065
+
1066
+<p class="definition">Definition at line <a class="el" href="_monitor_u_i_8cs_source.html#l00057">57</a> of file <a class="el" href="_monitor_u_i_8cs_source.html">MonitorUI.cs</a>.</p>
901 1067
 
902 1068
 </div>
903 1069
 </div>

+ 1
- 1
software/monitor/monitor/docs/html/class_main_window__coll__graph.map View File

@@ -1,4 +1,4 @@
1 1
 <map id="MainWindow" name="MainWindow">
2
-<area shape="rect" id="node3" href="$classmonitor_1_1_destijl_command_manager.html" title="monitor.DestijlCommandManager" alt="" coords="179,184,395,211"/>
2
+<area shape="rect" id="node3" href="$classmonitor_1_1_destijl_command_manager.html" title="Specialization class for command manager, which implemnent destijl protocol between monitor and serve..." alt="" coords="179,184,395,211"/>
3 3
 <area shape="rect" id="node4" href="$classmonitor_1_1_command_manager.html" title="Command Manager. Use for timeout managment during reception of data Used as intermediate layer betwee..." alt="" coords="188,95,367,121"/>
4 4
 </map>

+ 1
- 1
software/monitor/monitor/docs/html/class_main_window__coll__graph.md5 View File

@@ -1 +1 @@
1
-4c8ddbcdb9d2101c683e4d7db177d12c
1
+150be75c198c88c6d6956083b335a70c

+ 18
- 18
software/monitor/monitor/docs/html/classmonitor_1_1_client.html View File

@@ -171,7 +171,7 @@ Static Private Attributes</h2></td></tr>
171 171
 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
172 172
 <div class="textblock"><p>Static class for TCP client </p>
173 173
 
174
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00010">10</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
174
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00031">31</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
175 175
 </div><h2 class="groupheader">Member Function Documentation</h2>
176 176
 <a id="ae6c0cbe19d622b008fd1f6d01d9cb315"></a>
177 177
 <h2 class="memtitle"><span class="permalink"><a href="#ae6c0cbe19d622b008fd1f6d01d9cb315">&#9670;&nbsp;</a></span>Close()</h2>
@@ -198,7 +198,7 @@ Static Private Attributes</h2></td></tr>
198 198
 
199 199
 <p>Close connection to server </p>
200 200
 
201
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00120">120</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
201
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00141">141</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
202 202
 
203 203
 </div>
204 204
 </div>
@@ -235,7 +235,7 @@ Static Private Attributes</h2></td></tr>
235 235
   </dd>
236 236
 </dl>
237 237
 
238
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00068">68</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
238
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00089">89</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
239 239
 
240 240
 </div>
241 241
 </div>
@@ -283,7 +283,7 @@ Static Private Attributes</h2></td></tr>
283 283
   </dd>
284 284
 </dl>
285 285
 
286
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00079">79</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
286
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00100">100</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
287 287
 
288 288
 </div>
289 289
 </div>
@@ -319,7 +319,7 @@ Static Private Attributes</h2></td></tr>
319 319
   </dd>
320 320
 </dl>
321 321
 
322
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00130">130</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
322
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00151">151</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
323 323
 
324 324
 </div>
325 325
 </div>
@@ -386,7 +386,7 @@ Static Private Attributes</h2></td></tr>
386 386
   </dd>
387 387
 </dl>
388 388
 
389
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00198">198</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
389
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00219">219</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
390 390
 
391 391
 </div>
392 392
 </div>
@@ -413,7 +413,7 @@ Static Private Attributes</h2></td></tr>
413 413
 
414 414
 <p>Internal buffer used when reading data from server </p>
415 415
 
416
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00040">40</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
416
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00061">61</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
417 417
 
418 418
 </div>
419 419
 </div>
@@ -439,7 +439,7 @@ Static Private Attributes</h2></td></tr>
439 439
 
440 440
 <p>Size of internal buffer used when reading data from server </p>
441 441
 
442
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00035">35</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
442
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00056">56</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
443 443
 
444 444
 </div>
445 445
 </div>
@@ -465,7 +465,7 @@ Static Private Attributes</h2></td></tr>
465 465
 
466 466
 <p>Tcp client object </p>
467 467
 
468
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00025">25</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
468
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00046">46</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
469 469
 
470 470
 </div>
471 471
 </div>
@@ -483,7 +483,7 @@ Static Private Attributes</h2></td></tr>
483 483
 
484 484
 <p>Default server name </p>
485 485
 
486
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00015">15</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
486
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00036">36</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
487 487
 
488 488
 </div>
489 489
 </div>
@@ -501,7 +501,7 @@ Static Private Attributes</h2></td></tr>
501 501
 
502 502
 <p>Default server port number </p>
503 503
 
504
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00020">20</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
504
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00041">41</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
505 505
 
506 506
 </div>
507 507
 </div>
@@ -525,7 +525,7 @@ Static Private Attributes</h2></td></tr>
525 525
 </table>
526 526
 </div><div class="memdoc">
527 527
 
528
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00048">48</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
528
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00069">69</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
529 529
 
530 530
 </div>
531 531
 </div>
@@ -551,7 +551,7 @@ Static Private Attributes</h2></td></tr>
551 551
 
552 552
 <p>String containing received message from tcp server </p>
553 553
 
554
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00053">53</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
554
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00074">74</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
555 555
 
556 556
 </div>
557 557
 </div>
@@ -575,7 +575,7 @@ Static Private Attributes</h2></td></tr>
575 575
 </table>
576 576
 </div><div class="memdoc">
577 577
 
578
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00054">54</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
578
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00075">75</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
579 579
 
580 580
 </div>
581 581
 </div>
@@ -599,7 +599,7 @@ Static Private Attributes</h2></td></tr>
599 599
 </table>
600 600
 </div><div class="memdoc">
601 601
 
602
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00055">55</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
602
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00076">76</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
603 603
 
604 604
 </div>
605 605
 </div>
@@ -623,7 +623,7 @@ Static Private Attributes</h2></td></tr>
623 623
 </table>
624 624
 </div><div class="memdoc">
625 625
 
626
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00061">61</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
626
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00082">82</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
627 627
 
628 628
 </div>
629 629
 </div>
@@ -649,7 +649,7 @@ Static Private Attributes</h2></td></tr>
649 649
 
650 650
 <p>buffer containing received message from TCP server Used to concatenate internal buffers into one </p>
651 651
 
652
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00046">46</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
652
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00067">67</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
653 653
 
654 654
 </div>
655 655
 </div>
@@ -675,7 +675,7 @@ Static Private Attributes</h2></td></tr>
675 675
 
676 676
 <p>Stream object used for communication </p>
677 677
 
678
-<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00030">30</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
678
+<p class="definition">Definition at line <a class="el" href="_client_8cs_source.html#l00051">51</a> of file <a class="el" href="_client_8cs_source.html">Client.cs</a>.</p>
679 679
 
680 680
 </div>
681 681
 </div>

+ 16
- 18
software/monitor/monitor/docs/html/classmonitor_1_1_command_manager.html View File

@@ -98,8 +98,6 @@ $(document).ready(function(){initNavTree('classmonitor_1_1_command_manager.html'
98 98
 Collaboration diagram for monitor.CommandManager:</div>
99 99
 <div class="dyncontent">
100 100
 <div class="center"><img src="classmonitor_1_1_command_manager__coll__graph.png" border="0" usemap="#monitor_8_command_manager_coll__map" alt="Collaboration graph"/></div>
101
-<map name="monitor_8_command_manager_coll__map" id="monitor_8_command_manager_coll__map">
102
-</map>
103 101
 <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
104 102
 <table class="memberdecls">
105 103
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
@@ -169,7 +167,7 @@ Private Attributes</h2></td></tr>
169 167
 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
170 168
 <div class="textblock"><p>Command Manager. Use for timeout managment during reception of data Used as intermediate layer between TCP client class (<a class="el" href="classmonitor_1_1_client.html" title="Static class for TCP client ">Client</a>) and application level managment of command and answers </p>
171 169
 
172
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00010">10</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
170
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00031">31</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
173 171
 </div><h2 class="groupheader">Member Enumeration Documentation</h2>
174 172
 <a id="ac8ca53031468acc8be05c37586671a9b"></a>
175 173
 <h2 class="memtitle"><span class="permalink"><a href="#ac8ca53031468acc8be05c37586671a9b">&#9670;&nbsp;</a></span>CommandManagerStatus</h2>
@@ -198,7 +196,7 @@ Private Attributes</h2></td></tr>
198 196
 <tr><td class="fieldname"><a id="ac8ca53031468acc8be05c37586671a9bad8a942ef2b04672adfafef0ad817a407"></a>Busy&#160;</td><td class="fielddoc"></td></tr>
199 197
 </table>
200 198
 
201
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00042">42</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
199
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00063">63</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
202 200
 
203 201
 </div>
204 202
 </div>
@@ -227,7 +225,7 @@ Private Attributes</h2></td></tr>
227 225
   </dd>
228 226
 </dl>
229 227
 
230
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00053">53</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
228
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00074">74</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
231 229
 
232 230
 </div>
233 231
 </div>
@@ -256,7 +254,7 @@ Private Attributes</h2></td></tr>
256 254
 
257 255
 <p>Releases unmanaged resources and performs other cleanup operations before the T:monitor.CommandManager is reclaimed by garbage collection. </p>
258 256
 
259
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00065">65</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
257
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00086">86</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
260 258
 
261 259
 </div>
262 260
 </div>
@@ -278,7 +276,7 @@ Private Attributes</h2></td></tr>
278 276
 
279 277
 <p>Close connection to server </p>
280 278
 
281
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00094">94</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
279
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00115">115</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
282 280
 
283 281
 </div>
284 282
 </div>
@@ -355,7 +353,7 @@ Private Attributes</h2></td></tr>
355 353
   </dd>
356 354
 </dl>
357 355
 
358
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00104">104</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
356
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00125">125</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
359 357
 
360 358
 </div>
361 359
 </div>
@@ -402,7 +400,7 @@ Private Attributes</h2></td></tr>
402 400
   </dd>
403 401
 </dl>
404 402
 
405
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00135">135</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
403
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00156">156</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
406 404
 
407 405
 </div>
408 406
 </div>
@@ -431,7 +429,7 @@ Private Attributes</h2></td></tr>
431 429
   </dd>
432 430
 </dl>
433 431
 
434
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00075">75</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
432
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00096">96</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
435 433
 
436 434
 </div>
437 435
 </div>
@@ -471,7 +469,7 @@ Private Attributes</h2></td></tr>
471 469
   </dd>
472 470
 </dl>
473 471
 
474
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00086">86</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
472
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00107">107</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
475 473
 
476 474
 </div>
477 475
 </div>
@@ -518,7 +516,7 @@ Private Attributes</h2></td></tr>
518 516
   </dd>
519 517
 </dl>
520 518
 
521
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00150">150</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
519
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00171">171</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
522 520
 
523 521
 </div>
524 522
 </div>
@@ -535,7 +533,7 @@ Private Attributes</h2></td></tr>
535 533
       </table>
536 534
 </div><div class="memdoc">
537 535
 
538
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00016">16</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
536
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00037">37</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
539 537
 
540 538
 </div>
541 539
 </div>
@@ -561,7 +559,7 @@ Private Attributes</h2></td></tr>
561 559
 
562 560
 <p>flag indicating command manager is currently busy waiting an acknowledge </p>
563 561
 
564
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00037">37</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
562
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00058">58</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
565 563
 
566 564
 </div>
567 565
 </div>
@@ -587,7 +585,7 @@ Private Attributes</h2></td></tr>
587 585
 
588 586
 <p>received message </p>
589 587
 
590
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00032">32</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
588
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00053">53</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
591 589
 
592 590
 </div>
593 591
 </div>
@@ -611,7 +609,7 @@ Private Attributes</h2></td></tr>
611 609
 </table>
612 610
 </div><div class="memdoc">
613 611
 
614
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00022">22</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
612
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00043">43</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
615 613
 
616 614
 </div>
617 615
 </div>
@@ -637,7 +635,7 @@ Private Attributes</h2></td></tr>
637 635
 
638 636
 <p>Flag to tell rogram to wait for an acknowledge from server </p>
639 637
 
640
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00027">27</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
638
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00048">48</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
641 639
 
642 640
 </div>
643 641
 </div>
@@ -663,7 +661,7 @@ Private Attributes</h2></td></tr>
663 661
 
664 662
 <p>Timer for managing timeout </p>
665 663
 
666
-<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00021">21</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
664
+<p class="definition">Definition at line <a class="el" href="_command_manager_8cs_source.html#l00042">42</a> of file <a class="el" href="_command_manager_8cs_source.html">CommandManager.cs</a>.</p>
667 665
 
668 666
 </div>
669 667
 </div>

+ 26
- 22
software/monitor/monitor/docs/html/classmonitor_1_1_destijl_command_list.html View File

@@ -87,6 +87,9 @@ $(document).ready(function(){initNavTree('classmonitor_1_1_destijl_command_list.
87 87
 <div class="title">monitor.DestijlCommandList Class Reference</div>  </div>
88 88
 </div><!--header-->
89 89
 <div class="contents">
90
+
91
+<p>Commands and options parameters used in Destijl project when communicating with server  
92
+ <a href="classmonitor_1_1_destijl_command_list.html#details">More...</a></p>
90 93
 <table class="memberdecls">
91 94
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
92 95
 Public Attributes</h2></td></tr>
@@ -132,8 +135,9 @@ Public Attributes</h2></td></tr>
132 135
 <tr class="separator:a88de91fa6abdc122245ceb26fc21fd33"><td class="memSeparator" colspan="2">&#160;</td></tr>
133 136
 </table>
134 137
 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
135
-<div class="textblock">
136
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00005">5</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
138
+<div class="textblock"><p>Commands and options parameters used in Destijl project when communicating with server </p>
139
+
140
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00029">29</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
137 141
 </div><h2 class="groupheader">Member Data Documentation</h2>
138 142
 <a id="ad31b6758839a4c3b1b6ec4c71635e631"></a>
139 143
 <h2 class="memtitle"><span class="permalink"><a href="#ad31b6758839a4c3b1b6ec4c71635e631">&#9670;&nbsp;</a></span>DataCamArenaConfirm</h2>
@@ -147,7 +151,7 @@ Public Attributes</h2></td></tr>
147 151
       </table>
148 152
 </div><div class="memdoc">
149 153
 
150
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00018">18</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
154
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00042">42</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
151 155
 
152 156
 </div>
153 157
 </div>
@@ -163,7 +167,7 @@ Public Attributes</h2></td></tr>
163 167
       </table>
164 168
 </div><div class="memdoc">
165 169
 
166
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00017">17</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
170
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00041">41</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
167 171
 
168 172
 </div>
169 173
 </div>
@@ -179,7 +183,7 @@ Public Attributes</h2></td></tr>
179 183
       </table>
180 184
 </div><div class="memdoc">
181 185
 
182
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00016">16</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
186
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00040">40</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
183 187
 
184 188
 </div>
185 189
 </div>
@@ -195,7 +199,7 @@ Public Attributes</h2></td></tr>
195 199
       </table>
196 200
 </div><div class="memdoc">
197 201
 
198
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00020">20</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
202
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00044">44</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
199 203
 
200 204
 </div>
201 205
 </div>
@@ -211,7 +215,7 @@ Public Attributes</h2></td></tr>
211 215
       </table>
212 216
 </div><div class="memdoc">
213 217
 
214
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00019">19</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
218
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00043">43</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
215 219
 
216 220
 </div>
217 221
 </div>
@@ -227,7 +231,7 @@ Public Attributes</h2></td></tr>
227 231
       </table>
228 232
 </div><div class="memdoc">
229 233
 
230
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00015">15</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
234
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00039">39</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
231 235
 
232 236
 </div>
233 237
 </div>
@@ -243,7 +247,7 @@ Public Attributes</h2></td></tr>
243 247
       </table>
244 248
 </div><div class="memdoc">
245 249
 
246
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00021">21</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
250
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00045">45</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
247 251
 
248 252
 </div>
249 253
 </div>
@@ -259,7 +263,7 @@ Public Attributes</h2></td></tr>
259 263
       </table>
260 264
 </div><div class="memdoc">
261 265
 
262
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00013">13</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
266
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00037">37</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
263 267
 
264 268
 </div>
265 269
 </div>
@@ -275,7 +279,7 @@ Public Attributes</h2></td></tr>
275 279
       </table>
276 280
 </div><div class="memdoc">
277 281
 
278
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00012">12</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
282
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00036">36</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
279 283
 
280 284
 </div>
281 285
 </div>
@@ -291,7 +295,7 @@ Public Attributes</h2></td></tr>
291 295
       </table>
292 296
 </div><div class="memdoc">
293 297
 
294
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00009">9</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
298
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00033">33</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
295 299
 
296 300
 </div>
297 301
 </div>
@@ -307,7 +311,7 @@ Public Attributes</h2></td></tr>
307 311
       </table>
308 312
 </div><div class="memdoc">
309 313
 
310
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00007">7</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
314
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00031">31</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
311 315
 
312 316
 </div>
313 317
 </div>
@@ -323,7 +327,7 @@ Public Attributes</h2></td></tr>
323 327
       </table>
324 328
 </div><div class="memdoc">
325 329
 
326
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00008">8</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
330
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00032">32</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
327 331
 
328 332
 </div>
329 333
 </div>
@@ -339,7 +343,7 @@ Public Attributes</h2></td></tr>
339 343
       </table>
340 344
 </div><div class="memdoc">
341 345
 
342
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00010">10</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
346
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00034">34</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
343 347
 
344 348
 </div>
345 349
 </div>
@@ -355,7 +359,7 @@ Public Attributes</h2></td></tr>
355 359
       </table>
356 360
 </div><div class="memdoc">
357 361
 
358
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00023">23</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
362
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00047">47</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
359 363
 
360 364
 </div>
361 365
 </div>
@@ -371,7 +375,7 @@ Public Attributes</h2></td></tr>
371 375
       </table>
372 376
 </div><div class="memdoc">
373 377
 
374
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00029">29</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
378
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00053">53</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
375 379
 
376 380
 </div>
377 381
 </div>
@@ -387,7 +391,7 @@ Public Attributes</h2></td></tr>
387 391
       </table>
388 392
 </div><div class="memdoc">
389 393
 
390
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00026">26</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
394
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00050">50</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
391 395
 
392 396
 </div>
393 397
 </div>
@@ -403,7 +407,7 @@ Public Attributes</h2></td></tr>
403 407
       </table>
404 408
 </div><div class="memdoc">
405 409
 
406
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00025">25</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
410
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00049">49</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
407 411
 
408 412
 </div>
409 413
 </div>
@@ -419,7 +423,7 @@ Public Attributes</h2></td></tr>
419 423
       </table>
420 424
 </div><div class="memdoc">
421 425
 
422
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00028">28</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
426
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00052">52</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
423 427
 
424 428
 </div>
425 429
 </div>
@@ -435,7 +439,7 @@ Public Attributes</h2></td></tr>
435 439
       </table>
436 440
 </div><div class="memdoc">
437 441
 
438
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00024">24</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
442
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00048">48</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
439 443
 
440 444
 </div>
441 445
 </div>
@@ -451,7 +455,7 @@ Public Attributes</h2></td></tr>
451 455
       </table>
452 456
 </div><div class="memdoc">
453 457
 
454
-<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00027">27</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
458
+<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00051">51</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
455 459
 
456 460
 </div>
457 461
 </div>

+ 2
- 3
software/monitor/monitor/docs/html/classmonitor_1_1_destijl_command_manager-members.html View File

@@ -118,9 +118,8 @@ $(document).ready(function(){initNavTree('classmonitor_1_1_destijl_command_manag
118 118
   <tr class="even"><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a0c964baa3ecd4ff9d19857061413938b">RobotStartWithoutWatchdog</a>()</td><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">monitor.DestijlCommandManager</a></td><td class="entry"></td></tr>
119 119
   <tr><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#ade46aceeb79556e31fe632e9602e1636">RobotStartWithWatchdog</a>()</td><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">monitor.DestijlCommandManager</a></td><td class="entry"></td></tr>
120 120
   <tr class="even"><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a3f7ee6f1803cfb8b2eb4290f9e9acced">RobotTurn</a>(int angle)</td><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">monitor.DestijlCommandManager</a></td><td class="entry"></td></tr>
121
-  <tr><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#ad6fc73806e924e73dcf07c5cf3c81a66">SplitCommand</a>(string cmd, out string header, out string data)</td><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">monitor.DestijlCommandManager</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
122
-  <tr class="even"><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a86a1fb03dc480dab8d6758aa0d675cd3">timeout</a></td><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">monitor.DestijlCommandManager</a></td><td class="entry"></td></tr>
123
-  <tr><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#abc51dc980d7ba7e59a571e579cb626b9">~DestijlCommandManager</a>()</td><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">monitor.DestijlCommandManager</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
121
+  <tr><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a86a1fb03dc480dab8d6758aa0d675cd3">timeout</a></td><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">monitor.DestijlCommandManager</a></td><td class="entry"></td></tr>
122
+  <tr class="even"><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#abc51dc980d7ba7e59a571e579cb626b9">~DestijlCommandManager</a>()</td><td class="entry"><a class="el" href="classmonitor_1_1_destijl_command_manager.html">monitor.DestijlCommandManager</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
124 123
 </table></div><!-- contents -->
125 124
 </div><!-- doc-content -->
126 125
 <!-- start footer part -->

+ 214
- 80
software/monitor/monitor/docs/html/classmonitor_1_1_destijl_command_manager.html View File

@@ -91,6 +91,9 @@ $(document).ready(function(){initNavTree('classmonitor_1_1_destijl_command_manag
91 91
 <div class="title">monitor.DestijlCommandManager Class Reference</div>  </div>
92 92
 </div><!--header-->
93 93
 <div class="contents">
94
+
95
+<p>Specialization class for command manager, which implemnent destijl protocol between monitor and server  
96
+ <a href="classmonitor_1_1_destijl_command_manager.html#details">More...</a></p>
94 97
 <div class="dynheader">
95 98
 Collaboration diagram for monitor.DestijlCommandManager:</div>
96 99
 <div class="dyncontent">
@@ -111,56 +114,80 @@ Public Types</h2></td></tr>
111 114
 &#160;&#160;<a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0a37039bce065223d632b6974daa612656">CommandStatus.CommunicationLostWithRobot</a>, 
112 115
 <a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0ae7009a5c717d5d4d361433a9915e697e">CommandStatus.CommunicationLostWithServer</a>
113 116
 <br />
114
- }</td></tr>
117
+ }<tr class="memdesc:a9cb23e7493a32872ac808f3b63200fb0"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of available return status  <a href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">More...</a><br /></td></tr>
118
+</td></tr>
115 119
 <tr class="separator:a9cb23e7493a32872ac808f3b63200fb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
116 120
 </table><table class="memberdecls">
117 121
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
118 122
 Public Member Functions</h2></td></tr>
119 123
 <tr class="memitem:acc08ece6a89e842188364226299b3d43"><td class="memItemLeft" align="right" valign="top">delegate void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#acc08ece6a89e842188364226299b3d43">CommandReceivedEvent</a> (string header, string data, byte[] buffer)</td></tr>
124
+<tr class="memdesc:acc08ece6a89e842188364226299b3d43"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback for sending received data to application level  <a href="#acc08ece6a89e842188364226299b3d43">More...</a><br /></td></tr>
120 125
 <tr class="separator:acc08ece6a89e842188364226299b3d43"><td class="memSeparator" colspan="2">&#160;</td></tr>
121 126
 <tr class="memitem:a78bf0be922afbd9c5f8f4115fa83ad47"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a78bf0be922afbd9c5f8f4115fa83ad47">DestijlCommandManager</a> (<a class="el" href="classmonitor_1_1_destijl_command_manager.html#acc08ece6a89e842188364226299b3d43">CommandReceivedEvent</a> callback)</td></tr>
127
+<tr class="memdesc:a78bf0be922afbd9c5f8f4115fa83ad47"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a new instance of the <a class="el" href="classmonitor_1_1_destijl_command_manager.html" title="Specialization class for command manager, which implemnent destijl protocol between monitor and serve...">monitor.DestijlCommandManager</a> class.  <a href="#a78bf0be922afbd9c5f8f4115fa83ad47">More...</a><br /></td></tr>
122 128
 <tr class="separator:a78bf0be922afbd9c5f8f4115fa83ad47"><td class="memSeparator" colspan="2">&#160;</td></tr>
123 129
 <tr class="memitem:a5dd6b75386a554c2f026eee787477bb0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a5dd6b75386a554c2f026eee787477bb0">Open</a> (string hostname)</td></tr>
130
+<tr class="memdesc:a5dd6b75386a554c2f026eee787477bb0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open the specified hostname server, using default port number.  <a href="#a5dd6b75386a554c2f026eee787477bb0">More...</a><br /></td></tr>
124 131
 <tr class="separator:a5dd6b75386a554c2f026eee787477bb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
125 132
 <tr class="memitem:a842300511efb20783c271764ee0e3336"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a842300511efb20783c271764ee0e3336">Open</a> (string hostname, int port)</td></tr>
133
+<tr class="memdesc:a842300511efb20783c271764ee0e3336"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open con