Ignition Msgs

API Reference

6.4.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)
 
float axes (int index) const
 
const ::google::protobuf::RepeatedField< float > & axes () const
 
int axes_size () const
 
::google::protobuf::int32 buttons (int index) const
 
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & buttons () const
 
int buttons_size () const
 
int ByteSize () const
 
void Clear ()
 
void clear_axes ()
 
void clear_buttons ()
 
void clear_header ()
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const Joy &from)
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_header () const
 
const ::ignition::msgs::Headerheader () const
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *output) const
 
bool IsInitialized () const
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const Joy &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
::google::protobuf::RepeatedField< float > * mutable_axes ()
 
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_buttons ()
 
::ignition::msgs::Headermutable_header ()
 
JoyNew () const
 
JoyNew (::google::protobuf::Arena *arena) const
 
Joyoperator= (const Joy &from)
 
::ignition::msgs::Headerrelease_header ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8 * SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
void set_allocated_header (::ignition::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 Public Attributes

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

Friends

void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fjoy_2eproto ()
 
void protobuf_AssignDesc_ignition_2fmsgs_2fjoy_2eproto ()
 
void protobuf_ShutdownFile_ignition_2fmsgs_2fjoy_2eproto ()
 

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]

float axes ( int  index) const
inline

◆ axes() [2/2]

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

◆ axes_size()

int axes_size ( ) const
inline

◆ buttons() [1/2]

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

◆ buttons() [2/2]

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

◆ buttons_size()

int buttons_size ( ) const
inline

◆ ByteSize()

int ByteSize ( ) const

◆ Clear()

void Clear ( )

◆ clear_axes()

void clear_axes ( )
inline

◆ clear_buttons()

void clear_buttons ( )
inline

◆ clear_header()

void clear_header ( )
inline

◆ CopyFrom() [1/2]

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

◆ 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
inline

◆ GetMetadata()

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

◆ has_header()

bool has_header ( ) const
inline

◆ header()

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

◆ InternalSerializeWithCachedSizesToArray()

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

◆ IsInitialized()

bool IsInitialized ( ) const

◆ MergeFrom() [1/2]

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

◆ MergeFrom() [2/2]

void MergeFrom ( const Joy from)

◆ MergePartialFromCodedStream()

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

◆ mutable_axes()

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

◆ mutable_buttons()

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

◆ mutable_header()

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

◆ New() [1/2]

Joy* New ( ) const
inline

References Joy::New().

Referenced by Joy::New().

◆ New() [2/2]

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

◆ operator=()

Joy& operator= ( const Joy from)
inline

◆ release_header()

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

◆ SerializeWithCachedSizes()

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

◆ SerializeWithCachedSizesToArray()

::google::protobuf::uint8* SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 *  output) const
inline

◆ set_allocated_header()

void set_allocated_header ( ::ignition::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)

Friends And Related Function Documentation

◆ protobuf_AddDesc_ignition_2fmsgs_2fjoy_2eproto

void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fjoy_2eproto ( )
friend

◆ protobuf_AssignDesc_ignition_2fmsgs_2fjoy_2eproto

void protobuf_AssignDesc_ignition_2fmsgs_2fjoy_2eproto ( )
friend

◆ protobuf_ShutdownFile_ignition_2fmsgs_2fjoy_2eproto

void protobuf_ShutdownFile_ignition_2fmsgs_2fjoy_2eproto ( )
friend

Member Data Documentation

◆ kAxesFieldNumber

const int kAxesFieldNumber = 2
static

◆ kButtonsFieldNumber

const int kButtonsFieldNumber = 3
static

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

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