Ignition Msgs

API Reference

5.8.1

#include <contact.pb.h>

Public Types

enum  : int {
  kPositionFieldNumber = 4 , kNormalFieldNumber = 5 , kDepthFieldNumber = 6 , kWrenchFieldNumber = 7 ,
  kHeaderFieldNumber = 1 , kCollision1FieldNumber = 2 , kCollision2FieldNumber = 3 , kWorldFieldNumber = 8
}
 

Public Member Functions

 Contact ()
 
constexpr Contact (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 Contact (const Contact &from)
 
 Contact (Contact &&from) noexcept
 
 ~Contact () 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
 
void add_depth (double value)
 
::ignition::msgs::Vector3dadd_normal ()
 
::ignition::msgs::Vector3dadd_position ()
 
::ignition::msgs::JointWrenchadd_wrench ()
 
size_t ByteSizeLong () const final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_collision1 ()
 
void clear_collision2 ()
 
void clear_depth ()
 
void clear_header ()
 
void clear_normal ()
 
void clear_position ()
 
void clear_world ()
 
void clear_wrench ()
 
const ::ignition::msgs::Entitycollision1 () const
 
const ::ignition::msgs::Entitycollision2 () const
 
void CopyFrom (const Contact &from)
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > & depth () const
 
double depth (int index) const
 
int depth_size () const
 
int GetCachedSize () const final
 
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
bool has_collision1 () const
 
bool has_collision2 () const
 
bool has_header () const
 
bool has_world () const
 
const ::ignition::msgs::Headerheader () const
 
bool IsInitialized () const final
 
void MergeFrom (const Contact &from)
 
::ignition::msgs::Entitymutable_collision1 ()
 
::ignition::msgs::Entitymutable_collision2 ()
 
::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_depth ()
 
::ignition::msgs::Headermutable_header ()
 
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d > * mutable_normal ()
 
::ignition::msgs::Vector3dmutable_normal (int index)
 
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d > * mutable_position ()
 
::ignition::msgs::Vector3dmutable_position (int index)
 
::ignition::msgs::Entitymutable_world ()
 
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointWrench > * mutable_wrench ()
 
::ignition::msgs::JointWrenchmutable_wrench (int index)
 
ContactNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d > & normal () const
 
const ::ignition::msgs::Vector3dnormal (int index) const
 
int normal_size () const
 
Contactoperator= (const Contact &from)
 
Contactoperator= (Contact &&from) noexcept
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d > & position () const
 
const ::ignition::msgs::Vector3dposition (int index) const
 
int position_size () const
 
PROTOBUF_NODISCARD ::ignition::msgs::Entityrelease_collision1 ()
 
PROTOBUF_NODISCARD ::ignition::msgs::Entityrelease_collision2 ()
 
PROTOBUF_NODISCARD ::ignition::msgs::Headerrelease_header ()
 
PROTOBUF_NODISCARD ::ignition::msgs::Entityrelease_world ()
 
void set_allocated_collision1 (::ignition::msgs::Entity *collision1)
 
void set_allocated_collision2 (::ignition::msgs::Entity *collision2)
 
void set_allocated_header (::ignition::msgs::Header *header)
 
void set_allocated_world (::ignition::msgs::Entity *world)
 
void set_depth (int index, double value)
 
void Swap (Contact *other)
 
::ignition::msgs::Entityunsafe_arena_release_collision1 ()
 
::ignition::msgs::Entityunsafe_arena_release_collision2 ()
 
::ignition::msgs::Headerunsafe_arena_release_header ()
 
::ignition::msgs::Entityunsafe_arena_release_world ()
 
void unsafe_arena_set_allocated_collision1 (::ignition::msgs::Entity *collision1)
 
void unsafe_arena_set_allocated_collision2 (::ignition::msgs::Entity *collision2)
 
void unsafe_arena_set_allocated_header (::ignition::msgs::Header *header)
 
void unsafe_arena_set_allocated_world (::ignition::msgs::Entity *world)
 
void UnsafeArenaSwap (Contact *other)
 
const ::ignition::msgs::Entityworld () const
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointWrench > & wrench () const
 
const ::ignition::msgs::JointWrenchwrench (int index) const
 
int wrench_size () const
 

Static Public Member Functions

static const Contactdefault_instance ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const Contactinternal_default_instance ()
 

Static Public Attributes

static const ClassData _class_data_
 
static constexpr int kIndexInFileMessages
 

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kPositionFieldNumber 
kNormalFieldNumber 
kDepthFieldNumber 
kWrenchFieldNumber 
kHeaderFieldNumber 
kCollision1FieldNumber 
kCollision2FieldNumber 
kWorldFieldNumber 

Constructor & Destructor Documentation

◆ Contact() [1/5]

Contact ( )
inline

◆ ~Contact()

~Contact ( )
override

◆ Contact() [2/5]

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

◆ Contact() [3/5]

Contact ( const Contact from)

◆ Contact() [4/5]

Contact ( Contact &&  from)
inlinenoexcept

◆ Contact() [5/5]

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

◆ add_depth()

void add_depth ( double  value)
inline

◆ add_normal()

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

◆ add_position()

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

◆ add_wrench()

ignition::msgs::JointWrench * add_wrench ( )
inline

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear ( )
final

◆ clear_collision1()

void clear_collision1 ( )

◆ clear_collision2()

void clear_collision2 ( )

◆ clear_depth()

void clear_depth ( )
inline

◆ clear_header()

void clear_header ( )

◆ clear_normal()

void clear_normal ( )

◆ clear_position()

void clear_position ( )

◆ clear_world()

void clear_world ( )

◆ clear_wrench()

void clear_wrench ( )

◆ collision1()

const ::ignition::msgs::Entity & collision1 ( ) const
inline

◆ collision2()

const ::ignition::msgs::Entity & collision2 ( ) const
inline

◆ CopyFrom()

void CopyFrom ( const Contact from)

◆ default_instance()

static const Contact& default_instance ( )
inlinestatic

◆ depth() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > & depth ( ) const
inline

◆ depth() [2/2]

double depth ( int  index) const
inline

◆ depth_size()

int depth_size ( ) const
inline

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

bool has_collision1 ( ) const
inline

◆ has_collision2()

bool has_collision2 ( ) const
inline

◆ has_header()

bool has_header ( ) const
inline

◆ has_world()

bool has_world ( ) const
inline

◆ header()

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

◆ internal_default_instance()

static const Contact* internal_default_instance ( )
inlinestatic

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom()

void MergeFrom ( const Contact from)

◆ mutable_collision1()

ignition::msgs::Entity * mutable_collision1 ( )
inline

◆ mutable_collision2()

ignition::msgs::Entity * mutable_collision2 ( )
inline

◆ mutable_depth()

PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_depth ( )
inline

◆ mutable_header()

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

◆ mutable_normal() [1/2]

PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::ignition::msgs::Vector3d > * mutable_normal ( )
inline

◆ mutable_normal() [2/2]

ignition::msgs::Vector3d * mutable_normal ( int  index)
inline

◆ mutable_position() [1/2]

PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::ignition::msgs::Vector3d > * mutable_position ( )
inline

◆ mutable_position() [2/2]

ignition::msgs::Vector3d * mutable_position ( int  index)
inline

◆ mutable_world()

ignition::msgs::Entity * mutable_world ( )
inline

◆ mutable_wrench() [1/2]

PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::ignition::msgs::JointWrench > * mutable_wrench ( )
inline

◆ mutable_wrench() [2/2]

ignition::msgs::JointWrench * mutable_wrench ( int  index)
inline

◆ New()

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

◆ normal() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::ignition::msgs::Vector3d > & normal ( ) const
inline

◆ normal() [2/2]

const ::ignition::msgs::Vector3d & normal ( int  index) const
inline

◆ normal_size()

int normal_size ( ) const
inline

◆ operator=() [1/2]

Contact& operator= ( const Contact from)
inline

◆ operator=() [2/2]

Contact& operator= ( Contact &&  from)
inlinenoexcept

◆ position() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::ignition::msgs::Vector3d > & position ( ) const
inline

◆ position() [2/2]

const ::ignition::msgs::Vector3d & position ( int  index) const
inline

◆ position_size()

int position_size ( ) const
inline

◆ release_collision1()

ignition::msgs::Entity * release_collision1 ( )
inline

◆ release_collision2()

ignition::msgs::Entity * release_collision2 ( )
inline

◆ release_header()

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

◆ release_world()

ignition::msgs::Entity * release_world ( )
inline

◆ set_allocated_collision1()

void set_allocated_collision1 ( ::ignition::msgs::Entity collision1)
inline

◆ set_allocated_collision2()

void set_allocated_collision2 ( ::ignition::msgs::Entity collision2)
inline

◆ set_allocated_header()

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

◆ set_allocated_world()

void set_allocated_world ( ::ignition::msgs::Entity world)
inline

◆ set_depth()

void set_depth ( int  index,
double  value 
)
inline

◆ Swap()

void Swap ( Contact other)
inline

◆ unsafe_arena_release_collision1()

ignition::msgs::Entity * unsafe_arena_release_collision1 ( )
inline

◆ unsafe_arena_release_collision2()

ignition::msgs::Entity * unsafe_arena_release_collision2 ( )
inline

◆ unsafe_arena_release_header()

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

◆ unsafe_arena_release_world()

ignition::msgs::Entity * unsafe_arena_release_world ( )
inline

◆ unsafe_arena_set_allocated_collision1()

void unsafe_arena_set_allocated_collision1 ( ::ignition::msgs::Entity collision1)
inline

◆ unsafe_arena_set_allocated_collision2()

void unsafe_arena_set_allocated_collision2 ( ::ignition::msgs::Entity collision2)
inline

◆ unsafe_arena_set_allocated_header()

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

◆ unsafe_arena_set_allocated_world()

void unsafe_arena_set_allocated_world ( ::ignition::msgs::Entity world)
inline

◆ UnsafeArenaSwap()

void UnsafeArenaSwap ( Contact other)
inline

◆ world()

const ::ignition::msgs::Entity & world ( ) const
inline

◆ wrench() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::ignition::msgs::JointWrench > & wrench ( ) const
inline

◆ wrench() [2/2]

const ::ignition::msgs::JointWrench & wrench ( int  index) const
inline

◆ wrench_size()

int wrench_size ( ) 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: