CARLA
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Private Attributes | Friends | List of all members
FCarlaActor Class Reference

A view over an actor and its properties. More...

#include <CarlaActor.h>

+ Inheritance diagram for FCarlaActor:
+ Collaboration diagram for FCarlaActor:

Public Types

enum  ActorType : uint8 {
  ActorType::Other, ActorType::Vehicle, ActorType::Walker, ActorType::TrafficLight,
  ActorType::TrafficSign, ActorType::Sensor, ActorType::INVALID
}
 
using IdType = uint32
 

Public Member Functions

ECarlaServerResponse AddActorAngularImpulse (const FVector &AngularInpulse)
 
ECarlaServerResponse AddActorForce (const FVector &Force)
 
ECarlaServerResponse AddActorForceAtLocation (const FVector &Force, const FVector &Location)
 
ECarlaServerResponse AddActorImpulse (const FVector &Impulse)
 
ECarlaServerResponse AddActorImpulseAtLocation (const FVector &Impulse, const FVector &Location)
 
ECarlaServerResponse AddActorTorque (const FVector &Torque)
 
void AddChildren (IdType ChildId)
 
virtual ECarlaServerResponse ApplyAckermannControllerSettings (const FAckermannControllerSettings &)
 
virtual ECarlaServerResponse ApplyAckermannControlToVehicle (const FVehicleAckermannControl &, const EVehicleInputPriority &)
 
virtual ECarlaServerResponse ApplyControlToVehicle (const FVehicleControl &, const EVehicleInputPriority &)
 
virtual ECarlaServerResponse ApplyControlToWalker (const FWalkerControl &)
 
virtual ECarlaServerResponse ApplyPhysicsControl (const FVehiclePhysicsControl &)
 
virtual ECarlaServerResponse BlendPose (float Blend)
 
void BuildActorData ()
 
virtual ECarlaServerResponse CloseVehicleDoor (const EVehicleDoor)
 
virtual ECarlaServerResponse DisableActorConstantVelocity ()
 
virtual ECarlaServerResponse EnableActorConstantVelocity (const FVector &)
 
virtual ECarlaServerResponse EnableCarSim (const FString &)
 
virtual ECarlaServerResponse EnableChronoPhysics (uint64_t, float, const FString &, const FString &, const FString &, const FString &)
 
 FCarlaActor ()=default
 
 FCarlaActor (IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, carla::rpc::ActorState InState, UWorld *World)
 
virtual ECarlaServerResponse FreezeTrafficLight (bool)
 
virtual ECarlaServerResponse GetAckermannControllerSettings (FAckermannControllerSettings &)
 
AActorGetActor ()
 
const AActorGetActor () const
 
FVector GetActorAngularVelocity () const
 
FActorDataGetActorData ()
 
const FActorDataGetActorData () const
 
template<typename T >
T * GetActorData ()
 
template<typename T >
const T * GetActorData () const
 
FVector GetActorGlobalLocation () const
 
FTransform GetActorGlobalTransform () const
 
IdType GetActorId () const
 
const FActorInfoGetActorInfo () const
 
FVector GetActorLocalLocation () const
 
FTransform GetActorLocalTransform () const
 
carla::rpc::ActorState GetActorState () const
 
ActorType GetActorType () const
 
FVector GetActorVelocity () const
 
carla::rpc::AttachmentType GetAttachmentType () const
 
virtual ECarlaServerResponse GetBonesTransform (FWalkerBoneControlOut &)
 
const TArray< IdType > & GetChildren () const
 
virtual ECarlaServerResponse GetFailureState (carla::rpc::VehicleFailureState &)
 
IdType GetParent () const
 
virtual ECarlaServerResponse GetPhysicsControl (FVehiclePhysicsControl &)
 
virtual ECarlaServerResponse GetPoseFromAnimation ()
 
virtual UTrafficLightControllerGetTrafficLightController ()
 
virtual ETrafficLightState GetTrafficLightState () const
 
virtual ECarlaServerResponse GetVehicleAckermannControl (FVehicleAckermannControl &)
 
virtual ECarlaServerResponse GetVehicleControl (FVehicleControl &)
 
virtual ECarlaServerResponse GetVehicleLightState (FVehicleLightState &)
 
virtual ECarlaServerResponse GetWalkerControl (FWalkerControl &)
 
virtual ECarlaServerResponse GetWheelSteerAngle (const EVehicleWheelLocation &, float &)
 
bool IsActive () const
 
bool IsAlive () const
 
bool IsDormant () const
 
bool IsInValid () const
 
bool IsPendingKill () const
 
virtual ECarlaServerResponse OpenVehicleDoor (const EVehicleDoor)
 
void PutActorToSleep (UCarlaEpisode *CarlaEpisode)
 
void RemoveChildren (IdType ChildId)
 
virtual ECarlaServerResponse ResetTrafficLightGroup ()
 
virtual ECarlaServerResponse SetActorAutopilot (bool, bool bKeepState=false)
 
virtual ECarlaServerResponse SetActorCollisions (bool bEnabled)
 
virtual ECarlaServerResponse SetActorDead ()
 
virtual ECarlaServerResponse SetActorEnableGravity (bool bEnabled)
 
void SetActorGlobalLocation (const FVector &Location, ETeleportType Teleport=ETeleportType::TeleportPhysics)
 
void SetActorGlobalTransform (const FTransform &Transform, ETeleportType Teleport=ETeleportType::TeleportPhysics)
 
void SetActorLocalLocation (const FVector &Location, ETeleportType Teleport=ETeleportType::TeleportPhysics)
 
void SetActorLocalTransform (const FTransform &Transform, ETeleportType Teleport=ETeleportType::TeleportPhysics)
 
virtual ECarlaServerResponse SetActorSimulatePhysics (bool bEnabled)
 
void SetActorState (carla::rpc::ActorState InState)
 
ECarlaServerResponse SetActorTargetAngularVelocity (const FVector &AngularVelocity)
 
ECarlaServerResponse SetActorTargetVelocity (const FVector &Velocity)
 
void SetAttachmentType (carla::rpc::AttachmentType InAttachmentType)
 
virtual ECarlaServerResponse SetBonesTransform (const FWalkerBoneControlIn &)
 
virtual ECarlaServerResponse SetLightGreenTime (float)
 
virtual ECarlaServerResponse SetLightRedTime (float)
 
virtual ECarlaServerResponse SetLightYellowTime (float)
 
void SetParent (IdType InParentId)
 
virtual ECarlaServerResponse SetTrafficLightState (const ETrafficLightState &)
 
virtual ECarlaServerResponse SetVehicleLightState (const FVehicleLightState &)
 
virtual ECarlaServerResponse SetWalkerState (const FTransform &Transform, carla::rpc::WalkerControl WalkerControl)
 
virtual ECarlaServerResponse SetWheelSteerDirection (const EVehicleWheelLocation &, float)
 
virtual ECarlaServerResponse ShowVehicleDebugTelemetry (bool)
 
virtual ECarlaServerResponse UseCarSimRoad (bool)
 
void WakeActorUp (UCarlaEpisode *CarlaEpisode)
 
virtual ~FCarlaActor ()
 

Static Public Member Functions

static TSharedPtr< FCarlaActorConstructCarlaActor (IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, ActorType Type, carla::rpc::ActorState InState, UWorld *World)
 

Protected Attributes

TSharedPtr< FActorDataActorData = nullptr
 
ActorType Type = ActorType::INVALID
 
UWorld * World = nullptr
 

Private Attributes

carla::rpc::AttachmentType Attachment = carla::rpc::AttachmentType::INVALID
 
TArray< IdTypeChildren
 
IdType Id = 0u
 
TSharedPtr< const FActorInfoInfo = nullptr
 
IdType ParentId = 0u
 
carla::rpc::ActorState State = carla::rpc::ActorState::Invalid
 
AActorTheActor = nullptr
 

Friends

class FActorRegistry
 

Detailed Description

A view over an actor and its properties.

Definition at line 23 of file CarlaActor.h.

Member Typedef Documentation

◆ IdType

using FCarlaActor::IdType = uint32

Definition at line 27 of file CarlaActor.h.

Member Enumeration Documentation

◆ ActorType

enum FCarlaActor::ActorType : uint8
strong
Enumerator
Other 
Vehicle 
Walker 
TrafficLight 
TrafficSign 
Sensor 
INVALID 

Definition at line 29 of file CarlaActor.h.

Constructor & Destructor Documentation

◆ FCarlaActor() [1/2]

FCarlaActor::FCarlaActor ( )
default

◆ FCarlaActor() [2/2]

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.

◆ ~FCarlaActor()

virtual FCarlaActor::~FCarlaActor ( )
inlinevirtual

Definition at line 51 of file CarlaActor.h.

Member Function Documentation

◆ AddActorAngularImpulse()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddActorForce()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddActorForceAtLocation()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddActorImpulse()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddActorImpulseAtLocation()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddActorTorque()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddChildren()

void FCarlaActor::AddChildren ( IdType  ChildId)
inline

Definition at line 125 of file CarlaActor.h.

References Children.

Referenced by FCarlaServer::FPimpl::BindActions(), CarlaReplayerHelper::ProcessReplayerEventParent(), and FFrameData::ProcessReplayerEventParent().

+ Here is the caller graph for this function:

◆ ApplyAckermannControllerSettings()

virtual ECarlaServerResponse FCarlaActor::ApplyAckermannControllerSettings ( const FAckermannControllerSettings )
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 315 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ ApplyAckermannControlToVehicle()

virtual ECarlaServerResponse FCarlaActor::ApplyAckermannControlToVehicle ( const FVehicleAckermannControl ,
const EVehicleInputPriority  
)
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 294 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ ApplyControlToVehicle()

virtual ECarlaServerResponse FCarlaActor::ApplyControlToVehicle ( const FVehicleControl ,
const EVehicleInputPriority  
)
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().

+ Here is the caller graph for this function:

◆ ApplyControlToWalker()

virtual ECarlaServerResponse FCarlaActor::ApplyControlToWalker ( const FWalkerControl )
inlinevirtual

Reimplemented in FWalkerActor.

Definition at line 388 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions(), CarlaReplayerHelper::SetWalkerSpeed(), and FFrameData::SetWalkerSpeed().

+ Here is the caller graph for this function:

◆ ApplyPhysicsControl()

virtual ECarlaServerResponse FCarlaActor::ApplyPhysicsControl ( const FVehiclePhysicsControl )
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 268 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ BlendPose()

virtual ECarlaServerResponse FCarlaActor::BlendPose ( float  Blend)
inlinevirtual

Reimplemented in FWalkerActor.

Definition at line 408 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ BuildActorData()

void FCarlaActor::BuildActorData ( )

Referenced by GetAttachmentType().

+ Here is the caller graph for this function:

◆ CloseVehicleDoor()

virtual ECarlaServerResponse FCarlaActor::CloseVehicleDoor ( const EVehicleDoor  )
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 263 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ ConstructCarlaActor()

TSharedPtr< FCarlaActor > FCarlaActor::ConstructCarlaActor ( IdType  ActorId,
AActor Actor,
TSharedPtr< const FActorInfo Info,
ActorType  Type,
carla::rpc::ActorState  InState,
UWorld *  World 
)
static

Definition at line 121 of file CarlaActor.cpp.

References Sensor, TrafficLight, TrafficSign, Vehicle, Walker, and World.

Referenced by FActorRegistry::MakeCarlaActor(), and ResetTrafficLightGroup().

+ Here is the caller graph for this function:

◆ DisableActorConstantVelocity()

virtual ECarlaServerResponse FCarlaActor::DisableActorConstantVelocity ( )
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 238 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ EnableActorConstantVelocity()

virtual ECarlaServerResponse FCarlaActor::EnableActorConstantVelocity ( const FVector &  )
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 233 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ EnableCarSim()

virtual ECarlaServerResponse FCarlaActor::EnableCarSim ( const FString &  )
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 330 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ EnableChronoPhysics()

virtual ECarlaServerResponse FCarlaActor::EnableChronoPhysics ( uint64_t  ,
float  ,
const FString &  ,
const FString &  ,
const FString &  ,
const FString &   
)
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 340 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ FreezeTrafficLight()

virtual ECarlaServerResponse FCarlaActor::FreezeTrafficLight ( bool  )
inlinevirtual

Reimplemented in FTrafficLightActor.

Definition at line 423 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ GetAckermannControllerSettings()

virtual ECarlaServerResponse FCarlaActor::GetAckermannControllerSettings ( FAckermannControllerSettings )
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 310 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ GetActor() [1/2]

AActor* FCarlaActor::GetActor ( )
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().

◆ GetActor() [2/2]

const AActor* FCarlaActor::GetActor ( ) const
inline

Definition at line 95 of file CarlaActor.h.

References TheActor.

◆ GetActorAngularVelocity()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetActorData() [1/4]

FActorData* FCarlaActor::GetActorData ( )
inline

Definition at line 156 of file CarlaActor.h.

References ActorData.

Referenced by ALargeMapManager::CheckDormantActors(), FWorldObserver_GetDormantActorState(), and FWorldObserver_Serialize().

