CARLA
Loading...
Searching...
No Matches
carla::rpc::Command::SetTrafficLightState Struct Reference

#include <Command.h>

Inheritance diagram for carla::rpc::Command::SetTrafficLightState:

Public Member Functions

 MSGPACK_DEFINE_ARRAY (actor, traffic_light_state)
 SetTrafficLightState ()=default
 SetTrafficLightState (ActorId id, rpc::TrafficLightState state)
Public Member Functions inherited from carla::rpc::Command::CommandBase< SetTrafficLightState >
 operator Command () const

Public Attributes

ActorId actor
rpc::TrafficLightState traffic_light_state

Detailed Description

Definition at line 272 of file Command.h.

Constructor & Destructor Documentation

◆ SetTrafficLightState() [1/2]

carla::rpc::Command::SetTrafficLightState::SetTrafficLightState ( )
default

◆ SetTrafficLightState() [2/2]

carla::rpc::Command::SetTrafficLightState::SetTrafficLightState ( ActorId id,
rpc::TrafficLightState state )
inline

Definition at line 274 of file Command.h.

References actor, and traffic_light_state.

Member Function Documentation

◆ MSGPACK_DEFINE_ARRAY()

carla::rpc::Command::SetTrafficLightState::MSGPACK_DEFINE_ARRAY ( actor ,
traffic_light_state  )

References actor, and traffic_light_state.

Member Data Documentation

◆ actor

ActorId carla::rpc::Command::SetTrafficLightState::actor

Definition at line 279 of file Command.h.

Referenced by MSGPACK_DEFINE_ARRAY(), and SetTrafficLightState().

◆ traffic_light_state

rpc::TrafficLightState carla::rpc::Command::SetTrafficLightState::traffic_light_state

Definition at line 280 of file Command.h.

Referenced by MSGPACK_DEFINE_ARRAY(), and SetTrafficLightState().


The documentation for this struct was generated from the following file: