Ignition Msgs

API Reference

5.8.1

#include <sonar.pb.h>

Public Types

enum  : int {
  kFrameFieldNumber = 2 , kGeometryFieldNumber = 8 , kHeaderFieldNumber = 1 , kWorldPoseFieldNumber = 3 ,
  kContactFieldNumber = 9 , kRangeMinFieldNumber = 4 , kRangeMaxFieldNumber = 5 , kRadiusFieldNumber = 6 ,
  kRangeFieldNumber = 7
}
 

Public Member Functions

 Sonar ()
 
constexpr Sonar (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 Sonar (const Sonar &from)
 
 Sonar (Sonar &&from) noexcept
 
 ~Sonar () 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
 
size_t ByteSizeLong () const final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_contact ()
 
void clear_frame ()
 
void clear_geometry ()
 
void clear_header ()
 
void clear_radius ()
 
void clear_range ()
 
void clear_range_max ()
 
void clear_range_min ()
 
void clear_world_pose ()
 
const ::ignition::msgs::Vector3dcontact () const
 
void CopyFrom (const Sonar &from)
 
const std::stringframe () const
 
const std::stringgeometry () const
 
int GetCachedSize () const final
 
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
bool has_contact () const
 
bool has_header () const
 
bool has_world_pose () const
 
const ::ignition::msgs::Headerheader () const
 
bool IsInitialized () const final
 
void MergeFrom (const Sonar &from)
 
::ignition::msgs::Vector3dmutable_contact ()
 
std::stringmutable_frame ()
 
std::stringmutable_geometry ()
 
::ignition::msgs::Headermutable_header ()
 
::ignition::msgs::Posemutable_world_pose ()
 
SonarNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
Sonaroperator= (const Sonar &from)
 
Sonaroperator= (Sonar &&from) noexcept
 
double radius () const
 
double range () const
 
double range_max () const
 
double range_min () const
 
PROTOBUF_NODISCARD ::ignition::msgs::Vector3drelease_contact ()
 
PROTOBUF_NODISCARD std::stringrelease_frame ()
 
PROTOBUF_NODISCARD std::stringrelease_geometry ()
 
PROTOBUF_NODISCARD ::ignition::msgs::Headerrelease_header ()
 
PROTOBUF_NODISCARD ::ignition::msgs::Poserelease_world_pose ()
 
void set_allocated_contact (::ignition::msgs::Vector3d *contact)
 
void set_allocated_frame (std::string *frame)
 
void set_allocated_geometry (std::string *geometry)
 
void set_allocated_header (::ignition::msgs::Header *header)
 
void set_allocated_world_pose (::ignition::msgs::Pose *world_pose)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_frame (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_frame (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_geometry (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_geometry (ArgT0 &&arg0, ArgT... args)
 
void set_radius (double value)
 
void set_range (double value)
 
void set_range_max (double value)
 
void set_range_min (double value)
 
void Swap (Sonar *other)
 
::ignition::msgs::Vector3dunsafe_arena_release_contact ()
 
::ignition::msgs::Headerunsafe_arena_release_header ()
 
::ignition::msgs::Poseunsafe_arena_release_world_pose ()
 
void unsafe_arena_set_allocated_contact (::ignition::msgs::Vector3d *contact)
 
void unsafe_arena_set_allocated_header (::ignition::msgs::Header *header)
 
void unsafe_arena_set_allocated_world_pose (::ignition::msgs::Pose *world_pose)
 
void UnsafeArenaSwap (Sonar *other)
 
const ::ignition::msgs::Poseworld_pose () const
 

Static Public Member Functions

static const Sonardefault_instance ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const Sonarinternal_default_instance ()
 

Static Public Attributes

static const ClassData _class_data_
 
static constexpr int kIndexInFileMessages
 

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kFrameFieldNumber 
kGeometryFieldNumber 
kHeaderFieldNumber 
kWorldPoseFieldNumber 
kContactFieldNumber 
kRangeMinFieldNumber 
kRangeMaxFieldNumber 
kRadiusFieldNumber 
kRangeFieldNumber 

Constructor & Destructor Documentation

◆ Sonar() [1/5]

Sonar ( )
inline

◆ ~Sonar()

~Sonar ( )
override

◆ Sonar() [2/5]

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

◆ Sonar() [3/5]

Sonar ( const Sonar from)

◆ Sonar() [4/5]

Sonar ( Sonar &&  from)
inlinenoexcept

◆ Sonar() [5/5]

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

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear ( )
final

◆ clear_contact()

void clear_contact ( )

◆ clear_frame()

void clear_frame ( )
inline

◆ clear_geometry()

void clear_geometry ( )
inline

◆ clear_header()

void clear_header ( )

◆ clear_radius()

void clear_radius ( )
inline

◆ clear_range()

void clear_range ( )
inline

◆ clear_range_max()

void clear_range_max ( )
inline

◆ clear_range_min()

void clear_range_min ( )
inline

◆ clear_world_pose()

void clear_world_pose ( )

◆ contact()

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

◆ CopyFrom()

void CopyFrom ( const Sonar from)

◆ default_instance()

static const Sonar& default_instance ( )
inlinestatic

◆ descriptor()

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

◆ frame()

const std::string & frame ( ) const
inline

◆ geometry()

const std::string & geometry ( ) const
inline

◆ 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_contact()

bool has_contact ( ) const
inline

◆ has_header()

bool has_header ( ) const
inline

◆ has_world_pose()

bool has_world_pose ( ) const
inline

◆ header()

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

◆ internal_default_instance()

static const Sonar* internal_default_instance ( )
inlinestatic

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom()

void MergeFrom ( const Sonar from)

◆ mutable_contact()

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

◆ mutable_frame()

std::string * mutable_frame ( )
inline

◆ mutable_geometry()

std::string * mutable_geometry ( )
inline

◆ mutable_header()

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

◆ mutable_world_pose()

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

◆ New()

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

◆ operator=() [1/2]

Sonar& operator= ( const Sonar from)
inline

◆ operator=() [2/2]

Sonar& operator= ( Sonar &&  from)
inlinenoexcept

◆ radius()

double radius ( ) const
inline

◆ range()

double range ( ) const
inline

◆ range_max()

double range_max ( ) const
inline

◆ range_min()

double range_min ( ) const
inline

◆ release_contact()

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

◆ release_frame()

std::string * release_frame ( )
inline

◆ release_geometry()

std::string * release_geometry ( )
inline

◆ release_header()

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

◆ release_world_pose()

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

◆ set_allocated_contact()

void set_allocated_contact ( ::ignition::msgs::Vector3d contact)
inline

◆ set_allocated_frame()

void set_allocated_frame ( std::string frame)
inline

◆ set_allocated_geometry()

void set_allocated_geometry ( std::string geometry)
inline

◆ set_allocated_header()

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

◆ set_allocated_world_pose()

void set_allocated_world_pose ( ::ignition::msgs::Pose world_pose)
inline

◆ set_frame() [1/2]

void set_frame ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_frame() [2/2]

PROTOBUF_ALWAYS_INLINE void set_frame ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

◆ set_geometry() [1/2]

void set_geometry ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_geometry() [2/2]

PROTOBUF_ALWAYS_INLINE void set_geometry ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

◆ set_radius()

void set_radius ( double  value)
inline

◆ set_range()

void set_range ( double  value)
inline

◆ set_range_max()

void set_range_max ( double  value)
inline

◆ set_range_min()

void set_range_min ( double  value)
inline

◆ Swap()

void Swap ( Sonar other)
inline

◆ unsafe_arena_release_contact()

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

◆ unsafe_arena_release_header()

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

◆ unsafe_arena_release_world_pose()

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

◆ unsafe_arena_set_allocated_contact()

void unsafe_arena_set_allocated_contact ( ::ignition::msgs::Vector3d contact)
inline

◆ unsafe_arena_set_allocated_header()

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

◆ unsafe_arena_set_allocated_world_pose()

void unsafe_arena_set_allocated_world_pose ( ::ignition::msgs::Pose world_pose)
inline

◆ UnsafeArenaSwap()

void UnsafeArenaSwap ( Sonar other)
inline

◆ world_pose()

const ::ignition::msgs::Pose & world_pose ( ) const
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: