11#ifdef 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)
56#ifdef LIBCARLA_INCLUDED_FROM_UE4
#define FLAG_ENABLED(flag, value)
#define SET_FLAG(flag, value)
Defines the physical appearance of a vehicle whitch is obtained by the sensors.
VehicleLightState(const FVehicleLightState &InLightState)
LightState GetLightStateEnum() const
Returns the current light state as an enum type
VehicleLightState(flag_type light_state)
LightState
Can be used as flags
VehicleLightState()=default
flag_type GetLightStateAsValue() const
Returns the current light state as a value type
VehicleLightState(LightState light_state)
flag_type light_state
Lights state flag, all turned off by default
This file contains definitions of common data structures used in traffic manager.