CARLA
 
载入中...
搜索中...
未找到
Public 类型 | Public 成员函数 | Private 属性 | 友元 | 所有成员列表
carla::client::detail::EpisodeProxyImpl< PointerT > 模板类 参考

Provides access to the Simulator during a given episode. 更多...

#include <EpisodeProxy.h>

+ 类 carla::client::detail::EpisodeProxyImpl< PointerT > 继承关系图:
+ carla::client::detail::EpisodeProxyImpl< PointerT > 的协作图:

Public 类型

using SharedPtrType = EpisodeProxyPointerType::Shared
 

Public 成员函数

void Clear () noexcept
 
 EpisodeProxyImpl ()=default
 
template<typename T >
 EpisodeProxyImpl (EpisodeProxyImpl< T > other)
 
 EpisodeProxyImpl (SharedPtrType simulator)
 
auto GetId () const noexcept
 
bool IsValid () const noexcept
 
SharedPtrType Lock () const
 Same as TryLock but never return nullptr.
 
SharedPtrType TryLock () const noexcept
 

Private 属性

uint64_t _episode_id
 
PointerT _simulator
 

友元

template<typename T >
class EpisodeProxyImpl
 

详细描述

template<typename PointerT>
class carla::client::detail::EpisodeProxyImpl< PointerT >

Provides access to the Simulator during a given episode.

After the episode is ended any access to the simulator throws an std::runtime_error.

在文件 EpisodeProxy.h28 行定义.

成员类型定义说明

◆ SharedPtrType

template<typename PointerT >
using carla::client::detail::EpisodeProxyImpl< PointerT >::SharedPtrType = EpisodeProxyPointerType::Shared

在文件 EpisodeProxy.h31 行定义.

构造及析构函数说明

◆ EpisodeProxyImpl() [1/3]

template<typename PointerT >
carla::client::detail::EpisodeProxyImpl< PointerT >::EpisodeProxyImpl ( )
default

◆ EpisodeProxyImpl() [2/3]

template<typename T >
carla::client::detail::EpisodeProxyImpl< T >::EpisodeProxyImpl ( SharedPtrType simulator)

在文件 EpisodeProxy.cpp27 行定义.

◆ EpisodeProxyImpl() [3/3]

template<typename PointerT >
template<typename T >
carla::client::detail::EpisodeProxyImpl< PointerT >::EpisodeProxyImpl ( EpisodeProxyImpl< T > other)
inline

在文件 EpisodeProxy.h38 行定义.

成员函数说明

◆ Clear()

template<typename T >
void carla::client::detail::EpisodeProxyImpl< T >::Clear ( )
noexcept

在文件 EpisodeProxy.cpp50 行定义.

被这些函数引用 carla::client::detail::Simulator::DestroyActor().

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

◆ GetId()

template<typename PointerT >
auto carla::client::detail::EpisodeProxyImpl< PointerT >::GetId ( ) const
inlinenoexcept

在文件 EpisodeProxy.h42 行定义.

引用了 carla::client::detail::EpisodeProxyImpl< PointerT >::_episode_id.

被这些函数引用 carla::client::World::GetId() , 以及 carla::client::detail::Simulator::LoadEpisode().

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

◆ IsValid()

template<typename PointerT >
bool carla::client::detail::EpisodeProxyImpl< PointerT >::IsValid ( ) const
inlinenoexcept

在文件 EpisodeProxy.h53 行定义.

引用了 carla::client::detail::EpisodeProxyImpl< PointerT >::TryLock().

被这些函数引用 carla::client::Actor::IsActive(), carla::client::Actor::IsAlive() , 以及 carla::client::Actor::IsDormant().

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

◆ Lock()

template<typename T >
EpisodeProxyImpl< T >::SharedPtrType carla::client::detail::EpisodeProxyImpl< T >::Lock ( ) const

Same as TryLock but never return nullptr.

异常
std::runtime_errorif episode is gone.

在文件 EpisodeProxy.cpp39 行定义.

引用了 carla::client::detail::Load() , 以及 carla::throw_exception().

