|
1 | | -/************************************************************************ |
2 | | - * NASA Docket No. GSC-18,447-1, and identified as “CFS CFDP (CF) |
3 | | - * Application version 3.0.0” |
4 | | - * |
5 | | - * Copyright (c) 2019 United States Government as represented by the |
6 | | - * Administrator of the National Aeronautics and Space Administration. |
7 | | - * All Rights Reserved. |
8 | | - * |
9 | | - * Licensed under the Apache License, Version 2.0 (the "License"); you may |
10 | | - * not use this file except in compliance with the License. You may obtain |
11 | | - * a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 |
12 | | - * |
13 | | - * Unless required by applicable law or agreed to in writing, software |
14 | | - * distributed under the License is distributed on an "AS IS" BASIS, |
15 | | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
16 | | - * See the License for the specific language governing permissions and |
17 | | - * limitations under the License. |
18 | | - ************************************************************************/ |
19 | | - |
20 | | -/** |
21 | | - * @file |
22 | | - * |
23 | | - * The CF Application chunks (sparse gap tracking) logic file |
24 | | - * |
25 | | - * This class handles the complexity of sparse gap tracking so that |
26 | | - * the CFDP engine doesn't need to worry about it. Information is given |
27 | | - * to the class and when needed calculations are made internally to |
28 | | - * help the engine build NAK packets. Received NAK segment requests |
29 | | - * are stored in this class as well and used for re-transmit processing. |
30 | | - * |
31 | | - * This is intended to be mostly a generic purpose class used by CF. |
32 | | - */ |
| 1 | +// ====================================================================== |
| 2 | +// \title CfdpChunk.cpp |
| 3 | +// \brief CFDP chunks (sparse gap tracking) logic file |
| 4 | +// |
| 5 | +// This file is a port of the cf_chunks.cpp file from the |
| 6 | +// NASA Core Flight System (cFS) CFDP (CF) Application, |
| 7 | +// version 3.0.0, adapted for use within the F-Prime (F') framework. |
| 8 | +// |
| 9 | +// This class handles the complexity of sparse gap tracking so that |
| 10 | +// the CFDP engine doesn't need to worry about it. Information is given |
| 11 | +// to the class and when needed calculations are made internally to |
| 12 | +// help the engine build NAK packets. Received NAK segment requests |
| 13 | +// are stored in this class as well and used for re-transmit processing. |
| 14 | +// |
| 15 | +// ====================================================================== |
| 16 | +// |
| 17 | +// NASA Docket No. GSC-18,447-1 |
| 18 | +// |
| 19 | +// Copyright (c) 2019 United States Government as represented by the |
| 20 | +// Administrator of the National Aeronautics and Space Administration. |
| 21 | +// All Rights Reserved. |
| 22 | +// |
| 23 | +// Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 24 | +// not use this file except in compliance with the License. You may obtain |
| 25 | +// a copy of the License at |
| 26 | +// |
| 27 | +// http://www.apache.org/licenses/LICENSE-2.0 |
| 28 | +// |
| 29 | +// Unless required by applicable law or agreed to in writing, software |
| 30 | +// distributed under the License is distributed on an "AS IS" BASIS, |
| 31 | +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 32 | +// See the License for the specific language governing permissions and |
| 33 | +// limitations under the License. |
| 34 | +// |
| 35 | +// ====================================================================== |
33 | 36 |
|
34 | 37 | #include <string.h> |
35 | 38 |
|
36 | 39 | #include <Fw/Types/Assert.hpp> |
37 | 40 |
|
38 | | -#include "cf_chunk.hpp" |
| 41 | +#include "CfdpChunk.hpp" |
39 | 42 |
|
40 | 43 | namespace Svc { |
41 | 44 | namespace Ccsds { |
|
0 commit comments