List of all members |
Public Types |
Public Member Functions |
Static Public Member Functions |
Static Public Attributes |
Protected Member Functions
UserCmd Class Referencefinal
#include <user_cmd.pb.h>
Public Types | |
enum | : int { kModelFieldNumber = 5 , kLightFieldNumber = 6 , kDescriptionFieldNumber = 3 , kEntityNameFieldNumber = 7 , kHeaderFieldNumber = 1 , kWorldControlFieldNumber = 8 , kWrenchFieldNumber = 9 , kIdFieldNumber = 2 , kTypeFieldNumber = 4 } |
typedef UserCmd_Type | Type |
Public Member Functions | |
UserCmd () | |
constexpr | UserCmd (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) |
UserCmd (const UserCmd &from) | |
UserCmd (UserCmd &&from) noexcept | |
~UserCmd () 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 |
::ignition::msgs::Light * | add_light () |
::ignition::msgs::Model * | add_model () |
size_t | ByteSizeLong () const final |
PROTOBUF_ATTRIBUTE_REINITIALIZES void | Clear () final |
void | clear_description () |
void | clear_entity_name () |
void | clear_header () |
void | clear_id () |
void | clear_light () |
void | clear_model () |
void | clear_type () |
void | clear_world_control () |
void | clear_wrench () |
void | CopyFrom (const UserCmd &from) |
const std::string & | description () const |
const std::string & | entity_name () const |
int | GetCachedSize () const final |
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * | GetClassData () const final |
::PROTOBUF_NAMESPACE_ID::Metadata | GetMetadata () const final |
bool | has_header () const |
bool | has_world_control () const |
bool | has_wrench () const |
const ::ignition::msgs::Header & | header () const |
uint32_t | id () const |
bool | IsInitialized () const final |
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light > & | light () const |
const ::ignition::msgs::Light & | light (int index) const |
int | light_size () const |
void | MergeFrom (const UserCmd &from) |
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model > & | model () const |
const ::ignition::msgs::Model & | model (int index) const |
int | model_size () const |
std::string * | mutable_description () |
std::string * | mutable_entity_name () |
::ignition::msgs::Header * | mutable_header () |
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light > * | mutable_light () |
::ignition::msgs::Light * | mutable_light (int index) |
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model > * | mutable_model () |
::ignition::msgs::Model * | mutable_model (int index) |
::ignition::msgs::WorldControl * | mutable_world_control () |
::ignition::msgs::Wrench * | mutable_wrench () |
UserCmd * | New (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final |
UserCmd & | operator= (const UserCmd &from) |
UserCmd & | operator= (UserCmd &&from) noexcept |
PROTOBUF_NODISCARD std::string * | release_description () |
PROTOBUF_NODISCARD std::string * | release_entity_name () |
PROTOBUF_NODISCARD ::ignition::msgs::Header * | release_header () |
PROTOBUF_NODISCARD ::ignition::msgs::WorldControl * | release_world_control () |
PROTOBUF_NODISCARD ::ignition::msgs::Wrench * | release_wrench () |
void | set_allocated_description (std::string *description) |
void | set_allocated_entity_name (std::string *entity_name) |
void | set_allocated_header (::ignition::msgs::Header *header) |
void | set_allocated_world_control (::ignition::msgs::WorldControl *world_control) |
void | set_allocated_wrench (::ignition::msgs::Wrench *wrench) |
template<typename ArgT0 = const std::string&, typename... ArgT> | |
void | set_description (ArgT0 &&arg0, ArgT... args) |
template<typename ArgT0 , typename... ArgT> | |
PROTOBUF_ALWAYS_INLINE void | set_description (ArgT0 &&arg0, ArgT... args) |
template<typename ArgT0 = const std::string&, typename... ArgT> | |
void | set_entity_name (ArgT0 &&arg0, ArgT... args) |
template<typename ArgT0 , typename... ArgT> | |
PROTOBUF_ALWAYS_INLINE void | set_entity_name (ArgT0 &&arg0, ArgT... args) |
void | set_id (uint32_t value) |
void | set_type (::ignition::msgs::UserCmd_Type value) |
void | Swap (UserCmd *other) |
::ignition::msgs::UserCmd_Type | type () const |
::ignition::msgs::Header * | unsafe_arena_release_header () |
::ignition::msgs::WorldControl * | unsafe_arena_release_world_control () |
::ignition::msgs::Wrench * | unsafe_arena_release_wrench () |
void | unsafe_arena_set_allocated_header (::ignition::msgs::Header *header) |
void | unsafe_arena_set_allocated_world_control (::ignition::msgs::WorldControl *world_control) |
void | unsafe_arena_set_allocated_wrench (::ignition::msgs::Wrench *wrench) |
void | UnsafeArenaSwap (UserCmd *other) |
const ::ignition::msgs::WorldControl & | world_control () const |
const ::ignition::msgs::Wrench & | wrench () const |
Static Public Member Functions | |
static const UserCmd & | 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 UserCmd * | 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 int | kIndexInFileMessages |
static constexpr Type | MOVING |
static constexpr Type | SCALING |
static constexpr int | Type_ARRAYSIZE |
static constexpr Type | Type_MAX |
static constexpr Type | Type_MIN |
static constexpr Type | WORLD_CONTROL |
static constexpr Type | WRENCH |
Protected Member Functions | |
UserCmd (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false) | |
Member Typedef Documentation
◆ Type
typedef UserCmd_Type Type |
Member Enumeration Documentation
◆ anonymous enum
anonymous enum : int |
Constructor & Destructor Documentation
◆ UserCmd() [1/5]
|
inline |
◆ ~UserCmd()
|
override |
◆ UserCmd() [2/5]
|
explicitconstexpr |
◆ UserCmd() [3/5]
◆ UserCmd() [4/5]
◆ UserCmd() [5/5]
|
explicitprotected |
Member Function Documentation
◆ _InternalParse()
|
final |
◆ _InternalSerialize()
|
final |
◆ add_light()
|
inline |
◆ add_model()
|
inline |
◆ ByteSizeLong()
|
final |
◆ Clear()
|
final |
◆ clear_description()
|
inline |
◆ clear_entity_name()
|
inline |
◆ clear_header()
void clear_header | ( | ) |
◆ clear_id()
|
inline |
◆ clear_light()
void clear_light | ( | ) |
◆ clear_model()
void clear_model | ( | ) |
◆ clear_type()
|
inline |
◆ clear_world_control()
void clear_world_control | ( | ) |
◆ clear_wrench()
void clear_wrench | ( | ) |
◆ CopyFrom()
void CopyFrom | ( | const UserCmd & | from | ) |
◆ default_instance()
|
inlinestatic |
◆ description()
|
inline |
◆ descriptor()
|
inlinestatic |
◆ entity_name()
|
inline |
◆ GetCachedSize()
|
inlinefinal |
◆ GetClassData()
|
final |
◆ GetDescriptor()
|
inlinestatic |
◆ GetMetadata()
|
final |
◆ GetReflection()
|
inlinestatic |
◆ has_header()
|
inline |
◆ has_world_control()
|
inline |
◆ has_wrench()
|
inline |
◆ header()
|
inline |
◆ id()
|
inline |
◆ internal_default_instance()
|
inlinestatic |
References ignition::msgs::_UserCmd_default_instance_.
◆ IsInitialized()
|
final |
◆ light() [1/2]
|
inline |
◆ light() [2/2]
|
inline |
◆ light_size()
|
inline |
◆ MergeFrom()
void MergeFrom | ( | const UserCmd & | from | ) |
◆ model() [1/2]
|
inline |
◆ model() [2/2]
|
inline |
◆ model_size()
|
inline |
◆ mutable_description()
|
inline |
◆ mutable_entity_name()
|
inline |
◆ mutable_header()
|
inline |
◆ mutable_light() [1/2]
|
inline |
◆ mutable_light() [2/2]
|
inline |
◆ mutable_model() [1/2]
|
inline |
◆ mutable_model() [2/2]
|
inline |
◆ mutable_world_control()
|
inline |
◆ mutable_wrench()
|
inline |
◆ New()
|
inlinefinal |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ release_description()
|
inline |
◆ release_entity_name()
|
inline |
◆ release_header()
|
inline |
◆ release_world_control()
|
inline |
◆ release_wrench()
|
inline |
◆ set_allocated_description()
|
inline |
◆ set_allocated_entity_name()
|
inline |
◆ set_allocated_header()
|
inline |
◆ set_allocated_world_control()
|
inline |
◆ set_allocated_wrench()
|
inline |
◆ set_description() [1/2]
void set_description | ( | ArgT0 && | arg0, |
ArgT... | args | ||
) |
◆ set_description() [2/2]
|
inline |
◆ set_entity_name() [1/2]
void set_entity_name | ( | ArgT0 && | arg0, |
ArgT... | args | ||
) |
◆ set_entity_name() [2/2]
|
inline |
◆ set_id()
|
inline |
◆ set_type()
|
inline |
◆ Swap()
|
inline |
◆ type()
|
inline |
◆ Type_descriptor()
|
inlinestatic |
References ignition::msgs::UserCmd_Type_descriptor().
◆ Type_IsValid()
|
inlinestatic |
References ignition::msgs::UserCmd_Type_IsValid().
◆ Type_Name()
|
inlinestatic |
References ignition::msgs::UserCmd_Type_Name().
◆ Type_Parse()
|
inlinestatic |
References ignition::msgs::UserCmd_Type_Parse().
◆ unsafe_arena_release_header()
|
inline |
◆ unsafe_arena_release_world_control()
|
inline |
◆ unsafe_arena_release_wrench()
|
inline |
◆ unsafe_arena_set_allocated_header()
|
inline |
◆ unsafe_arena_set_allocated_world_control()
|
inline |
◆ unsafe_arena_set_allocated_wrench()
|
inline |
◆ UnsafeArenaSwap()
|
inline |
◆ world_control()
|
inline |
◆ wrench()
|
inline |
Member Data Documentation
◆ _class_data_
|
static |
◆ kIndexInFileMessages
|
staticconstexpr |
Initial value:
=
0
◆ MOVING
|
staticconstexpr |
Initial value:
=
◆ SCALING
|
staticconstexpr |
Initial value:
=
◆ Type_ARRAYSIZE
|
staticconstexpr |
Initial value:
=
constexpr int UserCmd_Type_Type_ARRAYSIZE
Definition: user_cmd.pb.h:97
◆ Type_MAX
|
staticconstexpr |
Initial value:
=
constexpr UserCmd_Type UserCmd_Type_Type_MAX
Definition: user_cmd.pb.h:96
◆ Type_MIN
|
staticconstexpr |
Initial value:
=
constexpr UserCmd_Type UserCmd_Type_Type_MIN
Definition: user_cmd.pb.h:95
◆ WORLD_CONTROL
|
staticconstexpr |
Initial value:
=
◆ WRENCH
|
staticconstexpr |
Initial value:
=
The documentation for this class was generated from the following file: