------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -- This source file was automatically generated by Platypus -- see http://dossen.univ-brest.fr/apl -- -- Any modification of this file will be lost. -- Please see the "platypus" directory instead : it contains the Cheddar's -- model and its meta-model. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -- Cheddar is a free real time scheduling tool. -- This program provides services to automatically check temporal constraints -- of real time tasks. -- -- Copyright (C) 2002-2014 Frank Singhoff -- Cheddar is developed by the LAB-STICC Team, University of Brest -- -- 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 2 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, write to the Free Software -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -- -- -- Contact : cheddar@listes.univ-brest.fr -- To post to this mailing list, you must be subscribed -- (see http//beru.univ-brest.fr/~singhoff/cheddar for details) -- ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Framework_Config; use Framework_Config; with id_generators; use id_generators; with Objects; use Objects; with convert_strings; with convert_unbounded_strings; with Text_IO; use Text_IO; package partitioning_algorithms is type processor_sort_type is (processor_index, processor_utilization); procedure to_processor_sort_type is new convert_strings (processor_sort_type, processor_index); procedure to_processor_sort_type is new convert_unbounded_strings (processor_sort_type, processor_index); function xml_string (obj : in processor_sort_type) return Unbounded_String; function xml_ref_string (obj : in processor_sort_type) return Unbounded_String; package processor_sort_type_io is new Text_IO.Enumeration_IO (processor_sort_type); use processor_sort_type_io; type task_sort_type is (task_period, task_deadline); procedure to_task_sort_type is new convert_strings (task_sort_type, task_period); procedure to_task_sort_type is new convert_unbounded_strings (task_sort_type, task_period); function xml_string (obj : in task_sort_type) return Unbounded_String; function xml_ref_string (obj : in task_sort_type) return Unbounded_String; package task_sort_type_io is new Text_IO.Enumeration_IO (task_sort_type); use task_sort_type_io; type feasibility_test_type is (condition_ip_test, utilization_test); procedure to_feasibility_test_type is new convert_strings (feasibility_test_type, condition_ip_test); procedure to_feasibility_test_type is new convert_unbounded_strings (feasibility_test_type, condition_ip_test); function xml_string (obj : in feasibility_test_type) return Unbounded_String; function xml_ref_string (obj : in feasibility_test_type) return Unbounded_String; package feasibility_test_type_io is new Text_IO.Enumeration_IO (feasibility_test_type); use feasibility_test_type_io; type loop_operation_type is (rmff_loop, rmbf_loop, rmnf_loop); procedure to_loop_operation_type is new convert_strings (loop_operation_type, rmff_loop); procedure to_loop_operation_type is new convert_unbounded_strings (loop_operation_type, rmff_loop); function xml_string (obj : in loop_operation_type) return Unbounded_String; function xml_ref_string (obj : in loop_operation_type) return Unbounded_String; package loop_operation_type_io is new Text_IO.Enumeration_IO (loop_operation_type); use loop_operation_type_io; end partitioning_algorithms;