11 #ifdef LIBCARLA_INCLUDED_FROM_UE4 15 #endif // LIBCARLA_INCLUDED_FROM_UE4 20 #define SET_FLAG(flag, value) flag |= static_cast<flag_type>(value) 22 #define FLAG_ENABLED(flag, value) flag & static_cast<flag_type>(value) 51 : light_state(static_cast<
flag_type>(light_state)) {}
54 : light_state(light_state) {}
56 #ifdef LIBCARLA_INCLUDED_FROM_UE4 89 #endif // LIBCARLA_INCLUDED_FROM_UE4 104 MSGPACK_DEFINE_ARRAY(light_state)
VehicleLightState(flag_type light_state)
#define SET_FLAG(flag, value)
VehicleLightState()=default
This file contains definitions of common data structures used in traffic manager. ...
LightState
Can be used as flags.
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.
VehicleLightState(LightState light_state)
flag_type light_state
Lights state flag, all turned off by default.
Defines the physical appearance of a vehicle whitch is obtained by the sensors.
#define FLAG_ENABLED(flag, value)