Defines the physical appearance of a vehicle whitch is obtained by the sensors. 更多...
#include <VehicleLightState.h>
Public 类型 | |
using | flag_type = uint32_t |
enum class | LightState : flag_type { None = 0 , Position = 0x1 , LowBeam = 0x1 << 1 , HighBeam = 0x1 << 2 , Brake = 0x1 << 3 , RightBlinker = 0x1 << 4 , LeftBlinker = 0x1 << 5 , Reverse = 0x1 << 6 , Fog = 0x1 << 7 , Interior = 0x1 << 8 , Special1 = 0x1 << 9 , Special2 = 0x1 << 10 , All = 0xFFFFFFFF } |
Can be used as flags 更多... | |
Public 成员函数 | |
flag_type | GetLightStateAsValue () const |
Returns the current light state as a value type | |
LightState | GetLightStateEnum () const |
Returns the current light state as an enum type | |
operator FVehicleLightState () const | |
VehicleLightState ()=default | |
VehicleLightState (const FVehicleLightState &InLightState) | |
VehicleLightState (flag_type light_state) | |
VehicleLightState (LightState light_state) | |
Public 属性 | |
flag_type | light_state = static_cast<flag_type>(LightState::None) |
Lights state flag, all turned off by default | |
Defines the physical appearance of a vehicle whitch is obtained by the sensors.
在文件 LibCarla/source/carla/rpc/VehicleLightState.h 第 26 行定义.
using carla::rpc::VehicleLightState::flag_type = uint32_t |
在文件 LibCarla/source/carla/rpc/VehicleLightState.h 第 29 行定义.
|
strong |
Can be used as flags
枚举值 | |
---|---|
None | |
Position | |
LowBeam | |
HighBeam | |
Brake | |
RightBlinker | |
LeftBlinker | |
Reverse | |
Fog | |
Interior | |
Special1 | |
Special2 | |
All |
在文件 LibCarla/source/carla/rpc/VehicleLightState.h 第 32 行定义.
|
default |
|
inline |
在文件 LibCarla/source/carla/rpc/VehicleLightState.h 第 50 行定义.
|
inline |
在文件 LibCarla/source/carla/rpc/VehicleLightState.h 第 53 行定义.
|
inline |
在文件 LibCarla/source/carla/rpc/VehicleLightState.h 第 58 行定义.
引用了 Brake, FVehicleLightState::Brake, Fog, FVehicleLightState::Fog, HighBeam, FVehicleLightState::HighBeam, Interior, FVehicleLightState::Interior, LeftBlinker, FVehicleLightState::LeftBlinker, light_state, LowBeam, FVehicleLightState::LowBeam, None, Position, FVehicleLightState::Position, Reverse, FVehicleLightState::Reverse, RightBlinker, FVehicleLightState::RightBlinker, SET_FLAG, Special1, FVehicleLightState::Special1, Special2 , 以及 FVehicleLightState::Special2.
|
inline |
Returns the current light state as a value type
在文件 LibCarla/source/carla/rpc/VehicleLightState.h 第 97 行定义.
引用了 light_state.
|
inline |
Returns the current light state as an enum type
在文件 LibCarla/source/carla/rpc/VehicleLightState.h 第 92 行定义.
引用了 light_state.
|
inline |
在文件 LibCarla/source/carla/rpc/VehicleLightState.h 第 73 行定义.
引用了 Brake, FVehicleLightState::Brake, FLAG_ENABLED, Fog, FVehicleLightState::Fog, HighBeam, FVehicleLightState::HighBeam, Interior, FVehicleLightState::Interior, LeftBlinker, FVehicleLightState::LeftBlinker, light_state, LowBeam, FVehicleLightState::LowBeam, Position, FVehicleLightState::Position, Reverse, FVehicleLightState::Reverse, RightBlinker, FVehicleLightState::RightBlinker, Special1, FVehicleLightState::Special1, Special2 , 以及 FVehicleLightState::Special2.
flag_type carla::rpc::VehicleLightState::light_state = static_cast<flag_type>(LightState::None) |
Lights state flag, all turned off by default
在文件 LibCarla/source/carla/rpc/VehicleLightState.h 第 102 行定义.
被这些函数引用 FFrameData::AddVehicleLight(), ACarlaRecorder::AddVehicleLight(), GetLightStateAsValue(), GetLightStateEnum(), operator FVehicleLightState() , 以及 VehicleLightState().