CARLA
 
载入中...
搜索中...
未找到
TimeoutException.h
浏览该文件的文档.
1// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3//
4// This work is licensed under the terms of the MIT license.
5// For a copy, see <https://opensource.org/licenses/MIT>.
6
7#pragma once
8
9#include "carla/Time.h"
10
11#include <stdexcept>
12#include <string>
13
14namespace carla {
15namespace client {
16
17 class TimeoutException : public std::runtime_error {
18 public:
19
20 explicit TimeoutException(
21 const std::string &endpoint,
22 time_duration timeout);
23 };
24
25} // namespace client
26} // namespace carla
TimeoutException(const std::string &endpoint, time_duration timeout)
Positive time duration up to milliseconds resolution.
Definition Time.h:19
This file contains definitions of common data structures used in traffic manager.
Definition Carla.cpp:133