ajout de traceur pour la qualité d'image

This commit is contained in:
Sébastien DI MERCURIO 2018-11-12 10:14:43 +01:00
parent 1f907870f6
commit 5da49a7e59
81 changed files with 4950 additions and 695 deletions

View file

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

View file

@ -1,4 +1,25 @@
using System.Threading;
//
// CommandManager.cs
//
// Author:
// Di MERCURIO Sébastien <dimercur@insa-toulouse.fr>
//
// Copyright (c) 2018 INSA - DGEI
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
using System.Threading;
namespace monitor
{
@ -158,24 +179,31 @@ namespace monitor
{
isBusy = true;
// Send command to server
Client.Write(cmd);
if (timeout > 0) // la commande attend un acquitement
if (timeout > 0) // Command request an acknowledge
{
waitForAcknowledge = true;
waitForAcknowledge = true; // Flag used in OnMessageReception callback to avoid
// sending acknowledge message to upper level
waitTimer.Interval = timeout;
waitTimer.Start();
waitTimer.Start(); // Start timeout timer
waitEvent.WaitOne();
waitEvent.Reset(); // remise à zero pour une prochaine commande
waitEvent.WaitOne(); // Stop current thread, waiting for waitEvent semaphore
// produced in OnMessageReception when either a message is received
// or a timeout occur
if (this.messageReceived == null) // timeout: connection au serveur defectueuse
waitEvent.Reset(); // reset semaphore for next message
if (this.messageReceived == null) // timeout: server connection error
{
status = CommandManagerStatus.Timeout;
}
}
else isBusy = false;
// return received answer, null in case of timeout
answer = this.messageReceived;
this.messageReceived = null;
}

View file

@ -1,8 +1,32 @@
using System;
//
// DestijlCommandManager.cs
//
// Author:
// Di MERCURIO Sébastien <dimercur@insa-toulouse.fr>
//
// Copyright (c) 2018 INSA - DGEI
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
using System;
namespace monitor
{
public class DestijlCommandList
/// <summary>
/// Commands and options parameters used in Destijl project when communicating with server
/// </summary>
public static class DestijlCommandList
{
public const string HeaderMtsComDmb = "COM";
public const string HeaderMtsDmbOrder = "DMB";
@ -29,7 +53,10 @@ namespace monitor
public const string HeaderStmBat = "BAT";
}
public class RobotCommandList
/// <summary>
/// Commands used for robot messages
/// </summary>
public static class RobotCommandList
{
public const string RobotPing = "p";
public const string RobotReset = "r";
@ -43,18 +70,40 @@ namespace monitor
public const string RobotPowerOff = "z";
}
/// <summary>
/// Specialization class for command manager, which implemnent destijl protocol between monitor and server
/// </summary>
public class DestijlCommandManager
{
/// <summary>
/// Command Manager object
/// </summary>
private CommandManager commandManager = null;
/// <summary>
/// Part of received message corresponding to command header
/// </summary>
private string receivedHeader = null;
/// <summary>
/// Part of received message corresponding to command data
/// </summary>
private string receivedData = null;
/// <summary>
/// Callback for sending received data to application level
/// </summary>
public delegate void CommandReceivedEvent(string header, string data, byte[] buffer);
public CommandReceivedEvent commandReceivedEvent = null;
public double timeout = 100; // timeout pour les commandes avec acquitement
/// <summary>
/// Timeout used for command with acknowledge
/// </summary>
public double timeout = 100;
/// <summary>
/// List of available return status
/// </summary>
public enum CommandStatus
{
Success,
@ -65,74 +114,111 @@ namespace monitor
CommunicationLostWithServer
}
/// <summary>
/// Initializes a new instance of the <see cref="monitor.DestijlCommandManager"/> class.
/// </summary>
/// <param name="callback">Callback reference for reception of data</param>
public DestijlCommandManager(CommandReceivedEvent callback)
{
commandManager = new CommandManager(OnCommandReceived);
this.commandReceivedEvent += callback;
}
/// <summary>
/// Releases unmanaged resources and performs other cleanup operations before the
/// <see cref="monitor.DestijlCommandManager"/> is reclaimed by garbage collection.
/// </summary>
~DestijlCommandManager()
{
if (commandManager != null) commandManager.Close();
}
/// <summary>
/// Callback used for receiving data from lower layer (CommandManager class)
/// </summary>
/// <param name="msg">String containing received message</param>
/// <param name="buffer">Raw buffer to be used when data are not in ascii format (image for example)</param>
private void OnCommandReceived(string msg, byte[] buffer)
{
// Firstly, split message in (at least) two part : header, and data
string[] msgs = msg.Split(':');
// If it exist at least on element in string array, it should be command header
if (msgs.Length >= 1) receivedHeader = msgs[0];
else receivedHeader = null;
// if msgs array contains at least two elements, second element is normally data
if (msgs.Length >= 2) receivedData = msgs[1];
else receivedData = null;
// when split is done, provide data to application
this.commandReceivedEvent?.Invoke(receivedHeader, receivedData, buffer);
}
/// <summary>
/// Open the specified hostname server, using default port number.
/// </summary>
/// <returns>true if connection succeded, false otherwise</returns>
/// <param name="hostname">Hostname to connect to</param>
public bool Open(string hostname)
{
return this.Open(hostname, Client.defaultPort);
}
/// <summary>
/// Open connection to server "host", with port number "port"
/// </summary>
/// <returns>true if connection succeded, false otherwise</returns>
/// <param name="hostname">Hostname to connect to</param>
/// <param name="port">Port number for connection</param>
public bool Open(string hostname, int port)
{
if (commandManager != null) return commandManager.Open(hostname, port);
else return false;
}
/// <summary>
/// Close connection to server
/// </summary>
public void Close()
{
if (commandManager != null) commandManager.Close();
}
/// <summary>
/// Creates the command to send to server, based on header and data provided
/// </summary>
/// <returns>The command string</returns>
/// <param name="header">Header part of the command</param>
/// <param name="data">Data part of the command</param>
private string CreateCommand(string header, string data)
{
return header + ":" + data;
}
private void SplitCommand(string cmd, out string header, out string data)
{
string[] cmdParts = cmd.Split(':');
if (cmdParts.Length > 0) header = cmdParts[0];
else header = null;
if (cmdParts.Length > 1) data = cmdParts[1];
else data = null;
}
/// <summary>
/// Provide DestijlCommandManager.CommandStatus based on status received by CommandManager.SendCommand and answer string
/// </summary>
/// <returns>Status compatible with DestijlCommandManager.CommandStatus type</returns>
/// <param name="localStatus">Status provided by CommandManager.SendCommand</param>
/// <param name="answer">Answer provided by CommandManager.SendCommand</param>
private CommandStatus DecodeStatus(CommandManager.CommandManagerStatus localStatus, string answer)
{
CommandStatus status = CommandStatus.Success;
// if timeout occures, return CommandStatus.CommunicationLostWithServer
if (localStatus == CommandManager.CommandManagerStatus.Timeout) status = CommandStatus.CommunicationLostWithServer;
// if a command is currently processed, return Busy
else if (localStatus == CommandManager.CommandManagerStatus.Busy) status = CommandStatus.Busy;
else
{
if (answer != null)
{
// if command is not acknowledged, return Rejected
if (answer.ToUpper().Contains(DestijlCommandList.HeaderStmNoAck)) status = CommandStatus.Rejected;
// if communication is lost with robot, return CommunicationLostWithRobot
else if (answer.ToUpper().Contains(DestijlCommandList.HeaderStmLostDmb)) status = CommandStatus.CommunicationLostWithRobot;
// if answer is empty, communication with robot is lost
else if (answer.Length == 0) status = CommandStatus.CommunicationLostWithServer;
//else status = CommandStatus.InvalidAnswer;
}
@ -141,6 +227,10 @@ namespace monitor
return status;
}
/// <summary>
/// Open communication with robot and wait acknowledge
/// </summary>
/// <returns>Command status (see DecodeStatus)</returns>
public CommandStatus RobotOpenCom()
{
CommandManager.CommandManagerStatus localStatus;
@ -154,6 +244,10 @@ namespace monitor
return DecodeStatus(localStatus, answer);
}
/// <summary>
/// Close communication with robot and wait acknowledge
/// </summary>
/// <returns>Command status (see DecodeStatus)</returns>
public CommandStatus RobotCloseCom()
{
CommandManager.CommandManagerStatus localStatus;
@ -167,6 +261,10 @@ namespace monitor
return DecodeStatus(localStatus, answer);
}
/// <summary>
/// Ping the robot.
/// </summary>
/// <returns>Command status (see DecodeStatus)</returns>
public CommandStatus RobotPing()
{
CommandManager.CommandManagerStatus localStatus;
@ -180,6 +278,10 @@ namespace monitor
return DecodeStatus(localStatus, answer);
}
/// <summary>
/// Reset robot and let it in idle mode
/// </summary>
/// <returns>Command status (see DecodeStatus)</returns>
public CommandStatus RobotReset()
{
CommandManager.CommandManagerStatus localStatus;
@ -193,6 +295,10 @@ namespace monitor
return DecodeStatus(localStatus, answer);
}
/// <summary>
/// Start robot, enabling watchdog
/// </summary>
/// <returns>Command status (see DecodeStatus)</returns>
public CommandStatus RobotStartWithWatchdog()
{
CommandManager.CommandManagerStatus localStatus;
@ -206,6 +312,10 @@ namespace monitor
return DecodeStatus(localStatus, answer);
}
/// <summary>
/// Start robot, without enabling watchdog
/// </summary>
/// <returns>Command status (see DecodeStatus)</returns>
public CommandStatus RobotStartWithoutWatchdog()
{
CommandManager.CommandManagerStatus localStatus;
@ -219,6 +329,11 @@ namespace monitor
return DecodeStatus(localStatus, answer);
}
/// <summary>
/// Move robot forward or backward, for a distance expressed in millimeter
/// </summary>
/// <returns>Command status (see DecodeStatus)</returns>
/// <param name="distance">Distance of mouvment, in millimeter</param>
public CommandStatus RobotMove(int distance)
{
CommandManager.CommandManagerStatus localStatus;
@ -232,6 +347,11 @@ namespace monitor
return DecodeStatus(localStatus, answer);
}
/// <summary>
/// Make robot turn left or right, for a given angle
/// </summary>
/// <returns>Command status (see DecodeStatus)</returns>
/// <param name="angle">Angle of turn, in degree (negative for left, positive for right)</param>
public CommandStatus RobotTurn(int angle)
{
CommandManager.CommandManagerStatus localStatus;
@ -245,14 +365,13 @@ namespace monitor
return DecodeStatus(localStatus, answer);
}
//public CommandStatus RobotGetBattery(out int battery)
/// <summary>
/// Request robot battery level
/// </summary>
/// <returns>Command status (see DecodeStatus)</returns>
public CommandStatus RobotGetBattery()
{
CommandManager.CommandManagerStatus localStatus;
//CommandStatus status = CommandStatus.Success;
//battery = -1;
string answer;
localStatus = commandManager.SendCommand(
@ -260,32 +379,18 @@ namespace monitor
out answer,
0);
//if (localStatus == CommandManager.CommandManagerStatus.AnswerReceived) {
// string[] msg = answer.Split(':');
// if (msg.Length > 1)
// {
// try
// {
// battery = Convert.ToInt32(msg[1]);
// }
// catch (Exception) { }
// }
//}
//else if (localStatus == CommandManager.CommandManagerStatus.Timeout)
//{
// status = CommandStatus.CommunicationLostWithServer;
//}
//return status;
return DecodeStatus(localStatus, answer);
}
/// <summary>
/// Request robot firmware version
/// </summary>
/// <returns>Command status (see DecodeStatus)</returns>
/// <param name="version">todo</param>
public CommandStatus RobotGetVersion(out string version)
{
CommandManager.CommandManagerStatus localStatus;
CommandStatus status = CommandStatus.Success;
version = "";
string answer;
@ -312,6 +417,10 @@ namespace monitor
return status;
}
/// <summary>
/// Power off robot
/// </summary>
/// <returns>Command status (see DecodeStatus)</returns>
public CommandStatus RobotPowerOff()
{
CommandManager.CommandManagerStatus localStatus;
@ -325,6 +434,10 @@ namespace monitor
return DecodeStatus(localStatus, answer);
}
/// <summary>
/// Open camera on remote device
/// </summary>
/// <returns>Command status (see DecodeStatus)</returns>
public CommandStatus CameraOpen()
{
CommandManager.CommandManagerStatus localStatus;
@ -338,6 +451,10 @@ namespace monitor
return DecodeStatus(localStatus, answer);
}
/// <summary>
/// Close camera on remote device
/// </summary>
/// <returns>Command status (see DecodeStatus)</returns>
public CommandStatus CameraClose()
{
CommandManager.CommandManagerStatus localStatus;
@ -351,6 +468,10 @@ namespace monitor
return DecodeStatus(localStatus, answer);
}
/// <summary>
/// Request still image of detected arena
/// </summary>
/// <returns>Command status (see DecodeStatus)</returns>
public CommandStatus CameraAskArena()
{
CommandManager.CommandManagerStatus localStatus;
@ -364,6 +485,10 @@ namespace monitor
return DecodeStatus(localStatus, answer);
}
/// <summary>
/// Confirm arena detection (after requesting image of detected arena, using CameraAskArena
/// </summary>
/// <returns>Command status (see DecodeStatus)</returns>
public CommandStatus CameraArenaConfirm()
{
CommandManager.CommandManagerStatus localStatus;
@ -377,6 +502,10 @@ namespace monitor
return DecodeStatus(localStatus, answer);
}
/// <summary>
/// Reject arena detected (after requesting image of detected arena, using CameraAskArena
/// </summary>
/// <returns>Command status (see DecodeStatus)</returns>
public CommandStatus CameraArenaInfirm()
{
CommandManager.CommandManagerStatus localStatus;
@ -390,6 +519,10 @@ namespace monitor
return DecodeStatus(localStatus, answer);
}
/// <summary>
/// Request robot position computing
/// </summary>
/// <returns>Command status (see DecodeStatus)</returns>
public CommandStatus CameraComputePosition()
{
CommandManager.CommandManagerStatus localStatus;
@ -403,6 +536,10 @@ namespace monitor
return DecodeStatus(localStatus, answer);
}
/// <summary>
/// Stop robot position computing
/// </summary>
/// <returns>Command status (see DecodeStatus)</returns>
public CommandStatus CameraStopComputePosition()
{
CommandManager.CommandManagerStatus localStatus;

File diff suppressed because it is too large Load diff

View file

@ -1,17 +1,49 @@
using System;
//
// MonitorUI.cs
//
// Author:
// Di MERCURIO Sébastien <dimercur@insa-toulouse.fr>
//
// Copyright (c) 2018 INSA - DGEI
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
using System;
using Gtk;
using Gdk;
using monitor;
/// <summary>
/// Main window.
/// Main part of the program, behavior of main window
/// </summary>
public partial class MainWindow : Gtk.Window
{
/// <summary>
/// Destijl command manager reference
/// </summary>
private DestijlCommandManager cmdManager;
/// <summary>
/// Pixbuffer used for displaying image
/// </summary>
private Pixbuf drawingareaCameraPixbuf;
/// <summary>
/// List of availble state for the application
/// </summary>
enum SystemState
{
NotConnected,
@ -19,38 +51,57 @@ public partial class MainWindow : Gtk.Window
RobotConnected
};
/// <summary>
/// The state of the system. Can take a value from SystemState
/// </summary>
private SystemState systemState = SystemState.NotConnected;
/// <summary>
/// Timer for battery request
/// </summary>
private System.Timers.Timer batteryTimer;
private int imageReceivedCounter = 0;
private int badImageReceivedCounter = 0;
/// <summary>
/// Initializes a new instance of the <see cref="MainWindow"/> class.
/// </summary>
public MainWindow() : base(Gtk.WindowType.Toplevel)
{
Build();
cmdManager = new DestijlCommandManager(OnCommandReceivedEvent);
// create new timer for battery request, every 10s
batteryTimer = new System.Timers.Timer(10000.0);
batteryTimer.Elapsed += OnBatteryTimerElapsed;
// Customize controls
AdjustControls();
PixbufFormat[] format = Gdk.Pixbuf.Formats;
foreach (PixbufFormat f in format)
{
Console.WriteLine("Format: " + f.Name);
}
}
/// <summary>
/// Make some adjustement to controls, like disabling some controls
/// </summary>
public void AdjustControls()
{
// Change state of system, and grey every controls not needed
ChangeState(SystemState.NotConnected);
drawingareaCameraPixbuf = new Pixbuf((string)null);
// Load "no picture" image from disque
drawingareaCameraPixbuf = Pixbuf.LoadFromResource("monitor.ressources.missing_picture.png");
// setup server controls
entryServerName.Text = Client.defaultIP;
entryServerPort.Text = Client.defaultPort.ToString();
entryTimeout.Text = "10000";
entryTimeout.Text = "1000";
}
/// <summary>
/// Method used to change controls visibility (greyed or not) depending on current state
/// </summary>
/// <param name="newState">New state</param>
private void ChangeState(SystemState newState)
{
switch (newState)
@ -117,6 +168,13 @@ public partial class MainWindow : Gtk.Window
systemState = newState;
}
/// <summary>
/// Display a popup message window
/// </summary>
/// <param name="type">Type of popup window (question, error, information,...)</param>
/// <param name="buttons">Buttons available on popup window</param>
/// <param name="title">Title of window</param>
/// <param name="message">Message</param>
private void MessagePopup(MessageType type, ButtonsType buttons, string title, string message)
{
MessageDialog md = new MessageDialog(this, DialogFlags.DestroyWithParent, type, buttons, message)
@ -128,6 +186,11 @@ public partial class MainWindow : Gtk.Window
md.Destroy();
}
/// <summary>
/// Callback called when delete event is sent by window
/// </summary>
/// <param name="sender">Sender object</param>
/// <param name="a">Not really sure of what it is...</param>
protected void OnDeleteEvent(object sender, DeleteEventArgs a)
{
Console.WriteLine("Bye bye");
@ -137,16 +200,27 @@ public partial class MainWindow : Gtk.Window
a.RetVal = true;
}
/// <summary>
/// Callback called when new message is received from server
/// </summary>
/// <param name="header">Header of message</param>
/// <param name="data">Data of message</param>
/// <param name="buffer">Raw buffer corresponding of received message</param>
public void OnCommandReceivedEvent(string header, string data, byte[] buffer)
{
// if we have received a valid message
if (header != null)
{
#if DEBUG
// print message content
Console.WriteLine("Received header (" + header.Length + "): " + header);
if (header.ToUpper() != DestijlCommandList.HeaderStmImage)
{
if (data != null) Console.WriteLine("Received data (" + data.Length + "): " + data);
}
#endif
// depending on message received (based on header)
// launch correponding action
if (header.ToUpper() == DestijlCommandList.HeaderStmBat)
{
switch (data[0])
@ -167,15 +241,35 @@ public partial class MainWindow : Gtk.Window
}
else if (header.ToUpper() == DestijlCommandList.HeaderStmImage)
{
// if message is an image, convert it to a pixbuf
// that can be displayed
byte[] image = new byte[buffer.Length - 4];
System.Buffer.BlockCopy(buffer, 4, image, 0, image.Length);
imageReceivedCounter++;
try
{
drawingareaCameraPixbuf = new Pixbuf(image);
drawingAreaCamera.QueueDraw();
}
catch (GLib.GException)
{
badImageReceivedCounter++;
#if DEBUG
Console.WriteLine("Bad Image: " + badImageReceivedCounter +
" / " + imageReceivedCounter +
" (" + badImageReceivedCounter * 100 / imageReceivedCounter + "%)");
#endif
}
}
}
}
/// <summary>
/// Callback called by "quit" menu
/// </summary>
/// <param name="sender">Sender object</param>
/// <param name="e">Event</param>
protected void OnQuitActionActivated(object sender, EventArgs e)
{
Console.WriteLine("Bye bye 2");
@ -184,6 +278,11 @@ public partial class MainWindow : Gtk.Window
Application.Quit();
}
/// <summary>
/// Callback called by "show log" menu
/// </summary>
/// <param name="sender">Sender object</param>
/// <param name="e">Event</param>
protected void OnShowLogWindowActionActivated(object sender, EventArgs e)
{
MessagePopup(MessageType.Info,
@ -191,16 +290,24 @@ public partial class MainWindow : Gtk.Window
"Logger not yet implemented");
}
/// <summary>
/// Callback called by "buttonServerConnection" button
/// </summary>
/// <param name="sender">Sender object</param>
/// <param name="e">Event</param>
protected void OnButtonServerConnectionClicked(object sender, EventArgs e)
{
DestijlCommandManager.CommandStatus statusCmd;
// if we are currently connected
if (buttonServerConnection.Label == "Disconnect")
{
// Change state to disconnect and close connection
ChangeState(SystemState.NotConnected);
}
else
else // we are not currently connected to server
{
// if information about hostname or port are invalid, show a popup error
if ((entryServerName.Text == "") || (entryServerPort.Text == ""))
{
MessagePopup(MessageType.Error,
@ -212,6 +319,7 @@ public partial class MainWindow : Gtk.Window
Console.WriteLine("Connecting to " + entryServerName.Text + ":" + entryServerPort.Text);
bool status = false;
// try to convert timout string value to double. If that failed, default to 100 ms
try
{
cmdManager.timeout = Convert.ToDouble(entryTimeout.Text);
@ -222,6 +330,7 @@ public partial class MainWindow : Gtk.Window
entryTimeout.Text = cmdManager.timeout.ToString();
}
// try to connect to givn server.
try
{
status = cmdManager.Open(entryServerName.Text, Convert.ToInt32(entryServerPort.Text));
@ -232,13 +341,14 @@ public partial class MainWindow : Gtk.Window
return;
}
//if connection status is not ok, show an error popup
if (status != true)
{
MessagePopup(MessageType.Error,
ButtonsType.Ok, "Error",
"Unable to connect to server " + entryServerName.Text + ":" + Convert.ToInt32(entryServerPort.Text));
}
else
else // if we succed in connecting, open communication with robot
{
Console.Write("Send command RobotOpenCom: ");
statusCmd = cmdManager.RobotOpenCom();
@ -248,7 +358,7 @@ public partial class MainWindow : Gtk.Window
{
ChangeState(SystemState.ServerConnected);
}
else
else // if communication with robot is not possible, show error
{
MessagePopup(MessageType.Error,
ButtonsType.Ok, "Error",
@ -261,26 +371,34 @@ public partial class MainWindow : Gtk.Window
}
}
/// <summary>
/// Callback called when "buttonRobotactivation" is clicked
/// </summary>
/// <param name="sender">Sender object</param>
/// <param name="e">Event</param>
protected void OnButtonRobotActivationClicked(object sender, EventArgs e)
{
DestijlCommandManager.CommandStatus status;
if (buttonRobotActivation.Label == "Activate") // activation du robot
//if robot is not activated
if (buttonRobotActivation.Label == "Activate")
{
if (radioButtonWithWatchdog.Active) // Demarrage avec watchdog
// if a startup with watchdog is requested
if (radioButtonWithWatchdog.Active)
{
status = cmdManager.RobotStartWithWatchdog();
}
else // Demarrage sans watchdog
else // startup without watchdog
{
status = cmdManager.RobotStartWithoutWatchdog();
}
// if status of command is ok, change state of system, enabling robot control
if (status == DestijlCommandManager.CommandStatus.Success)
{
ChangeState(SystemState.RobotConnected);
}
else
else // if status is not ok, depending of error, show appropriate error
{
if (status == DestijlCommandManager.CommandStatus.CommunicationLostWithServer)
{
@ -293,15 +411,16 @@ public partial class MainWindow : Gtk.Window
}
}
}
else // Reset du robot
else // If robot is already activated, request reset of robot
{
status = cmdManager.RobotReset();
// if status of command is ok, change state of system, disabling robot control
if (status == DestijlCommandManager.CommandStatus.Success)
{
ChangeState(SystemState.ServerConnected);
}
else
else // if status is not ok, depending of error, show appropriate error
{
if (status == DestijlCommandManager.CommandStatus.CommunicationLostWithServer)
{
@ -316,8 +435,14 @@ public partial class MainWindow : Gtk.Window
}
}
/// <summary>
/// Callback called when user click on direction button
/// </summary>
/// <param name="sender">Sender button</param>
/// <param name="e">Event</param>
protected void OnButtonMouvClicked(object sender, EventArgs e)
{
// depending on button clicked, launch appropriate action
if (sender == buttonRight)
{
cmdManager.RobotTurn(90);
@ -340,14 +465,22 @@ public partial class MainWindow : Gtk.Window
}
}
/// <summary>
/// Callback called when battery timer expired
/// </summary>
/// <param name="sender">Sender object</param>
/// <param name="e">Event</param>
void OnBatteryTimerElapsed(object sender, System.Timers.ElapsedEventArgs e)
{
DestijlCommandManager.CommandStatus status;
batteryTimer.Stop();
// if battery checkbox is checked, a request for battery level is done
if (checkButtonGetBattery.Active)
{
status = cmdManager.RobotGetBattery();
// if status is not ok, show appropriate message and print "Unknown" for battery level
switch (status)
{
case DestijlCommandManager.CommandStatus.Success:
@ -376,8 +509,14 @@ public partial class MainWindow : Gtk.Window
else batteryTimer.Start();
}
/// <summary>
/// Callback called when checkbutton for camera is clicked
/// </summary>
/// <param name="sender">Sender object</param>
/// <param name="e">Event</param>
protected void OnCheckButtonCameraOnClicked(object sender, EventArgs e)
{
// if camera is already active, switch it off
if (!checkButtonCameraOn.Active)
{
if (cmdManager.CameraClose() != DestijlCommandManager.CommandStatus.Success)
@ -387,8 +526,11 @@ public partial class MainWindow : Gtk.Window
"Error when closing camera: bad answer for supervisor or timeout");
}
}
else
else // camera is not active, switch it on
{
badImageReceivedCounter = 0;
imageReceivedCounter = 0;
if (cmdManager.CameraOpen() != DestijlCommandManager.CommandStatus.Success)
{
MessagePopup(MessageType.Error,
@ -399,8 +541,14 @@ public partial class MainWindow : Gtk.Window
}
}
/// <summary>
/// Callback called when checkbutton robot position is clicked
/// </summary>
/// <param name="sender">Sender object</param>
/// <param name="e">Event</param>
protected void OnCheckButtonRobotPositionClicked(object sender, EventArgs e)
{
// if server already send robot position, stop it
if (!checkButtonRobotPosition.Active)
{
if (cmdManager.CameraStopComputePosition() != DestijlCommandManager.CommandStatus.Success)
@ -410,7 +558,7 @@ public partial class MainWindow : Gtk.Window
"Error when stopping position reception: bad answer for supervisor or timeout");
}
}
else
else // start reception of robot position
{
if (cmdManager.CameraComputePosition() != DestijlCommandManager.CommandStatus.Success)
{
@ -423,6 +571,11 @@ public partial class MainWindow : Gtk.Window
}
}
/// <summary>
/// Callback called when drawingarea need refresh
/// </summary>
/// <param name="o">Sender object</param>
/// <param name="args">Expose arguments</param>
protected void OnDrawingAreaCameraExposeEvent(object o, ExposeEventArgs args)
{
//Console.WriteLine("Event expose. Args = " + args.ToString());
@ -431,19 +584,23 @@ public partial class MainWindow : Gtk.Window
Gdk.Pixbuf displayPixbuf;
int areaWidth, areaHeight;
// Get graphic context for background
Gdk.GC gc = area.Style.BackgroundGC(Gtk.StateType.Normal);
// get size of drawingarea widget
area.GdkWindow.GetSize(out areaWidth, out areaHeight);
int width = drawingareaCameraPixbuf.Width;
int height = drawingareaCameraPixbuf.Height;
float ratio = (float)width / (float)height;
// if widget is smaller than image, reduce it
if (areaWidth <= width)
{
width = areaWidth;
height = (int)(width / ratio);
}
// if image is smaller than widget, enlarge it
if (width > areaWidth)
{
width = areaWidth;
@ -454,8 +611,10 @@ public partial class MainWindow : Gtk.Window
height = areaHeight;
}
//scale original picture and copy result in local pixbuf
displayPixbuf = drawingareaCameraPixbuf.ScaleSimple(width, height, InterpType.Bilinear);
// draw local pixbuff centered on drawingarea
area.GdkWindow.DrawPixbuf(gc, displayPixbuf,
0, 0,
(areaWidth - displayPixbuf.Width) / 2,
@ -464,6 +623,9 @@ public partial class MainWindow : Gtk.Window
RgbDither.Normal, 0, 0);
}
/// <summary>
/// Show a popup asking user to tell if arena is correct or not
/// </summary>
protected void DetectArena()
{
DestijlCommandManager.CommandStatus status;
@ -493,8 +655,14 @@ public partial class MainWindow : Gtk.Window
}
}
/// <summary>
/// Callback called when "detect Arena " button is clicked
/// </summary>
/// <param name="sender">Sender object</param>
/// <param name="e">Event</param>
protected void OnButtonAskArenaClicked(object sender, EventArgs e)
{
// Send command to server for arean rendering
if (cmdManager.CameraAskArena() != DestijlCommandManager.CommandStatus.Success)
{
MessagePopup(MessageType.Error,
@ -503,6 +671,7 @@ public partial class MainWindow : Gtk.Window
return;
}
// show popup and wait for user to say if arena is ok or not
DetectArena();
}
}

View file

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

View file

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -93,10 +93,13 @@ $(document).ready(function(){initNavTree('_destijl_command_manager_8cs.html','')
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<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>
<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>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>

File diff suppressed because one or more lines are too long

View file

@ -92,7 +92,7 @@ $(document).ready(function(){initNavTree('_monitor_u_i_8cs.html','');});
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<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>
<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>
<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>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -89,11 +89,11 @@ $(document).ready(function(){initNavTree('annotated.html','');});
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
</table>
</div><!-- directory -->
</div><!-- contents -->

View file

@ -92,7 +92,7 @@ $(document).ready(function(){initNavTree('class_main_window.html','');});
</div><!--header-->
<div class="contents">
<p>Main window.
<p>Main part of the program, behavior of main window
<a href="class_main_window.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for MainWindow:</div>
@ -104,7 +104,7 @@ Collaboration diagram for MainWindow:</div>
<div class="dyncontent">
<div class="center"><img src="class_main_window__coll__graph.png" border="0" usemap="#_main_window_coll__map" alt="Collaboration graph"/></div>
<map name="_main_window_coll__map" id="_main_window_coll__map">
<area shape="rect" id="node3" href="classmonitor_1_1_destijl_command_manager.html" title="monitor.DestijlCommandManager" alt="" coords="179,184,395,211"/>
<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"/>
<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"/>
</map>
<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>
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<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>
<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>
<tr class="separator:af607d50e4d1b04d3c494661489283f45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:a9a0f3d4cd871609f12d328af2f588664"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:a4b651f10b9079c128b9e36d15ad10211"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<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>
<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>
<tr class="separator:a64bdcb29cebb58957790da1ee2733fe1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:ab54b643c364b46a150f6f993267bb709"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:a87132738a6ca496303940d56e091bdc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:ac0acc6c3a63f405f14ec8e4d132a2661"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:a2b5e11a49a10b24c59bebb377cdfeae8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:a7f8d06747f887216ab8c941ad10cb48b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:af4b587cdd614d5bdb8d9158a1f59e4fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:a20d07605619027d82a30552f294b128f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:afe4b0001f191554aed5d9b65208a06f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:a89c79ce9ca4114ca9c50f32dc080e9cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:a31e299085d6286d680bd488c73fdff82"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-types"></a>
@ -148,33 +162,41 @@ Private Types</h2></td></tr>
<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>,
<a class="el" href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3da911ba363fd1483b5b36fda7b0149cf76">SystemState.ServerConnected</a>,
<a class="el" href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3da9761e78f9ae0d6f598d953b4d9e839e1">SystemState.RobotConnected</a>
}</td></tr>
}<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>
</td></tr>
<tr class="separator:a7b18ca1f8f71faf272c9856aaf7b8e3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<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>
<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>
<tr class="separator:aedc27cabbe1604313a452fcbf3ffe9f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:afc4f923aaa481a93dddaff6303efb9e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:af303b70c08cda04a76f6418f727c4891"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<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>
<tr class="memdesc:a0b60450970b8a6fb6e016d5c0728e474"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destijl command manager reference <a href="#a0b60450970b8a6fb6e016d5c0728e474">More...</a><br /></td></tr>
<tr class="separator:a0b60450970b8a6fb6e016d5c0728e474"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:a41581e449b18e87acbdff5baa12c2050"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:a105025ee1bdfac188f1ce640d593550d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<tr class="memdesc:a57f0325d8b8a63be586001b9a469d9ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Timer for battery request <a href="#a57f0325d8b8a63be586001b9a469d9ae">More...</a><br /></td></tr>
<tr class="separator:a57f0325d8b8a63be586001b9a469d9ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Main window. </p>
<div class="textblock"><p>Main part of the program, behavior of main window </p>
<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>
<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>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a7b18ca1f8f71faf272c9856aaf7b8e3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b18ca1f8f71faf272c9856aaf7b8e3d">&#9670;&nbsp;</a></span>SystemState</h2>
@ -195,13 +217,15 @@ Private Attributes</h2></td></tr>
</tr>
</table>
</div><div class="memdoc">
<p>List of availble state for the application </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a7b18ca1f8f71faf272c9856aaf7b8e3da4075072d219e061ca0f3124f8fbef463"></a>NotConnected&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a7b18ca1f8f71faf272c9856aaf7b8e3da911ba363fd1483b5b36fda7b0149cf76"></a>ServerConnected&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a7b18ca1f8f71faf272c9856aaf7b8e3da9761e78f9ae0d6f598d953b4d9e839e1"></a>RobotConnected&#160;</td><td class="fielddoc"></td></tr>
</table>
<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>
<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>
</div>
</div>
@ -221,7 +245,9 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
<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>
</div>
</div>
@ -241,7 +267,9 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Make some adjustement to controls, like disabling some controls </p>
<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>
</div>
</div>
@ -269,7 +297,15 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Method used to change controls visibility (greyed or not) depending on current state </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">newState</td><td>New state</td></tr>
</table>
</dd>
</dl>
<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>
</div>
</div>
@ -296,7 +332,9 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Show a popup asking user to tell if arena is correct or not </p>
<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>
</div>
</div>
@ -346,7 +384,18 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Display a popup message window </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">type</td><td>Type of popup window (question, error, information,...)</td></tr>
<tr><td class="paramname">buttons</td><td>Buttons available on popup window</td></tr>
<tr><td class="paramname">title</td><td>Title of window</td></tr>
<tr><td class="paramname">message</td><td>Message</td></tr>
</table>
</dd>
</dl>
<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>
</div>
</div>
@ -384,7 +433,16 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Callback called when battery timer expired </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">sender</td><td>Sender object</td></tr>
<tr><td class="paramname">e</td><td>Event</td></tr>
</table>
</dd>
</dl>
<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>
</div>
</div>
@ -422,7 +480,16 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Callback called when "detect Arena " button is clicked </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">sender</td><td>Sender object</td></tr>
<tr><td class="paramname">e</td><td>Event</td></tr>
</table>
</dd>
</dl>
<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>
</div>
</div>
@ -460,7 +527,16 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Callback called when user click on direction button </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">sender</td><td>Sender button</td></tr>
<tr><td class="paramname">e</td><td>Event</td></tr>
</table>
</dd>
</dl>
<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>
</div>
</div>
@ -498,7 +574,16 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Callback called when "buttonRobotactivation" is clicked </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">sender</td><td>Sender object</td></tr>
<tr><td class="paramname">e</td><td>Event</td></tr>
</table>
</dd>
</dl>
<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>
</div>
</div>
@ -536,7 +621,16 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Callback called by "buttonServerConnection" button </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">sender</td><td>Sender object</td></tr>
<tr><td class="paramname">e</td><td>Event</td></tr>
</table>
</dd>
</dl>
<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>
</div>
</div>
@ -574,7 +668,16 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Callback called when checkbutton for camera is clicked </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">sender</td><td>Sender object</td></tr>
<tr><td class="paramname">e</td><td>Event</td></tr>
</table>
</dd>
</dl>
<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>
</div>
</div>
@ -612,7 +715,16 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Callback called when checkbutton robot position is clicked </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">sender</td><td>Sender object</td></tr>
<tr><td class="paramname">e</td><td>Event</td></tr>
</table>
</dd>
</dl>
<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>
</div>
</div>
@ -648,7 +760,17 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Callback called when new message is received from server </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">header</td><td>Header of message</td></tr>
<tr><td class="paramname">data</td><td>Data of message</td></tr>
<tr><td class="paramname">buffer</td><td>Raw buffer corresponding of received message</td></tr>
</table>
</dd>
</dl>
<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>
</div>
</div>
@ -686,7 +808,16 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Callback called when delete event is sent by window </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">sender</td><td>Sender object</td></tr>
<tr><td class="paramname">a</td><td>Not really sure of what it is...</td></tr>
</table>
</dd>
</dl>
<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>
</div>
</div>
@ -724,7 +855,16 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Callback called when drawingarea need refresh </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">o</td><td>Sender object</td></tr>
<tr><td class="paramname">args</td><td>Expose arguments</td></tr>
</table>
</dd>
</dl>
<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>
</div>
</div>
@ -762,7 +902,16 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Callback called by "quit" menu </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">sender</td><td>Sender object</td></tr>
<tr><td class="paramname">e</td><td>Event</td></tr>
</table>
</dd>
</dl>
<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>
</div>
</div>
@ -800,7 +949,16 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Callback called by "show log" menu </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">sender</td><td>Sender object</td></tr>
<tr><td class="paramname">e</td><td>Event</td></tr>
</table>
</dd>
</dl>
<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>
</div>
</div>
@ -825,7 +983,9 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Timer for battery request </p>
<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>
</div>
</div>
@ -849,7 +1009,9 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Destijl command manager reference </p>
<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>
</div>
</div>
@ -873,7 +1035,9 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Pixbuffer used for displaying image </p>
<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>
</div>
</div>
@ -897,7 +1061,9 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>The state of the system. Can take a value from SystemState </p>
<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>
</div>
</div>

View file

@ -1,4 +1,4 @@
<map id="MainWindow" name="MainWindow">
<area shape="rect" id="node3" href="$classmonitor_1_1_destijl_command_manager.html" title="monitor.DestijlCommandManager" alt="" coords="179,184,395,211"/>
<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"/>
<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"/>
</map>

View file

@ -1 +1 @@
4c8ddbcdb9d2101c683e4d7db177d12c
150be75c198c88c6d6956083b335a70c

View file

@ -171,7 +171,7 @@ Static Private Attributes</h2></td></tr>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Static class for TCP client </p>
<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>
<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>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="ae6c0cbe19d622b008fd1f6d01d9cb315"></a>
<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>
<p>Close connection to server </p>
<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>
<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>
</div>
</div>
@ -235,7 +235,7 @@ Static Private Attributes</h2></td></tr>
</dd>
</dl>
<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>
<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>
</div>
</div>
@ -283,7 +283,7 @@ Static Private Attributes</h2></td></tr>
</dd>
</dl>
<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>
<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>
</div>
</div>
@ -319,7 +319,7 @@ Static Private Attributes</h2></td></tr>
</dd>
</dl>
<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>
<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>
</div>
</div>
@ -386,7 +386,7 @@ Static Private Attributes</h2></td></tr>
</dd>
</dl>
<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>
<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>
</div>
</div>
@ -413,7 +413,7 @@ Static Private Attributes</h2></td></tr>
<p>Internal buffer used when reading data from server </p>
<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>
<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>
</div>
</div>
@ -439,7 +439,7 @@ Static Private Attributes</h2></td></tr>
<p>Size of internal buffer used when reading data from server </p>
<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>
<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>
</div>
</div>
@ -465,7 +465,7 @@ Static Private Attributes</h2></td></tr>
<p>Tcp client object </p>
<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>
<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>
</div>
</div>
@ -483,7 +483,7 @@ Static Private Attributes</h2></td></tr>
<p>Default server name </p>
<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>
<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>
</div>
</div>
@ -501,7 +501,7 @@ Static Private Attributes</h2></td></tr>
<p>Default server port number </p>
<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>
<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>
</div>
</div>
@ -525,7 +525,7 @@ Static Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -551,7 +551,7 @@ Static Private Attributes</h2></td></tr>
<p>String containing received message from tcp server </p>
<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>
<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>
</div>
</div>
@ -575,7 +575,7 @@ Static Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -599,7 +599,7 @@ Static Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -623,7 +623,7 @@ Static Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -649,7 +649,7 @@ Static Private Attributes</h2></td></tr>
<p>buffer containing received message from TCP server Used to concatenate internal buffers into one </p>
<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>
<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>
</div>
</div>
@ -675,7 +675,7 @@ Static Private Attributes</h2></td></tr>
<p>Stream object used for communication </p>
<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>
<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>
</div>
</div>

View file

@ -98,8 +98,6 @@ $(document).ready(function(){initNavTree('classmonitor_1_1_command_manager.html'
Collaboration diagram for monitor.CommandManager:</div>
<div class="dyncontent">
<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>
<map name="monitor_8_command_manager_coll__map" id="monitor_8_command_manager_coll__map">
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
@ -169,7 +167,7 @@ Private Attributes</h2></td></tr>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<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>
<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>
<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>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="ac8ca53031468acc8be05c37586671a9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8ca53031468acc8be05c37586671a9b">&#9670;&nbsp;</a></span>CommandManagerStatus</h2>
@ -198,7 +196,7 @@ Private Attributes</h2></td></tr>
<tr><td class="fieldname"><a id="ac8ca53031468acc8be05c37586671a9bad8a942ef2b04672adfafef0ad817a407"></a>Busy&#160;</td><td class="fielddoc"></td></tr>
</table>
<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>
<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>
</div>
</div>
@ -227,7 +225,7 @@ Private Attributes</h2></td></tr>
</dd>
</dl>
<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>
<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>
</div>
</div>
@ -256,7 +254,7 @@ Private Attributes</h2></td></tr>
<p>Releases unmanaged resources and performs other cleanup operations before the T:monitor.CommandManager is reclaimed by garbage collection. </p>
<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>
<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>
</div>
</div>
@ -278,7 +276,7 @@ Private Attributes</h2></td></tr>
<p>Close connection to server </p>
<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>
<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>
</div>
</div>
@ -355,7 +353,7 @@ Private Attributes</h2></td></tr>
</dd>
</dl>
<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>
<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>
</div>
</div>
@ -402,7 +400,7 @@ Private Attributes</h2></td></tr>
</dd>
</dl>
<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>
<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>
</div>
</div>
@ -431,7 +429,7 @@ Private Attributes</h2></td></tr>
</dd>
</dl>
<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>
<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>
</div>
</div>
@ -471,7 +469,7 @@ Private Attributes</h2></td></tr>
</dd>
</dl>
<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>
<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>
</div>
</div>
@ -518,7 +516,7 @@ Private Attributes</h2></td></tr>
</dd>
</dl>
<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>
<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>
</div>
</div>
@ -535,7 +533,7 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -561,7 +559,7 @@ Private Attributes</h2></td></tr>
<p>flag indicating command manager is currently busy waiting an acknowledge </p>
<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>
<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>
</div>
</div>
@ -587,7 +585,7 @@ Private Attributes</h2></td></tr>
<p>received message </p>
<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>
<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>
</div>
</div>
@ -611,7 +609,7 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -637,7 +635,7 @@ Private Attributes</h2></td></tr>
<p>Flag to tell rogram to wait for an acknowledge from server </p>
<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>
<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>
</div>
</div>
@ -663,7 +661,7 @@ Private Attributes</h2></td></tr>
<p>Timer for managing timeout </p>
<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>
<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>
</div>
</div>

View file

@ -87,6 +87,9 @@ $(document).ready(function(){initNavTree('classmonitor_1_1_destijl_command_list.
<div class="title">monitor.DestijlCommandList Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Commands and options parameters used in Destijl project when communicating with server
<a href="classmonitor_1_1_destijl_command_list.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
@ -132,8 +135,9 @@ Public Attributes</h2></td></tr>
<tr class="separator:a88de91fa6abdc122245ceb26fc21fd33"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<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>
<div class="textblock"><p>Commands and options parameters used in Destijl project when communicating with server </p>
<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>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="ad31b6758839a4c3b1b6ec4c71635e631"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad31b6758839a4c3b1b6ec4c71635e631">&#9670;&nbsp;</a></span>DataCamArenaConfirm</h2>
@ -147,7 +151,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -163,7 +167,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -179,7 +183,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -195,7 +199,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -211,7 +215,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -227,7 +231,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -243,7 +247,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -259,7 +263,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -275,7 +279,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -291,7 +295,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -307,7 +311,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -323,7 +327,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -339,7 +343,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -355,7 +359,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -371,7 +375,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -387,7 +391,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -403,7 +407,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -419,7 +423,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -435,7 +439,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>
@ -451,7 +455,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<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>
</div>
</div>

View file

@ -118,9 +118,8 @@ $(document).ready(function(){initNavTree('classmonitor_1_1_destijl_command_manag
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->

View file

@ -91,6 +91,9 @@ $(document).ready(function(){initNavTree('classmonitor_1_1_destijl_command_manag
<div class="title">monitor.DestijlCommandManager Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>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></p>
<div class="dynheader">
Collaboration diagram for monitor.DestijlCommandManager:</div>
<div class="dyncontent">
@ -111,56 +114,80 @@ Public Types</h2></td></tr>
&#160;&#160;<a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0a37039bce065223d632b6974daa612656">CommandStatus.CommunicationLostWithRobot</a>,
<a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0ae7009a5c717d5d4d361433a9915e697e">CommandStatus.CommunicationLostWithServer</a>
<br />
}</td></tr>
}<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>
</td></tr>
<tr class="separator:a9cb23e7493a32872ac808f3b63200fb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<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>
<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>
<tr class="separator:acc08ece6a89e842188364226299b3d43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:a78bf0be922afbd9c5f8f4115fa83ad47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<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>
<tr class="separator:a5dd6b75386a554c2f026eee787477bb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<tr class="memdesc:a842300511efb20783c271764ee0e3336"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open connection to server "host", with port number "port" <a href="#a842300511efb20783c271764ee0e3336">More...</a><br /></td></tr>
<tr class="separator:a842300511efb20783c271764ee0e3336"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1f57d8e3e980322e37da2cd3b61d1d7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#af1f57d8e3e980322e37da2cd3b61d1d7">Close</a> ()</td></tr>
<tr class="memdesc:af1f57d8e3e980322e37da2cd3b61d1d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Close connection to server <a href="#af1f57d8e3e980322e37da2cd3b61d1d7">More...</a><br /></td></tr>
<tr class="separator:af1f57d8e3e980322e37da2cd3b61d1d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1440a571e6aaf11203b4e4a4ed116d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#aa1440a571e6aaf11203b4e4a4ed116d5">RobotOpenCom</a> ()</td></tr>
<tr class="memdesc:aa1440a571e6aaf11203b4e4a4ed116d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open communication with robot and wait acknowledge <a href="#aa1440a571e6aaf11203b4e4a4ed116d5">More...</a><br /></td></tr>
<tr class="separator:aa1440a571e6aaf11203b4e4a4ed116d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0139bec493c965670226381f2ba63a23"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a0139bec493c965670226381f2ba63a23">RobotCloseCom</a> ()</td></tr>
<tr class="memdesc:a0139bec493c965670226381f2ba63a23"><td class="mdescLeft">&#160;</td><td class="mdescRight">Close communication with robot and wait acknowledge <a href="#a0139bec493c965670226381f2ba63a23">More...</a><br /></td></tr>
<tr class="separator:a0139bec493c965670226381f2ba63a23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1af16558213c3830ea3006e8e8c5e28"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#ae1af16558213c3830ea3006e8e8c5e28">RobotPing</a> ()</td></tr>
<tr class="memdesc:ae1af16558213c3830ea3006e8e8c5e28"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ping the robot. <a href="#ae1af16558213c3830ea3006e8e8c5e28">More...</a><br /></td></tr>
<tr class="separator:ae1af16558213c3830ea3006e8e8c5e28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe223aa12456e3f1c2519e9c379d891a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#abe223aa12456e3f1c2519e9c379d891a">RobotReset</a> ()</td></tr>
<tr class="memdesc:abe223aa12456e3f1c2519e9c379d891a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset robot and let it in idle mode <a href="#abe223aa12456e3f1c2519e9c379d891a">More...</a><br /></td></tr>
<tr class="separator:abe223aa12456e3f1c2519e9c379d891a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade46aceeb79556e31fe632e9602e1636"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#ade46aceeb79556e31fe632e9602e1636">RobotStartWithWatchdog</a> ()</td></tr>
<tr class="memdesc:ade46aceeb79556e31fe632e9602e1636"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start robot, enabling watchdog <a href="#ade46aceeb79556e31fe632e9602e1636">More...</a><br /></td></tr>
<tr class="separator:ade46aceeb79556e31fe632e9602e1636"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c964baa3ecd4ff9d19857061413938b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a0c964baa3ecd4ff9d19857061413938b">RobotStartWithoutWatchdog</a> ()</td></tr>
<tr class="memdesc:a0c964baa3ecd4ff9d19857061413938b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start robot, without enabling watchdog <a href="#a0c964baa3ecd4ff9d19857061413938b">More...</a><br /></td></tr>
<tr class="separator:a0c964baa3ecd4ff9d19857061413938b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5976fe792e270c63bd9f0f4c792df129"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a5976fe792e270c63bd9f0f4c792df129">RobotMove</a> (int distance)</td></tr>
<tr class="memdesc:a5976fe792e270c63bd9f0f4c792df129"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move robot forward or backward, for a distance expressed in millimeter <a href="#a5976fe792e270c63bd9f0f4c792df129">More...</a><br /></td></tr>
<tr class="separator:a5976fe792e270c63bd9f0f4c792df129"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f7ee6f1803cfb8b2eb4290f9e9acced"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a3f7ee6f1803cfb8b2eb4290f9e9acced">RobotTurn</a> (int angle)</td></tr>
<tr class="memdesc:a3f7ee6f1803cfb8b2eb4290f9e9acced"><td class="mdescLeft">&#160;</td><td class="mdescRight">Make robot turn left or right, for a given angle <a href="#a3f7ee6f1803cfb8b2eb4290f9e9acced">More...</a><br /></td></tr>
<tr class="separator:a3f7ee6f1803cfb8b2eb4290f9e9acced"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ec8021340de939318ace65b8462b930"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a2ec8021340de939318ace65b8462b930">RobotGetBattery</a> ()</td></tr>
<tr class="memdesc:a2ec8021340de939318ace65b8462b930"><td class="mdescLeft">&#160;</td><td class="mdescRight">Request robot battery level <a href="#a2ec8021340de939318ace65b8462b930">More...</a><br /></td></tr>
<tr class="separator:a2ec8021340de939318ace65b8462b930"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ddd552ed82382a09b4af075c34fb989"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a7ddd552ed82382a09b4af075c34fb989">RobotGetVersion</a> (out string version)</td></tr>
<tr class="memdesc:a7ddd552ed82382a09b4af075c34fb989"><td class="mdescLeft">&#160;</td><td class="mdescRight">Request robot firmware version <a href="#a7ddd552ed82382a09b4af075c34fb989">More...</a><br /></td></tr>
<tr class="separator:a7ddd552ed82382a09b4af075c34fb989"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb242a71fa40d4001dc1bc31d5bdc53f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#acb242a71fa40d4001dc1bc31d5bdc53f">RobotPowerOff</a> ()</td></tr>
<tr class="memdesc:acb242a71fa40d4001dc1bc31d5bdc53f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Power off robot <a href="#acb242a71fa40d4001dc1bc31d5bdc53f">More...</a><br /></td></tr>
<tr class="separator:acb242a71fa40d4001dc1bc31d5bdc53f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a292d7e2961ff31a80d9abf79b7b41126"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a292d7e2961ff31a80d9abf79b7b41126">CameraOpen</a> ()</td></tr>
<tr class="memdesc:a292d7e2961ff31a80d9abf79b7b41126"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open camera on remote device <a href="#a292d7e2961ff31a80d9abf79b7b41126">More...</a><br /></td></tr>
<tr class="separator:a292d7e2961ff31a80d9abf79b7b41126"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94b085d9de512cd7e80bcefd516d460c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a94b085d9de512cd7e80bcefd516d460c">CameraClose</a> ()</td></tr>
<tr class="memdesc:a94b085d9de512cd7e80bcefd516d460c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Close camera on remote device <a href="#a94b085d9de512cd7e80bcefd516d460c">More...</a><br /></td></tr>
<tr class="separator:a94b085d9de512cd7e80bcefd516d460c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d178480fc09d474760eae995c9aa096"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a8d178480fc09d474760eae995c9aa096">CameraAskArena</a> ()</td></tr>
<tr class="memdesc:a8d178480fc09d474760eae995c9aa096"><td class="mdescLeft">&#160;</td><td class="mdescRight">Request still image of detected arena <a href="#a8d178480fc09d474760eae995c9aa096">More...</a><br /></td></tr>
<tr class="separator:a8d178480fc09d474760eae995c9aa096"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac58ed9c19d8c9ed547c35fb96a983668"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#ac58ed9c19d8c9ed547c35fb96a983668">CameraArenaConfirm</a> ()</td></tr>
<tr class="memdesc:ac58ed9c19d8c9ed547c35fb96a983668"><td class="mdescLeft">&#160;</td><td class="mdescRight">Confirm arena detection (after requesting image of detected arena, using CameraAskArena <a href="#ac58ed9c19d8c9ed547c35fb96a983668">More...</a><br /></td></tr>
<tr class="separator:ac58ed9c19d8c9ed547c35fb96a983668"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a614be7a565a3a10308f20b073b40383f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a614be7a565a3a10308f20b073b40383f">CameraArenaInfirm</a> ()</td></tr>
<tr class="memdesc:a614be7a565a3a10308f20b073b40383f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reject arena detected (after requesting image of detected arena, using CameraAskArena <a href="#a614be7a565a3a10308f20b073b40383f">More...</a><br /></td></tr>
<tr class="separator:a614be7a565a3a10308f20b073b40383f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad04df7759d2698334a410fe32b78e21e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#ad04df7759d2698334a410fe32b78e21e">CameraComputePosition</a> ()</td></tr>
<tr class="memdesc:ad04df7759d2698334a410fe32b78e21e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Request robot position computing <a href="#ad04df7759d2698334a410fe32b78e21e">More...</a><br /></td></tr>
<tr class="separator:ad04df7759d2698334a410fe32b78e21e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a928f987f8f5f12135614678585ab2726"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a928f987f8f5f12135614678585ab2726">CameraStopComputePosition</a> ()</td></tr>
<tr class="memdesc:a928f987f8f5f12135614678585ab2726"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stop robot position computing <a href="#a928f987f8f5f12135614678585ab2726">More...</a><br /></td></tr>
<tr class="separator:a928f987f8f5f12135614678585ab2726"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
@ -168,33 +195,40 @@ Public Attributes</h2></td></tr>
<tr class="memitem:a5c10e8aaae48b83be0267aefa23eb62d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#acc08ece6a89e842188364226299b3d43">CommandReceivedEvent</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a5c10e8aaae48b83be0267aefa23eb62d">commandReceivedEvent</a> = null</td></tr>
<tr class="separator:a5c10e8aaae48b83be0267aefa23eb62d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86a1fb03dc480dab8d6758aa0d675cd3"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a86a1fb03dc480dab8d6758aa0d675cd3">timeout</a> = 100</td></tr>
<tr class="memdesc:a86a1fb03dc480dab8d6758aa0d675cd3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Timeout used for command with acknowledge <a href="#a86a1fb03dc480dab8d6758aa0d675cd3">More...</a><br /></td></tr>
<tr class="separator:a86a1fb03dc480dab8d6758aa0d675cd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:abc51dc980d7ba7e59a571e579cb626b9"><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#abc51dc980d7ba7e59a571e579cb626b9">~DestijlCommandManager</a> ()</td></tr>
<tr class="memdesc:abc51dc980d7ba7e59a571e579cb626b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Releases unmanaged resources and performs other cleanup operations before 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> is reclaimed by garbage collection. <a href="#abc51dc980d7ba7e59a571e579cb626b9">More...</a><br /></td></tr>
<tr class="separator:abc51dc980d7ba7e59a571e579cb626b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab83dbda4196240c242a5ac101901bb19"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#ab83dbda4196240c242a5ac101901bb19">OnCommandReceived</a> (string msg, byte[] buffer)</td></tr>
<tr class="memdesc:ab83dbda4196240c242a5ac101901bb19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback used for receiving data from lower layer (<a class="el" href="classmonitor_1_1_command_manager.html" title="Command Manager. Use for timeout managment during reception of data Used as intermediate layer betwee...">CommandManager</a> class) <a href="#ab83dbda4196240c242a5ac101901bb19">More...</a><br /></td></tr>
<tr class="separator:ab83dbda4196240c242a5ac101901bb19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47eb72ec1ae43505966bc5cf09c79e58"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a47eb72ec1ae43505966bc5cf09c79e58">CreateCommand</a> (string header, string data)</td></tr>
<tr class="memdesc:a47eb72ec1ae43505966bc5cf09c79e58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates the command to send to server, based on header and data provided <a href="#a47eb72ec1ae43505966bc5cf09c79e58">More...</a><br /></td></tr>
<tr class="separator:a47eb72ec1ae43505966bc5cf09c79e58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6fc73806e924e73dcf07c5cf3c81a66"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#ad6fc73806e924e73dcf07c5cf3c81a66">SplitCommand</a> (string cmd, out string header, out string data)</td></tr>
<tr class="separator:ad6fc73806e924e73dcf07c5cf3c81a66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00c3fb9f163c4d9025b356a5a7e74012"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0">CommandStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a00c3fb9f163c4d9025b356a5a7e74012">DecodeStatus</a> (<a class="el" href="classmonitor_1_1_command_manager.html#ac8ca53031468acc8be05c37586671a9b">CommandManager.CommandManagerStatus</a> localStatus, string answer)</td></tr>
<tr class="memdesc:a00c3fb9f163c4d9025b356a5a7e74012"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide <a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0" title="List of available return status ">DestijlCommandManager.CommandStatus</a> based on status received by <a class="el" href="classmonitor_1_1_command_manager.html#a3cd1f2303e47e5148fd3e927a7957363" title="Sends a command to TCP server ">CommandManager.SendCommand</a> and answer string <a href="#a00c3fb9f163c4d9025b356a5a7e74012">More...</a><br /></td></tr>
<tr class="separator:a00c3fb9f163c4d9025b356a5a7e74012"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a9efdcd3d35f46329e7aa167ad60062a9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmonitor_1_1_command_manager.html">CommandManager</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9efdcd3d35f46329e7aa167ad60062a9">commandManager</a> = null</td></tr>
<tr class="memdesc:a9efdcd3d35f46329e7aa167ad60062a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command Manager object <a href="#a9efdcd3d35f46329e7aa167ad60062a9">More...</a><br /></td></tr>
<tr class="separator:a9efdcd3d35f46329e7aa167ad60062a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b99d771e7af8ffc8ced10d35e5e77ce"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a1b99d771e7af8ffc8ced10d35e5e77ce">receivedHeader</a> = null</td></tr>
<tr class="memdesc:a1b99d771e7af8ffc8ced10d35e5e77ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Part of received message corresponding to command header <a href="#a1b99d771e7af8ffc8ced10d35e5e77ce">More...</a><br /></td></tr>
<tr class="separator:a1b99d771e7af8ffc8ced10d35e5e77ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88f907fc9c5fd8cd8d5976f45c323903"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmonitor_1_1_destijl_command_manager.html#a88f907fc9c5fd8cd8d5976f45c323903">receivedData</a> = null</td></tr>
<tr class="memdesc:a88f907fc9c5fd8cd8d5976f45c323903"><td class="mdescLeft">&#160;</td><td class="mdescRight">Part of received message corresponding to command data <a href="#a88f907fc9c5fd8cd8d5976f45c323903">More...</a><br /></td></tr>
<tr class="separator:a88f907fc9c5fd8cd8d5976f45c323903"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00046">46</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<div class="textblock"><p>Specialization class for command manager, which implemnent destijl protocol between monitor and server </p>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00076">76</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a9cb23e7493a32872ac808f3b63200fb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9cb23e7493a32872ac808f3b63200fb0">&#9670;&nbsp;</a></span>CommandStatus</h2>
@ -215,6 +249,8 @@ Private Attributes</h2></td></tr>
</tr>
</table>
</div><div class="memdoc">
<p>List of available return status </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a9cb23e7493a32872ac808f3b63200fb0a505a83f220c02df2f85c3810cd9ceb38"></a>Success&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a9cb23e7493a32872ac808f3b63200fb0ad37b1f6c0512e2118cee17fea015b699"></a>Rejected&#160;</td><td class="fielddoc"></td></tr>
@ -224,7 +260,7 @@ Private Attributes</h2></td></tr>
<tr><td class="fieldname"><a id="a9cb23e7493a32872ac808f3b63200fb0ae7009a5c717d5d4d361433a9915e697e"></a>CommunicationLostWithServer&#160;</td><td class="fielddoc"></td></tr>
</table>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00058">58</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00107">107</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -245,7 +281,15 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00068">68</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>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. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">callback</td><td>Callback reference for reception of data</td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00121">121</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -272,7 +316,9 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00074">74</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Releases unmanaged resources and performs other cleanup operations before 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> is reclaimed by garbage collection. </p>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00131">131</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -292,7 +338,10 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00367">367</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Confirm arena detection (after requesting image of detected arena, using CameraAskArena </p>
<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00492">492</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -311,7 +360,10 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00380">380</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Reject arena detected (after requesting image of detected arena, using CameraAskArena </p>
<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00509">509</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -330,7 +382,10 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00354">354</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Request still image of detected arena </p>
<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00475">475</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -349,7 +404,10 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00341">341</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Close camera on remote device </p>
<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00458">458</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -368,7 +426,10 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00393">393</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Request robot position computing </p>
<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00526">526</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -387,7 +448,10 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00328">328</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Open camera on remote device </p>
<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00441">441</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -406,7 +470,10 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00406">406</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Stop robot position computing </p>
<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00543">543</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -425,7 +492,9 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00103">103</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Close connection to server </p>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00183">183</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -461,6 +530,8 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p>Callback for sending received data to application level </p>
</div>
</div>
<a id="a47eb72ec1ae43505966bc5cf09c79e58"></a>
@ -497,7 +568,17 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00108">108</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Creates the command to send to server, based on header and data provided </p>
<dl class="section return"><dt>Returns</dt><dd>The command string</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">header</td><td>Header part of the command</td></tr>
<tr><td class="paramname">data</td><td>Data part of the command</td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00194">194</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -535,7 +616,17 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00124">124</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Provide <a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0" title="List of available return status ">DestijlCommandManager.CommandStatus</a> based on status received by <a class="el" href="classmonitor_1_1_command_manager.html#a3cd1f2303e47e5148fd3e927a7957363" title="Sends a command to TCP server ">CommandManager.SendCommand</a> and answer string </p>
<dl class="section return"><dt>Returns</dt><dd>Status compatible with <a class="el" href="classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0" title="List of available return status ">DestijlCommandManager.CommandStatus</a> type</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">localStatus</td><td>Status provided by <a class="el" href="classmonitor_1_1_command_manager.html#a3cd1f2303e47e5148fd3e927a7957363" title="Sends a command to TCP server ">CommandManager.SendCommand</a></td></tr>
<tr><td class="paramname">answer</td><td>Answer provided by <a class="el" href="classmonitor_1_1_command_manager.html#a3cd1f2303e47e5148fd3e927a7957363" title="Sends a command to TCP server ">CommandManager.SendCommand</a></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00205">205</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -573,7 +664,16 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00079">79</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Callback used for receiving data from lower layer (<a class="el" href="classmonitor_1_1_command_manager.html" title="Command Manager. Use for timeout managment during reception of data Used as intermediate layer betwee...">CommandManager</a> class) </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">msg</td><td>String containing received message</td></tr>
<tr><td class="paramname">buffer</td><td>Raw buffer to be used when data are not in ascii format (image for example)</td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00141">141</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -593,7 +693,16 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00092">92</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Open the specified hostname server, using default port number. </p>
<dl class="section return"><dt>Returns</dt><dd>true if connection succeded, false otherwise</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">hostname</td><td>Hostname to connect to</td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00163">163</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -623,7 +732,17 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00097">97</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Open connection to server "host", with port number "port" </p>
<dl class="section return"><dt>Returns</dt><dd>true if connection succeded, false otherwise</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">hostname</td><td>Hostname to connect to</td></tr>
<tr><td class="paramname">port</td><td>Port number for connection</td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00174">174</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -642,7 +761,10 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00157">157</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Close communication with robot and wait acknowledge </p>
<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00251">251</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -661,7 +783,10 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00249">249</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Request robot battery level </p>
<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00372">372</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -681,7 +806,16 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00284">284</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Request robot firmware version </p>
<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">version</td><td>todo</td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00390">390</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -701,7 +835,16 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00222">222</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Move robot forward or backward, for a distance expressed in millimeter </p>
<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">distance</td><td>Distance of mouvment, in millimeter</td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00337">337</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -720,7 +863,10 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00144">144</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Open communication with robot and wait acknowledge </p>
<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00234">234</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -739,7 +885,10 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00170">170</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Ping the robot. </p>
<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00268">268</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -758,7 +907,10 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00315">315</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Power off robot </p>
<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00424">424</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -777,7 +929,10 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00183">183</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Reset robot and let it in idle mode </p>
<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00285">285</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -796,7 +951,10 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00209">209</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Start robot, without enabling watchdog </p>
<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00319">319</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -815,7 +973,10 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00196">196</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Start robot, enabling watchdog </p>
<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00302">302</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -835,51 +996,16 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00235">235</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
<a id="ad6fc73806e924e73dcf07c5cf3c81a66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6fc73806e924e73dcf07c5cf3c81a66">&#9670;&nbsp;</a></span>SplitCommand()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void monitor.DestijlCommandManager.SplitCommand </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>cmd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">out string&#160;</td>
<td class="paramname"><em>header</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">out string&#160;</td>
<td class="paramname"><em>data</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
<p>Make robot turn left or right, for a given angle </p>
<dl class="section return"><dt>Returns</dt><dd>Command status (see DecodeStatus)</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">angle</td><td>Angle of turn, in degree (negative for left, positive for right)</td></tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00113">113</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00355">355</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -904,7 +1030,9 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Command Manager object </p>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00081">81</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -920,7 +1048,7 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00054">54</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00097">97</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -944,7 +1072,9 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Part of received message corresponding to command data </p>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00091">91</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -968,7 +1098,9 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p>Part of received message corresponding to command header </p>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00086">86</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -984,7 +1116,9 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00056">56</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p>Timeout used for command with acknowledge </p>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00102">102</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>

View file

@ -35,7 +35,6 @@ var classmonitor_1_1_destijl_command_manager =
[ "RobotStartWithoutWatchdog", "classmonitor_1_1_destijl_command_manager.html#a0c964baa3ecd4ff9d19857061413938b", null ],
[ "RobotStartWithWatchdog", "classmonitor_1_1_destijl_command_manager.html#ade46aceeb79556e31fe632e9602e1636", null ],
[ "RobotTurn", "classmonitor_1_1_destijl_command_manager.html#a3f7ee6f1803cfb8b2eb4290f9e9acced", null ],
[ "SplitCommand", "classmonitor_1_1_destijl_command_manager.html#ad6fc73806e924e73dcf07c5cf3c81a66", null ],
[ "commandManager", "classmonitor_1_1_destijl_command_manager.html#a9efdcd3d35f46329e7aa167ad60062a9", null ],
[ "commandReceivedEvent", "classmonitor_1_1_destijl_command_manager.html#a5c10e8aaae48b83be0267aefa23eb62d", null ],
[ "receivedData", "classmonitor_1_1_destijl_command_manager.html#a88f907fc9c5fd8cd8d5976f45c323903", null ],

View file

@ -95,7 +95,7 @@ Static Public Member Functions</h2></td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="_program_8cs_source.html#l00006">6</a> of file <a class="el" href="_program_8cs_source.html">Program.cs</a>.</p>
<p class="definition">Definition at line <a class="el" href="_program_8cs_source.html#l00027">27</a> of file <a class="el" href="_program_8cs_source.html">Program.cs</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a991579f985cc4071757b30a8b035e7c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a991579f985cc4071757b30a8b035e7c1">&#9670;&nbsp;</a></span>Main()</h2>
@ -121,7 +121,7 @@ Static Public Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_program_8cs_source.html#l00008">8</a> of file <a class="el" href="_program_8cs_source.html">Program.cs</a>.</p>
<p class="definition">Definition at line <a class="el" href="_program_8cs_source.html#l00029">29</a> of file <a class="el" href="_program_8cs_source.html">Program.cs</a>.</p>
</div>
</div>

View file

@ -87,6 +87,9 @@ $(document).ready(function(){initNavTree('classmonitor_1_1_robot_command_list.ht
<div class="title">monitor.RobotCommandList Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Commands used for robot messages
<a href="classmonitor_1_1_robot_command_list.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
@ -112,8 +115,9 @@ Public Attributes</h2></td></tr>
<tr class="separator:a2e9616c1b75719c208902e595b79cc48"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<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>
<div class="textblock"><p>Commands used for robot messages </p>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00059">59</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="a374eb526d14b8499e47b065230afeed0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a374eb526d14b8499e47b065230afeed0">&#9670;&nbsp;</a></span>RobotGetBattery</h2>
@ -127,7 +131,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00038">38</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00065">65</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -143,7 +147,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00066">66</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -159,7 +163,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00069">69</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -175,7 +179,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00067">67</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -191,7 +195,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00061">61</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -207,7 +211,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00070">70</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -223,7 +227,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00035">35</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00062">62</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -239,7 +243,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00063">63</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -255,7 +259,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00064">64</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>
@ -271,7 +275,7 @@ Public Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<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>
<p class="definition">Definition at line <a class="el" href="_destijl_command_manager_8cs_source.html#l00068">68</a> of file <a class="el" href="_destijl_command_manager_8cs_source.html">DestijlCommandManager.cs</a>.</p>
</div>
</div>

View file

@ -420,18 +420,15 @@ $(document).ready(function(){initNavTree('functions.html','');});
<li>SendCommand()
: <a class="el" href="classmonitor_1_1_command_manager.html#a3cd1f2303e47e5148fd3e927a7957363">monitor.CommandManager</a>
</li>
<li>SplitCommand()
: <a class="el" href="classmonitor_1_1_destijl_command_manager.html#ad6fc73806e924e73dcf07c5cf3c81a66">monitor.DestijlCommandManager</a>
</li>
<li>stream
: <a class="el" href="classmonitor_1_1_client.html#a8de2a9e4fe2c2e896849ddd33d80d759">monitor.Client</a>
</li>
<li>systemState
: <a class="el" href="class_main_window.html#a105025ee1bdfac188f1ce640d593550d">MainWindow</a>
</li>
<li>SystemState
: <a class="el" href="class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3d">MainWindow</a>
</li>
<li>systemState
: <a class="el" href="class_main_window.html#a105025ee1bdfac188f1ce640d593550d">MainWindow</a>
</li>
</ul>

View file

@ -259,9 +259,6 @@ $(document).ready(function(){initNavTree('functions_func.html','');});
<li>SendCommand()
: <a class="el" href="classmonitor_1_1_command_manager.html#a3cd1f2303e47e5148fd3e927a7957363">monitor.CommandManager</a>
</li>
<li>SplitCommand()
: <a class="el" href="classmonitor_1_1_destijl_command_manager.html#ad6fc73806e924e73dcf07c5cf3c81a66">monitor.DestijlCommandManager</a>
</li>
</ul>

View file

@ -90,12 +90,12 @@ This inheritance list is sorted roughly, but not completely, alphabetically:</di
<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory">
<tr id="row_0_" class="even"><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="classmonitor_1_1_client.html" target="_self">monitor.Client</a></td><td class="desc">Static class for TCP client </td></tr>
<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="classmonitor_1_1_command_manager.html" target="_self">monitor.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>
<tr id="row_2_" class="even"><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="classmonitor_1_1_destijl_command_list.html" target="_self">monitor.DestijlCommandList</a></td><td class="desc"></td></tr>
<tr id="row_3_"><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="classmonitor_1_1_destijl_command_manager.html" target="_self">monitor.DestijlCommandManager</a></td><td class="desc"></td></tr>
<tr id="row_2_" class="even"><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="classmonitor_1_1_destijl_command_list.html" target="_self">monitor.DestijlCommandList</a></td><td class="desc">Commands and options parameters used in Destijl project when communicating with server </td></tr>
<tr id="row_3_"><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="classmonitor_1_1_destijl_command_manager.html" target="_self">monitor.DestijlCommandManager</a></td><td class="desc">Specialization class for command manager, which implemnent destijl protocol between monitor and server </td></tr>
<tr id="row_4_" class="even"><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="classmonitor_1_1_main_class.html" target="_self">monitor.MainClass</a></td><td class="desc"></td></tr>
<tr id="row_5_"><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="classmonitor_1_1_robot_command_list.html" target="_self">monitor.RobotCommandList</a></td><td class="desc"></td></tr>
<tr id="row_5_"><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="classmonitor_1_1_robot_command_list.html" target="_self">monitor.RobotCommandList</a></td><td class="desc">Commands used for robot messages </td></tr>
<tr id="row_6_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_6_" class="arrow" onclick="toggleFolder('6_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><b>Window</b></td><td class="desc"></td></tr>
<tr id="row_6_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="class_main_window.html" target="_self">MainWindow</a></td><td class="desc">Main window. </td></tr>
<tr id="row_6_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="class_main_window.html" target="_self">MainWindow</a></td><td class="desc">Main part of the program, behavior of main window </td></tr>
</table>
</div><!-- directory -->
</div><!-- contents -->

View file

@ -1,3 +1,3 @@
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
<area shape="rect" id="node1" href="$class_main_window.html" title="Main window. " alt="" coords="5,29,103,56"/>
<area shape="rect" id="node1" href="$class_main_window.html" title="Main part of the program, behavior of main window " alt="" coords="5,29,103,56"/>
</map>

View file

@ -1 +1 @@
71c93c301ffe32e83dee5c662586af4c
e829b3887c8b0c5c42140f50d2b41b39

View file

@ -1,3 +1,3 @@
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
<area shape="rect" id="node1" href="$classmonitor_1_1_destijl_command_list.html" title="monitor.DestijlCommandList" alt="" coords="5,5,192,32"/>
<area shape="rect" id="node1" href="$classmonitor_1_1_destijl_command_list.html" title="Commands and options parameters used in Destijl project when communicating with server ..." alt="" coords="5,5,192,32"/>
</map>

View file

@ -1 +1 @@
06cbb5b9e5915ca5e57f474509c4bbe8
e506e4a72be67e389be1a4fb1dc96811

View file

@ -1,3 +1,3 @@
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
<area shape="rect" id="node1" href="$classmonitor_1_1_destijl_command_manager.html" title="monitor.DestijlCommandManager" alt="" coords="5,5,221,32"/>
<area shape="rect" id="node1" href="$classmonitor_1_1_destijl_command_manager.html" title="Specialization class for command manager, which implemnent destijl protocol between monitor and serve..." alt="" coords="5,5,221,32"/>
</map>

View file

@ -1 +1 @@
e2d5d112fd08e78b011a153cd00d4f90
6a403a420dfa48b80ccea32e886e0f34

View file

@ -1,3 +1,3 @@
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
<area shape="rect" id="node1" href="$classmonitor_1_1_robot_command_list.html" title="monitor.RobotCommandList" alt="" coords="5,5,191,32"/>
<area shape="rect" id="node1" href="$classmonitor_1_1_robot_command_list.html" title="Commands used for robot messages " alt="" coords="5,5,191,32"/>
</map>

View file

@ -1 +1 @@
b8ac255814f63b3b18972f7cb2f7fca2
584ca43931ee38db8f1852cd21f60041

View file

@ -89,7 +89,7 @@ $(document).ready(function(){initNavTree('hierarchy.html','');});
</div><table border="0" cellspacing="10" cellpadding="0">
<tr><td><img src="inherit_graph_0.png" border="0" alt="" usemap="#_main_window"/>
<map name="_main_window" id="_main_window">
<area shape="rect" id="node1" href="class_main_window.html" title="Main window. " alt="" coords="5,29,103,56"/>
<area shape="rect" id="node1" href="class_main_window.html" title="Main part of the program, behavior of main window " alt="" coords="5,29,103,56"/>
</map>
</td></tr>
<tr><td><img src="inherit_graph_1.png" border="0" alt="" usemap="#monitor_8_client"/>
@ -104,12 +104,12 @@ $(document).ready(function(){initNavTree('hierarchy.html','');});
</td></tr>
<tr><td><img src="inherit_graph_3.png" border="0" alt="" usemap="#monitor_8_destijl_command_list"/>
<map name="monitor_8_destijl_command_list" id="monitor_8_destijl_command_list">
<area shape="rect" id="node1" href="classmonitor_1_1_destijl_command_list.html" title="monitor.DestijlCommandList" alt="" coords="5,5,192,32"/>
<area shape="rect" id="node1" href="classmonitor_1_1_destijl_command_list.html" title="Commands and options parameters used in Destijl project when communicating with server ..." alt="" coords="5,5,192,32"/>
</map>
</td></tr>
<tr><td><img src="inherit_graph_4.png" border="0" alt="" usemap="#monitor_8_destijl_command_manager"/>
<map name="monitor_8_destijl_command_manager" id="monitor_8_destijl_command_manager">
<area shape="rect" id="node1" href="classmonitor_1_1_destijl_command_manager.html" title="monitor.DestijlCommandManager" alt="" coords="5,5,221,32"/>
<area shape="rect" id="node1" href="classmonitor_1_1_destijl_command_manager.html" title="Specialization class for command manager, which implemnent destijl protocol between monitor and serve..." alt="" coords="5,5,221,32"/>
</map>
</td></tr>
<tr><td><img src="inherit_graph_5.png" border="0" alt="" usemap="#monitor_8_main_class"/>
@ -119,7 +119,7 @@ $(document).ready(function(){initNavTree('hierarchy.html','');});
</td></tr>
<tr><td><img src="inherit_graph_6.png" border="0" alt="" usemap="#monitor_8_robot_command_list"/>
<map name="monitor_8_robot_command_list" id="monitor_8_robot_command_list">
<area shape="rect" id="node1" href="classmonitor_1_1_robot_command_list.html" title="monitor.RobotCommandList" alt="" coords="5,5,191,32"/>
<area shape="rect" id="node1" href="classmonitor_1_1_robot_command_list.html" title="Commands used for robot messages " alt="" coords="5,5,191,32"/>
</map>
</td></tr>
</table>

View file

@ -96,12 +96,15 @@ Classes</h2></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">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 <a href="classmonitor_1_1_command_manager.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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">DestijlCommandList</a></td></tr>
<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>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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">DestijlCommandManager</a></td></tr>
<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>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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_main_class.html">MainClass</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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">RobotCommandList</a></td></tr>
<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>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->

View file

@ -102,20 +102,20 @@ var NAVTREEINDEX0 =
"classmonitor_1_1_destijl_command_manager.html#a00c3fb9f163c4d9025b356a5a7e74012":[1,0,0,3,13],
"classmonitor_1_1_destijl_command_manager.html#a0139bec493c965670226381f2ba63a23":[1,0,0,3,17],
"classmonitor_1_1_destijl_command_manager.html#a0c964baa3ecd4ff9d19857061413938b":[1,0,0,3,25],
"classmonitor_1_1_destijl_command_manager.html#a1b99d771e7af8ffc8ced10d35e5e77ce":[1,0,0,3,32],
"classmonitor_1_1_destijl_command_manager.html#a1b99d771e7af8ffc8ced10d35e5e77ce":[1,0,0,3,31],
"classmonitor_1_1_destijl_command_manager.html#a292d7e2961ff31a80d9abf79b7b41126":[1,0,0,3,8],
"classmonitor_1_1_destijl_command_manager.html#a2ec8021340de939318ace65b8462b930":[1,0,0,3,18],
"classmonitor_1_1_destijl_command_manager.html#a3f7ee6f1803cfb8b2eb4290f9e9acced":[1,0,0,3,27],
"classmonitor_1_1_destijl_command_manager.html#a47eb72ec1ae43505966bc5cf09c79e58":[1,0,0,3,12],
"classmonitor_1_1_destijl_command_manager.html#a5976fe792e270c63bd9f0f4c792df129":[1,0,0,3,20],
"classmonitor_1_1_destijl_command_manager.html#a5c10e8aaae48b83be0267aefa23eb62d":[1,0,0,3,30],
"classmonitor_1_1_destijl_command_manager.html#a5c10e8aaae48b83be0267aefa23eb62d":[1,0,0,3,29],
"classmonitor_1_1_destijl_command_manager.html#a5dd6b75386a554c2f026eee787477bb0":[1,0,0,3,15],
"classmonitor_1_1_destijl_command_manager.html#a614be7a565a3a10308f20b073b40383f":[1,0,0,3,4],
"classmonitor_1_1_destijl_command_manager.html#a78bf0be922afbd9c5f8f4115fa83ad47":[1,0,0,3,1],
"classmonitor_1_1_destijl_command_manager.html#a7ddd552ed82382a09b4af075c34fb989":[1,0,0,3,19],
"classmonitor_1_1_destijl_command_manager.html#a842300511efb20783c271764ee0e3336":[1,0,0,3,16],
"classmonitor_1_1_destijl_command_manager.html#a86a1fb03dc480dab8d6758aa0d675cd3":[1,0,0,3,33],
"classmonitor_1_1_destijl_command_manager.html#a88f907fc9c5fd8cd8d5976f45c323903":[1,0,0,3,31],
"classmonitor_1_1_destijl_command_manager.html#a86a1fb03dc480dab8d6758aa0d675cd3":[1,0,0,3,32],
"classmonitor_1_1_destijl_command_manager.html#a88f907fc9c5fd8cd8d5976f45c323903":[1,0,0,3,30],
"classmonitor_1_1_destijl_command_manager.html#a8d178480fc09d474760eae995c9aa096":[1,0,0,3,5],
"classmonitor_1_1_destijl_command_manager.html#a928f987f8f5f12135614678585ab2726":[1,0,0,3,9],
"classmonitor_1_1_destijl_command_manager.html#a94b085d9de512cd7e80bcefd516d460c":[1,0,0,3,6],
@ -126,7 +126,7 @@ var NAVTREEINDEX0 =
"classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0ad410f0b6f9dc2f2b271f9cf2fc78eb34":[1,0,0,3,0,2],
"classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0ad8a942ef2b04672adfafef0ad817a407":[1,0,0,3,0,3],
"classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0ae7009a5c717d5d4d361433a9915e697e":[1,0,0,3,0,5],
"classmonitor_1_1_destijl_command_manager.html#a9efdcd3d35f46329e7aa167ad60062a9":[1,0,0,3,29],
"classmonitor_1_1_destijl_command_manager.html#a9efdcd3d35f46329e7aa167ad60062a9":[1,0,0,3,28],
"classmonitor_1_1_destijl_command_manager.html#aa1440a571e6aaf11203b4e4a4ed116d5":[1,0,0,3,21],
"classmonitor_1_1_destijl_command_manager.html#ab83dbda4196240c242a5ac101901bb19":[1,0,0,3,14],
"classmonitor_1_1_destijl_command_manager.html#abc51dc980d7ba7e59a571e579cb626b9":[1,0,0,3,2],
@ -135,7 +135,6 @@ var NAVTREEINDEX0 =
"classmonitor_1_1_destijl_command_manager.html#acb242a71fa40d4001dc1bc31d5bdc53f":[1,0,0,3,23],
"classmonitor_1_1_destijl_command_manager.html#acc08ece6a89e842188364226299b3d43":[1,0,0,3,11],
"classmonitor_1_1_destijl_command_manager.html#ad04df7759d2698334a410fe32b78e21e":[1,0,0,3,7],
"classmonitor_1_1_destijl_command_manager.html#ad6fc73806e924e73dcf07c5cf3c81a66":[1,0,0,3,28],
"classmonitor_1_1_destijl_command_manager.html#ade46aceeb79556e31fe632e9602e1636":[1,0,0,3,26],
"classmonitor_1_1_destijl_command_manager.html#ae1af16558213c3830ea3006e8e8c5e28":[1,0,0,3,22],
"classmonitor_1_1_destijl_command_manager.html#af1f57d8e3e980322e37da2cd3b61d1d7":[1,0,0,3,10],

View file

@ -2,8 +2,7 @@ var searchData=
[
['sendcommand',['SendCommand',['../classmonitor_1_1_command_manager.html#a3cd1f2303e47e5148fd3e927a7957363',1,'monitor::CommandManager']]],
['serverconnected',['ServerConnected',['../class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3da911ba363fd1483b5b36fda7b0149cf76',1,'MainWindow']]],
['splitcommand',['SplitCommand',['../classmonitor_1_1_destijl_command_manager.html#ad6fc73806e924e73dcf07c5cf3c81a66',1,'monitor::DestijlCommandManager']]],
['stream',['stream',['../classmonitor_1_1_client.html#a8de2a9e4fe2c2e896849ddd33d80d759',1,'monitor::Client']]],
['success',['Success',['../classmonitor_1_1_destijl_command_manager.html#a9cb23e7493a32872ac808f3b63200fb0a505a83f220c02df2f85c3810cd9ceb38',1,'monitor::DestijlCommandManager']]],
['systemstate',['systemState',['../class_main_window.html#a105025ee1bdfac188f1ce640d593550d',1,'MainWindow.systemState()'],['../class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3d',1,'MainWindow.SystemState()']]]
['systemstate',['SystemState',['../class_main_window.html#a7b18ca1f8f71faf272c9856aaf7b8e3d',1,'MainWindow.SystemState()'],['../class_main_window.html#a105025ee1bdfac188f1ce640d593550d',1,'MainWindow.systemState()']]]
];

View file

@ -1,4 +1,4 @@
var searchData=
[
['timeout',['timeout',['../classmonitor_1_1_destijl_command_manager.html#a86a1fb03dc480dab8d6758aa0d675cd3',1,'monitor.DestijlCommandManager.timeout()'],['../classmonitor_1_1_command_manager.html#ac8ca53031468acc8be05c37586671a9bac85a251cc457840f1e032f1b733e9398',1,'monitor.CommandManager.Timeout()']]]
['timeout',['Timeout',['../classmonitor_1_1_command_manager.html#ac8ca53031468acc8be05c37586671a9bac85a251cc457840f1e032f1b733e9398',1,'monitor.CommandManager.Timeout()'],['../classmonitor_1_1_destijl_command_manager.html#a86a1fb03dc480dab8d6758aa0d675cd3',1,'monitor.DestijlCommandManager.timeout()']]]
];

View file

@ -1,5 +1,4 @@
var searchData=
[
['sendcommand',['SendCommand',['../classmonitor_1_1_command_manager.html#a3cd1f2303e47e5148fd3e927a7957363',1,'monitor::CommandManager']]],
['splitcommand',['SplitCommand',['../classmonitor_1_1_destijl_command_manager.html#ad6fc73806e924e73dcf07c5cf3c81a66',1,'monitor::DestijlCommandManager']]]
['sendcommand',['SendCommand',['../classmonitor_1_1_command_manager.html#a3cd1f2303e47e5148fd3e927a7957363',1,'monitor::CommandManager']]]
];

View file

@ -4,11 +4,11 @@
\begin{DoxyCompactItemize}
\item
class \textbf{ monitor.\+Destijl\+Command\+List}
\item
\begin{DoxyCompactList}\small\item\em Commands and options parameters used in Destijl project when communicating with server \end{DoxyCompactList}\item
class \textbf{ monitor.\+Robot\+Command\+List}
\item
\begin{DoxyCompactList}\small\item\em Commands used for robot messages \end{DoxyCompactList}\item
class \textbf{ monitor.\+Destijl\+Command\+Manager}
\end{DoxyCompactItemize}
\begin{DoxyCompactList}\small\item\em Specialization class for command manager, which implemnent destijl protocol between monitor and server \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item

View file

@ -4,4 +4,4 @@
\begin{DoxyCompactItemize}
\item
class \textbf{ Main\+Window}
\begin{DoxyCompactList}\small\item\em Main window. \end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{DoxyCompactList}\small\item\em Main part of the program, behavior of main window \end{DoxyCompactList}\end{DoxyCompactItemize}

View file

@ -2,9 +2,9 @@
Here are the classes, structs, unions and interfaces with brief descriptions\+:\begin{DoxyCompactList}
\item\contentsline{section}{\textbf{ monitor.\+Client} \\*Static class for T\+CP client }{\pageref{classmonitor_1_1_client}}{}
\item\contentsline{section}{\textbf{ monitor.\+Command\+Manager} \\*Command Manager. Use for timeout managment during reception of data Used as intermediate layer between T\+CP client class (\doxyref{Client}{p.}{classmonitor_1_1_client}) and application level managment of command and answers }{\pageref{classmonitor_1_1_command_manager}}{}
\item\contentsline{section}{\textbf{ monitor.\+Destijl\+Command\+List} }{\pageref{classmonitor_1_1_destijl_command_list}}{}
\item\contentsline{section}{\textbf{ monitor.\+Destijl\+Command\+Manager} }{\pageref{classmonitor_1_1_destijl_command_manager}}{}
\item\contentsline{section}{\textbf{ monitor.\+Destijl\+Command\+List} \\*Commands and options parameters used in Destijl project when communicating with server }{\pageref{classmonitor_1_1_destijl_command_list}}{}
\item\contentsline{section}{\textbf{ monitor.\+Destijl\+Command\+Manager} \\*Specialization class for command manager, which implemnent destijl protocol between monitor and server }{\pageref{classmonitor_1_1_destijl_command_manager}}{}
\item\contentsline{section}{\textbf{ monitor.\+Main\+Class} }{\pageref{classmonitor_1_1_main_class}}{}
\item\contentsline{section}{\textbf{ Main\+Window} \\*Main window. }{\pageref{class_main_window}}{}
\item\contentsline{section}{\textbf{ monitor.\+Robot\+Command\+List} }{\pageref{classmonitor_1_1_robot_command_list}}{}
\item\contentsline{section}{\textbf{ Main\+Window} \\*Main part of the program, behavior of main window }{\pageref{class_main_window}}{}
\item\contentsline{section}{\textbf{ monitor.\+Robot\+Command\+List} \\*Commands used for robot messages }{\pageref{classmonitor_1_1_robot_command_list}}{}
\end{DoxyCompactList}

View file

@ -2,7 +2,7 @@
\label{class_main_window}\index{Main\+Window@{Main\+Window}}
Main window.
Main part of the program, behavior of main window
@ -16,8 +16,7 @@ Inheritance diagram for Main\+Window\+:\nopagebreak
\end{figure}
Collaboration diagram for Main\+Window\+:
\nopagebreak
Collaboration diagram for Main\+Window\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@ -28,72 +27,72 @@ Collaboration diagram for Main\+Window\+:
\begin{DoxyCompactItemize}
\item
\textbf{ Main\+Window} ()
\item
\begin{DoxyCompactList}\small\item\em Initializes a new instance of the \doxyref{Main\+Window}{p.}{class_main_window} class. \end{DoxyCompactList}\item
void \textbf{ Adjust\+Controls} ()
\item
\begin{DoxyCompactList}\small\item\em Make some adjustement to controls, like disabling some controls \end{DoxyCompactList}\item
void \textbf{ On\+Command\+Received\+Event} (string header, string data, byte[$\,$] buffer)
\end{DoxyCompactItemize}
\begin{DoxyCompactList}\small\item\em Callback called when new message is received from server \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item
void \textbf{ On\+Delete\+Event} (object sender, Delete\+Event\+Args a)
\item
\begin{DoxyCompactList}\small\item\em Callback called when delete event is sent by window \end{DoxyCompactList}\item
void \textbf{ On\+Quit\+Action\+Activated} (object sender, Event\+Args e)
\item
\begin{DoxyCompactList}\small\item\em Callback called by \char`\"{}quit\char`\"{} menu \end{DoxyCompactList}\item
void \textbf{ On\+Show\+Log\+Window\+Action\+Activated} (object sender, Event\+Args e)
\item
\begin{DoxyCompactList}\small\item\em Callback called by \char`\"{}show log\char`\"{} menu \end{DoxyCompactList}\item
void \textbf{ On\+Button\+Server\+Connection\+Clicked} (object sender, Event\+Args e)
\item
\begin{DoxyCompactList}\small\item\em Callback called by \char`\"{}button\+Server\+Connection\char`\"{} button \end{DoxyCompactList}\item
void \textbf{ On\+Button\+Robot\+Activation\+Clicked} (object sender, Event\+Args e)
\item
\begin{DoxyCompactList}\small\item\em Callback called when \char`\"{}button\+Robotactivation\char`\"{} is clicked \end{DoxyCompactList}\item
void \textbf{ On\+Button\+Mouv\+Clicked} (object sender, Event\+Args e)
\item
\begin{DoxyCompactList}\small\item\em Callback called when user click on direction button \end{DoxyCompactList}\item
void \textbf{ On\+Check\+Button\+Camera\+On\+Clicked} (object sender, Event\+Args e)
\item
\begin{DoxyCompactList}\small\item\em Callback called when checkbutton for camera is clicked \end{DoxyCompactList}\item
void \textbf{ On\+Check\+Button\+Robot\+Position\+Clicked} (object sender, Event\+Args e)
\item
\begin{DoxyCompactList}\small\item\em Callback called when checkbutton robot position is clicked \end{DoxyCompactList}\item
void \textbf{ On\+Drawing\+Area\+Camera\+Expose\+Event} (object o, Expose\+Event\+Args args)
\item
\begin{DoxyCompactList}\small\item\em Callback called when drawingarea need refresh \end{DoxyCompactList}\item
void \textbf{ Detect\+Arena} ()
\item
\begin{DoxyCompactList}\small\item\em Show a popup asking user to tell if arena is correct or not \end{DoxyCompactList}\item
void \textbf{ On\+Button\+Ask\+Arena\+Clicked} (object sender, Event\+Args e)
\end{DoxyCompactItemize}
\begin{DoxyCompactList}\small\item\em Callback called when \char`\"{}detect Arena \char`\"{} button is clicked \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Types}
\begin{DoxyCompactItemize}
\item
enum \textbf{ System\+State} \{ \textbf{ System\+State.\+Not\+Connected},
\textbf{ System\+State.\+Server\+Connected},
\textbf{ System\+State.\+Robot\+Connected}
\}
\}\begin{DoxyCompactList}\small\item\em List of availble state for the application \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item
void \textbf{ Change\+State} (\textbf{ System\+State} new\+State)
\item
\begin{DoxyCompactList}\small\item\em Method used to change controls visibility (greyed or not) depending on current state \end{DoxyCompactList}\item
void \textbf{ Message\+Popup} (Message\+Type type, Buttons\+Type buttons, string title, string message)
\item
\begin{DoxyCompactList}\small\item\em Display a popup message window \end{DoxyCompactList}\item
void \textbf{ On\+Battery\+Timer\+Elapsed} (object sender, System.\+Timers.\+Elapsed\+Event\+Args e)
\end{DoxyCompactItemize}
\begin{DoxyCompactList}\small\item\em Callback called when battery timer expired \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item
\textbf{ Destijl\+Command\+Manager} \textbf{ cmd\+Manager}
\item
\begin{DoxyCompactList}\small\item\em Destijl command manager reference \end{DoxyCompactList}\item
Pixbuf \textbf{ drawingarea\+Camera\+Pixbuf}
\item
\begin{DoxyCompactList}\small\item\em Pixbuffer used for displaying image \end{DoxyCompactList}\item
\textbf{ System\+State} \textbf{ system\+State} = \textbf{ System\+State.\+Not\+Connected}
\item
\begin{DoxyCompactList}\small\item\em The state of the system. Can take a value from System\+State \end{DoxyCompactList}\item
System.\+Timers.\+Timer \textbf{ battery\+Timer}
\end{DoxyCompactItemize}
\begin{DoxyCompactList}\small\item\em Timer for battery request \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection{Detailed Description}
Main window.
Main part of the program, behavior of main window
Definition at line 10 of file Monitor\+U\+I.\+cs.
Definition at line 32 of file Monitor\+U\+I.\+cs.
@ -104,6 +103,10 @@ Definition at line 10 of file Monitor\+U\+I.\+cs.
\subsubsection{System\+State}
{\footnotesize\ttfamily enum \textbf{ Main\+Window.\+System\+State}\hspace{0.3cm}{\ttfamily [strong]}, {\ttfamily [private]}}
List of availble state for the application
\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{Not\+Connected@{Not\+Connected}!Main\+Window@{Main\+Window}}\index{Main\+Window@{Main\+Window}!Not\+Connected@{Not\+Connected}}}\mbox{\label{class_main_window_a7b18ca1f8f71faf272c9856aaf7b8e3da4075072d219e061ca0f3124f8fbef463}}
Not\+Connected&\\
@ -120,7 +123,7 @@ Robot\+Connected&\\
\end{DoxyEnumFields}
Definition at line 15 of file Monitor\+U\+I.\+cs.
Definition at line 47 of file Monitor\+U\+I.\+cs.
@ -133,7 +136,11 @@ Definition at line 15 of file Monitor\+U\+I.\+cs.
Definition at line 25 of file Monitor\+U\+I.\+cs.
Initializes a new instance of the \doxyref{Main\+Window}{p.}{class_main_window} class.
Definition at line 67 of file Monitor\+U\+I.\+cs.
@ -146,7 +153,11 @@ Definition at line 25 of file Monitor\+U\+I.\+cs.
Definition at line 42 of file Monitor\+U\+I.\+cs.
Make some adjustement to controls, like disabling some controls
Definition at line 84 of file Monitor\+U\+I.\+cs.
\mbox{\label{class_main_window_aedc27cabbe1604313a452fcbf3ffe9f4}}
\index{Main\+Window@{Main\+Window}!Change\+State@{Change\+State}}
@ -156,7 +167,16 @@ Definition at line 42 of file Monitor\+U\+I.\+cs.
Definition at line 54 of file Monitor\+U\+I.\+cs.
Method used to change controls visibility (greyed or not) depending on current state
\begin{DoxyParams}{Parameters}
{\em new\+State} & New state\\
\hline
\end{DoxyParams}
Definition at line 103 of file Monitor\+U\+I.\+cs.
\mbox{\label{class_main_window_a89c79ce9ca4114ca9c50f32dc080e9cd}}
\index{Main\+Window@{Main\+Window}!Detect\+Arena@{Detect\+Arena}}
@ -166,7 +186,11 @@ Definition at line 54 of file Monitor\+U\+I.\+cs.
Definition at line 467 of file Monitor\+U\+I.\+cs.
Show a popup asking user to tell if arena is correct or not
Definition at line 610 of file Monitor\+U\+I.\+cs.
\mbox{\label{class_main_window_afc4f923aaa481a93dddaff6303efb9e0}}
\index{Main\+Window@{Main\+Window}!Message\+Popup@{Message\+Popup}}
@ -176,7 +200,22 @@ Definition at line 467 of file Monitor\+U\+I.\+cs.
Definition at line 120 of file Monitor\+U\+I.\+cs.
Display a popup message window
\begin{DoxyParams}{Parameters}
{\em type} & Type of popup window (question, error, information,...)\\
\hline
{\em buttons} & Buttons available on popup window\\
\hline
{\em title} & Title of window\\
\hline
{\em message} & Message\\
\hline
\end{DoxyParams}
Definition at line 176 of file Monitor\+U\+I.\+cs.
\mbox{\label{class_main_window_af303b70c08cda04a76f6418f727c4891}}
\index{Main\+Window@{Main\+Window}!On\+Battery\+Timer\+Elapsed@{On\+Battery\+Timer\+Elapsed}}
@ -186,7 +225,18 @@ Definition at line 120 of file Monitor\+U\+I.\+cs.
Definition at line 343 of file Monitor\+U\+I.\+cs.
Callback called when battery timer expired
\begin{DoxyParams}{Parameters}
{\em sender} & Sender object\\
\hline
{\em e} & Event\\
\hline
\end{DoxyParams}
Definition at line 457 of file Monitor\+U\+I.\+cs.
\mbox{\label{class_main_window_a31e299085d6286d680bd488c73fdff82}}
\index{Main\+Window@{Main\+Window}!On\+Button\+Ask\+Arena\+Clicked@{On\+Button\+Ask\+Arena\+Clicked}}
@ -196,7 +246,18 @@ Definition at line 343 of file Monitor\+U\+I.\+cs.
Definition at line 496 of file Monitor\+U\+I.\+cs.
Callback called when \char`\"{}detect Arena \char`\"{} button is clicked
\begin{DoxyParams}{Parameters}
{\em sender} & Sender object\\
\hline
{\em e} & Event\\
\hline
\end{DoxyParams}
Definition at line 644 of file Monitor\+U\+I.\+cs.
\mbox{\label{class_main_window_a7f8d06747f887216ab8c941ad10cb48b}}
\index{Main\+Window@{Main\+Window}!On\+Button\+Mouv\+Clicked@{On\+Button\+Mouv\+Clicked}}
@ -206,7 +267,18 @@ Definition at line 496 of file Monitor\+U\+I.\+cs.
Definition at line 319 of file Monitor\+U\+I.\+cs.
Callback called when user click on direction button
\begin{DoxyParams}{Parameters}
{\em sender} & Sender button\\
\hline
{\em e} & Event\\
\hline
\end{DoxyParams}
Definition at line 427 of file Monitor\+U\+I.\+cs.
\mbox{\label{class_main_window_a2b5e11a49a10b24c59bebb377cdfeae8}}
\index{Main\+Window@{Main\+Window}!On\+Button\+Robot\+Activation\+Clicked@{On\+Button\+Robot\+Activation\+Clicked}}
@ -216,7 +288,18 @@ Definition at line 319 of file Monitor\+U\+I.\+cs.
Definition at line 264 of file Monitor\+U\+I.\+cs.
Callback called when \char`\"{}button\+Robotactivation\char`\"{} is clicked
\begin{DoxyParams}{Parameters}
{\em sender} & Sender object\\
\hline
{\em e} & Event\\
\hline
\end{DoxyParams}
Definition at line 363 of file Monitor\+U\+I.\+cs.
\mbox{\label{class_main_window_ac0acc6c3a63f405f14ec8e4d132a2661}}
\index{Main\+Window@{Main\+Window}!On\+Button\+Server\+Connection\+Clicked@{On\+Button\+Server\+Connection\+Clicked}}
@ -226,7 +309,18 @@ Definition at line 264 of file Monitor\+U\+I.\+cs.
Definition at line 194 of file Monitor\+U\+I.\+cs.
Callback called by \char`\"{}button\+Server\+Connection\char`\"{} button
\begin{DoxyParams}{Parameters}
{\em sender} & Sender object\\
\hline
{\em e} & Event\\
\hline
\end{DoxyParams}
Definition at line 282 of file Monitor\+U\+I.\+cs.
\mbox{\label{class_main_window_af4b587cdd614d5bdb8d9158a1f59e4fa}}
\index{Main\+Window@{Main\+Window}!On\+Check\+Button\+Camera\+On\+Clicked@{On\+Check\+Button\+Camera\+On\+Clicked}}
@ -236,7 +330,18 @@ Definition at line 194 of file Monitor\+U\+I.\+cs.
Definition at line 379 of file Monitor\+U\+I.\+cs.
Callback called when checkbutton for camera is clicked
\begin{DoxyParams}{Parameters}
{\em sender} & Sender object\\
\hline
{\em e} & Event\\
\hline
\end{DoxyParams}
Definition at line 501 of file Monitor\+U\+I.\+cs.
\mbox{\label{class_main_window_a20d07605619027d82a30552f294b128f}}
\index{Main\+Window@{Main\+Window}!On\+Check\+Button\+Robot\+Position\+Clicked@{On\+Check\+Button\+Robot\+Position\+Clicked}}
@ -246,7 +351,18 @@ Definition at line 379 of file Monitor\+U\+I.\+cs.
Definition at line 402 of file Monitor\+U\+I.\+cs.
Callback called when checkbutton robot position is clicked
\begin{DoxyParams}{Parameters}
{\em sender} & Sender object\\
\hline
{\em e} & Event\\
\hline
\end{DoxyParams}
Definition at line 530 of file Monitor\+U\+I.\+cs.
\mbox{\label{class_main_window_a4b651f10b9079c128b9e36d15ad10211}}
\index{Main\+Window@{Main\+Window}!On\+Command\+Received\+Event@{On\+Command\+Received\+Event}}
@ -256,7 +372,20 @@ Definition at line 402 of file Monitor\+U\+I.\+cs.
Definition at line 140 of file Monitor\+U\+I.\+cs.
Callback called when new message is received from server
\begin{DoxyParams}{Parameters}
{\em header} & Header of message\\
\hline
{\em data} & Data of message\\
\hline
{\em buffer} & Raw buffer corresponding of received message\\
\hline
\end{DoxyParams}
Definition at line 207 of file Monitor\+U\+I.\+cs.
\mbox{\label{class_main_window_a64bdcb29cebb58957790da1ee2733fe1}}
\index{Main\+Window@{Main\+Window}!On\+Delete\+Event@{On\+Delete\+Event}}
@ -266,7 +395,18 @@ Definition at line 140 of file Monitor\+U\+I.\+cs.
Definition at line 131 of file Monitor\+U\+I.\+cs.
Callback called when delete event is sent by window
\begin{DoxyParams}{Parameters}
{\em sender} & Sender object\\
\hline
{\em a} & Not really sure of what it is...\\
\hline
\end{DoxyParams}
Definition at line 192 of file Monitor\+U\+I.\+cs.
\mbox{\label{class_main_window_afe4b0001f191554aed5d9b65208a06f5}}
\index{Main\+Window@{Main\+Window}!On\+Drawing\+Area\+Camera\+Expose\+Event@{On\+Drawing\+Area\+Camera\+Expose\+Event}}
@ -276,7 +416,18 @@ Definition at line 131 of file Monitor\+U\+I.\+cs.
Definition at line 426 of file Monitor\+U\+I.\+cs.
Callback called when drawingarea need refresh
\begin{DoxyParams}{Parameters}
{\em o} & Sender object\\
\hline
{\em args} & Expose arguments\\
\hline
\end{DoxyParams}
Definition at line 560 of file Monitor\+U\+I.\+cs.
\mbox{\label{class_main_window_ab54b643c364b46a150f6f993267bb709}}
\index{Main\+Window@{Main\+Window}!On\+Quit\+Action\+Activated@{On\+Quit\+Action\+Activated}}
@ -286,7 +437,18 @@ Definition at line 426 of file Monitor\+U\+I.\+cs.
Definition at line 179 of file Monitor\+U\+I.\+cs.
Callback called by \char`\"{}quit\char`\"{} menu
\begin{DoxyParams}{Parameters}
{\em sender} & Sender object\\
\hline
{\em e} & Event\\
\hline
\end{DoxyParams}
Definition at line 257 of file Monitor\+U\+I.\+cs.
\mbox{\label{class_main_window_a87132738a6ca496303940d56e091bdc7}}
\index{Main\+Window@{Main\+Window}!On\+Show\+Log\+Window\+Action\+Activated@{On\+Show\+Log\+Window\+Action\+Activated}}
@ -296,7 +458,18 @@ Definition at line 179 of file Monitor\+U\+I.\+cs.
Definition at line 187 of file Monitor\+U\+I.\+cs.
Callback called by \char`\"{}show log\char`\"{} menu
\begin{DoxyParams}{Parameters}
{\em sender} & Sender object\\
\hline
{\em e} & Event\\
\hline
\end{DoxyParams}
Definition at line 270 of file Monitor\+U\+I.\+cs.
@ -309,7 +482,11 @@ Definition at line 187 of file Monitor\+U\+I.\+cs.
Definition at line 23 of file Monitor\+U\+I.\+cs.
Timer for battery request
Definition at line 62 of file Monitor\+U\+I.\+cs.
\mbox{\label{class_main_window_a0b60450970b8a6fb6e016d5c0728e474}}
\index{Main\+Window@{Main\+Window}!cmd\+Manager@{cmd\+Manager}}
@ -319,7 +496,11 @@ Definition at line 23 of file Monitor\+U\+I.\+cs.
Definition at line 12 of file Monitor\+U\+I.\+cs.
Destijl command manager reference
Definition at line 37 of file Monitor\+U\+I.\+cs.
\mbox{\label{class_main_window_a41581e449b18e87acbdff5baa12c2050}}
\index{Main\+Window@{Main\+Window}!drawingarea\+Camera\+Pixbuf@{drawingarea\+Camera\+Pixbuf}}
@ -329,7 +510,11 @@ Definition at line 12 of file Monitor\+U\+I.\+cs.
Definition at line 13 of file Monitor\+U\+I.\+cs.
Pixbuffer used for displaying image
Definition at line 42 of file Monitor\+U\+I.\+cs.
\mbox{\label{class_main_window_a105025ee1bdfac188f1ce640d593550d}}
\index{Main\+Window@{Main\+Window}!system\+State@{system\+State}}
@ -339,7 +524,11 @@ Definition at line 13 of file Monitor\+U\+I.\+cs.
Definition at line 22 of file Monitor\+U\+I.\+cs.
The state of the system. Can take a value from System\+State
Definition at line 57 of file Monitor\+U\+I.\+cs.

View file

@ -1 +1 @@
c20ca9089172666b84d587afdb1b0351
218bd38564ff52f8085404902688498b

View file

@ -69,7 +69,7 @@ Static class for T\+CP client
Definition at line 10 of file Client.\+cs.
Definition at line 31 of file Client.\+cs.
@ -86,7 +86,7 @@ Close connection to server
Definition at line 120 of file Client.\+cs.
Definition at line 141 of file Client.\+cs.
\mbox{\label{classmonitor_1_1_client_af802cd428aa08b9604e2246f11e1fe61}}
\index{monitor\+::\+Client@{monitor\+::\+Client}!Open@{Open}}
@ -108,7 +108,7 @@ true if connection succeded, false otherwise
\end{DoxyParams}
Definition at line 68 of file Client.\+cs.
Definition at line 89 of file Client.\+cs.
\mbox{\label{classmonitor_1_1_client_aee6f8f594a9496600b78c37d6da457d4}}
\index{monitor\+::\+Client@{monitor\+::\+Client}!Open@{Open}}
@ -132,7 +132,7 @@ true if connection succeded, false otherwise
\end{DoxyParams}
Definition at line 79 of file Client.\+cs.
Definition at line 100 of file Client.\+cs.
\mbox{\label{classmonitor_1_1_client_a8dd2eb26c164d0f566dd6c679ba340e0}}
\index{monitor\+::\+Client@{monitor\+::\+Client}!Read\+Callback@{Read\+Callback}}
@ -151,7 +151,7 @@ Callback call by stream.\+Begin\+Read after reception of new\+Length data
\end{DoxyParams}
Definition at line 130 of file Client.\+cs.
Definition at line 151 of file Client.\+cs.
\mbox{\label{classmonitor_1_1_client_ae85f4aa567a41488d5c65e470ae15378}}
\index{monitor\+::\+Client@{monitor\+::\+Client}!Read\+Event@{Read\+Event}}
@ -183,7 +183,7 @@ Nothing
\end{DoxyParams}
Definition at line 198 of file Client.\+cs.
Definition at line 219 of file Client.\+cs.
@ -200,7 +200,7 @@ Internal buffer used when reading data from server
Definition at line 40 of file Client.\+cs.
Definition at line 61 of file Client.\+cs.
\mbox{\label{classmonitor_1_1_client_acbc4cae14536eccb5297aacdadb84f29}}
\index{monitor\+::\+Client@{monitor\+::\+Client}!Buffer\+Max\+Size@{Buffer\+Max\+Size}}
@ -214,7 +214,7 @@ Size of internal buffer used when reading data from server
Definition at line 35 of file Client.\+cs.
Definition at line 56 of file Client.\+cs.
\mbox{\label{classmonitor_1_1_client_a4867b48ebfa930a80662c552f2911430}}
\index{monitor\+::\+Client@{monitor\+::\+Client}!client@{client}}
@ -228,7 +228,7 @@ Tcp client object
Definition at line 25 of file Client.\+cs.
Definition at line 46 of file Client.\+cs.
\mbox{\label{classmonitor_1_1_client_a326a20fe68a86757e16a6e45b8012640}}
\index{monitor\+::\+Client@{monitor\+::\+Client}!default\+IP@{default\+IP}}
@ -242,7 +242,7 @@ Default server name
Definition at line 15 of file Client.\+cs.
Definition at line 36 of file Client.\+cs.
\mbox{\label{classmonitor_1_1_client_ad0a9bfc361ccef7443625f399e67f84a}}
\index{monitor\+::\+Client@{monitor\+::\+Client}!default\+Port@{default\+Port}}
@ -256,7 +256,7 @@ Default server port number
Definition at line 20 of file Client.\+cs.
Definition at line 41 of file Client.\+cs.
\mbox{\label{classmonitor_1_1_client_afbbf4cf14d1a11747f6103e726dee77e}}
\index{monitor\+::\+Client@{monitor\+::\+Client}!initial\+Receive\+Buffer\+Index@{initial\+Receive\+Buffer\+Index}}
@ -266,7 +266,7 @@ Definition at line 20 of file Client.\+cs.
Definition at line 48 of file Client.\+cs.
Definition at line 69 of file Client.\+cs.
\mbox{\label{classmonitor_1_1_client_a2ddb7073c4bf8a42c231939d5c21d68e}}
\index{monitor\+::\+Client@{monitor\+::\+Client}!message@{message}}
@ -280,7 +280,7 @@ String containing received message from tcp server
Definition at line 53 of file Client.\+cs.
Definition at line 74 of file Client.\+cs.
\mbox{\label{classmonitor_1_1_client_a7083940b8fea9df2b080e3844549e805}}
\index{monitor\+::\+Client@{monitor\+::\+Client}!new\+Length@{new\+Length}}
@ -290,7 +290,7 @@ Definition at line 53 of file Client.\+cs.
Definition at line 54 of file Client.\+cs.
Definition at line 75 of file Client.\+cs.
\mbox{\label{classmonitor_1_1_client_a7eb13840c83beb2ab191cae3ba3210c9}}
\index{monitor\+::\+Client@{monitor\+::\+Client}!packet\+Counter@{packet\+Counter}}
@ -300,7 +300,7 @@ Definition at line 54 of file Client.\+cs.
Definition at line 55 of file Client.\+cs.
Definition at line 76 of file Client.\+cs.
\mbox{\label{classmonitor_1_1_client_a01cb2a551d81fd82d2f7015e177f0f18}}
\index{monitor\+::\+Client@{monitor\+::\+Client}!read\+Event@{read\+Event}}
@ -310,7 +310,7 @@ Definition at line 55 of file Client.\+cs.
Definition at line 61 of file Client.\+cs.
Definition at line 82 of file Client.\+cs.
\mbox{\label{classmonitor_1_1_client_aade32a6043e0dc629509f0e1c0112a24}}
\index{monitor\+::\+Client@{monitor\+::\+Client}!receive\+Buffer@{receive\+Buffer}}
@ -324,7 +324,7 @@ buffer containing received message from T\+CP server Used to concatenate interna
Definition at line 46 of file Client.\+cs.
Definition at line 67 of file Client.\+cs.
\mbox{\label{classmonitor_1_1_client_a8de2a9e4fe2c2e896849ddd33d80d759}}
\index{monitor\+::\+Client@{monitor\+::\+Client}!stream@{stream}}
@ -338,7 +338,7 @@ Stream object used for communication
Definition at line 30 of file Client.\+cs.
Definition at line 51 of file Client.\+cs.

View file

@ -7,8 +7,7 @@ Command Manager. Use for timeout managment during reception of data Used as inte
Collaboration diagram for monitor.\+Command\+Manager\+:
\nopagebreak
Collaboration diagram for monitor.\+Command\+Manager\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@ -72,7 +71,7 @@ Command Manager. Use for timeout managment during reception of data Used as inte
Definition at line 10 of file Command\+Manager.\+cs.
Definition at line 31 of file Command\+Manager.\+cs.
@ -103,7 +102,7 @@ Busy&\\
\end{DoxyEnumFields}
Definition at line 42 of file Command\+Manager.\+cs.
Definition at line 63 of file Command\+Manager.\+cs.
@ -125,7 +124,7 @@ Initializes a new instance of the T\+:monitor.\+Command\+Manager class.
\end{DoxyParams}
Definition at line 53 of file Command\+Manager.\+cs.
Definition at line 74 of file Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_command_manager_ad2a8eb1139a5a25a6993887c55b3da4e}}
\index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!````~Command\+Manager@{$\sim$\+Command\+Manager}}
@ -139,7 +138,7 @@ Releases unmanaged resources and performs other cleanup operations before the T\
Definition at line 65 of file Command\+Manager.\+cs.
Definition at line 86 of file Command\+Manager.\+cs.
@ -156,7 +155,7 @@ Close connection to server
Definition at line 94 of file Command\+Manager.\+cs.
Definition at line 115 of file Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_command_manager_a5afd16036cc3d0e69554f69dacad0bcc}}
\index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!Command\+Received\+Event@{Command\+Received\+Event}}
@ -187,7 +186,7 @@ Callback called by \doxyref{Client}{p.}{classmonitor_1_1_client} class after rec
\end{DoxyParams}
Definition at line 104 of file Command\+Manager.\+cs.
Definition at line 125 of file Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_command_manager_a2f91bb775ba25855be007886b994a5df}}
\index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!On\+Message\+Timeout@{On\+Message\+Timeout}}
@ -208,7 +207,7 @@ Callback called by stopwatch on timeout
\end{DoxyParams}
Definition at line 135 of file Command\+Manager.\+cs.
Definition at line 156 of file Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_command_manager_a7329cbf8008bcb8a0280aa7ffa6aa43c}}
\index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!Open@{Open}}
@ -230,7 +229,7 @@ true if connection succeded, false otherwise
\end{DoxyParams}
Definition at line 75 of file Command\+Manager.\+cs.
Definition at line 96 of file Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_command_manager_a0a0054ee87d293577fa39af1fcd5ffee}}
\index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!Open@{Open}}
@ -254,7 +253,7 @@ true if connection succeded, false otherwise
\end{DoxyParams}
Definition at line 86 of file Command\+Manager.\+cs.
Definition at line 107 of file Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_command_manager_a3cd1f2303e47e5148fd3e927a7957363}}
\index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!Send\+Command@{Send\+Command}}
@ -280,7 +279,7 @@ status that is part of Command\+Manager\+Status enumerate
\end{DoxyParams}
Definition at line 150 of file Command\+Manager.\+cs.
Definition at line 171 of file Command\+Manager.\+cs.
@ -293,7 +292,7 @@ Definition at line 150 of file Command\+Manager.\+cs.
Definition at line 16 of file Command\+Manager.\+cs.
Definition at line 37 of file Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_command_manager_aea039cd0f99f5193c307b805077669db}}
\index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!is\+Busy@{is\+Busy}}
@ -307,7 +306,7 @@ flag indicating command manager is currently busy waiting an acknowledge
Definition at line 37 of file Command\+Manager.\+cs.
Definition at line 58 of file Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_command_manager_aa610e72e8f23f0d26388f204c848ed57}}
\index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!message\+Received@{message\+Received}}
@ -321,7 +320,7 @@ received message
Definition at line 32 of file Command\+Manager.\+cs.
Definition at line 53 of file Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_command_manager_a0d27eb1a38efb01559f14a707ff86447}}
\index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!wait\+Event@{wait\+Event}}
@ -331,7 +330,7 @@ Definition at line 32 of file Command\+Manager.\+cs.
Definition at line 22 of file Command\+Manager.\+cs.
Definition at line 43 of file Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_command_manager_a39c2c03f93b309e65a45ac91c6eb39bd}}
\index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!wait\+For\+Acknowledge@{wait\+For\+Acknowledge}}
@ -345,7 +344,7 @@ Flag to tell rogram to wait for an acknowledge from server
Definition at line 27 of file Command\+Manager.\+cs.
Definition at line 48 of file Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_command_manager_a07639cd39445a379667a2450e78001b0}}
\index{monitor\+::\+Command\+Manager@{monitor\+::\+Command\+Manager}!wait\+Timer@{wait\+Timer}}
@ -359,7 +358,7 @@ Timer for managing timeout
Definition at line 21 of file Command\+Manager.\+cs.
Definition at line 42 of file Command\+Manager.\+cs.

View file

@ -1,5 +1,10 @@
\section{monitor.\+Destijl\+Command\+List Class Reference}
\label{classmonitor_1_1_destijl_command_list}\index{monitor.\+Destijl\+Command\+List@{monitor.\+Destijl\+Command\+List}}
Commands and options parameters used in Destijl project when communicating with server
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item
@ -46,9 +51,11 @@ const string \textbf{ Header\+Stm\+Bat} = \char`\"{}B\+AT\char`\"{}
\subsection{Detailed Description}
Commands and options parameters used in Destijl project when communicating with server
Definition at line 5 of file Destijl\+Command\+Manager.\+cs.
Definition at line 29 of file Destijl\+Command\+Manager.\+cs.
@ -61,7 +68,7 @@ Definition at line 5 of file Destijl\+Command\+Manager.\+cs.
Definition at line 18 of file Destijl\+Command\+Manager.\+cs.
Definition at line 42 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_aaaf85677671db1ef84fe67b2eb954f29}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Data\+Cam\+Ask\+Arena@{Data\+Cam\+Ask\+Arena}}
@ -71,7 +78,7 @@ Definition at line 18 of file Destijl\+Command\+Manager.\+cs.
Definition at line 17 of file Destijl\+Command\+Manager.\+cs.
Definition at line 41 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_a6f578f9d52dd2b50370177a5c03a2af7}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Data\+Cam\+Close@{Data\+Cam\+Close}}
@ -81,7 +88,7 @@ Definition at line 17 of file Destijl\+Command\+Manager.\+cs.
Definition at line 16 of file Destijl\+Command\+Manager.\+cs.
Definition at line 40 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_ab114adce60b63976d8304f2ad11b317a}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Data\+Cam\+Compute\+Position@{Data\+Cam\+Compute\+Position}}
@ -91,7 +98,7 @@ Definition at line 16 of file Destijl\+Command\+Manager.\+cs.
Definition at line 20 of file Destijl\+Command\+Manager.\+cs.
Definition at line 44 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_ad3985694a06148f2014cb346e8891cba}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Data\+Cam\+Infirm@{Data\+Cam\+Infirm}}
@ -101,7 +108,7 @@ Definition at line 20 of file Destijl\+Command\+Manager.\+cs.
Definition at line 19 of file Destijl\+Command\+Manager.\+cs.
Definition at line 43 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_a6380d1518931373bd0dfb84f888942e0}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Data\+Cam\+Open@{Data\+Cam\+Open}}
@ -111,7 +118,7 @@ Definition at line 19 of file Destijl\+Command\+Manager.\+cs.
Definition at line 15 of file Destijl\+Command\+Manager.\+cs.
Definition at line 39 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_ad09dd921c6c8cf8c7d90a2c0a05d4056}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Data\+Cam\+Stop\+Compute\+Position@{Data\+Cam\+Stop\+Compute\+Position}}
@ -121,7 +128,7 @@ Definition at line 15 of file Destijl\+Command\+Manager.\+cs.
Definition at line 21 of file Destijl\+Command\+Manager.\+cs.
Definition at line 45 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_ad97cbe948c71a4dc3fa95afbf9ca26d8}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Data\+Com\+Close@{Data\+Com\+Close}}
@ -131,7 +138,7 @@ Definition at line 21 of file Destijl\+Command\+Manager.\+cs.
Definition at line 13 of file Destijl\+Command\+Manager.\+cs.
Definition at line 37 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_a1bcde55da429bcf2c04ed6d0621e496f}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Data\+Com\+Open@{Data\+Com\+Open}}
@ -141,7 +148,7 @@ Definition at line 13 of file Destijl\+Command\+Manager.\+cs.
Definition at line 12 of file Destijl\+Command\+Manager.\+cs.
Definition at line 36 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_af570b0e8d14920402ce979778225ed68}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Mts\+Camera@{Header\+Mts\+Camera}}
@ -151,7 +158,7 @@ Definition at line 12 of file Destijl\+Command\+Manager.\+cs.
Definition at line 9 of file Destijl\+Command\+Manager.\+cs.
Definition at line 33 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_aa9fe4e71b7faec183ab64f4cf6ecd395}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Mts\+Com\+Dmb@{Header\+Mts\+Com\+Dmb}}
@ -161,7 +168,7 @@ Definition at line 9 of file Destijl\+Command\+Manager.\+cs.
Definition at line 7 of file Destijl\+Command\+Manager.\+cs.
Definition at line 31 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_adbcf7adab9f5e8ead971affbbc64178b}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Mts\+Dmb\+Order@{Header\+Mts\+Dmb\+Order}}
@ -171,7 +178,7 @@ Definition at line 7 of file Destijl\+Command\+Manager.\+cs.
Definition at line 8 of file Destijl\+Command\+Manager.\+cs.
Definition at line 32 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_acb283f1da96d8d522e3b28ca35187acd}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Mts\+Message@{Header\+Mts\+Message}}
@ -181,7 +188,7 @@ Definition at line 8 of file Destijl\+Command\+Manager.\+cs.
Definition at line 10 of file Destijl\+Command\+Manager.\+cs.
Definition at line 34 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_af494d7e1bddee8184873dc380a3066ba}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Stm\+Ack@{Header\+Stm\+Ack}}
@ -191,7 +198,7 @@ Definition at line 10 of file Destijl\+Command\+Manager.\+cs.
Definition at line 23 of file Destijl\+Command\+Manager.\+cs.
Definition at line 47 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_a88de91fa6abdc122245ceb26fc21fd33}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Stm\+Bat@{Header\+Stm\+Bat}}
@ -201,7 +208,7 @@ Definition at line 23 of file Destijl\+Command\+Manager.\+cs.
Definition at line 29 of file Destijl\+Command\+Manager.\+cs.
Definition at line 53 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_ae3ee8e0ecbb79faec9d24095d72cfbde}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Stm\+Image@{Header\+Stm\+Image}}
@ -211,7 +218,7 @@ Definition at line 29 of file Destijl\+Command\+Manager.\+cs.
Definition at line 26 of file Destijl\+Command\+Manager.\+cs.
Definition at line 50 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_a54e9ebd5e8f34ac596b84b56bb2403f7}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Stm\+Lost\+Dmb@{Header\+Stm\+Lost\+Dmb}}
@ -221,7 +228,7 @@ Definition at line 26 of file Destijl\+Command\+Manager.\+cs.
Definition at line 25 of file Destijl\+Command\+Manager.\+cs.
Definition at line 49 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_ad1fa4557b2d44dd888d8640f374c9f04}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Stm\+Mes@{Header\+Stm\+Mes}}
@ -231,7 +238,7 @@ Definition at line 25 of file Destijl\+Command\+Manager.\+cs.
Definition at line 28 of file Destijl\+Command\+Manager.\+cs.
Definition at line 52 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_ae3dc86c7e90bba409317e63cf1c85a39}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Stm\+No\+Ack@{Header\+Stm\+No\+Ack}}
@ -241,7 +248,7 @@ Definition at line 28 of file Destijl\+Command\+Manager.\+cs.
Definition at line 24 of file Destijl\+Command\+Manager.\+cs.
Definition at line 48 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_list_abf99a718161a5a9017d7011cea429ec0}}
\index{monitor\+::\+Destijl\+Command\+List@{monitor\+::\+Destijl\+Command\+List}!Header\+Stm\+Pos@{Header\+Stm\+Pos}}
@ -251,7 +258,7 @@ Definition at line 24 of file Destijl\+Command\+Manager.\+cs.
Definition at line 27 of file Destijl\+Command\+Manager.\+cs.
Definition at line 51 of file Destijl\+Command\+Manager.\+cs.

View file

@ -2,8 +2,12 @@
\label{classmonitor_1_1_destijl_command_manager}\index{monitor.\+Destijl\+Command\+Manager@{monitor.\+Destijl\+Command\+Manager}}
Collaboration diagram for monitor.\+Destijl\+Command\+Manager\+:
\nopagebreak
Specialization class for command manager, which implemnent destijl protocol between monitor and server
Collaboration diagram for monitor.\+Destijl\+Command\+Manager\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@ -21,92 +25,92 @@ enum \textbf{ Command\+Status} \{ \newline
\newline
\textbf{ Command\+Status.\+Communication\+Lost\+With\+Robot},
\textbf{ Command\+Status.\+Communication\+Lost\+With\+Server}
\}
\}\begin{DoxyCompactList}\small\item\em List of available return status \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
delegate void \textbf{ Command\+Received\+Event} (string header, string data, byte[$\,$] buffer)
\item
\begin{DoxyCompactList}\small\item\em Callback for sending received data to application level \end{DoxyCompactList}\item
\textbf{ Destijl\+Command\+Manager} (\textbf{ Command\+Received\+Event} callback)
\item
\begin{DoxyCompactList}\small\item\em Initializes a new instance of the \doxyref{monitor.\+Destijl\+Command\+Manager}{p.}{classmonitor_1_1_destijl_command_manager} class. \end{DoxyCompactList}\item
bool \textbf{ Open} (string hostname)
\item
\begin{DoxyCompactList}\small\item\em Open the specified hostname server, using default port number. \end{DoxyCompactList}\item
bool \textbf{ Open} (string hostname, int port)
\item
\begin{DoxyCompactList}\small\item\em Open connection to server \char`\"{}host\char`\"{}, with port number \char`\"{}port\char`\"{} \end{DoxyCompactList}\item
void \textbf{ Close} ()
\item
\begin{DoxyCompactList}\small\item\em Close connection to server \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Robot\+Open\+Com} ()
\item
\begin{DoxyCompactList}\small\item\em Open communication with robot and wait acknowledge \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Robot\+Close\+Com} ()
\item
\begin{DoxyCompactList}\small\item\em Close communication with robot and wait acknowledge \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Robot\+Ping} ()
\item
\begin{DoxyCompactList}\small\item\em Ping the robot. \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Robot\+Reset} ()
\item
\begin{DoxyCompactList}\small\item\em Reset robot and let it in idle mode \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Robot\+Start\+With\+Watchdog} ()
\item
\begin{DoxyCompactList}\small\item\em Start robot, enabling watchdog \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Robot\+Start\+Without\+Watchdog} ()
\item
\begin{DoxyCompactList}\small\item\em Start robot, without enabling watchdog \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Robot\+Move} (int distance)
\item
\begin{DoxyCompactList}\small\item\em Move robot forward or backward, for a distance expressed in millimeter \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Robot\+Turn} (int angle)
\item
\begin{DoxyCompactList}\small\item\em Make robot turn left or right, for a given angle \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Robot\+Get\+Battery} ()
\item
\begin{DoxyCompactList}\small\item\em Request robot battery level \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Robot\+Get\+Version} (out string version)
\item
\begin{DoxyCompactList}\small\item\em Request robot firmware version \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Robot\+Power\+Off} ()
\item
\begin{DoxyCompactList}\small\item\em Power off robot \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Camera\+Open} ()
\item
\begin{DoxyCompactList}\small\item\em Open camera on remote device \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Camera\+Close} ()
\item
\begin{DoxyCompactList}\small\item\em Close camera on remote device \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Camera\+Ask\+Arena} ()
\item
\begin{DoxyCompactList}\small\item\em Request still image of detected arena \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Camera\+Arena\+Confirm} ()
\item
\begin{DoxyCompactList}\small\item\em Confirm arena detection (after requesting image of detected arena, using Camera\+Ask\+Arena \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Camera\+Arena\+Infirm} ()
\item
\begin{DoxyCompactList}\small\item\em Reject arena detected (after requesting image of detected arena, using Camera\+Ask\+Arena \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Camera\+Compute\+Position} ()
\item
\begin{DoxyCompactList}\small\item\em Request robot position computing \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Camera\+Stop\+Compute\+Position} ()
\end{DoxyCompactItemize}
\begin{DoxyCompactList}\small\item\em Stop robot position computing \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item
\textbf{ Command\+Received\+Event} \textbf{ command\+Received\+Event} = null
\item
double \textbf{ timeout} = 100
\end{DoxyCompactItemize}
\begin{DoxyCompactList}\small\item\em Timeout used for command with acknowledge \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item
\textbf{ $\sim$\+Destijl\+Command\+Manager} ()
\item
\begin{DoxyCompactList}\small\item\em Releases unmanaged resources and performs other cleanup operations before the \doxyref{monitor.\+Destijl\+Command\+Manager}{p.}{classmonitor_1_1_destijl_command_manager} is reclaimed by garbage collection. \end{DoxyCompactList}\item
void \textbf{ On\+Command\+Received} (string msg, byte[$\,$] buffer)
\item
\begin{DoxyCompactList}\small\item\em Callback used for receiving data from lower layer (\doxyref{Command\+Manager}{p.}{classmonitor_1_1_command_manager} class) \end{DoxyCompactList}\item
string \textbf{ Create\+Command} (string header, string data)
\item
void \textbf{ Split\+Command} (string cmd, out string header, out string data)
\item
\begin{DoxyCompactList}\small\item\em Creates the command to send to server, based on header and data provided \end{DoxyCompactList}\item
\textbf{ Command\+Status} \textbf{ Decode\+Status} (\textbf{ Command\+Manager.\+Command\+Manager\+Status} local\+Status, string answer)
\end{DoxyCompactItemize}
\begin{DoxyCompactList}\small\item\em Provide \doxyref{Destijl\+Command\+Manager.\+Command\+Status}{p.}{classmonitor_1_1_destijl_command_manager_a9cb23e7493a32872ac808f3b63200fb0} based on status received by \doxyref{Command\+Manager.\+Send\+Command}{p.}{classmonitor_1_1_command_manager_a3cd1f2303e47e5148fd3e927a7957363} and answer string \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item
\textbf{ Command\+Manager} \textbf{ command\+Manager} = null
\item
\begin{DoxyCompactList}\small\item\em Command Manager object \end{DoxyCompactList}\item
string \textbf{ received\+Header} = null
\item
\begin{DoxyCompactList}\small\item\em Part of received message corresponding to command header \end{DoxyCompactList}\item
string \textbf{ received\+Data} = null
\end{DoxyCompactItemize}
\begin{DoxyCompactList}\small\item\em Part of received message corresponding to command data \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection{Detailed Description}
Specialization class for command manager, which implemnent destijl protocol between monitor and server
Definition at line 46 of file Destijl\+Command\+Manager.\+cs.
Definition at line 76 of file Destijl\+Command\+Manager.\+cs.
@ -117,6 +121,10 @@ Definition at line 46 of file Destijl\+Command\+Manager.\+cs.
\subsubsection{Command\+Status}
{\footnotesize\ttfamily enum \textbf{ monitor.\+Destijl\+Command\+Manager.\+Command\+Status}\hspace{0.3cm}{\ttfamily [strong]}}
List of available return status
\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{Success@{Success}!monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}}\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Success@{Success}}}\mbox{\label{classmonitor_1_1_destijl_command_manager_a9cb23e7493a32872ac808f3b63200fb0a505a83f220c02df2f85c3810cd9ceb38}}
Success&\\
@ -145,7 +153,7 @@ Communication\+Lost\+With\+Server&\\
\end{DoxyEnumFields}
Definition at line 58 of file Destijl\+Command\+Manager.\+cs.
Definition at line 107 of file Destijl\+Command\+Manager.\+cs.
@ -158,7 +166,16 @@ Definition at line 58 of file Destijl\+Command\+Manager.\+cs.
Definition at line 68 of file Destijl\+Command\+Manager.\+cs.
Initializes a new instance of the \doxyref{monitor.\+Destijl\+Command\+Manager}{p.}{classmonitor_1_1_destijl_command_manager} class.
\begin{DoxyParams}{Parameters}
{\em callback} & Callback reference for reception of data\\
\hline
\end{DoxyParams}
Definition at line 121 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_abc51dc980d7ba7e59a571e579cb626b9}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!````~Destijl\+Command\+Manager@{$\sim$\+Destijl\+Command\+Manager}}
@ -168,7 +185,11 @@ Definition at line 68 of file Destijl\+Command\+Manager.\+cs.
Definition at line 74 of file Destijl\+Command\+Manager.\+cs.
Releases unmanaged resources and performs other cleanup operations before the \doxyref{monitor.\+Destijl\+Command\+Manager}{p.}{classmonitor_1_1_destijl_command_manager} is reclaimed by garbage collection.
Definition at line 131 of file Destijl\+Command\+Manager.\+cs.
@ -181,7 +202,14 @@ Definition at line 74 of file Destijl\+Command\+Manager.\+cs.
Definition at line 367 of file Destijl\+Command\+Manager.\+cs.
Confirm arena detection (after requesting image of detected arena, using Camera\+Ask\+Arena
\begin{DoxyReturn}{Returns}
Command status (see Decode\+Status)
\end{DoxyReturn}
Definition at line 492 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_a614be7a565a3a10308f20b073b40383f}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Camera\+Arena\+Infirm@{Camera\+Arena\+Infirm}}
@ -191,7 +219,14 @@ Definition at line 367 of file Destijl\+Command\+Manager.\+cs.
Definition at line 380 of file Destijl\+Command\+Manager.\+cs.
Reject arena detected (after requesting image of detected arena, using Camera\+Ask\+Arena
\begin{DoxyReturn}{Returns}
Command status (see Decode\+Status)
\end{DoxyReturn}
Definition at line 509 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_a8d178480fc09d474760eae995c9aa096}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Camera\+Ask\+Arena@{Camera\+Ask\+Arena}}
@ -201,7 +236,14 @@ Definition at line 380 of file Destijl\+Command\+Manager.\+cs.
Definition at line 354 of file Destijl\+Command\+Manager.\+cs.
Request still image of detected arena
\begin{DoxyReturn}{Returns}
Command status (see Decode\+Status)
\end{DoxyReturn}
Definition at line 475 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_a94b085d9de512cd7e80bcefd516d460c}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Camera\+Close@{Camera\+Close}}
@ -211,7 +253,14 @@ Definition at line 354 of file Destijl\+Command\+Manager.\+cs.
Definition at line 341 of file Destijl\+Command\+Manager.\+cs.
Close camera on remote device
\begin{DoxyReturn}{Returns}
Command status (see Decode\+Status)
\end{DoxyReturn}
Definition at line 458 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_ad04df7759d2698334a410fe32b78e21e}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Camera\+Compute\+Position@{Camera\+Compute\+Position}}
@ -221,7 +270,14 @@ Definition at line 341 of file Destijl\+Command\+Manager.\+cs.
Definition at line 393 of file Destijl\+Command\+Manager.\+cs.
Request robot position computing
\begin{DoxyReturn}{Returns}
Command status (see Decode\+Status)
\end{DoxyReturn}
Definition at line 526 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_a292d7e2961ff31a80d9abf79b7b41126}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Camera\+Open@{Camera\+Open}}
@ -231,7 +287,14 @@ Definition at line 393 of file Destijl\+Command\+Manager.\+cs.
Definition at line 328 of file Destijl\+Command\+Manager.\+cs.
Open camera on remote device
\begin{DoxyReturn}{Returns}
Command status (see Decode\+Status)
\end{DoxyReturn}
Definition at line 441 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_a928f987f8f5f12135614678585ab2726}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Camera\+Stop\+Compute\+Position@{Camera\+Stop\+Compute\+Position}}
@ -241,7 +304,14 @@ Definition at line 328 of file Destijl\+Command\+Manager.\+cs.
Definition at line 406 of file Destijl\+Command\+Manager.\+cs.
Stop robot position computing
\begin{DoxyReturn}{Returns}
Command status (see Decode\+Status)
\end{DoxyReturn}
Definition at line 543 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_af1f57d8e3e980322e37da2cd3b61d1d7}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Close@{Close}}
@ -251,7 +321,11 @@ Definition at line 406 of file Destijl\+Command\+Manager.\+cs.
Definition at line 103 of file Destijl\+Command\+Manager.\+cs.
Close connection to server
Definition at line 183 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_acc08ece6a89e842188364226299b3d43}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Command\+Received\+Event@{Command\+Received\+Event}}
@ -259,6 +333,10 @@ Definition at line 103 of file Destijl\+Command\+Manager.\+cs.
\subsubsection{Command\+Received\+Event()}
{\footnotesize\ttfamily delegate void monitor.\+Destijl\+Command\+Manager.\+Command\+Received\+Event (\begin{DoxyParamCaption}\item[{string}]{header, }\item[{string}]{data, }\item[{byte [$\,$]}]{buffer }\end{DoxyParamCaption})}
Callback for sending received data to application level
\mbox{\label{classmonitor_1_1_destijl_command_manager_a47eb72ec1ae43505966bc5cf09c79e58}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Create\+Command@{Create\+Command}}
\index{Create\+Command@{Create\+Command}!monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}}
@ -267,7 +345,21 @@ Definition at line 103 of file Destijl\+Command\+Manager.\+cs.
Definition at line 108 of file Destijl\+Command\+Manager.\+cs.
Creates the command to send to server, based on header and data provided
\begin{DoxyReturn}{Returns}
The command string
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em header} & Header part of the command\\
\hline
{\em data} & Data part of the command\\
\hline
\end{DoxyParams}
Definition at line 194 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_a00c3fb9f163c4d9025b356a5a7e74012}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Decode\+Status@{Decode\+Status}}
@ -277,7 +369,21 @@ Definition at line 108 of file Destijl\+Command\+Manager.\+cs.
Definition at line 124 of file Destijl\+Command\+Manager.\+cs.
Provide \doxyref{Destijl\+Command\+Manager.\+Command\+Status}{p.}{classmonitor_1_1_destijl_command_manager_a9cb23e7493a32872ac808f3b63200fb0} based on status received by \doxyref{Command\+Manager.\+Send\+Command}{p.}{classmonitor_1_1_command_manager_a3cd1f2303e47e5148fd3e927a7957363} and answer string
\begin{DoxyReturn}{Returns}
Status compatible with \doxyref{Destijl\+Command\+Manager.\+Command\+Status}{p.}{classmonitor_1_1_destijl_command_manager_a9cb23e7493a32872ac808f3b63200fb0} type
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em local\+Status} & Status provided by \doxyref{Command\+Manager.\+Send\+Command}{p.}{classmonitor_1_1_command_manager_a3cd1f2303e47e5148fd3e927a7957363}\\
\hline
{\em answer} & Answer provided by \doxyref{Command\+Manager.\+Send\+Command}{p.}{classmonitor_1_1_command_manager_a3cd1f2303e47e5148fd3e927a7957363}\\
\hline
\end{DoxyParams}
Definition at line 205 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_ab83dbda4196240c242a5ac101901bb19}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!On\+Command\+Received@{On\+Command\+Received}}
@ -287,7 +393,18 @@ Definition at line 124 of file Destijl\+Command\+Manager.\+cs.
Definition at line 79 of file Destijl\+Command\+Manager.\+cs.
Callback used for receiving data from lower layer (\doxyref{Command\+Manager}{p.}{classmonitor_1_1_command_manager} class)
\begin{DoxyParams}{Parameters}
{\em msg} & String containing received message\\
\hline
{\em buffer} & Raw buffer to be used when data are not in ascii format (image for example)\\
\hline
\end{DoxyParams}
Definition at line 141 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_a5dd6b75386a554c2f026eee787477bb0}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Open@{Open}}
@ -297,7 +414,19 @@ Definition at line 79 of file Destijl\+Command\+Manager.\+cs.
Definition at line 92 of file Destijl\+Command\+Manager.\+cs.
Open the specified hostname server, using default port number.
\begin{DoxyReturn}{Returns}
true if connection succeded, false otherwise
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em hostname} & Hostname to connect to\\
\hline
\end{DoxyParams}
Definition at line 163 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_a842300511efb20783c271764ee0e3336}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Open@{Open}}
@ -307,7 +436,21 @@ Definition at line 92 of file Destijl\+Command\+Manager.\+cs.
Definition at line 97 of file Destijl\+Command\+Manager.\+cs.
Open connection to server \char`\"{}host\char`\"{}, with port number \char`\"{}port\char`\"{}
\begin{DoxyReturn}{Returns}
true if connection succeded, false otherwise
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em hostname} & Hostname to connect to\\
\hline
{\em port} & Port number for connection\\
\hline
\end{DoxyParams}
Definition at line 174 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_a0139bec493c965670226381f2ba63a23}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Close\+Com@{Robot\+Close\+Com}}
@ -317,7 +460,14 @@ Definition at line 97 of file Destijl\+Command\+Manager.\+cs.
Definition at line 157 of file Destijl\+Command\+Manager.\+cs.
Close communication with robot and wait acknowledge
\begin{DoxyReturn}{Returns}
Command status (see Decode\+Status)
\end{DoxyReturn}
Definition at line 251 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_a2ec8021340de939318ace65b8462b930}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Get\+Battery@{Robot\+Get\+Battery}}
@ -327,7 +477,14 @@ Definition at line 157 of file Destijl\+Command\+Manager.\+cs.
Definition at line 249 of file Destijl\+Command\+Manager.\+cs.
Request robot battery level
\begin{DoxyReturn}{Returns}
Command status (see Decode\+Status)
\end{DoxyReturn}
Definition at line 372 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_a7ddd552ed82382a09b4af075c34fb989}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Get\+Version@{Robot\+Get\+Version}}
@ -337,7 +494,19 @@ Definition at line 249 of file Destijl\+Command\+Manager.\+cs.
Definition at line 284 of file Destijl\+Command\+Manager.\+cs.
Request robot firmware version
\begin{DoxyReturn}{Returns}
Command status (see Decode\+Status)
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em version} & todo\\
\hline
\end{DoxyParams}
Definition at line 390 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_a5976fe792e270c63bd9f0f4c792df129}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Move@{Robot\+Move}}
@ -347,7 +516,19 @@ Definition at line 284 of file Destijl\+Command\+Manager.\+cs.
Definition at line 222 of file Destijl\+Command\+Manager.\+cs.
Move robot forward or backward, for a distance expressed in millimeter
\begin{DoxyReturn}{Returns}
Command status (see Decode\+Status)
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em distance} & Distance of mouvment, in millimeter\\
\hline
\end{DoxyParams}
Definition at line 337 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_aa1440a571e6aaf11203b4e4a4ed116d5}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Open\+Com@{Robot\+Open\+Com}}
@ -357,7 +538,14 @@ Definition at line 222 of file Destijl\+Command\+Manager.\+cs.
Definition at line 144 of file Destijl\+Command\+Manager.\+cs.
Open communication with robot and wait acknowledge
\begin{DoxyReturn}{Returns}
Command status (see Decode\+Status)
\end{DoxyReturn}
Definition at line 234 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_ae1af16558213c3830ea3006e8e8c5e28}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Ping@{Robot\+Ping}}
@ -367,7 +555,14 @@ Definition at line 144 of file Destijl\+Command\+Manager.\+cs.
Definition at line 170 of file Destijl\+Command\+Manager.\+cs.
Ping the robot.
\begin{DoxyReturn}{Returns}
Command status (see Decode\+Status)
\end{DoxyReturn}
Definition at line 268 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_acb242a71fa40d4001dc1bc31d5bdc53f}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Power\+Off@{Robot\+Power\+Off}}
@ -377,7 +572,14 @@ Definition at line 170 of file Destijl\+Command\+Manager.\+cs.
Definition at line 315 of file Destijl\+Command\+Manager.\+cs.
Power off robot
\begin{DoxyReturn}{Returns}
Command status (see Decode\+Status)
\end{DoxyReturn}
Definition at line 424 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_abe223aa12456e3f1c2519e9c379d891a}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Reset@{Robot\+Reset}}
@ -387,7 +589,14 @@ Definition at line 315 of file Destijl\+Command\+Manager.\+cs.
Definition at line 183 of file Destijl\+Command\+Manager.\+cs.
Reset robot and let it in idle mode
\begin{DoxyReturn}{Returns}
Command status (see Decode\+Status)
\end{DoxyReturn}
Definition at line 285 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_a0c964baa3ecd4ff9d19857061413938b}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Start\+Without\+Watchdog@{Robot\+Start\+Without\+Watchdog}}
@ -397,7 +606,14 @@ Definition at line 183 of file Destijl\+Command\+Manager.\+cs.
Definition at line 209 of file Destijl\+Command\+Manager.\+cs.
Start robot, without enabling watchdog
\begin{DoxyReturn}{Returns}
Command status (see Decode\+Status)
\end{DoxyReturn}
Definition at line 319 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_ade46aceeb79556e31fe632e9602e1636}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Start\+With\+Watchdog@{Robot\+Start\+With\+Watchdog}}
@ -407,7 +623,14 @@ Definition at line 209 of file Destijl\+Command\+Manager.\+cs.
Definition at line 196 of file Destijl\+Command\+Manager.\+cs.
Start robot, enabling watchdog
\begin{DoxyReturn}{Returns}
Command status (see Decode\+Status)
\end{DoxyReturn}
Definition at line 302 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_a3f7ee6f1803cfb8b2eb4290f9e9acced}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Robot\+Turn@{Robot\+Turn}}
@ -417,17 +640,19 @@ Definition at line 196 of file Destijl\+Command\+Manager.\+cs.
Definition at line 235 of file Destijl\+Command\+Manager.\+cs.
Make robot turn left or right, for a given angle
\mbox{\label{classmonitor_1_1_destijl_command_manager_ad6fc73806e924e73dcf07c5cf3c81a66}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!Split\+Command@{Split\+Command}}
\index{Split\+Command@{Split\+Command}!monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}}
\subsubsection{Split\+Command()}
{\footnotesize\ttfamily void monitor.\+Destijl\+Command\+Manager.\+Split\+Command (\begin{DoxyParamCaption}\item[{string}]{cmd, }\item[{out string}]{header, }\item[{out string}]{data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}
\begin{DoxyReturn}{Returns}
Command status (see Decode\+Status)
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em angle} & Angle of turn, in degree (negative for left, positive for right)\\
\hline
\end{DoxyParams}
Definition at line 113 of file Destijl\+Command\+Manager.\+cs.
Definition at line 355 of file Destijl\+Command\+Manager.\+cs.
@ -440,7 +665,11 @@ Definition at line 113 of file Destijl\+Command\+Manager.\+cs.
Definition at line 48 of file Destijl\+Command\+Manager.\+cs.
Command Manager object
Definition at line 81 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_a5c10e8aaae48b83be0267aefa23eb62d}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!command\+Received\+Event@{command\+Received\+Event}}
@ -450,7 +679,7 @@ Definition at line 48 of file Destijl\+Command\+Manager.\+cs.
Definition at line 54 of file Destijl\+Command\+Manager.\+cs.
Definition at line 97 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_a88f907fc9c5fd8cd8d5976f45c323903}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!received\+Data@{received\+Data}}
@ -460,7 +689,11 @@ Definition at line 54 of file Destijl\+Command\+Manager.\+cs.
Definition at line 51 of file Destijl\+Command\+Manager.\+cs.
Part of received message corresponding to command data
Definition at line 91 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_a1b99d771e7af8ffc8ced10d35e5e77ce}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!received\+Header@{received\+Header}}
@ -470,7 +703,11 @@ Definition at line 51 of file Destijl\+Command\+Manager.\+cs.
Definition at line 50 of file Destijl\+Command\+Manager.\+cs.
Part of received message corresponding to command header
Definition at line 86 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_destijl_command_manager_a86a1fb03dc480dab8d6758aa0d675cd3}}
\index{monitor\+::\+Destijl\+Command\+Manager@{monitor\+::\+Destijl\+Command\+Manager}!timeout@{timeout}}
@ -480,7 +717,11 @@ Definition at line 50 of file Destijl\+Command\+Manager.\+cs.
Definition at line 56 of file Destijl\+Command\+Manager.\+cs.
Timeout used for command with acknowledge
Definition at line 102 of file Destijl\+Command\+Manager.\+cs.

View file

@ -10,7 +10,7 @@ static void \textbf{ Main} (string[$\,$] args)
\subsection{Detailed Description}
Definition at line 6 of file Program.\+cs.
Definition at line 27 of file Program.\+cs.
@ -23,7 +23,7 @@ Definition at line 6 of file Program.\+cs.
Definition at line 8 of file Program.\+cs.
Definition at line 29 of file Program.\+cs.

View file

@ -1,5 +1,10 @@
\section{monitor.\+Robot\+Command\+List Class Reference}
\label{classmonitor_1_1_robot_command_list}\index{monitor.\+Robot\+Command\+List@{monitor.\+Robot\+Command\+List}}
Commands used for robot messages
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item
@ -26,9 +31,11 @@ const string \textbf{ Robot\+Power\+Off} = \char`\"{}z\char`\"{}
\subsection{Detailed Description}
Commands used for robot messages
Definition at line 32 of file Destijl\+Command\+Manager.\+cs.
Definition at line 59 of file Destijl\+Command\+Manager.\+cs.
@ -41,7 +48,7 @@ Definition at line 32 of file Destijl\+Command\+Manager.\+cs.
Definition at line 38 of file Destijl\+Command\+Manager.\+cs.
Definition at line 65 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_robot_command_list_a52a901f4e013dc33ff491c5fcda76860}}
\index{monitor\+::\+Robot\+Command\+List@{monitor\+::\+Robot\+Command\+List}!Robot\+Get\+Busy\+State@{Robot\+Get\+Busy\+State}}
@ -51,7 +58,7 @@ Definition at line 38 of file Destijl\+Command\+Manager.\+cs.
Definition at line 39 of file Destijl\+Command\+Manager.\+cs.
Definition at line 66 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_robot_command_list_a9a845beb5c040e4813f03cee7cd1cb71}}
\index{monitor\+::\+Robot\+Command\+List@{monitor\+::\+Robot\+Command\+List}!Robot\+Get\+Version@{Robot\+Get\+Version}}
@ -61,7 +68,7 @@ Definition at line 39 of file Destijl\+Command\+Manager.\+cs.
Definition at line 42 of file Destijl\+Command\+Manager.\+cs.
Definition at line 69 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_robot_command_list_af7017bac04f1976fe1c37e8ec77bcbce}}
\index{monitor\+::\+Robot\+Command\+List@{monitor\+::\+Robot\+Command\+List}!Robot\+Move@{Robot\+Move}}
@ -71,7 +78,7 @@ Definition at line 42 of file Destijl\+Command\+Manager.\+cs.
Definition at line 40 of file Destijl\+Command\+Manager.\+cs.
Definition at line 67 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_robot_command_list_a93de788c0d7ed40caaa2e3912a429831}}
\index{monitor\+::\+Robot\+Command\+List@{monitor\+::\+Robot\+Command\+List}!Robot\+Ping@{Robot\+Ping}}
@ -81,7 +88,7 @@ Definition at line 40 of file Destijl\+Command\+Manager.\+cs.
Definition at line 34 of file Destijl\+Command\+Manager.\+cs.
Definition at line 61 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_robot_command_list_a2e9616c1b75719c208902e595b79cc48}}
\index{monitor\+::\+Robot\+Command\+List@{monitor\+::\+Robot\+Command\+List}!Robot\+Power\+Off@{Robot\+Power\+Off}}
@ -91,7 +98,7 @@ Definition at line 34 of file Destijl\+Command\+Manager.\+cs.
Definition at line 43 of file Destijl\+Command\+Manager.\+cs.
Definition at line 70 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_robot_command_list_a9ef80510dfe9ca241af290b003766526}}
\index{monitor\+::\+Robot\+Command\+List@{monitor\+::\+Robot\+Command\+List}!Robot\+Reset@{Robot\+Reset}}
@ -101,7 +108,7 @@ Definition at line 43 of file Destijl\+Command\+Manager.\+cs.
Definition at line 35 of file Destijl\+Command\+Manager.\+cs.
Definition at line 62 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_robot_command_list_a92acfe998bb9d265dd1f34f68f718386}}
\index{monitor\+::\+Robot\+Command\+List@{monitor\+::\+Robot\+Command\+List}!Robot\+Start\+Without\+Watchdog@{Robot\+Start\+Without\+Watchdog}}
@ -111,7 +118,7 @@ Definition at line 35 of file Destijl\+Command\+Manager.\+cs.
Definition at line 36 of file Destijl\+Command\+Manager.\+cs.
Definition at line 63 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_robot_command_list_aafa5d0e5fec3afe6586cca8b88d45c85}}
\index{monitor\+::\+Robot\+Command\+List@{monitor\+::\+Robot\+Command\+List}!Robot\+Start\+With\+Watchdog@{Robot\+Start\+With\+Watchdog}}
@ -121,7 +128,7 @@ Definition at line 36 of file Destijl\+Command\+Manager.\+cs.
Definition at line 37 of file Destijl\+Command\+Manager.\+cs.
Definition at line 64 of file Destijl\+Command\+Manager.\+cs.
\mbox{\label{classmonitor_1_1_robot_command_list_a2b88fc42fba8229f163e03e7252a77e6}}
\index{monitor\+::\+Robot\+Command\+List@{monitor\+::\+Robot\+Command\+List}!Robot\+Turn@{Robot\+Turn}}
@ -131,7 +138,7 @@ Definition at line 37 of file Destijl\+Command\+Manager.\+cs.
Definition at line 41 of file Destijl\+Command\+Manager.\+cs.
Definition at line 68 of file Destijl\+Command\+Manager.\+cs.

View file

@ -8,10 +8,10 @@ class \textbf{ Client}
class \textbf{ Command\+Manager}
\begin{DoxyCompactList}\small\item\em Command Manager. Use for timeout managment during reception of data Used as intermediate layer between T\+CP client class (\doxyref{Client}{p.}{classmonitor_1_1_client}) and application level managment of command and answers \end{DoxyCompactList}\item
class \textbf{ Destijl\+Command\+List}
\item
\begin{DoxyCompactList}\small\item\em Commands and options parameters used in Destijl project when communicating with server \end{DoxyCompactList}\item
class \textbf{ Destijl\+Command\+Manager}
\item
\begin{DoxyCompactList}\small\item\em Specialization class for command manager, which implemnent destijl protocol between monitor and server \end{DoxyCompactList}\item
class \textbf{ Main\+Class}
\item
class \textbf{ Robot\+Command\+List}
\end{DoxyCompactItemize}
\begin{DoxyCompactList}\small\item\em Commands used for robot messages \end{DoxyCompactList}\end{DoxyCompactItemize}

BIN
software/monitor/monitor/monitor Executable file

Binary file not shown.

View file

@ -18,6 +18,16 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<CustomCommands>
<CustomCommands>
<Command>
<type>AfterBuild</type>
<command>/bin/sh afterBuild.sh</command>
<workingdir>${ProjectDir}</workingdir>
<externalConsole>True</externalConsole>
</Command>
</CustomCommands>
</CustomCommands>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<Optimize>true</Optimize>
@ -71,5 +81,8 @@
<Compile Include="CommandManager.cs" />
<Compile Include="DestijlCommandManager.cs" />
</ItemGroup>
<ItemGroup>
<None Include="afterBuild.sh" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project>

