|
CARLA
|
#include <LightState.h>
Public Types | |
| using | flag_type = uint8_t |
| enum class | LightGroup : flag_type { None = 0 , Vehicle , Street , Building , Other } |
Public Member Functions | |
| LightState () | |
| LightState (geom::Location location, float intensity, LightGroup group, Color color, bool active) | |
| MSGPACK_DEFINE_ARRAY (_id, _location, _intensity, _group, _color, _active) | |
Public Attributes | |
| bool | _active = false |
| Color | _color |
| flag_type | _group = static_cast<flag_type>(LightGroup::None) |
| LightId | _id |
| float | _intensity = 0.0f |
| geom::Location | _location |
Definition at line 18 of file rpc/LightState.h.
| using carla::rpc::LightState::flag_type = uint8_t |
Definition at line 21 of file rpc/LightState.h.
|
strong |
| Enumerator | |
|---|---|
| None | |
| Vehicle | |
| Street | |
| Building | |
| Other | |
Definition at line 23 of file rpc/LightState.h.
|
inline |
Definition at line 31 of file rpc/LightState.h.
|
inline |
Definition at line 33 of file rpc/LightState.h.
References _active, _color, _group, _intensity, and _location.
| bool carla::rpc::LightState::_active = false |
Definition at line 50 of file rpc/LightState.h.
Referenced by LightState(), and MSGPACK_DEFINE_ARRAY().
| Color carla::rpc::LightState::_color |
Definition at line 49 of file rpc/LightState.h.
Referenced by LightState(), and MSGPACK_DEFINE_ARRAY().
| flag_type carla::rpc::LightState::_group = static_cast<flag_type>(LightGroup::None) |
Definition at line 48 of file rpc/LightState.h.
Referenced by LightState(), and MSGPACK_DEFINE_ARRAY().
| LightId carla::rpc::LightState::_id |
Definition at line 47 of file rpc/LightState.h.
Referenced by MSGPACK_DEFINE_ARRAY(), and carla::client::LightManager::UpdateServerLightsState().
| float carla::rpc::LightState::_intensity = 0.0f |
Definition at line 46 of file rpc/LightState.h.
Referenced by LightState(), and MSGPACK_DEFINE_ARRAY().
| geom::Location carla::rpc::LightState::_location |
Definition at line 45 of file rpc/LightState.h.
Referenced by LightState(), and MSGPACK_DEFINE_ARRAY().