#include <ActorAttribute.h>
Public 成员函数 | |
ActorAttributeValue (ActorAttributeValue &&)=default | |
ActorAttributeValue (ActorAttributeValue const &)=default | |
ActorAttributeValue (rpc::ActorAttributeValue attribute) | |
virtual const std::string & | GetId () const override |
virtual rpc::ActorAttributeType | GetType () const override |
virtual const std::string & | GetValue () const override |
operator rpc::ActorAttributeValue () const | |
Serialize this object as a carla::rpc::ActorAttributeValue. 更多... | |
ActorAttributeValue & | operator= (ActorAttributeValue &&)=default |
ActorAttributeValue & | operator= (ActorAttributeValue const &)=default |
virtual | ~ActorAttributeValue ()=default |
![]() | |
ActorAttributeValueAccess ()=default | |
ActorAttributeValueAccess (ActorAttributeValueAccess &&)=default | |
ActorAttributeValueAccess (ActorAttributeValueAccess const &)=default | |
template<> | |
bool | As () const |
template<> | |
int | As () const |
template<> | |
float | As () const |
template<typename T > | |
T | As () const |
将值转换为给定的类型。 更多... | |
template<rpc::ActorAttributeType Type> | |
auto | As () const |
将值转换为枚举carla::rpc::ActorAttributeType指定的类型。 更多... | |
template<> | |
bool | As () const |
template<> | |
int | As () const |
template<> | |
float | As () const |
virtual const std::string & | GetId () const =0 |
virtual rpc::ActorAttributeType | GetType () const =0 |
template<typename T > | |
bool | operator!= (const T &rhs) const |
ActorAttributeValueAccess & | operator= (ActorAttributeValueAccess &&)=default |
ActorAttributeValueAccess & | operator= (ActorAttributeValueAccess const &)=default |
template<> | |
bool | operator== (const ActorAttribute &rhs) const |
template<> | |
bool | operator== (const ActorAttributeValue &rhs) const |
template<> | |
bool | operator== (const ActorAttributeValueAccess &rhs) const |
template<typename T > | |
bool | operator== (const T &rhs) const |
virtual | ~ActorAttributeValueAccess ()=default |
Private 属性 | |
rpc::ActorAttributeValue | _attribute |
额外继承的成员函数 | |
![]() | |
virtual const std::string & | GetValue () const =0 |
void | Validate () const |
在文件 LibCarla/source/carla/client/ActorAttribute.h 第 186 行定义.
|
inline |
在文件 LibCarla/source/carla/client/ActorAttribute.h 第 190 行定义.
引用了 carla::client::ActorAttributeValueAccess::Validate().
|
default |
|
default |
|
virtualdefault |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inline |
Serialize this object as a carla::rpc::ActorAttributeValue.
在文件 LibCarla/source/carla/client/ActorAttribute.h 第 222 行定义.
引用了 _attribute.
|
default |
|
default |
|
private |
在文件 LibCarla/source/carla/client/ActorAttribute.h 第 236 行定义.
被这些函数引用 GetId(), GetType(), GetValue() , 以及 operator rpc::ActorAttributeValue().