File: /home/oboss/Users/gec/sources/PUS_Services/Event_Action/event_action-event_reporter.ads

1     --% Compilation Unit: Event_Action.Event_Reporter
2     --
3     --% Category: Generic Package Declaration
4     --
5     --% Release:  $Name:  $
6     --
7     --% Version:  $Revision: 1.3 $
8     --
9     --% Author:   $Author: jhl $
10     --
11     --% Revision Log:
12     --    $Log: event_action-event_reporter.ads,v $
13     --    Revision 1.3  2003/10/13 11:03:46  jhl
14     --    Removed with's not needed.
15     --
16     --    Revision 1.2  2003/10/09 11:05:19  jhl
17     --    Added Service 13 And 19
18     --
19     --    Revision 1.1.2.2  2003/10/06 12:17:18  jhl
20     --    Event Action Post Review first update
21     --
22     --    Revision 1.1.2.1  2003/10/01 11:54:27  jhl
23     --    Initial version of service 13 Event Action, and 19 Large Data Transfer.
24     --
25     --    Revision 2.0  2003/04/04 10:08:58  gec
26     --    Initial release serving as baseline for OBOSS-III project.
27     --
28     --    Revision 1.1.1.1  2003/04/04 07:19:20  gec
29     --    Imported using TkCVS
30     --
31     --
32     --
33     --% Project: OBOSS
34     --
35     --% Copyright (C) 2003 by Terma A/S
36     --  Proprietary and intellectual rights of Terma A/S, Denmark,
37     --  are involved in the subject-matter of this material and
38     --  all manufacturing, reproduction, use, disclosure, and
39     --  sales rights pertaining to such subject-matter are
40     --  expressly reserved. This material is submitted for a
41     --  specific purpose as agreed, and the recipient by
42     --  accepting this material agrees that this material will
43     --  not be used, copied, or reproduced in whole or in part
44     --  nor its contents revealed in any manner or to any person,
45     --  except to meet the purpose for which it was submitted and
46     --  subject to the terms of the agreement.
47     --
48     --% Target Dependencies:
49     --    None
50     --% Compiler Dependencies:
51     --    None
52     
53     --~-----------------------------------------------------------------------------
54     
55     with PUS;
56     with Mission_Parameters;
57     generic
58     
59        --  Application ID of application process to which the services of this
60        --+    package is associated.
61        Application_Process_ID : in     Mission_Parameters.APID;
62     
63        -- PUS Packet deposit function
64        with function Optional_Deposit
65              (PUS_Packet :        PUS.Optional_PUS_Packet)
66              return Boolean;
67     
68     package Event_Action.Event_Reporter is
69     
70        --% Library Package:
71        --    Event reporting facility for the event action service.
72        --% Active Tasks:
73        -->   None
74        --% Passive Tasks:
75        -->   None
76     
77        --% Subprogram:
78        --    Generates and sends an event report for an erroneous TM packet
79        --+    The source data in the event report will consist of the TM Packet ID
80        --+    and Packet Sequence Counter - for identification of the TM.
81        --% Parameter Constraints:
82        -->   TM  - Must be a Telemetry PUS Packet
83        --% Exceptions Raised:
84        -->   Source_Data_Stream.No_Streams_Available -- No stream to hold event report
85        --+    source data is available.
86     
87        procedure Report_Telemetry_Packet_Error
88              (TM : in     PUS.PUS_Packet);
89     
90        --% Subprogram:
91        --    Deposit the detection list report PUS packet.
92        --% Parameter Constraints:
93        -->   TM  - Must be a full Detection List Report PUS Packet
94        --% Exceptions Raised:
95        -->   None.
96     
97        function Report_Detection_List
98              (TM : in     PUS.PUS_Packet)
99              return Boolean;
100     
101     end Event_Action.event_Reporter;
102     
103     --~-----------------------------------------------------------------------------
104