被这些函数引用 carla::client::Actor::AddAngularImpulse(), carla::client::Actor::AddForce(), carla::client::Actor::AddForce(), carla::client::Actor::AddImpulse(), carla::client::Actor::AddImpulse(), carla::client::Actor::AddTorque(), carla::client::Vehicle::ApplyAckermannControl(), carla::client::Vehicle::ApplyAckermannControllerSettings(), carla::client::World::ApplyColorTextureToObject(), carla::client::World::ApplyColorTextureToObjects(), carla::client::Vehicle::ApplyControl(), carla::client::Walker::ApplyControl(), carla::client::World::ApplyFloatColorTextureToObject(), carla::client::World::ApplyFloatColorTextureToObjects(), carla::client::Vehicle::ApplyPhysicsControl(), carla::client::World::ApplySettings(), carla::client::Walker::BlendPose(), carla::client::World::CastRay(), carla::client::Vehicle::CloseDoor(), carla::traffic_manager::TrafficManager::CreateTrafficManagerClient(), carla::traffic_manager::TrafficManager::CreateTrafficManagerServer(), carla::client::Actor::Destroy(), carla::client::Actor::DisableConstantVelocity(), carla::client::ServerSideSensor::DisableForROS(), carla::client::DrawShape(), carla::client::Vehicle::EnableCarSim(), carla::client::Vehicle::EnableChronoPhysics(), carla::client::Actor::EnableConstantVelocity(), carla::client::World::EnableEnvironmentObjects(), carla::client::ServerSideSensor::EnableForROS(), carla::client::TrafficLight::Freeze(), carla::client::World::FreezeAllTrafficLights(), carla::client::Actor::GetAcceleration(), carla::client::Vehicle::GetAckermannControllerSettings(), carla::client::World::GetActor(), carla::client::World::GetActors(), carla::client::World::GetActors(), carla::client::Actor::GetActorState(), carla::client::TrafficLight::GetAffectedLaneWaypoints(), carla::client::Actor::GetAngularVelocity(), carla::client::World::GetBlueprintLibrary(), carla::client::Actor::GetBoneNames(), carla::client::Actor::GetBoneRelativeTransforms(), carla::client::Walker::GetBonesTransform(), carla::client::Actor::GetBoneWorldTransforms(), carla::client::Actor::GetComponentNames(), carla::client::Actor::GetComponentRelativeTransform(), carla::client::Actor::GetComponentWorldTransform(), carla::client::Vehicle::GetControl(), carla::client::TrafficLight::GetElapsedTime(), carla::client::World::GetEnvironmentObjects(), carla::client::Vehicle::GetFailureState(), carla::client::TrafficLight::GetGreenTime(), carla::client::TrafficLight::GetGroupTrafficLights(), carla::client::World::GetIMUISensorGravity(), carla::client::World::GetLevelBBs(), carla::client::TrafficLight::GetLightBoxes(), carla::client::World::GetLightManager(), carla::client::Vehicle::GetLightState(), carla::client::Actor::GetLocation(), carla::client::World::GetMap(), carla::client::World::GetNamesOfAllObjects(), carla::client::TrafficLight::GetOpenDRIVEID(), carla::client::Vehicle::GetPhysicsControl(), carla::client::TrafficLight::GetPoleIndex(), carla::client::Walker::GetPoseFromAnimation(), carla::client::WalkerAIController::GetRandomLocation(), carla::client::World::GetRandomLocationFromNavigation(), carla::client::TrafficLight::GetRedTime(), carla::client::World::GetSettings(), carla::client::World::GetSnapshot(), carla::client::Actor::GetSocketNames(), carla::client::Actor::GetSocketRelativeTransforms(), carla::client::Actor::GetSocketWorldTransforms(), carla::client::World::GetSpectator(), carla::client::Vehicle::GetSpeedLimit(), carla::client::TrafficLight::GetState(), carla::client::TrafficLight::GetStopWaypoints(), carla::client::Vehicle::GetTelemetryData(), carla::client::Vehicle::GetTrafficLight(), carla::client::Vehicle::GetTrafficLightState(), carla::client::Actor::GetTransform(), carla::client::World::GetVehiclesLightStates(), carla::client::Actor::GetVelocity(), carla::client::Walker::GetWalkerControl(), carla::client::World::GetWeather(), carla::client::Vehicle::GetWheelSteerAngle(), carla::client::TrafficLight::GetYellowTime(), carla::client::WalkerAIController::GoToLocation(), carla::client::Vehicle::IsAtTrafficLight(), carla::client::ServerSideSensor::IsEnabledForROS(), carla::client::TrafficLight::IsFrozen(), carla::client::LaneInvasionSensor::Listen(), carla::client::ServerSideSensor::Listen(), carla::client::RssSensor::Listen(), carla::client::ServerSideSensor::ListenToGBuffer(), carla::client::World::LoadLevelLayer(), carla::client::World::OnTick(), carla::client::Vehicle::OpenDoor(), carla::client::World::ProjectPoint(), carla::client::World::RemoveOnTick(), carla::traffic_manager::TrafficManagerLocal::Reset(), carla::traffic_manager::TrafficManagerRemote::Reset(), carla::client::World::ResetAllTrafficLights(), carla::client::TrafficLight::ResetGroup(), carla::client::Vehicle::RestorePhysXPhysics(), carla::traffic_manager::TrafficManagerLocal::Run(), carla::client::ServerSideSensor::Send(), carla::client::Actor::SetActorDead(), carla::client::Walker::SetBonesTransform(), carla::client::Actor::SetCollisions(), carla::client::Actor::SetEnableGravity(), carla::client::TrafficLight::SetGreenTime(), carla::client::World::SetIMUISensorGravity(), carla::client::Vehicle::SetLightState(), carla::client::Actor::SetLocation(), carla::client::WalkerAIController::SetMaxSpeed(), carla::client::World::SetPedestriansCrossFactor(), carla::client::World::SetPedestriansSeed(), carla::client::TrafficLight::SetRedTime(), carla::client::Actor::SetSimulatePhysics(), carla::client::TrafficLight::SetState(), carla::client::Actor::SetTargetAngularVelocity(), carla::client::Actor::SetTargetVelocity(), carla::client::Actor::SetTransform(), carla::traffic_manager::TrafficManagerLocal::SetupLocalMap(), carla::client::World::SetWeather(), carla::client::Vehicle::SetWheelSteerDirection(), carla::client::TrafficLight::SetYellowTime(), carla::client::Vehicle::ShowDebugTelemetry(), carla::client::World::SpawnActor(), carla::client::WalkerAIController::Start(), carla::traffic_manager::TrafficManagerRemote::Start(), carla::client::WalkerAIController::Stop(), carla::client::ServerSideSensor::Stop(), carla::client::RssSensor::Stop(), carla::client::ServerSideSensor::StopGBuffer(), carla::client::World::Tick(), carla::client::World::UnloadLevelLayer(), carla::client::Vehicle::UseCarSimRoad(), carla::client::World::WaitForTick() , 以及 carla::traffic_manager::TrafficManagerLocal::~TrafficManagerLocal().

+ 函数调用图:

◆ TryLock()

template<typename T >
EpisodeProxyImpl< T >::SharedPtrType carla::client::detail::EpisodeProxyImpl< T >::TryLock ( ) const
noexcept

在文件 EpisodeProxy.cpp32 行定义.

引用了 carla::client::detail::Load().

被这些函数引用 carla::client::detail::EpisodeProxyImpl< PointerT >::IsValid() , 以及 carla::client::LaneInvasionSensor::Stop().

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

友元及相关函数文档

◆ EpisodeProxyImpl

template<typename PointerT >
template<typename T >
friend class EpisodeProxyImpl
friend

在文件 EpisodeProxy.h62 行定义.

类成员变量说明

◆ _episode_id

template<typename PointerT >
uint64_t carla::client::detail::EpisodeProxyImpl< PointerT >::_episode_id
private

在文件 EpisodeProxy.h64 行定义.

被这些函数引用 carla::client::detail::EpisodeProxyImpl< PointerT >::GetId().

◆ _simulator

template<typename PointerT >
PointerT carla::client::detail::EpisodeProxyImpl< PointerT >::_simulator
private

在文件 EpisodeProxy.h66 行定义.


该类的文档由以下文件生成: