NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
plan_io.h
Go to the documentation of this file.
1
/* Copyright (c) 2017, United States Government, as represented by the
2
* Administrator of the National Aeronautics and Space Administration.
3
*
4
* All rights reserved.
5
*
6
* The Astrobee platform is licensed under the Apache License, Version 2.0
7
* (the "License"); you may not use this file except in compliance with the
8
* License. You may obtain a copy of the License at
9
*
10
* http://www.apache.org/licenses/LICENSE-2.0
11
*
12
* Unless required by applicable law or agreed to in writing, software
13
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
* License for the specific language governing permissions and limitations
16
* under the License.
17
*/
18
19
20
21
#ifndef EXECUTIVE_UTILS_SEQUENCER_PLAN_IO_H_
22
#define EXECUTIVE_UTILS_SEQUENCER_PLAN_IO_H_
23
24
#include <ff_msgs/CompressedFile.h>
25
26
#include <boost/iostreams/copy.hpp>
27
#include <boost/iostreams/device/back_inserter.hpp>
28
#include <boost/iostreams/device/array.hpp>
29
#include <boost/iostreams/filter/bzip2.hpp>
30
#include <boost/iostreams/filter/gzip.hpp>
31
#include <boost/iostreams/filter/zlib.hpp>
32
#include <boost/iostreams/filtering_stream.hpp>
33
34
#include <glog/logging.h>
35
36
#include <string>
37
38
namespace
sequencer
{
39
40
bool
DecompressData
(
const
char
* data,
const
std::size_t length,
41
int
const
type, std::string * out);
42
43
}
// end namespace sequencer
44
45
#endif // EXECUTIVE_UTILS_SEQUENCER_PLAN_IO_H_
sequencer::DecompressData
bool DecompressData(const char *data, const std::size_t length, int const type, std::string *out)
Definition:
plan_io.cc:25
sequencer
Definition:
command_conversion.h:41