CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
carla::rpc::ActorAttribute类 参考

#include <ActorAttribute.h>

+ carla::rpc::ActorAttribute 的协作图:

Public 成员函数

 ActorAttribute ()=default
 
 ActorAttribute (const FActorAttribute &Attribute)
 
 ActorAttribute (const FActorVariation &Variation)
 
 MSGPACK_DEFINE_ARRAY (id, type, value, recommended_values, is_modifiable, restrict_to_recommended)
 

Public 属性

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
 

详细描述

在文件 LibCarla/source/carla/rpc/ActorAttribute.h26 行定义.

构造及析构函数说明

◆ ActorAttribute() [1/3]

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

◆ ActorAttribute() [2/3]

carla::rpc::ActorAttribute::ActorAttribute ( const FActorAttribute & Attribute)
inline

◆ ActorAttribute() [3/3]

carla::rpc::ActorAttribute::ActorAttribute ( const FActorVariation & Variation)
inline

成员函数说明

◆ MSGPACK_DEFINE_ARRAY()

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

类成员变量说明

◆ id

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

◆ is_modifiable

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

◆ recommended_values

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

◆ restrict_to_recommended

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

◆ type

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

◆ value

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

该类的文档由以下文件生成: