CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FTrafficLightActor类 参考

#include <CarlaActor.h>

+ 类 FTrafficLightActor 继承关系图:
+ FTrafficLightActor 的协作图:

Public 成员函数

virtual ECarlaServerResponse FreezeTrafficLight (bool bFreeze) final
 
 FTrafficLightActor (IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, carla::rpc::ActorState InState, UWorld *World)
 
virtual UTrafficLightControllerGetTrafficLightController () final
 
virtual ETrafficLightState GetTrafficLightState () const final
 
virtual ECarlaServerResponse ResetTrafficLightGroup () final
 
virtual ECarlaServerResponse SetLightGreenTime (float time) final
 
virtual ECarlaServerResponse SetLightRedTime (float time) final
 
virtual ECarlaServerResponse SetLightYellowTime (float time) final
 
virtual ECarlaServerResponse SetTrafficLightState (const ETrafficLightState &State) final
 
- Public 成员函数 继承自 FCarlaActor
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 GetAckermannControllerSettings (FAckermannControllerSettings &)
 
AActorGetActor ()
 
const AActorGetActor () const
 
FVector GetActorAngularVelocity () const
 
FActorDataGetActorData ()
 
template<typename T >
T * GetActorData ()
 
const FActorDataGetActorData () const
 
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 ECarlaServerResponse GetVehicleAckermannControl (FVehicleAckermannControl &)
 
virtual ECarlaServerResponse GetVehicleControl (FVehicleControl &)
 
virtual ECarlaServerResponse GetVehicleLightState (FVehicleLightState &)
 
virtual ECarlaServerResponse GetVehicleTelemetryData (FVehicleTelemetryData &)
 
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 RestorePhysXPhysics ()
 
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 &)
 
void SetParent (IdType InParentId)
 
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 ()
 

额外继承的成员函数

- Public 类型 继承自 FCarlaActor
enum class  ActorType : uint8 {
  Other , Vehicle , Walker , TrafficLight ,
  TrafficSign , Sensor , INVALID
}
 
using IdType = uint32
 
- 静态 Public 成员函数 继承自 FCarlaActor
static TSharedPtr< FCarlaActorConstructCarlaActor (IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, ActorType Type, carla::rpc::ActorState InState, UWorld *World)
 
- Protected 属性 继承自 FCarlaActor
TSharedPtr< FActorDataActorData = nullptr
 
ActorType Type = ActorType::INVALID
 
UWorld * World = nullptr
 

详细描述

在文件 CarlaActor.h575 行定义.

构造及析构函数说明

◆ FTrafficLightActor()

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

在文件 CarlaActor.cpp87 行定义.

引用了 FCarlaActor::ActorData , 以及 FCarlaActor::TrafficLight.

成员函数说明

◆ FreezeTrafficLight()

ECarlaServerResponse FTrafficLightActor::FreezeTrafficLight ( bool bFreeze)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp1214 行定义.

引用了 FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotATrafficLight, Success , 以及 FCarlaActor::TrafficLight.

+ 函数调用图:

◆ GetTrafficLightController()

UTrafficLightController * FTrafficLightActor::GetTrafficLightController ( )
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp1142 行定义.

引用了 FCarlaActor::ActorData, FCarlaActor::GetActor(), FCarlaActor::IsDormant() , 以及 FCarlaActor::TrafficLight.

+ 函数调用图:

◆ GetTrafficLightState()

ETrafficLightState FTrafficLightActor::GetTrafficLightState ( ) const
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp1124 行定义.

引用了 FCarlaActor::ActorData, FCarlaActor::GetActor(), FCarlaActor::IsDormant() , 以及 FCarlaActor::TrafficLight.

+ 函数调用图:

◆ ResetTrafficLightGroup()

ECarlaServerResponse FTrafficLightActor::ResetTrafficLightGroup ( )
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp1232 行定义.

引用了 FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotATrafficLight, Success , 以及 FCarlaActor::TrafficLight.

+ 函数调用图:

◆ SetLightGreenTime()

ECarlaServerResponse FTrafficLightActor::SetLightGreenTime ( float time)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp1160 行定义.

引用了 FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotATrafficLight, Success , 以及 FCarlaActor::TrafficLight.

+ 函数调用图:

◆ SetLightRedTime()

ECarlaServerResponse FTrafficLightActor::SetLightRedTime ( float time)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp1196 行定义.

引用了 FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotATrafficLight, Success , 以及 FCarlaActor::TrafficLight.

+ 函数调用图:

◆ SetLightYellowTime()

ECarlaServerResponse FTrafficLightActor::SetLightYellowTime ( float time)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp1178 行定义.

引用了 FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotATrafficLight, Success , 以及 FCarlaActor::TrafficLight.

+ 函数调用图:

◆ SetTrafficLightState()

ECarlaServerResponse FTrafficLightActor::SetTrafficLightState ( const ETrafficLightState & State)
finalvirtual

重载 FCarlaActor .

在文件 CarlaActor.cpp1105 行定义.

引用了 FCarlaActor::ActorData, FCarlaActor::GetActor(), FCarlaActor::IsDormant(), NotATrafficLight, FCarlaActor::State, Success , 以及 FCarlaActor::TrafficLight.

+ 函数调用图:

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