CARLA
 
载入中...
搜索中...
未找到
命名空间 | | 类型定义 | 函数
carla 命名空间参考

This file contains definitions of common data structures used in traffic manager. 更多...

命名空间

namespace  client
 
namespace  detail
 
namespace  geom
 
namespace  image
 
namespace  iterator
 
namespace  learning
 
namespace  logging
 
namespace  multigpu
 
namespace  nav
 
namespace  opendrive
 
namespace  pointcloud
 
namespace  profiler
 
namespace  road
 
namespace  ros2
 
namespace  rpc
 
namespace  rss
 
namespace  sensor
 
namespace  streaming
 
namespace  traffic_manager
 

struct  are_same
 
struct  are_same< T0, T1 >
 
struct  are_same< T0, T1, Ts... >
 
class  AtomicSharedPtr
 A very simple atomic shared ptr with release-acquire memory order. 更多...
 
class  Buffer
 A piece of raw data. 更多...
 
class  BufferPool
 A pool of Buffer. 更多...
 
class  BufferView
 Creating a constant view from an existing buffer 更多...
 
class  FileSystem
 Static functions for accessing the file system. 更多...
 
class  Functional
 
class  ListView
 A view over a range of elements in a container. 更多...
 
class  MovableNonCopyable
 Inherit (privately) to suppress copy construction and assignment. 更多...
 
class  MsgPack
 
class  NonCopyable
 Inherit (privately) to suppress copy/move construction and assignment. 更多...
 
class  PythonUtil
 
class  RecurrentSharedFuture
 This class is meant to be used similar to a shared future, but the value can be set any number of times. 更多...
 
class  StringUtil
 
class  ThreadGroup
 
class  ThreadPool
 A thread pool based on Boost.Asio's io context. 更多...
 
class  time_duration
 Positive time duration up to milliseconds resolution. 更多...
 

类型定义

using ActorId = rpc::ActorId
 
template<typename T >
using EnableSharedFromThis = boost::enable_shared_from_this<T>
 
using SharedBufferView = std::shared_ptr<BufferView>
 
template<typename T >
using SharedPtr = boost::shared_ptr<T>
 Use this SharedPtr (boost::shared_ptr) to keep compatibility with boost::python, but it would be nice if in the future we can make a Python adaptor for std::shared_ptr.
 
using StopWatch = detail::StopWatchTmpl<std::chrono::steady_clock>
 
using TM = traffic_manager::TrafficManager
 
template<typename T >
using WeakPtr = boost::weak_ptr<T>
 

函数

template<typename ... Args>
static void log_critical (Args &&... args)
 
template<typename ... Args>
static void log_debug (Args &&... args)
 
template<typename ... Args>
static void log_error (Args &&... args)
 
template<typename ... Args>
static void log_info (Args &&... args)
 
template<typename ... Args>
static void log_warning (Args &&... args)
 
template<typename Container >
static auto MakeListView (Container &c)
 
template<typename Iterator >
static auto MakeListView (Iterator begin, Iterator end)
 
template<typename T , typename... Args>
static auto MakeShared (Args &&... args)
 
template<typename FunctorT >
auto MoveHandler (FunctorT &&func)
 Hack to trick asio into accepting move-only handlers, if the handler were actually copied it would result in a link error.
 
static bool operator!= (const Buffer &lhs, const Buffer &rhs)
 
static std::ostream & operator<< (std::ostream &out, const Buffer &buf)
 
static bool operator== (const Buffer &lhs, const Buffer &rhs)
 
void throw_exception (const std::exception &e)
 
template<typename T >
void throw_exception (const T &e)
 

详细描述

This file contains definitions of common data structures used in traffic manager.

This file has functionality for motion planning based on information from localization, collision avoidance and traffic light response.

待办事项
This shouldn't be exposed in this namespace.

类型定义说明

◆ ActorId

在文件 ActorId.h18 行定义.

◆ EnableSharedFromThis

template<typename T >
using carla::EnableSharedFromThis = boost::enable_shared_from_this<T>

在文件 Memory.h26 行定义.

◆ SharedBufferView

using carla::SharedBufferView = std::shared_ptr<BufferView>

在文件 BufferView.h151 行定义.

◆ SharedPtr

template<typename T >
using carla::SharedPtr = boost::shared_ptr<T>

Use this SharedPtr (boost::shared_ptr) to keep compatibility with boost::python, but it would be nice if in the future we can make a Python adaptor for std::shared_ptr.

在文件 Memory.h20 行定义.

◆ StopWatch

using carla::StopWatch = detail::StopWatchTmpl<std::chrono::steady_clock>

在文件 StopWatch.h58 行定义.

◆ TM

在文件 Vehicle.cpp19 行定义.

◆ WeakPtr

template<typename T >
using carla::WeakPtr = boost::weak_ptr<T>

在文件 Memory.h23 行定义.

函数说明

◆ log_critical()

template<typename ... Args>
static void carla::log_critical ( Args &&... args)
inlinestatic

在文件 Logging.h124 行定义.

引用了 carla::logging::write_to_stream().

被这些函数引用 carla::client::detail::GarbageCollector::operator()().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ log_debug()

template<typename ... Args>
static void carla::log_debug ( Args &&... args)
inlinestatic

在文件 Logging.h68 行定义.

引用了 carla::logging::write_to_stream().

被这些函数引用 carla::road::MapBuilder::CheckSignalsOnRoads(), carla::streaming::detail::MultiStreamState::ClearSessions(), carla::multigpu::Primary::CloseNow(), carla::streaming::detail::tcp::ServerSession::CloseNow(), carla::streaming::detail::Dispatcher::CloseStream(), carla::streaming::detail::tcp::Client::Connect(), carla::streaming::detail::MultiStreamState::ConnectSession(), carla::streaming::detail::Dispatcher::DeregisterSession(), carla::client::ServerSideSensor::Destroy(), carla::client::detail::Simulator::DestroyActor(), carla::streaming::detail::MultiStreamState::DisconnectSession(), carla::multigpu::PrimaryCommands::GetToken(), carla::streaming::detail::Dispatcher::GetToken(), carla::client::ServerSideSensor::Listen(), carla::client::RssSensor::Listen(), carla::client::ServerSideSensor::ListenToGBuffer(), carla::streaming::detail::Dispatcher::MakeStream(), carla::streaming::detail::tcp::ServerSession::Open(), carla::opendrive::parser::ControllerParser::Parse(), carla::opendrive::parser::SignalParser::Parse(), carla::opendrive::parser::ParseGeoReference(), carla::image::io::detail::io_resolver::read_image(), carla::streaming::detail::tcp::Client::ReadData(), carla::streaming::detail::Dispatcher::RegisterSession(), carla::Buffer::reset(), carla::client::ServerSideSensor::Send(), carla::client::detail::Simulator::SpawnActor(), carla::streaming::low_level::Server< T >::StartServer(), carla::multigpu::Primary::StartTimer(), carla::streaming::detail::tcp::ServerSession::StartTimer(), carla::client::ServerSideSensor::Stop(), carla::client::RssSensor::Stop(), carla::client::ServerSideSensor::StopGBuffer(), carla::streaming::low_level::Client< T >::UnSubscribe(), carla::streaming::detail::MultiStreamState::Write(), carla::streaming::detail::tcp::ServerSession::Write() , 以及 carla::image::io::detail::io_resolver::write_view().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ log_error()

template<typename ... Args>
static void carla::log_error ( Args &&... args)
inlinestatic

在文件 Logging.h110 行定义.

引用了 carla::logging::write_to_stream().

被这些函数引用 carla::client::ActorAttributeValueAccess::As< sensor::data::Color >(), carla::client::RssSensor::AppendRoutingTarget(), carla::client::detail::Client::DestroyActor(), carla::client::RssSensor::GetEgoVehicleDynamics(), carla::client::RssSensor::GetOtherVehicleDynamics(), carla::client::RssSensor::GetPedestrianDynamics(), carla::client::RssSensor::GetRoadBoundariesMode(), carla::client::RssSensor::GetRoutingTargets(), carla::client::LaneInvasionSensor::Listen(), carla::client::RssSensor::Listen(), carla::opendrive::OpenDriveParser::Load(), carla::streaming::detail::tcp::ServerSession::Open(), carla::multigpu::Listener::OpenSession(), carla::streaming::detail::tcp::Server::OpenSession(), carla::client::detail::GarbageCollector::operator()(), carla::multigpu::Primary::ReadData(), carla::multigpu::Secondary::ReadData(), carla::client::RssSensor::RegisterActorConstellationCallback(), carla::streaming::detail::Dispatcher::RegisterSession(), carla::client::RssSensor::ResetRoutingTargets(), carla::traffic_manager::InMemoryMap::Save(), carla::multigpu::PrimaryCommands::SendDisableForROS(), carla::multigpu::PrimaryCommands::SendEnableForROS(), carla::multigpu::PrimaryCommands::SendIsEnabledForROS(), carla::client::RssSensor::SetEgoVehicleDynamics(), carla::client::RssSensor::SetLogLevel(), carla::client::RssSensor::SetMapLogLevel(), carla::client::RssSensor::SetOtherVehicleDynamics(), carla::client::RssSensor::SetPedestrianDynamics(), carla::client::RssSensor::SetRoadBoundariesMode(), carla::multigpu::Primary::StartTimer(), carla::client::RssSensor::Stop(), carla::multigpu::Secondary::Write(), carla::multigpu::Primary::Write(), carla::multigpu::Secondary::Write(), carla::multigpu::Secondary::Write(), carla::streaming::detail::Dispatcher::~Dispatcher(), carla::client::detail::Episode::~Episode() , 以及 carla::client::ServerSideSensor::~ServerSideSensor().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ log_info()

