--  Copyright (2008-2013) Cédric Coussinet (cedric.coussinet@nomoseed.net)
--
--  This program is free software: you can redistribute it and/or modify
--  it under the terms of the GNU Affero 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 Affero General Public License for more details.

--  You should have received a copy of the GNU Affero General Public License
--  along with this program. If not, see <http://www.gnu.org/licenses/>

with Nomo.Numerics.Reals;

with Nomo.Numerics.Times;

with Nomo.Numerics.Informations;

package Nomo.Internal_Messages.Plant is

   pragma Pure;

   procedure Copy (This   : out Internal_Message;
                   Source : in Internal_Message);

   use Numerics.Informations;

   function Get_Information (This : in Internal_Message) return Positive_Integer;

   procedure Set_Information(This        : in out Internal_Message;
                             Information : in Positive_Integer);
   pragma Inline (Set_Information);

   use Numerics.Times;

   procedure Set_Time_Span (This      : in out Internal_Message;
                            Time_Span : in Time_Interval);
   pragma Inline (Set_Time_Span);

   use Numerics.Reals;

   function Get_Credibility  (This : in Internal_Message) return Real_0_To_1;

   procedure Set_Credibility (This        : in out Internal_Message;
                              Credibility : in Real_0_To_1);
   pragma Inline (Set_Credibility);


end Nomo.Internal_Messages.Plant;
