#include <LightState.h>
Public Types | |
using | flag_type = uint8_t |
enum | LightGroup : flag_type { LightGroup::None = 0, LightGroup::Vehicle, LightGroup::Street, LightGroup::Building, LightGroup::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.
carla::rpc::LightState::MSGPACK_DEFINE_ARRAY | ( | _id | , |
_location | , | ||
_intensity | , | ||
_group | , | ||
_color | , | ||
_active | |||
) |
bool carla::rpc::LightState::_active = false |
Definition at line 50 of file rpc/LightState.h.
Color carla::rpc::LightState::_color |
Definition at line 49 of file rpc/LightState.h.
flag_type carla::rpc::LightState::_group = static_cast<flag_type>(LightGroup::None) |
Definition at line 48 of file rpc/LightState.h.
LightId carla::rpc::LightState::_id |
Definition at line 47 of file rpc/LightState.h.
Referenced by carla::client::LightManager::UpdateServerLightsState().
float carla::rpc::LightState::_intensity = 0.0f |
Definition at line 46 of file rpc/LightState.h.
geom::Location carla::rpc::LightState::_location |
Definition at line 45 of file rpc/LightState.h.