Gazebo Msgs

API Reference

9.5.0

#include <joy.pb.h>

Public Member Functions

 Joy ()
 
 Joy (const Joy &from)
 
virtual ~Joy ()
 
void add_axes (float value)
 
void add_buttons (::google::protobuf::int32 value)
 
const ::google::protobuf::RepeatedField< float > & axes () const
 
float axes (int index) const
 
int axes_size () const
 
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_axes ()
 
void clear_buttons ()
 
void clear_header ()
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const Joy &from)
 
int GetCachedSize () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
bool has_header () const
 
const ::gz::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 Joy &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final
 
::google::protobuf::RepeatedField< float > * mutable_axes ()
 
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_buttons ()
 
::gz::msgs::Headermutable_header ()
 
JoyNew () const final
 
JoyNew (::google::protobuf::Arena *arena) const final
 
Joyoperator= (const Joy &from)
 
::gz::msgs::Headerrelease_header ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
void set_allocated_header (::gz::msgs::Header *header)
 
void set_axes (int index, float value)
 
void set_buttons (int index, ::google::protobuf::int32 value)
 
void Swap (Joy *other)
 

Static Public Member Functions

static const Joydefault_instance ()
 
static const ::google::protobuf::Descriptor * descriptor ()
 
static void InitAsDefaultInstance ()
 
static const Joyinternal_default_instance ()
 

Static Public Attributes

static const int kAxesFieldNumber = 2
 
static const int kButtonsFieldNumber = 3
 
static const int kHeaderFieldNumber = 1
 
static constexpr int kIndexInFileMessages
 

Constructor & Destructor Documentation

◆ Joy() [1/2]

Joy ( )

◆ ~Joy()

virtual ~Joy ( )
virtual

◆ Joy() [2/2]

Joy ( const Joy from)

Member Function Documentation

◆ add_axes()

void add_axes ( float  value)
inline

◆ add_buttons()

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

◆ axes() [1/2]

const ::google::protobuf::RepeatedField< float > & axes ( ) const
inline

◆ axes() [2/2]

float axes ( int  index) const
inline

◆ axes_size()

int axes_size ( ) const
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_axes()

void clear_axes ( )
inline

◆ clear_buttons()

void clear_buttons ( )
inline

◆ clear_header()

void clear_header ( )

◆ CopyFrom() [1/2]

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

◆ CopyFrom() [2/2]

void CopyFrom ( const Joy from)

◆ default_instance()

static const Joy& 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

◆ header()

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

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const Joy* 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 Joy from)

◆ MergePartialFromCodedStream()

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

◆ mutable_axes()

google::protobuf::RepeatedField< float > * mutable_axes ( )
inline

◆ mutable_buttons()

google::protobuf::RepeatedField<::google::protobuf::int32 > * mutable_buttons ( )
inline

◆ mutable_header()

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

◆ New() [1/2]

Joy* New ( ) const
inlinefinal

◆ New() [2/2]

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

◆ operator=()

Joy& operator= ( const Joy from)
inline

◆ release_header()

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

◆ SerializeWithCachedSizes()

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

◆ set_allocated_header()

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

◆ set_axes()

void set_axes ( int  index,
float  value 
)
inline

◆ set_buttons()

void set_buttons ( int  index,
::google::protobuf::int32  value 
)
inline

◆ Swap()

void Swap ( Joy other)

Member Data Documentation

◆ kAxesFieldNumber

const int kAxesFieldNumber = 2
static

◆ kButtonsFieldNumber

const int kButtonsFieldNumber = 3
static

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
0

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