Public Member Functions | Public Attributes | List of all members
carla::rpc::Command::SetTrafficLightState Struct Reference

#include <Command.h>

+ Inheritance diagram for carla::rpc::Command::SetTrafficLightState:
+ Collaboration 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 ( )

◆ SetTrafficLightState() [2/2]

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

Definition at line 274 of file Command.h.

Member Function Documentation


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

Member Data Documentation

◆ actor

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

Definition at line 279 of file Command.h.

◆ traffic_light_state

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

Definition at line 280 of file Command.h.

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