CARLA
Public Member Functions | Public Attributes | List of all members
carla::rpc::ActorAttribute Class Reference

#include <ActorAttribute.h>

+ Collaboration diagram for carla::rpc::ActorAttribute:

Public Member Functions

 ActorAttribute ()=default
 
 MSGPACK_DEFINE_ARRAY (id, type, value, recommended_values, is_modifiable, restrict_to_recommended)
 

Public Attributes

std::string id
 
bool is_modifiable = true
 
std::vector< std::string > recommended_values
 
bool restrict_to_recommended = false
 
ActorAttributeType type = ActorAttributeType::Int
 
std::string value
 

Detailed Description

Definition at line 26 of file LibCarla/source/carla/rpc/ActorAttribute.h.

Constructor & Destructor Documentation

◆ ActorAttribute()

carla::rpc::ActorAttribute::ActorAttribute ( )
default

Member Function Documentation

◆ MSGPACK_DEFINE_ARRAY()

carla::rpc::ActorAttribute::MSGPACK_DEFINE_ARRAY ( id  ,
type  ,
value  ,
recommended_values  ,
is_modifiable  ,
restrict_to_recommended   
)

Member Data Documentation

◆ id

std::string carla::rpc::ActorAttribute::id

Definition at line 31 of file LibCarla/source/carla/rpc/ActorAttribute.h.

◆ is_modifiable

bool carla::rpc::ActorAttribute::is_modifiable = true

◆ recommended_values

std::vector<std::string> carla::rpc::ActorAttribute::recommended_values

Definition at line 37 of file LibCarla/source/carla/rpc/ActorAttribute.h.

◆ restrict_to_recommended

bool carla::rpc::ActorAttribute::restrict_to_recommended = false

Definition at line 41 of file LibCarla/source/carla/rpc/ActorAttribute.h.

◆ type

ActorAttributeType carla::rpc::ActorAttribute::type = ActorAttributeType::Int

Definition at line 33 of file LibCarla/source/carla/rpc/ActorAttribute.h.

◆ value

std::string carla::rpc::ActorAttribute::value

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