List of all members |
Public Types |
Public Member Functions |
Static Public Member Functions |
Static Public Attributes |
Protected Member Functions
Entity Class Referencefinal
#include <entity.pb.h>
Public Types | |
enum | : int { kNameFieldNumber = 3 , kHeaderFieldNumber = 1 , kIdFieldNumber = 2 , kTypeFieldNumber = 4 } |
typedef Entity_Type | Type |
Public Member Functions | |
Entity () | |
constexpr | Entity (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) |
Entity (const Entity &from) | |
Entity (Entity &&from) noexcept | |
~Entity () override | |
const char * | _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final |
uint8_t * | _InternalSerialize (uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final |
size_t | ByteSizeLong () const final |
PROTOBUF_ATTRIBUTE_REINITIALIZES void | Clear () final |
void | clear_header () |
void | clear_id () |
void | clear_name () |
void | clear_type () |
void | CopyFrom (const Entity &from) |
int | GetCachedSize () const final |
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * | GetClassData () const final |
::PROTOBUF_NAMESPACE_ID::Metadata | GetMetadata () const final |
bool | has_header () const |
const ::ignition::msgs::Header & | header () const |
uint64_t | id () const |
bool | IsInitialized () const final |
void | MergeFrom (const Entity &from) |
::ignition::msgs::Header * | mutable_header () |
std::string * | mutable_name () |
const std::string & | name () const |
Entity * | New (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final |
Entity & | operator= (const Entity &from) |
Entity & | operator= (Entity &&from) noexcept |
PROTOBUF_NODISCARD ::ignition::msgs::Header * | release_header () |
PROTOBUF_NODISCARD std::string * | release_name () |
void | set_allocated_header (::ignition::msgs::Header *header) |
void | set_allocated_name (std::string *name) |
void | set_id (uint64_t value) |
template<typename ArgT0 = const std::string&, typename... ArgT> | |
void | set_name (ArgT0 &&arg0, ArgT... args) |
template<typename ArgT0 , typename... ArgT> | |
PROTOBUF_ALWAYS_INLINE void | set_name (ArgT0 &&arg0, ArgT... args) |
void | set_type (::ignition::msgs::Entity_Type value) |
void | Swap (Entity *other) |
::ignition::msgs::Entity_Type | type () const |
::ignition::msgs::Header * | unsafe_arena_release_header () |
void | unsafe_arena_set_allocated_header (::ignition::msgs::Header *header) |
void | UnsafeArenaSwap (Entity *other) |
Static Public Member Functions | |
static const Entity & | default_instance () |
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * | descriptor () |
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * | GetDescriptor () |
static const ::PROTOBUF_NAMESPACE_ID::Reflection * | GetReflection () |
static const Entity * | internal_default_instance () |
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * | Type_descriptor () |
static bool | Type_IsValid (int value) |
template<typename T > | |
static const std::string & | Type_Name (T enum_t_value) |
static bool | Type_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type *value) |
Static Public Attributes | |
static const ClassData | _class_data_ |
static constexpr Type | COLLISION |
static constexpr Type | JOINT |
static constexpr int | kIndexInFileMessages |
static constexpr Type | LIGHT |
static constexpr Type | LINK |
static constexpr Type | MODEL |
static constexpr Type | NONE |
static constexpr Type | SENSOR |
static constexpr int | Type_ARRAYSIZE |
static constexpr Type | Type_MAX |
static constexpr Type | Type_MIN |
static constexpr Type | VISUAL |
Protected Member Functions | |
Entity (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false) | |
Member Typedef Documentation
◆ Type
typedef Entity_Type Type |
Member Enumeration Documentation
◆ anonymous enum
Constructor & Destructor Documentation
◆ Entity() [1/5]
|
inline |
◆ ~Entity()
|
override |
◆ Entity() [2/5]
|
explicitconstexpr |
◆ Entity() [3/5]
◆ Entity() [4/5]
◆ Entity() [5/5]
|
explicitprotected |
Member Function Documentation
◆ _InternalParse()
|
final |
◆ _InternalSerialize()
|
final |
◆ ByteSizeLong()
|
final |
◆ Clear()
|
final |
◆ clear_header()
void clear_header | ( | ) |
◆ clear_id()
|
inline |
◆ clear_name()
|
inline |
◆ clear_type()
|
inline |
◆ CopyFrom()
void CopyFrom | ( | const Entity & | from | ) |
◆ default_instance()
|
inlinestatic |
◆ descriptor()
|
inlinestatic |
◆ GetCachedSize()
|
inlinefinal |
◆ GetClassData()
|
final |
◆ GetDescriptor()
|
inlinestatic |
◆ GetMetadata()
|
final |
◆ GetReflection()
|
inlinestatic |
◆ has_header()
|
inline |
◆ header()
|
inline |
◆ id()
|
inline |
◆ internal_default_instance()
|
inlinestatic |
References ignition::msgs::_Entity_default_instance_.
◆ IsInitialized()
|
final |
◆ MergeFrom()
void MergeFrom | ( | const Entity & | from | ) |
◆ mutable_header()
|
inline |
◆ mutable_name()
|
inline |
◆ name()
|
inline |
◆ New()
|
inlinefinal |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ release_header()
|
inline |
◆ release_name()
|
inline |
◆ set_allocated_header()
|
inline |
◆ set_allocated_name()
|
inline |
◆ set_id()
|
inline |
◆ set_name() [1/2]
void set_name | ( | ArgT0 && | arg0, |
ArgT... | args | ||
) |
◆ set_name() [2/2]
|
inline |
◆ set_type()
|
inline |
◆ Swap()
|
inline |
◆ type()
|
inline |
◆ Type_descriptor()
|
inlinestatic |
References ignition::msgs::Entity_Type_descriptor().
◆ Type_IsValid()
|
inlinestatic |
References ignition::msgs::Entity_Type_IsValid().
◆ Type_Name()
|
inlinestatic |
References ignition::msgs::Entity_Type_Name().
◆ Type_Parse()
|
inlinestatic |
References ignition::msgs::Entity_Type_Parse().
◆ unsafe_arena_release_header()
|
inline |
◆ unsafe_arena_set_allocated_header()
|
inline |
◆ UnsafeArenaSwap()
|
inline |
Member Data Documentation
◆ _class_data_
|
static |
◆ COLLISION
|
staticconstexpr |
Initial value:
=
◆ JOINT
|
staticconstexpr |
Initial value:
◆ kIndexInFileMessages
|
staticconstexpr |
Initial value:
=
0
◆ LIGHT
|
staticconstexpr |
Initial value:
◆ LINK
|
staticconstexpr |
Initial value:
◆ MODEL
|
staticconstexpr |
Initial value:
◆ NONE
|
staticconstexpr |
Initial value:
◆ SENSOR
|
staticconstexpr |
Initial value:
=
◆ Type_ARRAYSIZE
|
staticconstexpr |
Initial value:
=
constexpr int Entity_Type_Type_ARRAYSIZE
Definition: entity.pb.h:97
◆ Type_MAX
|
staticconstexpr |
Initial value:
=
constexpr Entity_Type Entity_Type_Type_MAX
Definition: entity.pb.h:96
◆ Type_MIN
|
staticconstexpr |
Initial value:
=
constexpr Entity_Type Entity_Type_Type_MIN
Definition: entity.pb.h:95
◆ VISUAL
|
staticconstexpr |
Initial value:
=
The documentation for this class was generated from the following file: