File: /home/oboss/Users/gec/sources/PUS_Services/Large_Data_Transfer/large_data_transfer-receiver-tc_parser.ads
1 --% Compilation Unit:
2 --
3 --% Category: Function Declaration
4 --
5 --% Release: $Name: $
6 --
7 --% Version: $Revision: 1.2 $
8 --
9 --% Author: $Author: jhl $
10 --
11 --% Revision Log:
12 -- $Log: large_data_transfer-receiver-tc_parser.ads,v $
13 -- Revision 1.2 2003/10/09 11:05:27 jhl
14 -- Added Service 13 And 19
15 --
16 -- Revision 1.1.2.2 2003/10/03 09:47:53 jhl
17 -- Large Data Transfer post review first update
18 --
19 -- Revision 1.1.2.1 2003/10/01 11:54:41 jhl
20 -- Initial version of service 13 Event Action, and 19 Large Data Transfer.
21 --
22 -- Revision 2.0 2003/04/04 10:08:58 gec
23 -- Initial release serving as baseline for OBOSS-III project.
24 --
25 -- Revision 1.1.1.1 2003/04/04 07:19:20 gec
26 -- Imported using TkCVS
27 --
28 --
29 --
30 --% Project: OBOSS
31 --
32 --% Copyright (C) 2003 by Terma A/S
33 -- Proprietary and intellectual rights of Terma A/S, Denmark,
34 -- are involved in the subject-matter of this material and
35 -- all manufacturing, reproduction, use, disclosure, and
36 -- sales rights pertaining to such subject-matter are
37 -- expressly reserved. This material is submitted for a
38 -- specific purpose as agreed, and the recipient by
39 -- accepting this material agrees that this material will
40 -- not be used, copied, or reproduced in whole or in part
41 -- nor its contents revealed in any manner or to any person,
42 -- except to meet the purpose for which it was submitted and
43 -- subject to the terms of the agreement.
44 --
45 --% Target Dependencies:
46 -- None
47 --% Compiler Dependencies:
48 -- None
49
50 --~-----------------------------------------------------------------------------
51
52 with Source_Data_Stream;
53
54 private generic package Large_Data_Transfer.Receiver.TC_Parser is
55
56 --% Library Package:
57 -- Implements the parsing of a TC delivered to the Large Data Transder
58 --+ receiving sub-service, i.e. parsing of the source data.
59 --% Active Tasks:
60 --> None
61 --% Passive Tasks:
62 --> None
63
64 -- Exception indicating that the TC source data is inconsistent and can not
65 --+ be parsed.
66 Source_Data_Is_Inconsistent : exception;
67
68 -- Exception indicating that the service subtype is not supported.
69 Unsupported_Service_Subtype : exception;
70
71 --% Subprogram:
72 -- Main parsing function.
73 --% Parameter Constraints:
74 --> TC_Packet - Must be a TC of service Large Data Transfer with a
75 --+ receiving sub-service service sub-type.
76 --% Exceptions Raised:
77 --> Source_Data_Is_Inconsistent - If the source data can not be parsed.
78 --> Unsupported_Service_Subtype - If the service subtype constraint
79 --+ mentioned above is violated.
80
81 function Parse_TC
82 (TC_Packet : in PUS.PUS_Packet)
83 return The_Receiver_State.TC_Request_Base'Class;
84
85 end Large_Data_Transfer.receiver.tc_Parser;
86
87 --~-----------------------------------------------------------------------------
88
89
90