+ Here is the caller graph for this function:

◆ GetActorData() [2/4]

const FActorData* FCarlaActor::GetActorData ( ) const
inline

Definition at line 161 of file CarlaActor.h.

References ActorData.

◆ GetActorData() [3/4]

template<typename T >
T* FCarlaActor::GetActorData ( )
inline

Definition at line 167 of file CarlaActor.h.

References ActorData.

◆ GetActorData() [4/4]

template<typename T >
const T* FCarlaActor::GetActorData ( ) const
inline

◆ GetActorGlobalLocation()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetActorGlobalTransform()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetActorId()

IdType FCarlaActor::GetActorId ( ) const
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().

+ Here is the caller graph for this function:

◆ GetActorInfo()

const FActorInfo* FCarlaActor::GetActorInfo ( ) const
inline

◆ GetActorLocalLocation()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetActorLocalTransform()

FTransform FCarlaActor::GetActorLocalTransform ( ) const

Definition at line 177 of file CarlaActor.cpp.

References ActorData, GetActor(), UCarlaStatics::GetLargeMapManager(), IsDormant(), and World.

Referenced by GetActorData().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetActorState()

carla::rpc::ActorState FCarlaActor::GetActorState ( ) const
inline

Definition at line 105 of file CarlaActor.h.

References State.

Referenced by FWorldObserver_Serialize().

+ Here is the caller graph for this function:

◆ GetActorType()

ActorType FCarlaActor::GetActorType ( ) const
inline

◆ GetActorVelocity()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetAttachmentType()

carla::rpc::AttachmentType FCarlaActor::GetAttachmentType ( ) const
inline

Definition at line 145 of file CarlaActor.h.

References Attachment, BuildActorData(), PutActorToSleep(), and WakeActorUp().

Referenced by FActorRegistry::WakeActorUp().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetBonesTransform()

virtual ECarlaServerResponse FCarlaActor::GetBonesTransform ( FWalkerBoneControlOut )
inlinevirtual

Reimplemented in FWalkerActor.

Definition at line 398 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by ACarlaRecorder::AddActorBones(), and FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ GetChildren()

const TArray<IdType>& FCarlaActor::GetChildren ( ) const
inline

Definition at line 135 of file CarlaActor.h.

References Children.

Referenced by FActorRegistry::PutActorToSleep(), and FActorRegistry::WakeActorUp().

+ Here is the caller graph for this function:

◆ GetFailureState()

virtual ECarlaServerResponse FCarlaActor::GetFailureState ( carla::rpc::VehicleFailureState )
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 248 of file CarlaActor.h.

References ActorTypeMismatch.

◆ GetParent()

IdType FCarlaActor::GetParent ( ) const
inline

Definition at line 120 of file CarlaActor.h.

References ParentId.

Referenced by FCarlaServer::FPimpl::BindActions(), UCarlaEpisode::SerializeActor(), and FActorRegistry::WakeActorUp().

+ Here is the caller graph for this function:

◆ GetPhysicsControl()

virtual ECarlaServerResponse FCarlaActor::GetPhysicsControl ( FVehiclePhysicsControl )
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 243 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ GetPoseFromAnimation()

virtual ECarlaServerResponse FCarlaActor::GetPoseFromAnimation ( )
inlinevirtual

Reimplemented in FWalkerActor.

Definition at line 413 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ GetTrafficLightController()

virtual UTrafficLightController* FCarlaActor::GetTrafficLightController ( )
inlinevirtual

Reimplemented in FTrafficLightActor.

Definition at line 358 of file CarlaActor.h.

Referenced by FFrameData::AddTrafficLightState(), ACarlaRecorder::AddTrafficLightState(), CarlaReplayerHelper::ProcessReplayerStateTrafficLight(), and FFrameData::ProcessReplayerStateTrafficLight().

+ Here is the caller graph for this function:

◆ GetTrafficLightState()

virtual ETrafficLightState FCarlaActor::GetTrafficLightState ( ) const
inlinevirtual

Reimplemented in FTrafficLightActor.

Definition at line 353 of file CarlaActor.h.

Referenced by FFrameData::AddTrafficLightState(), and ACarlaRecorder::AddTrafficLightState().

+ Here is the caller graph for this function:

◆ GetVehicleAckermannControl()

virtual ECarlaServerResponse FCarlaActor::GetVehicleAckermannControl ( FVehicleAckermannControl )
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 305 of file CarlaActor.h.

References ActorTypeMismatch.

◆ GetVehicleControl()

virtual ECarlaServerResponse FCarlaActor::GetVehicleControl ( FVehicleControl )
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 300 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FFrameData::AddVehicleAnimation(), and ACarlaRecorder::AddVehicleAnimation().

+ Here is the caller graph for this function:

◆ GetVehicleLightState()

virtual ECarlaServerResponse FCarlaActor::GetVehicleLightState ( FVehicleLightState )
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 253 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FFrameData::AddVehicleLight(), ACarlaRecorder::AddVehicleLight(), and FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ GetWalkerControl()

virtual ECarlaServerResponse FCarlaActor::GetWalkerControl ( FWalkerControl )
inlinevirtual

Reimplemented in FWalkerActor.

Definition at line 393 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FFrameData::AddWalkerAnimation(), and ACarlaRecorder::AddWalkerAnimation().

+ Here is the caller graph for this function:

◆ GetWheelSteerAngle()

virtual ECarlaServerResponse FCarlaActor::GetWheelSteerAngle ( const EVehicleWheelLocation ,
float &   
)
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 283 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ IsActive()

bool FCarlaActor::IsActive ( ) const
inline

Definition at line 65 of file CarlaActor.h.

References carla::rpc::Active, and State.

Referenced by ALargeMapManager::ConvertDormantToActiveActors(), and UActorDispatcher::OnActorDestroyed().

+ Here is the caller graph for this function:

◆ IsAlive()

bool FCarlaActor::IsAlive ( ) const
inline

Definition at line 59 of file CarlaActor.h.

References carla::rpc::Invalid, carla::rpc::PendingKill, and State.

◆ IsDormant()

bool FCarlaActor::IsDormant ( ) const
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().

◆ IsInValid()

bool FCarlaActor::IsInValid ( ) const
inline

Definition at line 54 of file CarlaActor.h.

References carla::rpc::Invalid, and State.

◆ IsPendingKill()

bool FCarlaActor::IsPendingKill ( ) const
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().

+ Here is the caller graph for this function:

◆ OpenVehicleDoor()

virtual ECarlaServerResponse FCarlaActor::OpenVehicleDoor ( const EVehicleDoor  )
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 258 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ PutActorToSleep()

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().

+ Here is the caller graph for this function:

◆ RemoveChildren()

void FCarlaActor::RemoveChildren ( IdType  ChildId)
inline

Definition at line 130 of file CarlaActor.h.

References Children.

◆ ResetTrafficLightGroup()

virtual ECarlaServerResponse FCarlaActor::ResetTrafficLightGroup ( )
inlinevirtual

Reimplemented in FTrafficLightActor.

Definition at line 428 of file CarlaActor.h.

References ActorTypeMismatch, ConstructCarlaActor(), and Type.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetActorAutopilot()

virtual ECarlaServerResponse FCarlaActor::SetActorAutopilot ( bool  ,
bool  bKeepState = false 
)
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 320 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions(), and CarlaReplayerHelper::SetActorAutopilot().

+ Here is the caller graph for this function:

◆ SetActorCollisions()

ECarlaServerResponse FCarlaActor::SetActorCollisions ( bool  bEnabled)
virtual

Definition at line 582 of file CarlaActor.cpp.

References GetActor(), IsDormant(), and Success.

Referenced by FCarlaServer::FPimpl::BindActions(), and GetActorData().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetActorDead()

virtual ECarlaServerResponse FCarlaActor::SetActorDead ( )
inlinevirtual

Reimplemented in FWalkerActor.

Definition at line 418 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ SetActorEnableGravity()

ECarlaServerResponse FCarlaActor::SetActorEnableGravity ( bool  bEnabled)
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetActorGlobalLocation()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetActorGlobalTransform()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetActorLocalLocation()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetActorLocalTransform()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetActorSimulatePhysics()

ECarlaServerResponse FCarlaActor::SetActorSimulatePhysics ( bool  bEnabled)
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetActorState()

void FCarlaActor::SetActorState ( carla::rpc::ActorState  InState)
inline

Definition at line 110 of file CarlaActor.h.

References State.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ SetActorTargetAngularVelocity()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetActorTargetVelocity()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetAttachmentType()

void FCarlaActor::SetAttachmentType ( carla::rpc::AttachmentType  InAttachmentType)
inline

Definition at line 140 of file CarlaActor.h.

References Attachment.

Referenced by FCarlaServer::FPimpl::BindActions(), CarlaReplayerHelper::ProcessReplayerEventParent(), and FFrameData::ProcessReplayerEventParent().

+ Here is the caller graph for this function:

◆ SetBonesTransform()

virtual ECarlaServerResponse FCarlaActor::SetBonesTransform ( const FWalkerBoneControlIn )
inlinevirtual

Reimplemented in FWalkerActor.

Definition at line 403 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ SetLightGreenTime()

virtual ECarlaServerResponse FCarlaActor::SetLightGreenTime ( float  )
inlinevirtual

Reimplemented in FTrafficLightActor.

Definition at line 363 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ SetLightRedTime()

virtual ECarlaServerResponse FCarlaActor::SetLightRedTime ( float  )
inlinevirtual

Reimplemented in FTrafficLightActor.

Definition at line 373 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ SetLightYellowTime()

virtual ECarlaServerResponse FCarlaActor::SetLightYellowTime ( float  )
inlinevirtual

Reimplemented in FTrafficLightActor.

Definition at line 368 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ SetParent()

void FCarlaActor::SetParent ( IdType  InParentId)
inline

Definition at line 115 of file CarlaActor.h.

References ParentId.

Referenced by FCarlaServer::FPimpl::BindActions(), CarlaReplayerHelper::ProcessReplayerEventParent(), and FFrameData::ProcessReplayerEventParent().

+ Here is the caller graph for this function:

◆ SetTrafficLightState()

virtual ECarlaServerResponse FCarlaActor::SetTrafficLightState ( const ETrafficLightState )
inlinevirtual

Reimplemented in FTrafficLightActor.

Definition at line 348 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions(), CarlaReplayerHelper::ProcessReplayerStateTrafficLight(), and FFrameData::ProcessReplayerStateTrafficLight().

+ Here is the caller graph for this function:

◆ SetVehicleLightState()

virtual ECarlaServerResponse FCarlaActor::SetVehicleLightState ( const FVehicleLightState )
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 273 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions(), CarlaReplayerHelper::ProcessReplayerLightVehicle(), and FFrameData::ProcessReplayerLightVehicle().

+ Here is the caller graph for this function:

◆ SetWalkerState()

virtual ECarlaServerResponse FCarlaActor::SetWalkerState ( const FTransform &  Transform,
carla::rpc::WalkerControl  WalkerControl 
)
inlinevirtual

Reimplemented in FWalkerActor.

Definition at line 381 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ SetWheelSteerDirection()

virtual ECarlaServerResponse FCarlaActor::SetWheelSteerDirection ( const EVehicleWheelLocation ,
float   
)
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 278 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ ShowVehicleDebugTelemetry()

virtual ECarlaServerResponse FCarlaActor::ShowVehicleDebugTelemetry ( bool  )
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 325 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ UseCarSimRoad()

virtual ECarlaServerResponse FCarlaActor::UseCarSimRoad ( bool  )
inlinevirtual

Reimplemented in FVehicleActor.

Definition at line 335 of file CarlaActor.h.

References ActorTypeMismatch.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

◆ WakeActorUp()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ FActorRegistry

friend class FActorRegistry
friend

Definition at line 445 of file CarlaActor.h.

Member Data Documentation

◆ ActorData

TSharedPtr<FActorData> FCarlaActor::ActorData = nullptr
protected

◆ Attachment

Definition at line 457 of file CarlaActor.h.

Referenced by GetAttachmentType(), and SetAttachmentType().

◆ Children

TArray<IdType> FCarlaActor::Children
private

Definition at line 459 of file CarlaActor.h.

Referenced by AddChildren(), GetChildren(), and RemoveChildren().

◆ Id

IdType FCarlaActor::Id = 0u
private

Definition at line 451 of file CarlaActor.h.

Referenced by GetActorId().

◆ Info

TSharedPtr<const FActorInfo> FCarlaActor::Info = nullptr
private

Definition at line 449 of file CarlaActor.h.

Referenced by WakeActorUp().

◆ ParentId

IdType FCarlaActor::ParentId = 0u
private

Definition at line 453 of file CarlaActor.h.

Referenced by GetParent(), and SetParent().

◆ State

◆ TheActor

AActor* FCarlaActor::TheActor = nullptr
private

◆ Type

ActorType FCarlaActor::Type = ActorType::INVALID
protected

◆ World

UWorld* FCarlaActor::World = nullptr
protected

The documentation for this class was generated from the following files: