A view over an actor and its properties. More...
#include <CarlaActor.h>
Public Types | |
enum | ActorType : uint8 { ActorType::Other, ActorType::Vehicle, ActorType::Walker, ActorType::TrafficLight, ActorType::TrafficSign, ActorType::Sensor, ActorType::INVALID } |
using | IdType = uint32 |
Static Public Member Functions | |
static TSharedPtr< FCarlaActor > | ConstructCarlaActor (IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, ActorType Type, carla::rpc::ActorState InState, UWorld *World) |
Protected Attributes | |
TSharedPtr< FActorData > | ActorData = nullptr |
ActorType | Type = ActorType::INVALID |
UWorld * | World = nullptr |
Private Attributes | |
carla::rpc::AttachmentType | Attachment = carla::rpc::AttachmentType::INVALID |
TArray< IdType > | Children |
IdType | Id = 0u |
TSharedPtr< const FActorInfo > | Info = nullptr |
IdType | ParentId = 0u |
carla::rpc::ActorState | State = carla::rpc::ActorState::Invalid |
AActor * | TheActor = nullptr |
Friends | |
class | FActorRegistry |
A view over an actor and its properties.
Definition at line 23 of file CarlaActor.h.
using FCarlaActor::IdType = uint32 |
Definition at line 27 of file CarlaActor.h.
|
strong |
Enumerator | |
---|---|
Other | |
Vehicle | |
Walker | |
TrafficLight | |
TrafficSign | |
Sensor | |
INVALID |
Definition at line 29 of file CarlaActor.h.
|
default |
FCarlaActor::FCarlaActor | ( | IdType | ActorId, |
AActor * | Actor, | ||
TSharedPtr< const FActorInfo > | Info, | ||
carla::rpc::ActorState | InState, | ||
UWorld * | World | ||
) |
Definition at line 41 of file CarlaActor.cpp.
References State.
|
inlinevirtual |
Definition at line 51 of file CarlaActor.h.
ECarlaServerResponse FCarlaActor::AddActorAngularImpulse | ( | const FVector & | AngularInpulse | ) |
Definition at line 520 of file CarlaActor.cpp.
References FunctionNotSupported, GetActor(), IsDormant(), and Success.
Referenced by FCarlaServer::FPimpl::BindActions(), and GetActorData().
ECarlaServerResponse FCarlaActor::AddActorForce | ( | const FVector & | Force | ) |
Definition at line 476 of file CarlaActor.cpp.
References FunctionNotSupported, GetActor(), IsDormant(), and Success.
Referenced by FCarlaServer::FPimpl::BindActions(), and GetActorData().
ECarlaServerResponse FCarlaActor::AddActorForceAtLocation | ( | const FVector & | Force, |
const FVector & | Location | ||
) |
Definition at line 496 of file CarlaActor.cpp.
References FunctionNotSupported, GetActor(), IsDormant(), and Success.
Referenced by FCarlaServer::FPimpl::BindActions(), and GetActorData().
ECarlaServerResponse FCarlaActor::AddActorImpulse | ( | const FVector & | Impulse | ) |
Definition at line 432 of file CarlaActor.cpp.
References FunctionNotSupported, GetActor(), IsDormant(), and Success.
Referenced by FCarlaServer::FPimpl::BindActions(), and GetActorData().
ECarlaServerResponse FCarlaActor::AddActorImpulseAtLocation | ( | const FVector & | Impulse, |
const FVector & | Location | ||
) |
Definition at line 452 of file CarlaActor.cpp.
References FunctionNotSupported, GetActor(), IsDormant(), and Success.
Referenced by FCarlaServer::FPimpl::BindActions(), and GetActorData().
ECarlaServerResponse FCarlaActor::AddActorTorque | ( | const FVector & | Torque | ) |
Definition at line 540 of file CarlaActor.cpp.
References FunctionNotSupported, GetActor(), IsDormant(), and Success.
Referenced by FCarlaServer::FPimpl::BindActions(), and GetActorData().
|
inline |
Definition at line 125 of file CarlaActor.h.
References Children.
Referenced by FCarlaServer::FPimpl::BindActions(), CarlaReplayerHelper::ProcessReplayerEventParent(), and FFrameData::ProcessReplayerEventParent().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 315 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 294 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 288 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions(), CarlaReplayerHelper::ProcessReplayerAnimVehicle(), FFrameData::ProcessReplayerAnimVehicle(), CarlaReplayerHelper::ProcessReplayerFinish(), and FFrameData::ProcessReplayerFinish().
|
inlinevirtual |
Reimplemented in FWalkerActor.
Definition at line 388 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions(), CarlaReplayerHelper::SetWalkerSpeed(), and FFrameData::SetWalkerSpeed().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 268 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inlinevirtual |
Reimplemented in FWalkerActor.
Definition at line 408 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
void FCarlaActor::BuildActorData | ( | ) |
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 263 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
static |
Definition at line 121 of file CarlaActor.cpp.
References Sensor, TrafficLight, TrafficSign, Vehicle, Walker, and World.
Referenced by FActorRegistry::MakeCarlaActor(), and ResetTrafficLightGroup().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 238 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 233 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 330 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 340 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inlinevirtual |
Reimplemented in FTrafficLightActor.
Definition at line 423 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 310 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inline |
Definition at line 90 of file CarlaActor.h.
References TheActor.
Referenced by AddActorAngularImpulse(), AddActorForce(), AddActorForceAtLocation(), AddActorImpulse(), AddActorImpulseAtLocation(), AddActorTorque(), FFrameData::AddVehicleWheelsAnimation(), ACarlaRecorder::AddVehicleWheelsAnimation(), FVehicleActor::ApplyAckermannControllerSettings(), FVehicleActor::ApplyAckermannControlToVehicle(), FVehicleActor::ApplyControlToVehicle(), FWalkerActor::ApplyControlToWalker(), FVehicleActor::ApplyPhysicsControl(), FCarlaServer::FPimpl::BindActions(), FWalkerActor::BlendPose(), ALargeMapManager::CheckActiveActors(), FVehicleActor::CloseVehicleDoor(), ALargeMapManager::ConvertDormantToActiveActors(), FFrameData::CreateRecorderEventAdd(), ACarlaRecorder::CreateRecorderEventAdd(), FActorRegistry::Deregister(), UActorDispatcher::DestroyActor(), FVehicleActor::DisableActorConstantVelocity(), FVehicleActor::EnableActorConstantVelocity(), FVehicleActor::EnableCarSim(), FVehicleActor::EnableChronoPhysics(), FTrafficLightActor::FreezeTrafficLight(), FWorldObserver_GetActorState(), FWorldObserver_Serialize(), FVehicleActor::GetAckermannControllerSettings(), GetActorAngularVelocity(), GetActorGlobalLocation(), GetActorGlobalTransform(), GetActorLocalLocation(), GetActorLocalTransform(), GetActorVelocity(), FWalkerActor::GetBonesTransform(), FVehicleActor::GetFailureState(), FVehicleActor::GetPhysicsControl(), FWalkerActor::GetPoseFromAnimation(), FTrafficLightActor::GetTrafficLightController(), FTrafficLightActor::GetTrafficLightState(), FVehicleActor::GetVehicleAckermannControl(), FVehicleActor::GetVehicleControl(), FVehicleActor::GetVehicleLightState(), FWalkerActor::GetWalkerControl(), FVehicleActor::GetWheelSteerAngle(), ALargeMapManager::OnActorSpawned(), FVehicleActor::OpenVehicleDoor(), CarlaReplayerHelper::ProcessReplayerAnimBiker(), FFrameData::ProcessReplayerAnimBiker(), CarlaReplayerHelper::ProcessReplayerAnimVehicleWheels(), FFrameData::ProcessReplayerAnimVehicleWheels(), CarlaReplayerHelper::ProcessReplayerEventParent(), FFrameData::ProcessReplayerEventParent(), CarlaReplayerHelper::ProcessReplayerWalkerBones(), FActorRegistry::PutActorToSleep(), FActorData::RecordActorData(), FVehicleData::RecordActorData(), FWalkerData::RecordActorData(), FTrafficSignData::RecordActorData(), FTrafficLightData::RecordActorData(), FActorSensorData::RecordActorData(), FTrafficLightActor::ResetTrafficLightGroup(), FActorData::RestoreActorData(), FVehicleData::RestoreActorData(), FWalkerData::RestoreActorData(), FTrafficSignData::RestoreActorData(), FTrafficLightData::RestoreActorData(), FActorSensorData::RestoreActorData(), FVehicleActor::SetActorAutopilot(), SetActorCollisions(), FWalkerActor::SetActorDead(), SetActorEnableGravity(), FWalkerActor::SetActorEnableGravity(), SetActorGlobalLocation(), SetActorGlobalTransform(), SetActorLocalLocation(), SetActorLocalTransform(), SetActorSimulatePhysics(), FVehicleActor::SetActorSimulatePhysics(), FWalkerActor::SetActorSimulatePhysics(), SetActorTargetAngularVelocity(), SetActorTargetVelocity(), FWalkerActor::SetBonesTransform(), FTrafficLightActor::SetLightGreenTime(), FTrafficLightActor::SetLightRedTime(), FTrafficLightActor::SetLightYellowTime(), FTrafficLightActor::SetTrafficLightState(), FVehicleActor::SetVehicleLightState(), FWalkerActor::SetWalkerState(), FVehicleActor::SetWheelSteerDirection(), FVehicleActor::ShowVehicleDebugTelemetry(), UActorDispatcher::SpawnActor(), FVehicleActor::UseCarSimRoad(), and FActorRegistry::WakeActorUp().
|
inline |
Definition at line 95 of file CarlaActor.h.
References TheActor.
FVector FCarlaActor::GetActorAngularVelocity | ( | ) | const |
Definition at line 372 of file CarlaActor.cpp.
References ActorData, GetActor(), and IsDormant().
Referenced by FFrameData::AddActorKinematics(), ACarlaRecorder::AddActorKinematics(), and GetActorData().
|
inline |
Definition at line 156 of file CarlaActor.h.
References ActorData.
Referenced by ALargeMapManager::CheckDormantActors(), FWorldObserver_GetDormantActorState(), and FWorldObserver_Serialize().
|
inline |
Definition at line 161 of file CarlaActor.h.
References ActorData.
|
inline |
Definition at line 167 of file CarlaActor.h.
References ActorData.
|
inline |
Definition at line 173 of file CarlaActor.h.
References ActorData, AddActorAngularImpulse(), AddActorForce(), AddActorForceAtLocation(), AddActorImpulse(), AddActorImpulseAtLocation(), AddActorTorque(), GetActorAngularVelocity(), GetActorGlobalLocation(), GetActorGlobalTransform(), GetActorLocalLocation(), GetActorLocalTransform(), GetActorVelocity(), SetActorCollisions(), SetActorEnableGravity(), SetActorGlobalLocation(), SetActorGlobalTransform(), SetActorLocalLocation(), SetActorLocalTransform(), SetActorSimulatePhysics(), SetActorTargetAngularVelocity(), and SetActorTargetVelocity().
FVector FCarlaActor::GetActorGlobalLocation | ( | ) | const |
Definition at line 240 of file CarlaActor.cpp.
References ActorData, GetActor(), UCarlaStatics::GetLargeMapManager(), IsDormant(), ALargeMapManager::LocalToGlobalLocation(), and World.
Referenced by CarlaReplayerHelper::FindTrafficLightAt(), FFrameData::FindTrafficLightAt(), GetActorData(), and FWalkerActor::SetWalkerState().
FTransform FCarlaActor::GetActorGlobalTransform | ( | ) | const |
Definition at line 199 of file CarlaActor.cpp.
References ActorData, GetActor(), UCarlaStatics::GetLargeMapManager(), IsDormant(), ALargeMapManager::LocalToGlobalTransform(), and World.
Referenced by FFrameData::AddActorPosition(), ACarlaRecorder::AddActorPosition(), FFrameData::AddExistingActors(), ACarlaRecorder::AddExistingActors(), FWorldObserver_Serialize(), GetActorData(), CarlaReplayerHelper::SetCameraPosition(), and FFrameData::SetCameraPosition().
|
inline |
Definition at line 80 of file CarlaActor.h.
References Id.
Referenced by ACarlaRecorder::AddActorBones(), FFrameData::AddActorBoundingBox(), ACarlaRecorder::AddActorBoundingBox(), FFrameData::AddActorKinematics(), ACarlaRecorder::AddActorKinematics(), FFrameData::AddActorPosition(), ACarlaRecorder::AddActorPosition(), ACarlaRecorder::AddCollision(), FFrameData::AddExistingActors(), ACarlaRecorder::AddExistingActors(), FFrameData::AddPhysicsControl(), ACarlaRecorder::AddPhysicsControl(), FFrameData::AddTrafficLightState(), ACarlaRecorder::AddTrafficLightState(), FFrameData::AddTrafficLightTime(), ACarlaRecorder::AddTrafficLightTime(), FFrameData::AddTriggerVolume(), ACarlaRecorder::AddTriggerVolume(), FFrameData::AddVehicleAnimation(), ACarlaRecorder::AddVehicleAnimation(), FFrameData::AddVehicleLight(), ACarlaRecorder::AddVehicleLight(), FFrameData::AddVehicleWheelsAnimation(), ACarlaRecorder::AddVehicleWheelsAnimation(), FFrameData::AddWalkerAnimation(), ACarlaRecorder::AddWalkerAnimation(), UCarlaEpisode::AttachActors(), FCarlaServer::FPimpl::BindActions(), ALargeMapManager::CheckDormantActors(), ARayCastSemanticLidar::ComputeRawDetection(), FActorRegistry::Deregister(), UCarlaEpisode::DestroyActor(), FWorldObserver_GetActorState(), FWorldObserver_Serialize(), UActorDispatcher::OnActorDestroyed(), ALargeMapManager::OnActorSpawned(), CarlaReplayerHelper::ProcessReplayerEventDel(), FFrameData::ProcessReplayerEventDel(), CarlaReplayerHelper::ProcessReplayerEventParent(), FFrameData::ProcessReplayerEventParent(), CarlaReplayerHelper::ProcessReplayerFinish(), FFrameData::ProcessReplayerFinish(), UActorDispatcher::RegisterActor(), and WakeActorUp().
|
inline |
Definition at line 100 of file CarlaActor.h.
Referenced by FFrameData::AddActorBoundingBox(), ACarlaRecorder::AddActorBoundingBox(), ACarlaRecorder::AddCollision(), FFrameData::AddExistingActors(), ACarlaRecorder::AddExistingActors(), FCarlaServer::FPimpl::BindActions(), UActorDispatcher::DestroyActor(), FWorldObserver_GetAcceleration(), FWorldObserver_Serialize(), ALargeMapManager::OnActorDestroyed(), ALargeMapManager::OnActorSpawned(), and UCarlaEpisode::SerializeActor().
FVector FCarlaActor::GetActorLocalLocation | ( | ) | const |
Definition at line 221 of file CarlaActor.cpp.
References ActorData, GetActor(), UCarlaStatics::GetLargeMapManager(), ALargeMapManager::GlobalToLocalLocation(), IsDormant(), and World.
Referenced by GetActorData().
FTransform FCarlaActor::GetActorLocalTransform | ( | ) | const |
Definition at line 177 of file CarlaActor.cpp.
References ActorData, GetActor(), UCarlaStatics::GetLargeMapManager(), IsDormant(), and World.
Referenced by GetActorData().
|
inline |
Definition at line 105 of file CarlaActor.h.
References State.
Referenced by FWorldObserver_Serialize().
|
inline |
Definition at line 85 of file CarlaActor.h.
References Type.
Referenced by FFrameData::AddExistingActors(), ACarlaRecorder::AddExistingActors(), FFrameData::AddVehicleWheelsAnimation(), ACarlaRecorder::AddVehicleWheelsAnimation(), FCarlaServer::FPimpl::BindActions(), ALargeMapManager::CheckActiveActors(), CarlaReplayerHelper::FindTrafficLightAt(), FFrameData::FindTrafficLightAt(), FWorldObserver_GetActorState(), FWorldObserver_GetDormantActorState(), FFrameData::GetFrameData(), CarlaReplayerHelper::ProcessReplayerAnimVehicleWheels(), FFrameData::ProcessReplayerAnimVehicleWheels(), CarlaReplayerHelper::ProcessReplayerFinish(), FFrameData::ProcessReplayerFinish(), and ACarlaRecorder::Ticking().
FVector FCarlaActor::GetActorVelocity | ( | ) | const |
Definition at line 360 of file CarlaActor.cpp.
References ActorData, GetActor(), and IsDormant().
Referenced by FFrameData::AddActorKinematics(), ACarlaRecorder::AddActorKinematics(), and GetActorData().
|
inline |
Definition at line 145 of file CarlaActor.h.
References Attachment, BuildActorData(), PutActorToSleep(), and WakeActorUp().
Referenced by FActorRegistry::WakeActorUp().
|
inlinevirtual |
Reimplemented in FWalkerActor.
Definition at line 398 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by ACarlaRecorder::AddActorBones(), and FCarlaServer::FPimpl::BindActions().
|
inline |
Definition at line 135 of file CarlaActor.h.
References Children.
Referenced by FActorRegistry::PutActorToSleep(), and FActorRegistry::WakeActorUp().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 248 of file CarlaActor.h.
References ActorTypeMismatch.
|
inline |
Definition at line 120 of file CarlaActor.h.
References ParentId.
Referenced by FCarlaServer::FPimpl::BindActions(), UCarlaEpisode::SerializeActor(), and FActorRegistry::WakeActorUp().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 243 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inlinevirtual |
Reimplemented in FWalkerActor.
Definition at line 413 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inlinevirtual |
Reimplemented in FTrafficLightActor.
Definition at line 358 of file CarlaActor.h.
Referenced by FFrameData::AddTrafficLightState(), ACarlaRecorder::AddTrafficLightState(), CarlaReplayerHelper::ProcessReplayerStateTrafficLight(), and FFrameData::ProcessReplayerStateTrafficLight().
|
inlinevirtual |
Reimplemented in FTrafficLightActor.
Definition at line 353 of file CarlaActor.h.
Referenced by FFrameData::AddTrafficLightState(), and ACarlaRecorder::AddTrafficLightState().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 305 of file CarlaActor.h.
References ActorTypeMismatch.
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 300 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FFrameData::AddVehicleAnimation(), and ACarlaRecorder::AddVehicleAnimation().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 253 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FFrameData::AddVehicleLight(), ACarlaRecorder::AddVehicleLight(), and FCarlaServer::FPimpl::BindActions().
|
inlinevirtual |
Reimplemented in FWalkerActor.
Definition at line 393 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FFrameData::AddWalkerAnimation(), and ACarlaRecorder::AddWalkerAnimation().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 283 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inline |
Definition at line 65 of file CarlaActor.h.
References carla::rpc::Active, and State.
Referenced by ALargeMapManager::ConvertDormantToActiveActors(), and UActorDispatcher::OnActorDestroyed().
|
inline |
Definition at line 59 of file CarlaActor.h.
References carla::rpc::Invalid, carla::rpc::PendingKill, and State.
|
inline |
Definition at line 70 of file CarlaActor.h.
References carla::rpc::Dormant, and State.
Referenced by AddActorAngularImpulse(), AddActorForce(), AddActorForceAtLocation(), AddActorImpulse(), AddActorImpulseAtLocation(), AddActorTorque(), FVehicleActor::ApplyAckermannControllerSettings(), FVehicleActor::ApplyAckermannControlToVehicle(), FVehicleActor::ApplyControlToVehicle(), FWalkerActor::ApplyControlToWalker(), FVehicleActor::ApplyPhysicsControl(), FCarlaServer::FPimpl::BindActions(), FWalkerActor::BlendPose(), ALargeMapManager::CheckDormantActors(), FVehicleActor::CloseVehicleDoor(), FVehicleActor::DisableActorConstantVelocity(), FVehicleActor::EnableActorConstantVelocity(), FVehicleActor::EnableCarSim(), FVehicleActor::EnableChronoPhysics(), FTrafficLightActor::FreezeTrafficLight(), FWorldObserver_Serialize(), FVehicleActor::GetAckermannControllerSettings(), GetActorAngularVelocity(), GetActorGlobalLocation(), GetActorGlobalTransform(), GetActorLocalLocation(), GetActorLocalTransform(), GetActorVelocity(), FWalkerActor::GetBonesTransform(), FVehicleActor::GetFailureState(), FVehicleActor::GetPhysicsControl(), FWalkerActor::GetPoseFromAnimation(), FTrafficLightActor::GetTrafficLightController(), FTrafficLightActor::GetTrafficLightState(), FVehicleActor::GetVehicleAckermannControl(), FVehicleActor::GetVehicleControl(), FVehicleActor::GetVehicleLightState(), FWalkerActor::GetWalkerControl(), FVehicleActor::GetWheelSteerAngle(), FVehicleActor::OpenVehicleDoor(), CarlaReplayerHelper::ProcessReplayerEventParent(), FFrameData::ProcessReplayerEventParent(), FActorRegistry::Register(), FTrafficLightActor::ResetTrafficLightGroup(), FVehicleActor::SetActorAutopilot(), SetActorCollisions(), FWalkerActor::SetActorDead(), SetActorEnableGravity(), FWalkerActor::SetActorEnableGravity(), SetActorGlobalLocation(), SetActorGlobalTransform(), SetActorLocalLocation(), SetActorLocalTransform(), SetActorSimulatePhysics(), FVehicleActor::SetActorSimulatePhysics(), FWalkerActor::SetActorSimulatePhysics(), SetActorTargetAngularVelocity(), SetActorTargetVelocity(), FWalkerActor::SetBonesTransform(), FTrafficLightActor::SetLightGreenTime(), FTrafficLightActor::SetLightRedTime(), FTrafficLightActor::SetLightYellowTime(), FTrafficLightActor::SetTrafficLightState(), FVehicleActor::SetVehicleLightState(), FWalkerActor::SetWalkerState(), FVehicleActor::SetWheelSteerDirection(), FVehicleActor::ShowVehicleDebugTelemetry(), FVehicleActor::UseCarSimRoad(), and FActorRegistry::WakeActorUp().
|
inline |
Definition at line 54 of file CarlaActor.h.
References carla::rpc::Invalid, and State.
|
inline |
Definition at line 75 of file CarlaActor.h.
References carla::rpc::PendingKill, and State.
Referenced by FFrameData::AddVehicleAnimation(), ACarlaRecorder::AddVehicleAnimation(), FFrameData::AddVehicleWheelsAnimation(), ACarlaRecorder::AddVehicleWheelsAnimation(), FFrameData::AddWalkerAnimation(), and ACarlaRecorder::AddWalkerAnimation().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 258 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
void FCarlaActor::PutActorToSleep | ( | UCarlaEpisode * | CarlaEpisode | ) |
Definition at line 154 of file CarlaActor.cpp.
References ActorData, carla::rpc::Dormant, State, and TheActor.
Referenced by GetAttachmentType(), and FActorRegistry::PutActorToSleep().
|
inline |
Definition at line 130 of file CarlaActor.h.
References Children.
|
inlinevirtual |
Reimplemented in FTrafficLightActor.
Definition at line 428 of file CarlaActor.h.
References ActorTypeMismatch, ConstructCarlaActor(), and Type.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 320 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions(), and CarlaReplayerHelper::SetActorAutopilot().
|
virtual |
Definition at line 582 of file CarlaActor.cpp.
References GetActor(), IsDormant(), and Success.
Referenced by FCarlaServer::FPimpl::BindActions(), and GetActorData().
|
inlinevirtual |
Reimplemented in FWalkerActor.
Definition at line 418 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
virtual |
Reimplemented in FWalkerActor.
Definition at line 594 of file CarlaActor.cpp.
References FunctionNotSupported, GetActor(), IsDormant(), and Success.
Referenced by FCarlaServer::FPimpl::BindActions(), and GetActorData().
void FCarlaActor::SetActorGlobalLocation | ( | const FVector & | Location, |
ETeleportType | Teleport = ETeleportType::TeleportPhysics |
||
) |
Definition at line 282 of file CarlaActor.cpp.
References ActorData, GetActor(), UCarlaStatics::GetLargeMapManager(), ALargeMapManager::GlobalToLocalLocation(), IsDormant(), and World.
Referenced by FCarlaServer::FPimpl::BindActions(), and GetActorData().
void FCarlaActor::SetActorGlobalTransform | ( | const FTransform & | Transform, |
ETeleportType | Teleport = ETeleportType::TeleportPhysics |
||
) |
Definition at line 333 of file CarlaActor.cpp.
References ActorData, GetActor(), UCarlaStatics::GetLargeMapManager(), ALargeMapManager::GlobalToLocalTransform(), IsDormant(), and World.
Referenced by FCarlaServer::FPimpl::BindActions(), GetActorData(), CarlaReplayerHelper::ProcessReplayerPosition(), FFrameData::ProcessReplayerPosition(), CarlaReplayerHelper::SetCameraPosition(), FFrameData::SetCameraPosition(), and FWalkerActor::SetWalkerState().
void FCarlaActor::SetActorLocalLocation | ( | const FVector & | Location, |
ETeleportType | Teleport = ETeleportType::TeleportPhysics |
||
) |
Definition at line 259 of file CarlaActor.cpp.
References ActorData, GetActor(), UCarlaStatics::GetLargeMapManager(), IsDormant(), ALargeMapManager::LocalToGlobalLocation(), and World.
Referenced by GetActorData().
void FCarlaActor::SetActorLocalTransform | ( | const FTransform & | Transform, |
ETeleportType | Teleport = ETeleportType::TeleportPhysics |
||
) |
Definition at line 306 of file CarlaActor.cpp.
References ActorData, GetActor(), UCarlaStatics::GetLargeMapManager(), IsDormant(), ALargeMapManager::LocalToGlobalTransform(), and World.
Referenced by GetActorData().
|
virtual |
Reimplemented in FWalkerActor, and FVehicleActor.
Definition at line 560 of file CarlaActor.cpp.
References ActorData, FunctionNotSupported, GetActor(), IsDormant(), and Success.
Referenced by FCarlaServer::FPimpl::BindActions(), GetActorData(), CarlaReplayerHelper::SetActorSimulatePhysics(), and FFrameData::SetActorSimulatePhysics().
|
inline |
Definition at line 110 of file CarlaActor.h.
References State.
Referenced by FCarlaServer::FPimpl::BindActions().
ECarlaServerResponse FCarlaActor::SetActorTargetAngularVelocity | ( | const FVector & | AngularVelocity | ) |
Definition at line 411 of file CarlaActor.cpp.
References ActorData, FunctionNotSupported, GetActor(), IsDormant(), and Success.
Referenced by FCarlaServer::FPimpl::BindActions(), and GetActorData().
ECarlaServerResponse FCarlaActor::SetActorTargetVelocity | ( | const FVector & | Velocity | ) |
Definition at line 390 of file CarlaActor.cpp.
References ActorData, FunctionNotSupported, GetActor(), IsDormant(), and Success.
Referenced by FCarlaServer::FPimpl::BindActions(), GetActorData(), CarlaReplayerHelper::SetActorVelocity(), and FFrameData::SetActorVelocity().
|
inline |
Definition at line 140 of file CarlaActor.h.
References Attachment.
Referenced by FCarlaServer::FPimpl::BindActions(), CarlaReplayerHelper::ProcessReplayerEventParent(), and FFrameData::ProcessReplayerEventParent().
|
inlinevirtual |
Reimplemented in FWalkerActor.
Definition at line 403 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inlinevirtual |
Reimplemented in FTrafficLightActor.
Definition at line 363 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inlinevirtual |
Reimplemented in FTrafficLightActor.
Definition at line 373 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inlinevirtual |
Reimplemented in FTrafficLightActor.
Definition at line 368 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inline |
Definition at line 115 of file CarlaActor.h.
References ParentId.
Referenced by FCarlaServer::FPimpl::BindActions(), CarlaReplayerHelper::ProcessReplayerEventParent(), and FFrameData::ProcessReplayerEventParent().
|
inlinevirtual |
Reimplemented in FTrafficLightActor.
Definition at line 348 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions(), CarlaReplayerHelper::ProcessReplayerStateTrafficLight(), and FFrameData::ProcessReplayerStateTrafficLight().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 273 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions(), CarlaReplayerHelper::ProcessReplayerLightVehicle(), and FFrameData::ProcessReplayerLightVehicle().
|
inlinevirtual |
Reimplemented in FWalkerActor.
Definition at line 381 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 278 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 325 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inlinevirtual |
Reimplemented in FVehicleActor.
Definition at line 335 of file CarlaActor.h.
References ActorTypeMismatch.
Referenced by FCarlaServer::FPimpl::BindActions().
void FCarlaActor::WakeActorUp | ( | UCarlaEpisode * | CarlaEpisode | ) |
Definition at line 165 of file CarlaActor.cpp.
References carla::rpc::Active, ActorData, GetActorId(), Info, State, and TheActor.
Referenced by GetAttachmentType(), and FActorRegistry::WakeActorUp().
|
friend |
Definition at line 445 of file CarlaActor.h.
|
protected |
Definition at line 465 of file CarlaActor.h.
Referenced by FVehicleActor::ApplyAckermannControllerSettings(), FVehicleActor::ApplyAckermannControlToVehicle(), FVehicleActor::ApplyControlToVehicle(), FWalkerActor::ApplyControlToWalker(), FVehicleActor::ApplyPhysicsControl(), FOtherActor::FOtherActor(), FSensorActor::FSensorActor(), FTrafficLightActor::FTrafficLightActor(), FTrafficSignActor::FTrafficSignActor(), FVehicleActor::FVehicleActor(), FWalkerActor::FWalkerActor(), FVehicleActor::GetAckermannControllerSettings(), GetActorAngularVelocity(), GetActorData(), GetActorGlobalLocation(), GetActorGlobalTransform(), GetActorLocalLocation(), GetActorLocalTransform(), GetActorVelocity(), FVehicleActor::GetFailureState(), FVehicleActor::GetPhysicsControl(), FTrafficLightActor::GetTrafficLightController(), FTrafficLightActor::GetTrafficLightState(), FVehicleActor::GetVehicleAckermannControl(), FVehicleActor::GetVehicleControl(), FVehicleActor::GetVehicleLightState(), PutActorToSleep(), SetActorGlobalLocation(), SetActorGlobalTransform(), SetActorLocalLocation(), SetActorLocalTransform(), SetActorSimulatePhysics(), FVehicleActor::SetActorSimulatePhysics(), FWalkerActor::SetActorSimulatePhysics(), SetActorTargetAngularVelocity(), SetActorTargetVelocity(), FTrafficLightActor::SetTrafficLightState(), FVehicleActor::SetVehicleLightState(), and WakeActorUp().
|
private |
Definition at line 457 of file CarlaActor.h.
Referenced by GetAttachmentType(), and SetAttachmentType().
|
private |
Definition at line 459 of file CarlaActor.h.
Referenced by AddChildren(), GetChildren(), and RemoveChildren().
|
private |
Definition at line 451 of file CarlaActor.h.
Referenced by GetActorId().
|
private |
Definition at line 449 of file CarlaActor.h.
Referenced by WakeActorUp().
|
private |
Definition at line 453 of file CarlaActor.h.
Referenced by GetParent(), and SetParent().
|
private |
Definition at line 455 of file CarlaActor.h.
Referenced by GetActorState(), IsActive(), IsAlive(), IsDormant(), IsInValid(), IsPendingKill(), PutActorToSleep(), SetActorState(), FTrafficLightActor::SetTrafficLightState(), and WakeActorUp().
|
private |
Definition at line 447 of file CarlaActor.h.
Referenced by FActorRegistry::Deregister(), GetActor(), PutActorToSleep(), FActorRegistry::Register(), and WakeActorUp().
|
protected |
Definition at line 463 of file CarlaActor.h.
Referenced by FOtherActor::FOtherActor(), FSensorActor::FSensorActor(), FTrafficLightActor::FTrafficLightActor(), FTrafficSignActor::FTrafficSignActor(), FVehicleActor::FVehicleActor(), FWalkerActor::FWalkerActor(), GetActorType(), and ResetTrafficLightGroup().
|
protected |
Definition at line 467 of file CarlaActor.h.
Referenced by ConstructCarlaActor(), GetActorGlobalLocation(), GetActorGlobalTransform(), GetActorLocalLocation(), GetActorLocalTransform(), SetActorGlobalLocation(), SetActorGlobalTransform(), SetActorLocalLocation(), and SetActorLocalTransform().