with Exceptions; use Exceptions;
with Vehicle_Interface; use Vehicle_Interface;
with Vehicle_Message_Type; use Vehicle_Message_Type;
package body Vehicle_Task_Type is
task body Vehicle_Task is
Vehicle_No : Swarm_Element_Index;
begin
accept Identify (Set_Vehicle_No : Swarm_Element_Index; Local_Task_Id : out Task_Id) do
Vehicle_No := Set_Vehicle_No;
Local_Task_Id := Current_Task;
end Identify;
loop
delay 1.0;
end loop;
exception
when E : others => Show_Exception (E);
end Vehicle_Task;
end Vehicle_Task_Type;