Ignition Msgs

API Reference

5.8.1

#include <joystick.pb.h>

Public Types

enum  : int { kButtonsFieldNumber = 4 , kHeaderFieldNumber = 1 , kTranslationFieldNumber = 2 , kRotationFieldNumber = 3 }
 

Public Member Functions

 Joystick ()
 
constexpr Joystick (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 Joystick (const Joystick &from)
 
 Joystick (Joystick &&from) noexcept
 
 ~Joystick () 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
 
void add_buttons (int32_t value)
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > & buttons () const
 
int32_t buttons (int index) const
 
int buttons_size () const
 
size_t ByteSizeLong () const final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_buttons ()
 
void clear_header ()
 
void clear_rotation ()
 
void clear_translation ()
 
void CopyFrom (const Joystick &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
 
bool has_rotation () const
 
bool has_translation () const
 
const ::ignition::msgs::Headerheader () const
 
bool IsInitialized () const final
 
void MergeFrom (const Joystick &from)
 
::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > * mutable_buttons ()
 
::ignition::msgs::Headermutable_header ()
 
::ignition::msgs::Vector3dmutable_rotation ()
 
::ignition::msgs::Vector3dmutable_translation ()
 
JoystickNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
Joystickoperator= (const Joystick &from)
 
Joystickoperator= (Joystick &&from) noexcept
 
PROTOBUF_NODISCARD ::ignition::msgs::Headerrelease_header ()
 
PROTOBUF_NODISCARD ::ignition::msgs::Vector3drelease_rotation ()
 
PROTOBUF_NODISCARD ::ignition::msgs::Vector3drelease_translation ()
 
const ::ignition::msgs::Vector3drotation () const
 
void set_allocated_header (::ignition::msgs::Header *header)
 
void set_allocated_rotation (::ignition::msgs::Vector3d *rotation)
 
void set_allocated_translation (::ignition::msgs::Vector3d *translation)
 
void set_buttons (int index, int32_t value)
 
void Swap (Joystick *other)
 
const ::ignition::msgs::Vector3dtranslation () const
 
::ignition::msgs::Headerunsafe_arena_release_header ()
 
::ignition::msgs::Vector3dunsafe_arena_release_rotation ()
 
::ignition::msgs::Vector3dunsafe_arena_release_translation ()
 
void unsafe_arena_set_allocated_header (::ignition::msgs::Header *header)
 
void unsafe_arena_set_allocated_rotation (::ignition::msgs::Vector3d *rotation)
 
void unsafe_arena_set_allocated_translation (::ignition::msgs::Vector3d *translation)
 
void UnsafeArenaSwap (Joystick *other)
 

Static Public Member Functions

static const Joystickdefault_instance ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const Joystickinternal_default_instance ()
 

Static Public Attributes

static const ClassData _class_data_
 
static constexpr int kIndexInFileMessages
 

Protected Member Functions

 Joystick (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kButtonsFieldNumber 
kHeaderFieldNumber 
kTranslationFieldNumber 
kRotationFieldNumber 

Constructor & Destructor Documentation

◆ Joystick() [1/5]

Joystick ( )
inline

◆ ~Joystick()

~Joystick ( )
override

◆ Joystick() [2/5]

constexpr Joystick ( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized  )
explicitconstexpr

◆ Joystick() [3/5]

Joystick ( const Joystick from)

◆ Joystick() [4/5]

Joystick ( Joystick &&  from)
inlinenoexcept

◆ Joystick() [5/5]

Joystick ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned = false 
)
explicitprotected

Member Function Documentation

◆ _InternalParse()

const char* _InternalParse ( const char *  ptr,
::PROTOBUF_NAMESPACE_ID::internal::ParseContext *  ctx 
)
final

◆ _InternalSerialize()

uint8_t* _InternalSerialize ( uint8_t *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final

◆ add_buttons()

void add_buttons ( int32_t  value)
inline

◆ buttons() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > & buttons ( ) const
inline

◆ buttons() [2/2]

int32_t buttons ( int  index) const
inline

◆ buttons_size()

int buttons_size ( ) const
inline

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear ( )
final

◆ clear_buttons()

void clear_buttons ( )
inline

◆ clear_header()

void clear_header ( )

◆ clear_rotation()

void clear_rotation ( )

◆ clear_translation()

void clear_translation ( )

◆ CopyFrom()

void CopyFrom ( const Joystick from)

◆ default_instance()

static const Joystick& default_instance ( )
inlinestatic

◆ descriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor ( )
inlinestatic

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

◆ GetClassData()

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData ( ) const
final

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor ( )
inlinestatic

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata ( ) const
final

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection ( )
inlinestatic

◆ has_header()

bool has_header ( ) const
inline

◆ has_rotation()

bool has_rotation ( ) const
inline

◆ has_translation()

bool has_translation ( ) const
inline

◆ header()

const ::ignition::msgs::Header & header ( ) const
inline

◆ internal_default_instance()

static const Joystick* internal_default_instance ( )
inlinestatic

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom()

void MergeFrom ( const Joystick from)

◆ mutable_buttons()

PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > * mutable_buttons ( )
inline

◆ mutable_header()

ignition::msgs::Header * mutable_header ( )
inline

◆ mutable_rotation()

ignition::msgs::Vector3d * mutable_rotation ( )
inline

◆ mutable_translation()

ignition::msgs::Vector3d * mutable_translation ( )
inline

◆ New()

Joystick* New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena = nullptr) const
inlinefinal

◆ operator=() [1/2]

Joystick& operator= ( const Joystick from)
inline

◆ operator=() [2/2]

Joystick& operator= ( Joystick &&  from)
inlinenoexcept

◆ release_header()

ignition::msgs::Header * release_header ( )
inline

◆ release_rotation()

ignition::msgs::Vector3d * release_rotation ( )
inline

◆ release_translation()

ignition::msgs::Vector3d * release_translation ( )
inline

◆ rotation()

const ::ignition::msgs::Vector3d & rotation ( ) const
inline

◆ set_allocated_header()

void set_allocated_header ( ::ignition::msgs::Header header)
inline

◆ set_allocated_rotation()

void set_allocated_rotation ( ::ignition::msgs::Vector3d rotation)
inline

◆ set_allocated_translation()

void set_allocated_translation ( ::ignition::msgs::Vector3d translation)
inline

◆ set_buttons()

void set_buttons ( int  index,
int32_t  value 
)
inline

◆ Swap()

void Swap ( Joystick other)
inline

◆ translation()

const ::ignition::msgs::Vector3d & translation ( ) const
inline

◆ unsafe_arena_release_header()

ignition::msgs::Header * unsafe_arena_release_header ( )
inline

◆ unsafe_arena_release_rotation()

ignition::msgs::Vector3d * unsafe_arena_release_rotation ( )
inline

◆ unsafe_arena_release_translation()

ignition::msgs::Vector3d * unsafe_arena_release_translation ( )
inline

◆ unsafe_arena_set_allocated_header()

void unsafe_arena_set_allocated_header ( ::ignition::msgs::Header header)
inline

◆ unsafe_arena_set_allocated_rotation()

void unsafe_arena_set_allocated_rotation ( ::ignition::msgs::Vector3d rotation)
inline

◆ unsafe_arena_set_allocated_translation()

void unsafe_arena_set_allocated_translation ( ::ignition::msgs::Vector3d translation)
inline

◆ UnsafeArenaSwap()

void UnsafeArenaSwap ( Joystick other)
inline

Member Data Documentation

◆ _class_data_

const ClassData _class_data_
static

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
0

The documentation for this class was generated from the following file: