CARLA
Loading...
Searching...
No Matches
Classes | Macros | Enumerations | Functions
CarlaLight.h File Reference
#include <util/disable-ue4-macros.h>
#include <carla/rpc/LightState.h>
#include <util/enable-ue4-macros.h>
#include <util/ue-header-guard-begin.h>
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "UObject/ObjectKey.h"
#include <util/ue-header-guard-end.h>
#include <type_traits>
#include <utility>
#include "CarlaLight.generated.h"

Go to the source code of this file.

Classes

struct  FCarlaLightOptions
 

Macros

#define CARLA_ENUM_FROM_RPC(e)   static_cast<uint8>(carla::rpc::LightState::LightGroup:: e)
 

Enumerations

enum class  ECarlaLightFlags : uint8 { Default = 0 UMETA(Hidden) , Registered = 1 UMETA(Hidden) , TurnedOn = 2 }
 
enum class  ELightType : uint8 {
  Null = 0 , Vehicle = CARLA_ENUM_FROM_RPC(Vehicle) UMETA(DisplayName = "Vehicle") , Street = CARLA_ENUM_FROM_RPC(Street) UMETA(DisplayName = "Street") , Building = CARLA_ENUM_FROM_RPC(Building) UMETA(DisplayName = "Building") ,
  Other = CARLA_ENUM_FROM_RPC(Other) UMETA(DisplayName = "Other")
}
 

Functions

constexpr auto operator& (ECarlaLightFlags lhs, ECarlaLightFlags rhs)
 
constexpr auto operator&= (ECarlaLightFlags &lhs, ECarlaLightFlags rhs)
 
constexpr auto operator^ (ECarlaLightFlags lhs, ECarlaLightFlags rhs)
 
constexpr auto operator^= (ECarlaLightFlags &lhs, ECarlaLightFlags rhs)
 
constexpr auto operator| (ECarlaLightFlags lhs, ECarlaLightFlags rhs)
 
constexpr auto operator|= (ECarlaLightFlags &lhs, ECarlaLightFlags rhs)
 
constexpr auto operator~ (ECarlaLightFlags lhs)
 

Macro Definition Documentation

◆ CARLA_ENUM_FROM_RPC

#define CARLA_ENUM_FROM_RPC (   e)    static_cast<uint8>(carla::rpc::LightState::LightGroup:: e)

Definition at line 26 of file CarlaLight.h.

Enumeration Type Documentation

◆ ECarlaLightFlags

enum class ECarlaLightFlags : uint8
strong
Enumerator
Default 
Registered 
TurnedOn 

Definition at line 43 of file CarlaLight.h.

◆ ELightType

enum class ELightType : uint8
strong
Enumerator
Null 
Vehicle 
Street 
Building 
Other 

Definition at line 29 of file CarlaLight.h.

Function Documentation

◆ operator&()

constexpr auto operator& ( ECarlaLightFlags  lhs,
ECarlaLightFlags  rhs 
)
constexpr

Definition at line 50 of file CarlaLight.h.

◆ operator&=()

constexpr auto operator&= ( ECarlaLightFlags &  lhs,
ECarlaLightFlags  rhs 
)
constexpr

Definition at line 74 of file CarlaLight.h.

◆ operator^()

constexpr auto operator^ ( ECarlaLightFlags  lhs,
ECarlaLightFlags  rhs 
)
constexpr

Definition at line 62 of file CarlaLight.h.

◆ operator^=()

constexpr auto operator^= ( ECarlaLightFlags &  lhs,
ECarlaLightFlags  rhs 
)
constexpr

Definition at line 86 of file CarlaLight.h.

◆ operator|()

constexpr auto operator| ( ECarlaLightFlags  lhs,
ECarlaLightFlags  rhs 
)
constexpr

Definition at line 56 of file CarlaLight.h.

◆ operator|=()

constexpr auto operator|= ( ECarlaLightFlags &  lhs,
ECarlaLightFlags  rhs 
)
constexpr

Definition at line 80 of file CarlaLight.h.

◆ operator~()

constexpr auto operator~ ( ECarlaLightFlags  lhs)
constexpr

Definition at line 68 of file CarlaLight.h.