template<typename ... Args>
static void carla::log_info ( Args &&... args)
inlinestatic

◆ log_warning()

template<typename ... Args>
static void carla::log_warning ( Args &&... args)
inlinestatic

在文件 Logging.h96 行定义.

引用了 carla::logging::write_to_stream().

被这些函数引用 carla::client::World::ApplySettings(), UCarSimManagerComponent::BeginPlay(), carla::client::Actor::Destroy(), UCarSimManagerComponent::DisableCarSimPhysics(), UBaseCarlaMovementComponent::EnableUE4VehiclePhysics(), AOpenDriveGenerator::GenerateRoadMesh(), carla::client::WalkerAIController::GoToLocation(), ATrafficLightManager::InitializeTrafficLights(), carla::client::ServerSideSensor::ListenToGBuffer(), UCarlaEpisode::LoadNewOpendriveEpisode(), ATrafficLightManager::MatchTrafficLightActorsWithOpenDriveSignals(), UChronoMovementComponent::OnVehicleHit(), UChronoMovementComponent::OnVehicleOverlap(), carla::opendrive::parser::ParseGeoReference(), carla::client::LightManager::RetrieveLightState(), Benchmark::Run(), carla::client::ServerSideSensor::Send(), carla::client::detail::Simulator::SetEpisodeSettings(), carla::client::WalkerAIController::SetMaxSpeed(), carla::traffic_manager::TrafficManagerLocal::SetupLocalMap(), ATrafficLightManager::SpawnSignals(), ATrafficLightManager::SpawnTrafficLights(), carla::client::ServerSideSensor::Stop(), carla::client::ServerSideSensor::StopGBuffer(), carla::client::detail::ValidateVersions() , 以及 carla::client::ServerSideSensor::~ServerSideSensor().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ MakeListView() [1/2]

template<typename Container >
static auto carla::MakeListView ( Container & c)
inlinestatic

在文件 LibCarla/source/carla/ListView.h83 行定义.

引用了 MakeListView().

+ 函数调用图:

◆ MakeListView() [2/2]

template<typename Iterator >
static auto carla::MakeListView ( Iterator begin,
Iterator end )
inlinestatic

◆ MakeShared()

template<typename T , typename... Args>
static auto carla::MakeShared ( Args &&... args)
inlinestatic

在文件 Memory.h29 行定义.

◆ MoveHandler()

template<typename FunctorT >
auto carla::MoveHandler ( FunctorT && func)

Hack to trick asio into accepting move-only handlers, if the handler were actually copied it would result in a link error.

参见
https://stackoverflow.com/a/22891509.

在文件 MoveHandler.h33 行定义.

被这些函数引用 carla::ThreadPool::Post() , 以及 carla::rpc::detail::FunctionWrapper< R(*)(Args...)>::WrapSyncCall().

+ 这是这个函数的调用关系图:

◆ operator!=()

static bool carla::operator!= ( const Buffer & lhs,
const Buffer & rhs )
inlinestatic

在文件 test/Buffer.h59 行定义.

◆ operator<<()

static std::ostream & carla::operator<< ( std::ostream & out,
const Buffer & buf )
inlinestatic

在文件 test/Buffer.h48 行定义.

引用了 carla::Buffer::size() , 以及 util::buffer::to_hex_string().

+ 函数调用图:

◆ operator==()

static bool carla::operator== ( const Buffer & lhs,
const Buffer & rhs )
inlinestatic

在文件 test/Buffer.h53 行定义.

引用了 carla::Buffer::begin(), carla::Buffer::end() , 以及 carla::Buffer::size().

+ 函数调用图:

◆ throw_exception() [1/2]

void carla::throw_exception ( const std::exception & e)

◆ throw_exception() [2/2]

template<typename T >
void carla::throw_exception ( const T & e)

在文件 Exception.h37 行定义.