Ignition Msgs

API Reference

5.8.1

#include <hydra.pb.h>

Public Types

enum  : int {
  kPoseFieldNumber = 1 , kButtonBumperFieldNumber = 2 , kButton1FieldNumber = 3 , kButton2FieldNumber = 4 ,
  kButton3FieldNumber = 5 , kButton4FieldNumber = 6 , kButtonJoyFieldNumber = 7 , kButtonCenterFieldNumber = 8 ,
  kJoyXFieldNumber = 9 , kJoyYFieldNumber = 10 , kTriggerFieldNumber = 11
}
 

Public Member Functions

 Hydra_Paddle ()
 
constexpr Hydra_Paddle (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 Hydra_Paddle (const Hydra_Paddle &from)
 
 Hydra_Paddle (Hydra_Paddle &&from) noexcept
 
 ~Hydra_Paddle () 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
 
bool button_1 () const
 
bool button_2 () const
 
bool button_3 () const
 
bool button_4 () const
 
bool button_bumper () const
 
bool button_center () const
 
bool button_joy () const
 
size_t ByteSizeLong () const final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_button_1 ()
 
void clear_button_2 ()
 
void clear_button_3 ()
 
void clear_button_4 ()
 
void clear_button_bumper ()
 
void clear_button_center ()
 
void clear_button_joy ()
 
void clear_joy_x ()
 
void clear_joy_y ()
 
void clear_pose ()
 
void clear_trigger ()
 
void CopyFrom (const Hydra_Paddle &from)
 
int GetCachedSize () const final
 
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
bool has_pose () const
 
bool IsInitialized () const final
 
double joy_x () const
 
double joy_y () const
 
void MergeFrom (const Hydra_Paddle &from)
 
::ignition::msgs::Posemutable_pose ()
 
Hydra_PaddleNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
Hydra_Paddleoperator= (const Hydra_Paddle &from)
 
Hydra_Paddleoperator= (Hydra_Paddle &&from) noexcept
 
const ::ignition::msgs::Posepose () const
 
PROTOBUF_NODISCARD ::ignition::msgs::Poserelease_pose ()
 
void set_allocated_pose (::ignition::msgs::Pose *pose)
 
void set_button_1 (bool value)
 
void set_button_2 (bool value)
 
void set_button_3 (bool value)
 
void set_button_4 (bool value)
 
void set_button_bumper (bool value)
 
void set_button_center (bool value)
 
void set_button_joy (bool value)
 
void set_joy_x (double value)
 
void set_joy_y (double value)
 
void set_trigger (double value)
 
void Swap (Hydra_Paddle *other)
 
double trigger () const
 
::ignition::msgs::Poseunsafe_arena_release_pose ()
 
void unsafe_arena_set_allocated_pose (::ignition::msgs::Pose *pose)
 
void UnsafeArenaSwap (Hydra_Paddle *other)
 

Static Public Member Functions

static const Hydra_Paddledefault_instance ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const Hydra_Paddleinternal_default_instance ()
 

Static Public Attributes

static const ClassData _class_data_
 
static constexpr int kIndexInFileMessages
 

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kPoseFieldNumber 
kButtonBumperFieldNumber 
kButton1FieldNumber 
kButton2FieldNumber 
kButton3FieldNumber 
kButton4FieldNumber 
kButtonJoyFieldNumber 
kButtonCenterFieldNumber 
kJoyXFieldNumber 
kJoyYFieldNumber 
kTriggerFieldNumber 

Constructor & Destructor Documentation

◆ Hydra_Paddle() [1/5]

Hydra_Paddle ( )
inline

◆ ~Hydra_Paddle()

~Hydra_Paddle ( )
override

◆ Hydra_Paddle() [2/5]

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

◆ Hydra_Paddle() [3/5]

Hydra_Paddle ( const Hydra_Paddle from)

◆ Hydra_Paddle() [4/5]

Hydra_Paddle ( Hydra_Paddle &&  from)
inlinenoexcept

◆ Hydra_Paddle() [5/5]

Hydra_Paddle ( ::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

◆ button_1()

bool button_1 ( ) const
inline

◆ button_2()

bool button_2 ( ) const
inline

◆ button_3()

bool button_3 ( ) const
inline

◆ button_4()

bool button_4 ( ) const
inline

◆ button_bumper()

bool button_bumper ( ) const
inline

◆ button_center()

bool button_center ( ) const
inline

◆ button_joy()

bool button_joy ( ) const
inline

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear ( )
final

◆ clear_button_1()

void clear_button_1 ( )
inline

◆ clear_button_2()

void clear_button_2 ( )
inline

◆ clear_button_3()

void clear_button_3 ( )
inline

◆ clear_button_4()

void clear_button_4 ( )
inline

◆ clear_button_bumper()

void clear_button_bumper ( )
inline

◆ clear_button_center()

void clear_button_center ( )
inline

◆ clear_button_joy()

void clear_button_joy ( )
inline

◆ clear_joy_x()

void clear_joy_x ( )
inline

◆ clear_joy_y()

void clear_joy_y ( )
inline

◆ clear_pose()

void clear_pose ( )

◆ clear_trigger()

void clear_trigger ( )
inline

◆ CopyFrom()

void CopyFrom ( const Hydra_Paddle from)

◆ default_instance()

static const Hydra_Paddle& 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_pose()

bool has_pose ( ) const
inline

◆ internal_default_instance()

static const Hydra_Paddle* internal_default_instance ( )
inlinestatic

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ joy_x()

double joy_x ( ) const
inline

◆ joy_y()

double joy_y ( ) const
inline

◆ MergeFrom()

void MergeFrom ( const Hydra_Paddle from)

◆ mutable_pose()

ignition::msgs::Pose * mutable_pose ( )
inline

◆ New()

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

◆ operator=() [1/2]

Hydra_Paddle& operator= ( const Hydra_Paddle from)
inline

◆ operator=() [2/2]

Hydra_Paddle& operator= ( Hydra_Paddle &&  from)
inlinenoexcept

◆ pose()

const ::ignition::msgs::Pose & pose ( ) const
inline

◆ release_pose()

ignition::msgs::Pose * release_pose ( )
inline

◆ set_allocated_pose()

void set_allocated_pose ( ::ignition::msgs::Pose pose)
inline

◆ set_button_1()

void set_button_1 ( bool  value)
inline

◆ set_button_2()

void set_button_2 ( bool  value)
inline

◆ set_button_3()

void set_button_3 ( bool  value)
inline

◆ set_button_4()

void set_button_4 ( bool  value)
inline

◆ set_button_bumper()

void set_button_bumper ( bool  value)
inline

◆ set_button_center()

void set_button_center ( bool  value)
inline

◆ set_button_joy()

void set_button_joy ( bool  value)
inline

◆ set_joy_x()

void set_joy_x ( double  value)
inline

◆ set_joy_y()

void set_joy_y ( double  value)
inline

◆ set_trigger()

void set_trigger ( double  value)
inline

◆ Swap()

void Swap ( Hydra_Paddle other)
inline

◆ trigger()

double trigger ( ) const
inline

◆ unsafe_arena_release_pose()

ignition::msgs::Pose * unsafe_arena_release_pose ( )
inline

◆ unsafe_arena_set_allocated_pose()

void unsafe_arena_set_allocated_pose ( ::ignition::msgs::Pose pose)
inline

◆ UnsafeArenaSwap()

void UnsafeArenaSwap ( Hydra_Paddle 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: