Esempio n. 1
0
 /// <summary>
 /// Copying constructor. It copies  ID as well.
 /// </summary>
 /// <param name="prev"></param>
 public ProgramStartDescription(ProgramStartDescription prev)
 {
     _image_dir       = prev._image_dir;
     _image_filename  = prev._image_filename;
     command_line     = prev.command_line;
     max_running_time = prev.max_running_time;
     _id = prev._id;
 }
Esempio n. 2
0
        /// <summary>
        /// Creates new program description with different executable. The rest is kept the same
        /// </summary>
        /// <param name="image_file_name">image file name</param>
        /// <returns></returns>
        public ProgramStartDescription useDifferentImageFile(string image_file_name)
        {
            ProgramStartDescription result = new ProgramStartDescription(this);

            _id = getNextId();
            result.image_filename = image_file_name;
            return(result);
        }
Esempio n. 3
0
        /// <summary>
        /// Creates new program description with different command line parameters. The rest is kept the same
        /// </summary>
        /// <param name="command_line">newe command line parameters for the program</param>
        /// <returns></returns>
        public ProgramStartDescription useDifferentCommandLine(string command_line)
        {
            ProgramStartDescription result = new ProgramStartDescription(this);

            _id = getNextId();
            result.command_line = command_line;
            return(result);
        }
Esempio n. 4
0
 public void launchProgram(ProgramStartDescription program_start_description)
 {
     remote_control.launchProgram(program_start_description);
 }
Esempio n. 5
0
 public ProgramResponseDescription(ProgramStartDescription start_description)
     : base(start_description)
 {
 }