Provides access to the Simulator during a given episode. 更多...
#include <EpisodeProxy.h>
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 |
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.h 第 28 行定义.
using carla::client::detail::EpisodeProxyImpl< PointerT >::SharedPtrType = EpisodeProxyPointerType::Shared |
在文件 EpisodeProxy.h 第 31 行定义.
|
default |
carla::client::detail::EpisodeProxyImpl< T >::EpisodeProxyImpl | ( | SharedPtrType | simulator | ) |
在文件 EpisodeProxy.cpp 第 27 行定义.
|
inline |
在文件 EpisodeProxy.h 第 38 行定义.
|
noexcept |
在文件 EpisodeProxy.cpp 第 50 行定义.
被这些函数引用 carla::client::detail::Simulator::DestroyActor().
|
inlinenoexcept |
在文件 EpisodeProxy.h 第 42 行定义.
引用了 carla::client::detail::EpisodeProxyImpl< PointerT >::_episode_id.
被这些函数引用 carla::client::World::GetId() , 以及 carla::client::detail::Simulator::LoadEpisode().
|
inlinenoexcept |
在文件 EpisodeProxy.h 第 53 行定义.
引用了 carla::client::detail::EpisodeProxyImpl< PointerT >::TryLock().
被这些函数引用 carla::client::Actor::IsActive(), carla::client::Actor::IsAlive() , 以及 carla::client::Actor::IsDormant().
EpisodeProxyImpl< T >::SharedPtrType carla::client::detail::EpisodeProxyImpl< T >::Lock | ( | ) | const |
Same as TryLock but never return nullptr.
std::runtime_error | if episode is gone. |
在文件 EpisodeProxy.cpp 第 39 行定义.
引用了 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().
|
noexcept |
在文件 EpisodeProxy.cpp 第 32 行定义.
引用了 carla::client::detail::Load().
被这些函数引用 carla::client::detail::EpisodeProxyImpl< PointerT >::IsValid() , 以及 carla::client::LaneInvasionSensor::Stop().
在文件 EpisodeProxy.h 第 62 行定义.
|
private |
在文件 EpisodeProxy.h 第 64 行定义.
被这些函数引用 carla::client::detail::EpisodeProxyImpl< PointerT >::GetId().
|
private |
在文件 EpisodeProxy.h 第 66 行定义.