Gazebo Msgs

API Reference

5.11.0

#include <joystick.pb.h>

Public Member Functions

 Joystick ()
 
 Joystick (const Joystick &from)
 
virtual ~Joystick ()
 
void add_buttons (::google::protobuf::int32 value)
 
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & buttons () const
 
::google::protobuf::int32 buttons (int index) const
 
int buttons_size () const
 
size_t ByteSizeLong () const final
 
void Clear () final
 
void clear_buttons ()
 
void clear_header ()
 
void clear_rotation ()
 
void clear_translation ()
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const Joystick &from)
 
int GetCachedSize () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
bool has_header () const
 
bool has_rotation () const
 
bool has_translation () const
 
const ::ignition::msgs::Headerheader () const
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *target) const final
 
bool IsInitialized () const final
 
void MergeFrom (const ::google::protobuf::Message &from) final
 
void MergeFrom (const Joystick &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final
 
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_buttons ()
 
::ignition::msgs::Headermutable_header ()
 
::ignition::msgs::Vector3dmutable_rotation ()
 
::ignition::msgs::Vector3dmutable_translation ()
 
JoystickNew () const final
 
JoystickNew (::google::protobuf::Arena *arena) const final
 
Joystickoperator= (const Joystick &from)
 
::ignition::msgs::Headerrelease_header ()
 
::ignition::msgs::Vector3drelease_rotation ()
 
::ignition::msgs::Vector3drelease_translation ()
 
const ::ignition::msgs::Vector3drotation () const
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
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, ::google::protobuf::int32 value)
 
void Swap (Joystick *other)
 
const ::ignition::msgs::Vector3dtranslation () const
 

Static Public Member Functions

static const Joystickdefault_instance ()
 
static const ::google::protobuf::Descriptor * descriptor ()
 
static void InitAsDefaultInstance ()
 
static const Joystickinternal_default_instance ()
 

Static Public Attributes

static const int kButtonsFieldNumber = 4
 
static const int kHeaderFieldNumber = 1
 
static constexpr int kIndexInFileMessages
 
static const int kRotationFieldNumber = 3
 
static const int kTranslationFieldNumber = 2
 

Constructor & Destructor Documentation

◆ Joystick() [1/2]

Joystick ( )

◆ ~Joystick()

virtual ~Joystick ( )
virtual

◆ Joystick() [2/2]

Joystick ( const Joystick from)

Member Function Documentation

◆ add_buttons()

void add_buttons ( ::google::protobuf::int32  value)
inline

◆ buttons() [1/2]

const ::google::protobuf::RepeatedField<::google::protobuf::int32 > & buttons ( ) const
inline

◆ buttons() [2/2]

google::protobuf::int32 buttons ( int  index) const
inline

◆ buttons_size()

int buttons_size ( ) const
inline

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

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() [1/2]

void CopyFrom ( const ::google::protobuf::Message &  from)
final

◆ CopyFrom() [2/2]

void CopyFrom ( const Joystick from)

◆ default_instance()

static const Joystick& default_instance ( )
static

◆ descriptor()

static const ::google::protobuf::Descriptor* descriptor ( )
static

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

◆ GetMetadata()

::google::protobuf::Metadata GetMetadata ( ) const
final

◆ 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

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const Joystick* internal_default_instance ( )
inlinestatic

◆ InternalSerializeWithCachedSizesToArray()

::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray ( bool  deterministic,
::google::protobuf::uint8 *  target 
) const
final

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom() [1/2]

void MergeFrom ( const ::google::protobuf::Message &  from)
final

◆ MergeFrom() [2/2]

void MergeFrom ( const Joystick from)

◆ MergePartialFromCodedStream()

bool MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)
final

◆ mutable_buttons()

google::protobuf::RepeatedField<::google::protobuf::int32 > * 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() [1/2]

Joystick* New ( ) const
inlinefinal

◆ New() [2/2]

Joystick* New ( ::google::protobuf::Arena *  arena) const
inlinefinal

◆ operator=()

Joystick& operator= ( const Joystick from)
inline

◆ 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

◆ SerializeWithCachedSizes()

void SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const
final

◆ 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,
::google::protobuf::int32  value 
)
inline

◆ Swap()

void Swap ( Joystick other)

◆ translation()

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

Member Data Documentation

◆ kButtonsFieldNumber

const int kButtonsFieldNumber = 4
static

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
0

◆ kRotationFieldNumber

const int kRotationFieldNumber = 3
static

◆ kTranslationFieldNumber

const int kTranslationFieldNumber = 2
static

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