CARLA
 
载入中...
搜索中...
未找到
LibCarla/source/carla/NonCopyable.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
9namespace carla {
10
11 /// Inherit (privately) to suppress copy/move construction and assignment.
13 public:
14
15 NonCopyable() = default;
16
17 NonCopyable(const NonCopyable &) = delete;
18 NonCopyable &operator=(const NonCopyable &) = delete;
19
22 };
23
24 /// Inherit (privately) to suppress copy construction and assignment.
36
37} // namespace carla
Inherit (privately) to suppress copy construction and assignment.
MovableNonCopyable(MovableNonCopyable &&)=default
MovableNonCopyable & operator=(MovableNonCopyable &&)=default
MovableNonCopyable(const MovableNonCopyable &)=delete
MovableNonCopyable & operator=(const MovableNonCopyable &)=delete
Inherit (privately) to suppress copy/move construction and assignment.
NonCopyable(NonCopyable &&)=delete
NonCopyable()=default
NonCopyable & operator=(NonCopyable &&)=delete
NonCopyable(const NonCopyable &)=delete
NonCopyable & operator=(const NonCopyable &)=delete
This file contains definitions of common data structures used in traffic manager.
Definition Carla.cpp:133