View file

@ -47,9 +47,9 @@ int open_camera(Camera *camera)
if(!cap.open(0))
return -1;
sleep(1);
return 0;
#else // for raspberry
camera->set(CV_CAP_PROP_FORMAT, CV_8UC3);
camera->set(CV_CAP_PROP_FRAME_WIDTH,WIDTH);
camera->set(CV_CAP_PROP_FRAME_HEIGHT,HEIGHT);

View file

@ -0,0 +1,119 @@
#
# Generated Makefile - do not edit!
#
# Edit the Makefile in the project folder instead (../Makefile). Each target
# has a -pre and a -post target defined where you can add customized code.
#
# This makefile implements configuration specific macros and targets.
# Environment
MKDIR=mkdir
CP=cp
GREP=grep
NM=nm
CCADMIN=CCadmin
RANLIB=ranlib
CC=gcc
CCC=g++
CXX=g++
FC=gfortran
AS=as
# Macros
CND_PLATFORM=GNU-Linux
CND_DLIB_EXT=so
CND_CONF=Debug__RPI_
CND_DISTDIR=dist
CND_BUILDDIR=build
# Include project Makefile
include Makefile
# Object Directory
OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
# Object Files
OBJECTFILES= \
${OBJECTDIR}/_ext/a59f760b/image.o \
${OBJECTDIR}/_ext/a59f760b/message.o \
${OBJECTDIR}/_ext/a59f760b/monitor.o \
${OBJECTDIR}/_ext/a59f760b/robot.o \
${OBJECTDIR}/_ext/a59f760b/server.o \
${OBJECTDIR}/src/functions.o \
${OBJECTDIR}/src/main.o
# C Compiler Flags
CFLAGS=
# CC Compiler Flags
CCFLAGS=
CXXFLAGS=
# Fortran Compiler Flags
FFLAGS=
# Assembler Flags
ASFLAGS=
# Link Libraries and Options
LDLIBSOPTIONS=
# Build Targets
.build-conf: ${BUILD_SUBPROJECTS}
"${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/superviseur
${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/superviseur: ${OBJECTFILES}
${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}
${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/superviseur ${OBJECTFILES} ${LDLIBSOPTIONS}
${OBJECTDIR}/_ext/a59f760b/image.o: ../lib/src/image.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/a59f760b
${RM} "$@.d"
$(COMPILE.cc) -g -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/a59f760b/image.o ../lib/src/image.cpp
${OBJECTDIR}/_ext/a59f760b/message.o: ../lib/src/message.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/a59f760b
${RM} "$@.d"
$(COMPILE.cc) -g -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/a59f760b/message.o ../lib/src/message.cpp
${OBJECTDIR}/_ext/a59f760b/monitor.o: ../lib/src/monitor.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/a59f760b
${RM} "$@.d"
$(COMPILE.cc) -g -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/a59f760b/monitor.o ../lib/src/monitor.cpp
${OBJECTDIR}/_ext/a59f760b/robot.o: ../lib/src/robot.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/a59f760b
${RM} "$@.d"
$(COMPILE.cc) -g -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/a59f760b/robot.o ../lib/src/robot.cpp
${OBJECTDIR}/_ext/a59f760b/server.o: ../lib/src/server.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/a59f760b
${RM} "$@.d"
$(COMPILE.cc) -g -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/a59f760b/server.o ../lib/src/server.cpp
${OBJECTDIR}/src/functions.o: src/functions.cpp
${MKDIR} -p ${OBJECTDIR}/src
${RM} "$@.d"
$(COMPILE.cc) -g -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/src/functions.o src/functions.cpp
${OBJECTDIR}/src/main.o: src/main.cpp
${MKDIR} -p ${OBJECTDIR}/src
${RM} "$@.d"
$(COMPILE.cc) -g -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/src/main.o src/main.cpp
# Subprojects
.build-subprojects:
# Clean Targets
.clean-conf: ${CLEAN_SUBPROJECTS}
${RM} -r ${CND_BUILDDIR}/${CND_CONF}
# Subprojects
.clean-subprojects:
# Enable dependency checking
.dep.inc: .depcheck-impl
include .dep.inc

View file

@ -31,7 +31,7 @@ DEFAULTCONF=Debug
CONF=${DEFAULTCONF}
# All Configurations
ALLCONFS=Debug Release
ALLCONFS=Debug Release Debug__RPI_
# build

View file

@ -22,6 +22,14 @@ CND_ARTIFACT_PATH_Release=dist/Release/GNU-Linux/superviseur
CND_PACKAGE_DIR_Release=dist/Release/GNU-Linux/package
CND_PACKAGE_NAME_Release=superviseur.tar
CND_PACKAGE_PATH_Release=dist/Release/GNU-Linux/package/superviseur.tar
# Debug__RPI_ configuration
CND_PLATFORM_Debug__RPI_=GNU-Linux
CND_ARTIFACT_DIR_Debug__RPI_=dist/Debug__RPI_/GNU-Linux
CND_ARTIFACT_NAME_Debug__RPI_=superviseur
CND_ARTIFACT_PATH_Debug__RPI_=dist/Debug__RPI_/GNU-Linux/superviseur
CND_PACKAGE_DIR_Debug__RPI_=dist/Debug__RPI_/GNU-Linux/package
CND_PACKAGE_NAME_Debug__RPI_=superviseur.tar
CND_PACKAGE_PATH_Debug__RPI_=dist/Debug__RPI_/GNU-Linux/package/superviseur.tar
#
# include compiler specific variables
#

View file

@ -0,0 +1,76 @@
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux
CND_CONF=Debug__RPI_
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/superviseur
OUTPUT_BASENAME=superviseur
PACKAGE_TOP_DIR=superviseur/
# Functions
function checkReturnCode
{
rc=$?
if [ $rc != 0 ]
then
exit $rc
fi
}
function makeDirectory
# $1 directory path
# $2 permission (optional)
{
mkdir -p "$1"
checkReturnCode
if [ "$2" != "" ]
then
chmod $2 "$1"
checkReturnCode
fi
}
function copyFileToTmpDir
# $1 from-file path
# $2 to-file path
# $3 permission
{
cp "$1" "$2"
checkReturnCode
if [ "$3" != "" ]
then
chmod $3 "$2"
checkReturnCode
fi
}
# Setup
cd "${TOP}"
mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package
rm -rf ${NBTMPDIR}
mkdir -p ${NBTMPDIR}
# Copy files and create directories and links
cd "${TOP}"
makeDirectory "${NBTMPDIR}/superviseur/bin"
copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
# Generate tar file
cd "${TOP}"
rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/superviseur.tar
cd ${NBTMPDIR}
tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/superviseur.tar *
checkReturnCode
# Cleanup
cd "${TOP}"
rm -rf ${NBTMPDIR}

View file

@ -152,5 +152,42 @@
<item path="gdbsudo.sh" ex="false" tool="3" flavor2="0">
</item>
</conf>
<conf name="Debug__RPI_" type="1">
<toolsSet>
<compilerSet>GNU|GNU</compilerSet>
<dependencyChecking>true</dependencyChecking>
<rebuildPropChanged>false</rebuildPropChanged>
</toolsSet>
<compileType>
</compileType>
<item path="../lib/image.h" ex="false" tool="3" flavor2="0">
</item>
<item path="../lib/message.h" ex="false" tool="3" flavor2="0">
</item>
<item path="../lib/monitor.h" ex="false" tool="3" flavor2="0">
</item>
<item path="../lib/robot.h" ex="false" tool="3" flavor2="0">
</item>
<item path="../lib/server.h" ex="false" tool="3" flavor2="0">
</item>
<item path="../lib/src/image.cpp" ex="false" tool="1" flavor2="0">
</item>
<item path="../lib/src/message.cpp" ex="false" tool="1" flavor2="0">
</item>
<item path="../lib/src/monitor.cpp" ex="false" tool="1" flavor2="0">
</item>
<item path="../lib/src/robot.cpp" ex="false" tool="1" flavor2="0">
</item>
<item path="../lib/src/server.cpp" ex="false" tool="1" flavor2="0">
</item>
<item path="./src/functions.cpp" ex="false" tool="1" flavor2="0">
</item>
<item path="./src/functions.h" ex="false" tool="3" flavor2="0">
</item>
<item path="./src/main.cpp" ex="false" tool="1" flavor2="0">
</item>
<item path="gdbsudo.sh" ex="false" tool="3" flavor2="0">
</item>
</conf>
</confs>
</configurationDescriptor>

View file

@ -5,3 +5,4 @@
#
# Debug configuration
# Release configuration
# Debug__RPI_ configuration

View file

@ -13,8 +13,6 @@
<gdb_interceptlist>
<gdbinterceptoptions gdb_all="false" gdb_unhandled="true" gdb_unexpected="true"/>
</gdb_interceptlist>
<gdb_signals>
</gdb_signals>
<gdb_options>
<DebugOptions>
</DebugOptions>
@ -74,5 +72,38 @@
</environment>
</runprofile>
</conf>
<conf name="Debug__RPI_" type="1">
<toolsSet>
<developmentServer>pi@10.105.1.13:22</developmentServer>
<platform>2</platform>
</toolsSet>
<dbx_gdbdebugger version="1">
<gdb_pathmaps>
</gdb_pathmaps>
<gdb_interceptlist>
<gdbinterceptoptions gdb_all="false" gdb_unhandled="true" gdb_unexpected="true"/>
</gdb_interceptlist>
<gdb_options>
<DebugOptions>
</DebugOptions>
</gdb_options>
<gdb_buildfirst gdb_buildfirst_overriden="false" gdb_buildfirst_old="false"/>
</dbx_gdbdebugger>
<nativedebugger version="1">
<engine>gdb</engine>
</nativedebugger>
<runprofile version="9">
<runcommandpicklist>
<runcommandpicklistitem>"${OUTPUT_PATH}"</runcommandpicklistitem>
</runcommandpicklist>
<runcommand>"${OUTPUT_PATH}"</runcommand>
<rundir></rundir>
<buildfirst>true</buildfirst>
<terminal-type>0</terminal-type>
<remove-instrumentation>0</remove-instrumentation>
<environment>
</environment>
</runprofile>
</conf>
</confs>
</configurationDescriptor>

View file

@ -6,8 +6,6 @@
</data>
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group>
<file>file:/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/image.h</file>
</group>
<group/>
</open-files>
</project-private>

View file

@ -19,6 +19,10 @@
<name>Release</name>
<type>1</type>
</confElem>
<confElem>
<name>Debug__RPI_</name>
<type>1</type>
</confElem>
</confList>
<formatting>
<project-formatting-style>false</project-formatting-style>

View file

@ -50,8 +50,7 @@ bool sendPos = false;
Image monImage;
Jpg imageCompressed;
pthread_t thread;
Camera cam;
typedef struct {
char header[4];
@ -193,17 +192,19 @@ int decodeMessage(MessageFromMon *mes, int dataLength) {
int main(int argc, char** argv) {
namedWindow("Sortie Camera");
// Ouverture de la com robot
/*if (open_communication_robot("/dev/ttyUSB0") != 0) {
#ifdef __FOR_PC__
if (open_communication_robot("/dev/ttyUSB0") != 0) {
#else
if (open_communication_robot("/dev/ttyS0") != 0) {
#endif /*__FOR_PC__ */
cerr << "Unable to open /dev/ttyUSB0: abort\n";
return -1;
}
cout << "/dev/ttyUSB0 opened\n";
*/
cout << "Com port opened\n";
// Ouverture de la camera
if (open_camera(0) == -1) {
if (open_camera(&cam) == -1) {
cerr << "Unable to open camera: abort\n";
return -1;
}
@ -226,7 +227,7 @@ int main(int argc, char** argv) {
while (disconnected == false) {
// Recuperation de l'image
get_image(0, &monImage, "");
get_image(&cam, &monImage, "");
if (dataReady == true) // des données ont été recu par le serveur
{

View file

@ -0,0 +1,107 @@
#
# Generated Makefile - do not edit!
#
# Edit the Makefile in the project folder instead (../Makefile). Each target
# has a -pre and a -post target defined where you can add customized code.
#
# This makefile implements configuration specific macros and targets.
# Environment
MKDIR=mkdir
CP=cp
GREP=grep
NM=nm
CCADMIN=CCadmin
RANLIB=ranlib
CC=gcc
CCC=g++
CXX=g++
FC=gfortran
AS=as
# Macros
CND_PLATFORM=GNU-Linux
CND_DLIB_EXT=so
CND_CONF=Debug-rpi
CND_DISTDIR=dist
CND_BUILDDIR=build
# Include project Makefile
include Makefile
# Object Directory
OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
# Object Files
OBJECTFILES= \
${OBJECTDIR}/_ext/e4d40e25/image.o \
${OBJECTDIR}/_ext/e4d40e25/message.o \
${OBJECTDIR}/_ext/e4d40e25/robot.o \
${OBJECTDIR}/_ext/e4d40e25/server.o \
${OBJECTDIR}/main.o
# C Compiler Flags
CFLAGS=
# CC Compiler Flags
CCFLAGS=
CXXFLAGS=
# Fortran Compiler Flags
FFLAGS=
# Assembler Flags
ASFLAGS=
# Link Libraries and Options
LDLIBSOPTIONS=-L/usr/local/lib `pkg-config --libs opencv` -lpthread -lraspicam -lraspicam_cv
# Build Targets
.build-conf: ${BUILD_SUBPROJECTS}
"${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/testeur
${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/testeur: ${OBJECTFILES}
${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}
${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/testeur ${OBJECTFILES} ${LDLIBSOPTIONS}
${OBJECTDIR}/_ext/e4d40e25/image.o: ../../superviseur-robot/lib/src/image.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/e4d40e25
${RM} "$@.d"
$(COMPILE.cc) -g -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv` -std=c++11 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/image.o ../../superviseur-robot/lib/src/image.cpp
${OBJECTDIR}/_ext/e4d40e25/message.o: ../../superviseur-robot/lib/src/message.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/e4d40e25
${RM} "$@.d"
$(COMPILE.cc) -g -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv` -std=c++11 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/message.o ../../superviseur-robot/lib/src/message.cpp
${OBJECTDIR}/_ext/e4d40e25/robot.o: ../../superviseur-robot/lib/src/robot.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/e4d40e25
${RM} "$@.d"
$(COMPILE.cc) -g -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv` -std=c++11 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/robot.o ../../superviseur-robot/lib/src/robot.cpp
${OBJECTDIR}/_ext/e4d40e25/server.o: ../../superviseur-robot/lib/src/server.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/e4d40e25
${RM} "$@.d"
$(COMPILE.cc) -g -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv` -std=c++11 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/server.o ../../superviseur-robot/lib/src/server.cpp
${OBJECTDIR}/main.o: main.cpp
${MKDIR} -p ${OBJECTDIR}
${RM} "$@.d"
$(COMPILE.cc) -g -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv` -std=c++11 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/main.o main.cpp
# Subprojects
.build-subprojects:
# Clean Targets
.clean-conf: ${CLEAN_SUBPROJECTS}
${RM} -r ${CND_BUILDDIR}/${CND_CONF}
# Subprojects
.clean-subprojects:
# Enable dependency checking
.dep.inc: .depcheck-impl
include .dep.inc

View file

@ -69,27 +69,27 @@ ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/testeur: ${OBJECTFILES}
${OBJECTDIR}/_ext/e4d40e25/image.o: ../../superviseur-robot/lib/src/image.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/e4d40e25
${RM} "$@.d"
$(COMPILE.cc) -g -D__FOR_PC__ -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/image.o ../../superviseur-robot/lib/src/image.cpp
$(COMPILE.cc) -g -DD_REENTRANT -D__FOR_PC__ -I../../superviseur-robot/lib `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/image.o ../../superviseur-robot/lib/src/image.cpp
${OBJECTDIR}/_ext/e4d40e25/message.o: ../../superviseur-robot/lib/src/message.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/e4d40e25
${RM} "$@.d"
$(COMPILE.cc) -g -D__FOR_PC__ -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/message.o ../../superviseur-robot/lib/src/message.cpp
$(COMPILE.cc) -g -DD_REENTRANT -D__FOR_PC__ -I../../superviseur-robot/lib `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/message.o ../../superviseur-robot/lib/src/message.cpp
${OBJECTDIR}/_ext/e4d40e25/robot.o: ../../superviseur-robot/lib/src/robot.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/e4d40e25
${RM} "$@.d"
$(COMPILE.cc) -g -D__FOR_PC__ -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/robot.o ../../superviseur-robot/lib/src/robot.cpp
$(COMPILE.cc) -g -DD_REENTRANT -D__FOR_PC__ -I../../superviseur-robot/lib `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/robot.o ../../superviseur-robot/lib/src/robot.cpp
${OBJECTDIR}/_ext/e4d40e25/server.o: ../../superviseur-robot/lib/src/server.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/e4d40e25
${RM} "$@.d"
$(COMPILE.cc) -g -D__FOR_PC__ -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/server.o ../../superviseur-robot/lib/src/server.cpp
$(COMPILE.cc) -g -DD_REENTRANT -D__FOR_PC__ -I../../superviseur-robot/lib `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/_ext/e4d40e25/server.o ../../superviseur-robot/lib/src/server.cpp
${OBJECTDIR}/main.o: main.cpp
${MKDIR} -p ${OBJECTDIR}
${RM} "$@.d"
$(COMPILE.cc) -g -D__FOR_PC__ -DD_REENTRANT -I../../superviseur-robot/lib `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/main.o main.cpp
$(COMPILE.cc) -g -DD_REENTRANT -D__FOR_PC__ -I../../superviseur-robot/lib `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/main.o main.cpp
# Subprojects
.build-subprojects:

View file

@ -31,7 +31,7 @@ DEFAULTCONF=Debug
CONF=${DEFAULTCONF}
# All Configurations
ALLCONFS=Debug Release
ALLCONFS=Debug Release Debug-rpi
# build

View file

@ -22,6 +22,14 @@ CND_ARTIFACT_PATH_Release=dist/Release/GNU-Linux/testeur
CND_PACKAGE_DIR_Release=dist/Release/GNU-Linux/package
CND_PACKAGE_NAME_Release=testeur.tar
CND_PACKAGE_PATH_Release=dist/Release/GNU-Linux/package/testeur.tar
# Debug-rpi configuration
CND_PLATFORM_Debug-rpi=GNU-Linux
CND_ARTIFACT_DIR_Debug-rpi=dist/Debug-rpi/GNU-Linux
CND_ARTIFACT_NAME_Debug-rpi=testeur
CND_ARTIFACT_PATH_Debug-rpi=dist/Debug-rpi/GNU-Linux/testeur
CND_PACKAGE_DIR_Debug-rpi=dist/Debug-rpi/GNU-Linux/package
CND_PACKAGE_NAME_Debug-rpi=testeur.tar
CND_PACKAGE_PATH_Debug-rpi=dist/Debug-rpi/GNU-Linux/package/testeur.tar
#
# include compiler specific variables
#

View file

@ -0,0 +1,76 @@
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux
CND_CONF=Debug-rpi
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/testeur
OUTPUT_BASENAME=testeur
PACKAGE_TOP_DIR=testeur/
# Functions
function checkReturnCode
{
rc=$?
if [ $rc != 0 ]
then
exit $rc
fi
}
function makeDirectory
# $1 directory path
# $2 permission (optional)
{
mkdir -p "$1"
checkReturnCode
if [ "$2" != "" ]
then
chmod $2 "$1"
checkReturnCode
fi
}
function copyFileToTmpDir
# $1 from-file path
# $2 to-file path
# $3 permission
{
cp "$1" "$2"
checkReturnCode
if [ "$3" != "" ]
then
chmod $3 "$2"
checkReturnCode
fi
}
# Setup
cd "${TOP}"
mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package
rm -rf ${NBTMPDIR}
mkdir -p ${NBTMPDIR}
# Copy files and create directories and links
cd "${TOP}"
makeDirectory "${NBTMPDIR}/testeur/bin"
copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
# Generate tar file
cd "${TOP}"
rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/testeur.tar
cd ${NBTMPDIR}
tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/testeur.tar *
checkReturnCode
# Cleanup
cd "${TOP}"
rm -rf ${NBTMPDIR}

View file

@ -4,6 +4,7 @@
<logicalFolder name="HeaderFiles"
displayName="Header Files"
projectFiles="true">
<itemPath>../../superviseur-robot/lib/definitions.h</itemPath>
<itemPath>../../superviseur-robot/lib/image.h</itemPath>
<itemPath>../../superviseur-robot/lib/message.h</itemPath>
<itemPath>../../superviseur-robot/lib/robot.h</itemPath>
@ -70,6 +71,11 @@
</linkerLibItems>
</linkerTool>
</compileType>
<item path="../../superviseur-robot/lib/definitions.h"
ex="false"
tool="3"
flavor2="0">
</item>
<item path="../../superviseur-robot/lib/image.h"
ex="false"
tool="3"
@ -133,6 +139,11 @@
<developmentMode>5</developmentMode>
</asmTool>
</compileType>
<item path="../../superviseur-robot/lib/definitions.h"
ex="false"
tool="3"
flavor2="0">
</item>
<item path="../../superviseur-robot/lib/image.h"
ex="false"
tool="3"
@ -176,5 +187,89 @@
<item path="main.cpp" ex="false" tool="1" flavor2="0">
</item>
</conf>
<conf name="Debug-rpi" type="1">
<toolsSet>
<compilerSet>GNU|GNU</compilerSet>
<dependencyChecking>true</dependencyChecking>
<rebuildPropChanged>false</rebuildPropChanged>
</toolsSet>
<compileType>
<cTool>
<incDir>
<pElem>../../superviseur-robot/lib</pElem>
</incDir>
<preprocessorList>
<Elem>__FOR_PC__</Elem>
</preprocessorList>
</cTool>
<ccTool>
<standard>8</standard>
<incDir>
<pElem>../../superviseur-robot/lib</pElem>
</incDir>
<preprocessorList>
<Elem>D_REENTRANT</Elem>
</preprocessorList>
</ccTool>
<linkerTool>
<linkerAddLib>
<pElem>/usr/local/lib</pElem>
</linkerAddLib>
<linkerLibItems>
<linkerOptionItem>`pkg-config --libs opencv`</linkerOptionItem>
<linkerLibStdlibItem>PosixThreads</linkerLibStdlibItem>
<linkerLibLibItem>raspicam</linkerLibLibItem>
<linkerLibLibItem>raspicam_cv</linkerLibLibItem>
</linkerLibItems>
</linkerTool>
</compileType>
<item path="../../superviseur-robot/lib/definitions.h"
ex="false"
tool="3"
flavor2="0">
</item>
<item path="../../superviseur-robot/lib/image.h"
ex="false"
tool="3"
flavor2="0">
</item>
<item path="../../superviseur-robot/lib/message.h"
ex="false"
tool="3"
flavor2="0">
</item>
<item path="../../superviseur-robot/lib/robot.h"
ex="false"
tool="3"
flavor2="0">
</item>
<item path="../../superviseur-robot/lib/server.h"
ex="false"
tool="3"
flavor2="0">
</item>
<item path="../../superviseur-robot/lib/src/image.cpp"
ex="false"
tool="1"
flavor2="8">
</item>
<item path="../../superviseur-robot/lib/src/message.cpp"
ex="false"
tool="1"
flavor2="8">
</item>
<item path="../../superviseur-robot/lib/src/robot.cpp"
ex="false"
tool="1"
flavor2="8">
</item>
<item path="../../superviseur-robot/lib/src/server.cpp"
ex="false"
tool="1"
flavor2="8">
</item>
<item path="main.cpp" ex="false" tool="1" flavor2="8">
</item>
</conf>
</confs>
</configurationDescriptor>

View file

@ -5,3 +5,4 @@
#
# Debug configuration
# Release configuration
# Debug-rpi configuration

View file

@ -13,8 +13,6 @@
<gdb_interceptlist>
<gdbinterceptoptions gdb_all="false" gdb_unhandled="true" gdb_unexpected="true"/>
</gdb_interceptlist>
<gdb_signals>
</gdb_signals>
<gdb_options>
<DebugOptions>
</DebugOptions>
@ -70,5 +68,40 @@
</environment>
</runprofile>
</conf>
<conf name="Debug-rpi" type="1">
<toolsSet>
<developmentServer>pi@10.105.1.13:22</developmentServer>
<platform>2</platform>
</toolsSet>
<dbx_gdbdebugger version="1">
<gdb_pathmaps>
</gdb_pathmaps>
<gdb_interceptlist>
<gdbinterceptoptions gdb_all="false" gdb_unhandled="true" gdb_unexpected="true"/>
</gdb_interceptlist>
<gdb_signals>
</gdb_signals>
<gdb_options>
<DebugOptions>
</DebugOptions>
</gdb_options>
<gdb_buildfirst gdb_buildfirst_overriden="false" gdb_buildfirst_old="false"/>
</dbx_gdbdebugger>
<nativedebugger version="1">
<engine>gdb</engine>
</nativedebugger>
<runprofile version="9">
<runcommandpicklist>
<runcommandpicklistitem>"${OUTPUT_PATH}"</runcommandpicklistitem>
</runcommandpicklist>
<runcommand>"${OUTPUT_PATH}"</runcommand>
<rundir></rundir>
<buildfirst>true</buildfirst>
<terminal-type>0</terminal-type>
<remove-instrumentation>0</remove-instrumentation>
<environment>
</environment>
</runprofile>
</conf>
</confs>
</configurationDescriptor>

View file

@ -2,13 +2,12 @@
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<data xmlns="http://www.netbeans.org/ns/make-project-private/1">
<activeConfTypeElem>1</activeConfTypeElem>
<activeConfIndexElem>0</activeConfIndexElem>
<activeConfIndexElem>2</activeConfIndexElem>
</data>
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group>
<file>file:/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/image.h</file>
<file>file:/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/src/server.cpp</file>
<file>file:/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/src/image.cpp</file>
<file>file:/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/src/robot.cpp</file>
<file>file:/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/main.cpp</file>

View file

@ -0,0 +1,26 @@
#Mon Nov 12 09:47:39 CET 2018
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/robot.h=c1541685829000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/project.xml=c1541775358000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/Makefile-impl.mk=c1541775357000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/src/robot.cpp=c1541685829000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/image.h=c1541685829000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/main.cpp=c1541778496000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/src/server.cpp=c1541685829000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/Makefile-Release.mk=c1541685829000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/src/message.cpp=c1541685829000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/Package-Debug.bash=c1541685829000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/.gitignore=c1541685829000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/Makefile-variables.mk=c1541775358000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/private/Makefile-variables.mk=c1541775358000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/Makefile=c1541685829000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/Makefile-Debug-rpi.mk=c1541776257000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/Makefile-Debug.mk=c1541775193000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/message.h=c1541685829000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/src/image.cpp=c1541778370000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/Package-Release.bash=c1541685829000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/.dep.inc=c1541685829000
VERSION=1.3
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/server.h=c1541685829000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/definitions.h=c1541685829000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/testeur/testeur/nbproject/Package-Debug-rpi.bash=c1541775358000
/home/dimercur/Documents/Travail/git/dumber/software/raspberry/superviseur-robot/lib/src/monitor.cpp=c1541685829000

View file

@ -21,6 +21,10 @@
<name>Release</name>
<type>1</type>
</confElem>
<confElem>
<name>Debug-rpi</name>
<type>1</type>
</confElem>
</confList>
<formatting>
<project-formatting-style>false</project-formatting-style>