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

#include <ActorAttribute.h>

+ 类 carla::client::ActorAttributeValue 继承关系图:
+ carla::client::ActorAttributeValue 的协作图:

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.
 
ActorAttributeValueoperator= (ActorAttributeValue &&)=default
 
ActorAttributeValueoperator= (ActorAttributeValue const &)=default
 
virtual ~ActorAttributeValue ()=default
 
- Public 成员函数 继承自 carla::client::ActorAttributeValueAccess
 ActorAttributeValueAccess ()=default
 
 ActorAttributeValueAccess (ActorAttributeValueAccess &&)=default
 
 ActorAttributeValueAccess (ActorAttributeValueAccess const &)=default
 
template<>
bool As () const
 
template<>
int As () const
 
template<>
float As () const
 
template<typename T >
As () const
 Cast the value to the given type.
 
template<rpc::ActorAttributeType Type>
auto As () const
 Cast the value to the type specified by the enum carla::rpc::ActorAttributeType.
 
template<>
bool As () const
 
template<>
int As () const
 
template<>
float As () const
 
template<typename T >
bool operator!= (const T &rhs) const
 
ActorAttributeValueAccessoperator= (ActorAttributeValueAccess &&)=default
 
ActorAttributeValueAccessoperator= (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
 

额外继承的成员函数

- Protected 成员函数 继承自 carla::client::ActorAttributeValueAccess
void Validate () const
 

详细描述

在文件 LibCarla/source/carla/client/ActorAttribute.h141 行定义.

构造及析构函数说明

◆ ActorAttributeValue() [1/3]

carla::client::ActorAttributeValue::ActorAttributeValue ( rpc::ActorAttributeValue attribute)
inline

在文件 LibCarla/source/carla/client/ActorAttribute.h144 行定义.

引用了 carla::client::ActorAttributeValueAccess::Validate().

+ 函数调用图:

◆ ActorAttributeValue() [2/3]

carla::client::ActorAttributeValue::ActorAttributeValue ( ActorAttributeValue const & )
default

◆ ActorAttributeValue() [3/3]

carla::client::ActorAttributeValue::ActorAttributeValue ( ActorAttributeValue && )
default

◆ ~ActorAttributeValue()

virtual carla::client::ActorAttributeValue::~ActorAttributeValue ( )
virtualdefault

成员函数说明

◆ GetId()

virtual const std::string & carla::client::ActorAttributeValue::GetId ( ) const
inlineoverridevirtual

◆ GetType()

virtual rpc::ActorAttributeType carla::client::ActorAttributeValue::GetType ( ) const
inlineoverridevirtual

◆ GetValue()

virtual const std::string & carla::client::ActorAttributeValue::GetValue ( ) const
inlineoverridevirtual

◆ operator rpc::ActorAttributeValue()

Serialize this object as a carla::rpc::ActorAttributeValue.

在文件 LibCarla/source/carla/client/ActorAttribute.h165 行定义.

引用了 _attribute.

◆ operator=() [1/2]

◆ operator=() [2/2]

类成员变量说明

◆ _attribute

rpc::ActorAttributeValue carla::client::ActorAttributeValue::_attribute
private

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