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

#include <Command.h>

+ Inheritance diagram for carla::rpc::Command::ApplyVehicleControl:
+ Collaboration diagram for carla::rpc::Command::ApplyVehicleControl:

Public Member Functions

 ApplyVehicleControl ()=default
 
 ApplyVehicleControl (ActorId id, const VehicleControl &value)
 
 MSGPACK_DEFINE_ARRAY (actor, control)
 
- Public Member Functions inherited from carla::rpc::Command::CommandBase< ApplyVehicleControl >
 operator Command () const
 

Public Attributes

ActorId actor
 
VehicleControl control
 

Detailed Description

Definition at line 67 of file Command.h.

Constructor & Destructor Documentation

◆ ApplyVehicleControl() [1/2]

carla::rpc::Command::ApplyVehicleControl::ApplyVehicleControl ( )
default

◆ ApplyVehicleControl() [2/2]

carla::rpc::Command::ApplyVehicleControl::ApplyVehicleControl ( ActorId  id,
const VehicleControl value 
)
inline

Definition at line 69 of file Command.h.

Member Function Documentation

◆ MSGPACK_DEFINE_ARRAY()

carla::rpc::Command::ApplyVehicleControl::MSGPACK_DEFINE_ARRAY ( actor  ,
control   
)

Member Data Documentation

◆ actor

ActorId carla::rpc::Command::ApplyVehicleControl::actor

Definition at line 72 of file Command.h.

Referenced by carla::traffic_manager::VehicleLightStage::Update().

◆ control

VehicleControl carla::rpc::Command::ApplyVehicleControl::control

Definition at line 73 of file Command.h.

Referenced by carla::traffic_manager::VehicleLightStage::Update().


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