Apollo 10.0
自动驾驶开放平台
play_param.h
浏览该文件的文档.
1/******************************************************************************
2 * Copyright 2018 The Apollo Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *****************************************************************************/
16
17#ifndef CYBER_TOOLS_CYBER_RECORDER_PLAYER_PLAY_PARAM_H_
18#define CYBER_TOOLS_CYBER_RECORDER_PLAYER_PLAY_PARAM_H_
19
20#include <cstdint>
21#include <limits>
22#include <set>
23#include <string>
24
25namespace apollo {
26namespace cyber {
27namespace record {
28
29struct PlayParam {
31 bool is_loop_playback = false;
32 double play_rate = 1.0;
33 uint64_t begin_time_ns = 0;
34 uint64_t base_begin_time_ns = 0;
35 uint64_t end_time_ns = std::numeric_limits<uint64_t>::max();
36 double start_time_s = 0;
37 uint64_t delay_time_s = 0;
38 uint32_t preload_time_s = 3;
39 std::set<std::string> files_to_play;
40 std::set<std::string> channels_to_play;
41 std::set<std::string> black_channels;
42 // for dreamview_plus play record;use record_id to check source
43 std::string record_id = "";
44};
45
46} // namespace record
47} // namespace cyber
48} // namespace apollo
49
50#endif // CYBER_TOOLS_CYBER_RECORDER_PLAYER_PLAY_PARAM_H_
class register implement
Definition arena_queue.h:37
std::set< std::string > black_channels
Definition play_param.h:41
std::set< std::string > files_to_play
Definition play_param.h:39
std::set< std::string > channels_to_play
Definition play_param.h:40