Gazebo Msgs

API Reference

8.7.0

#include <contact.pb.h>

Public Member Functions

 Contact ()
 
 Contact (const Contact &from)
 
virtual ~Contact ()
 
void add_depth (double value)
 
::ignition::msgs::Vector3dadd_normal ()
 
::ignition::msgs::Vector3dadd_position ()
 
::ignition::msgs::JointWrenchadd_wrench ()
 
size_t ByteSizeLong () const final
 
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 ::google::protobuf::Message &from) final
 
void CopyFrom (const Contact &from)
 
const ::google::protobuf::RepeatedField< double > & depth () const
 
double depth (int index) const
 
int depth_size () const
 
int GetCachedSize () const final
 
::google::protobuf::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
 
::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 Contact &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final
 
::ignition::msgs::Entitymutable_collision1 ()
 
::ignition::msgs::Entitymutable_collision2 ()
 
::google::protobuf::RepeatedField< double > * mutable_depth ()
 
::ignition::msgs::Headermutable_header ()
 
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d > * mutable_normal ()
 
::ignition::msgs::Vector3dmutable_normal (int index)
 
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d > * mutable_position ()
 
::ignition::msgs::Vector3dmutable_position (int index)
 
::ignition::msgs::Entitymutable_world ()
 
::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointWrench > * mutable_wrench ()
 
::ignition::msgs::JointWrenchmutable_wrench (int index)
 
ContactNew () const final
 
ContactNew (::google::protobuf::Arena *arena) const final
 
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d > & normal () const
 
const ::ignition::msgs::Vector3dnormal (int index) const
 
int normal_size () const
 
Contactoperator= (const Contact &from)
 
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d > & position () const
 
const ::ignition::msgs::Vector3dposition (int index) const
 
int position_size () const
 
::ignition::msgs::Entityrelease_collision1 ()
 
::ignition::msgs::Entityrelease_collision2 ()
 
::ignition::msgs::Headerrelease_header ()
 
::ignition::msgs::Entityrelease_world ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
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)
 
const ::ignition::msgs::Entityworld () const
 
const ::google::protobuf::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 ::google::protobuf::Descriptor * descriptor ()
 
static void InitAsDefaultInstance ()
 
static const Contactinternal_default_instance ()
 

Static Public Attributes

static const int kCollision1FieldNumber = 2
 
static const int kCollision2FieldNumber = 3
 
static const int kDepthFieldNumber = 6
 
static const int kHeaderFieldNumber = 1
 
static constexpr int kIndexInFileMessages
 
static const int kNormalFieldNumber = 5
 
static const int kPositionFieldNumber = 4
 
static const int kWorldFieldNumber = 8
 
static const int kWrenchFieldNumber = 7
 

Constructor & Destructor Documentation

◆ Contact() [1/2]

Contact ( )

◆ ~Contact()

virtual ~Contact ( )
virtual

◆ Contact() [2/2]

Contact ( const Contact from)

Member Function Documentation

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

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() [1/2]

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

◆ CopyFrom() [2/2]

void CopyFrom ( const Contact from)

◆ default_instance()

static const Contact& default_instance ( )
static

◆ depth() [1/2]

const ::google::protobuf::RepeatedField< double > & depth ( ) const
inline

◆ depth() [2/2]

double depth ( int  index) const
inline

◆ depth_size()

int depth_size ( ) const
inline

◆ descriptor()

static const ::google::protobuf::Descriptor* descriptor ( )
static

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

◆ GetMetadata()

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

◆ 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

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ internal_default_instance()

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

◆ MergePartialFromCodedStream()

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

◆ mutable_collision1()

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

◆ mutable_collision2()

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

◆ mutable_depth()

google::protobuf::RepeatedField< double > * mutable_depth ( )
inline

◆ mutable_header()

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

◆ mutable_normal() [1/2]

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

◆ mutable_normal() [2/2]

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

◆ mutable_position() [1/2]

google::protobuf::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]

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

◆ mutable_wrench() [2/2]

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

◆ New() [1/2]

Contact* New ( ) const
inlinefinal

◆ New() [2/2]

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

◆ normal() [1/2]

const ::google::protobuf::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=()

Contact& operator= ( const Contact from)
inline

◆ position() [1/2]

const ::google::protobuf::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

◆ SerializeWithCachedSizes()

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

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

◆ world()

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

◆ wrench() [1/2]

const ::google::protobuf::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

◆ kCollision1FieldNumber

const int kCollision1FieldNumber = 2
static

◆ kCollision2FieldNumber

const int kCollision2FieldNumber = 3
static

◆ kDepthFieldNumber

const int kDepthFieldNumber = 6
static

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
0

◆ kNormalFieldNumber

const int kNormalFieldNumber = 5
static

◆ kPositionFieldNumber

const int kPositionFieldNumber = 4
static

◆ kWorldFieldNumber

const int kWorldFieldNumber = 8
static

◆ kWrenchFieldNumber

const int kWrenchFieldNumber = 7
static

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