CARLA
Toggle main menu visibility
Loading...
Searching...
No Matches
LibCarla
source
carla
rpc
ContentPackInfo.h
Go to the documentation of this file.
1
// Copyright (c) 2026 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/MsgPack.h
"
10
11
#include <string>
12
#include <vector>
13
14
namespace
carla
{
15
namespace
rpc
{
16
17
/// Description of a CARLA content pack known to the server (see
18
/// UCarlaContentPackManager). A pack is a content-only Unreal plugin cooked
19
/// against a base release, wrapped with a carla-pack.json manifest.
20
class
ContentPackInfo
{
21
public
:
22
23
ContentPackInfo
() =
default
;
24
25
/// Pack name (== plugin name == mount point "/<name>/").
26
std::string
name
;
27
28
/// Pack version from the manifest.
29
std::string
version
;
30
31
/// Base release the pack was cooked against, e.g. "carla-0.10.2-Linux".
32
std::string
base_release
;
33
34
/// Absolute path of the pack directory on the server host.
35
std::string
path
;
36
37
/// True while the pack is mounted in the running server.
38
bool
mounted
=
false
;
39
40
/// Map names declared by the pack manifest (loadable with load_world).
41
std::vector<std::string>
maps
;
42
43
MSGPACK_DEFINE_ARRAY
(
name
,
version
,
base_release
,
path
,
mounted
,
maps
);
44
};
45
46
}
// namespace rpc
47
}
// namespace carla
MsgPack.h
carla::rpc::ContentPackInfo::maps
std::vector< std::string > maps
Map names declared by the pack manifest (loadable with load_world).
Definition
ContentPackInfo.h:41
carla::rpc::ContentPackInfo::path
std::string path
Absolute path of the pack directory on the server host.
Definition
ContentPackInfo.h:35
carla::rpc::ContentPackInfo::ContentPackInfo
ContentPackInfo()=default
carla::rpc::ContentPackInfo::name
std::string name
Pack name (== plugin name == mount point "/<name>/").
Definition
ContentPackInfo.h:26
carla::rpc::ContentPackInfo::base_release
std::string base_release
Base release the pack was cooked against, e.g. "carla-0.10.2-Linux".
Definition
ContentPackInfo.h:32
carla::rpc::ContentPackInfo::version
std::string version
Pack version from the manifest.
Definition
ContentPackInfo.h:29
carla::rpc::ContentPackInfo::MSGPACK_DEFINE_ARRAY
MSGPACK_DEFINE_ARRAY(name, version, base_release, path, mounted, maps)
carla::rpc::ContentPackInfo::mounted
bool mounted
True while the pack is mounted in the running server.
Definition
ContentPackInfo.h:38
carla::rpc
Definition
DebugShapeDrawer.h:11
carla
This file contains definitions of common data structures used in traffic manager.
Definition
SignComponent.h:21
Generated by
1.18.0