#include <ActorAttribute.h>
Public Member Functions | |
ActorAttributeValue (rpc::ActorAttributeValue attribute) | |
ActorAttributeValue (ActorAttributeValue const &)=default | |
ActorAttributeValue (ActorAttributeValue &&)=default | |
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. More... | |
ActorAttributeValue & | operator= (ActorAttributeValue const &)=default |
ActorAttributeValue & | operator= (ActorAttributeValue &&)=default |
virtual | ~ActorAttributeValue ()=default |
Public Member Functions inherited from carla::client::ActorAttributeValueAccess | |
ActorAttributeValueAccess ()=default | |
ActorAttributeValueAccess (ActorAttributeValueAccess const &)=default | |
ActorAttributeValueAccess (ActorAttributeValueAccess &&)=default | |
template<> | |
bool | As () const |
template<> | |
int | As () const |
template<> | |
float | As () const |
template<typename T > | |
T | As () const |
Cast the value to the given type. More... | |
template<rpc::ActorAttributeType Type> | |
auto | As () const |
Cast the value to the type specified by the enum carla::rpc::ActorAttributeType. More... | |
template<> | |
bool | As () const |
template<> | |
int | As () const |
template<> | |
float | As () const |
template<> | |
std::string | As () const |
template<> | |
sensor::data::Color | As () const |
template<typename T > | |
bool | operator!= (const T &rhs) const |
ActorAttributeValueAccess & | operator= (ActorAttributeValueAccess const &)=default |
ActorAttributeValueAccess & | operator= (ActorAttributeValueAccess &&)=default |
template<typename T > | |
bool | operator== (const T &rhs) const |
template<> | |
bool | operator== (const ActorAttributeValueAccess &rhs) const |
template<> | |
bool | operator== (const ActorAttributeValue &rhs) const |
template<> | |
bool | operator== (const ActorAttribute &rhs) const |
virtual | ~ActorAttributeValueAccess ()=default |
Private Attributes | |
rpc::ActorAttributeValue | _attribute |
Additional Inherited Members | |
Protected Member Functions inherited from carla::client::ActorAttributeValueAccess | |
void | Validate () const |
Definition at line 141 of file LibCarla/source/carla/client/ActorAttribute.h.
|
inline |
Definition at line 144 of file LibCarla/source/carla/client/ActorAttribute.h.
|
default |
|
default |
|
virtualdefault |
|
inlineoverridevirtual |
Implements carla::client::ActorAttributeValueAccess.
Definition at line 156 of file LibCarla/source/carla/client/ActorAttribute.h.
|
inlineoverridevirtual |
Implements carla::client::ActorAttributeValueAccess.
Definition at line 160 of file LibCarla/source/carla/client/ActorAttribute.h.
|
inlineoverridevirtual |
Implements carla::client::ActorAttributeValueAccess.
Definition at line 169 of file LibCarla/source/carla/client/ActorAttribute.h.
|
inline |
Serialize this object as a carla::rpc::ActorAttributeValue.
Definition at line 165 of file LibCarla/source/carla/client/ActorAttribute.h.
|
default |
|
default |
|
private |
Definition at line 175 of file LibCarla/source/carla/client/ActorAttribute.h.