Gazebo Msgs

API Reference

9.5.1

#include <link.pb.h>

Public Member Functions

 Link ()
 
 Link (const Link &from)
 
virtual ~Link ()
 
::gz::msgs::Batteryadd_battery ()
 
::gz::msgs::Collisionadd_collision ()
 
::gz::msgs::Lightadd_light ()
 
::gz::msgs::ParticleEmitteradd_particle_emitter ()
 
::gz::msgs::Projectoradd_projector ()
 
::gz::msgs::Sensoradd_sensor ()
 
::gz::msgs::Visualadd_visual ()
 
const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Battery > & battery () const
 
const ::gz::msgs::Batterybattery (int index) const
 
int battery_size () const
 
size_t ByteSizeLong () const final
 
bool canonical () const
 
void Clear () final
 
void clear_battery ()
 
void clear_canonical ()
 
void clear_collision ()
 
void clear_density ()
 
void clear_enabled ()
 
void clear_gravity ()
 
void clear_header ()
 
void clear_id ()
 
void clear_inertial ()
 
void clear_kinematic ()
 
void clear_light ()
 
void clear_name ()
 
void clear_particle_emitter ()
 
void clear_pose ()
 
void clear_projector ()
 
void clear_self_collide ()
 
void clear_sensor ()
 
void clear_visual ()
 
const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Collision > & collision () const
 
const ::gz::msgs::Collisioncollision (int index) const
 
int collision_size () const
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const Link &from)
 
const ::gz::msgs::Densitydensity () const
 
bool enabled () const
 
int GetCachedSize () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
bool gravity () const
 
bool has_density () const
 
bool has_header () const
 
bool has_inertial () const
 
bool has_pose () const
 
const ::gz::msgs::Headerheader () const
 
::google::protobuf::uint32 id () const
 
const ::gz::msgs::Inertialinertial () const
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *target) const final
 
bool IsInitialized () const final
 
bool kinematic () const
 
const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Light > & light () const
 
const ::gz::msgs::Lightlight (int index) const
 
int light_size () const
 
void MergeFrom (const ::google::protobuf::Message &from) final
 
void MergeFrom (const Link &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final
 
::google::protobuf::RepeatedPtrField< ::gz::msgs::Battery > * mutable_battery ()
 
::gz::msgs::Batterymutable_battery (int index)
 
::google::protobuf::RepeatedPtrField< ::gz::msgs::Collision > * mutable_collision ()
 
::gz::msgs::Collisionmutable_collision (int index)
 
::gz::msgs::Densitymutable_density ()
 
::gz::msgs::Headermutable_header ()
 
::gz::msgs::Inertialmutable_inertial ()
 
::google::protobuf::RepeatedPtrField< ::gz::msgs::Light > * mutable_light ()
 
::gz::msgs::Lightmutable_light (int index)
 
::std::stringmutable_name ()
 
::google::protobuf::RepeatedPtrField< ::gz::msgs::ParticleEmitter > * mutable_particle_emitter ()
 
::gz::msgs::ParticleEmittermutable_particle_emitter (int index)
 
::gz::msgs::Posemutable_pose ()
 
::google::protobuf::RepeatedPtrField< ::gz::msgs::Projector > * mutable_projector ()
 
::gz::msgs::Projectormutable_projector (int index)
 
::google::protobuf::RepeatedPtrField< ::gz::msgs::Sensor > * mutable_sensor ()
 
::gz::msgs::Sensormutable_sensor (int index)
 
::google::protobuf::RepeatedPtrField< ::gz::msgs::Visual > * mutable_visual ()
 
::gz::msgs::Visualmutable_visual (int index)
 
const ::std::stringname () const
 
LinkNew () const final
 
LinkNew (::google::protobuf::Arena *arena) const final
 
Linkoperator= (const Link &from)
 
const ::google::protobuf::RepeatedPtrField< ::gz::msgs::ParticleEmitter > & particle_emitter () const
 
const ::gz::msgs::ParticleEmitterparticle_emitter (int index) const
 
int particle_emitter_size () const
 
const ::gz::msgs::Posepose () const
 
const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Projector > & projector () const
 
const ::gz::msgs::Projectorprojector (int index) const
 
int projector_size () const
 
::gz::msgs::Densityrelease_density ()
 
::gz::msgs::Headerrelease_header ()
 
::gz::msgs::Inertialrelease_inertial ()
 
::std::stringrelease_name ()
 
::gz::msgs::Poserelease_pose ()
 
bool self_collide () const
 
const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Sensor > & sensor () const
 
const ::gz::msgs::Sensorsensor (int index) const
 
int sensor_size () const
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
void set_allocated_density (::gz::msgs::Density *density)
 
void set_allocated_header (::gz::msgs::Header *header)
 
void set_allocated_inertial (::gz::msgs::Inertial *inertial)
 
void set_allocated_name (::std::string *name)
 
void set_allocated_pose (::gz::msgs::Pose *pose)
 
void set_canonical (bool value)
 
void set_enabled (bool value)
 
void set_gravity (bool value)
 
void set_id (::google::protobuf::uint32 value)
 
void set_kinematic (bool value)
 
void set_name (const ::std::string &value)
 
void set_name (const char *value)
 
void set_name (const char *value, size_t size)
 
void set_self_collide (bool value)
 
void Swap (Link *other)
 
const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Visual > & visual () const
 
const ::gz::msgs::Visualvisual (int index) const
 
int visual_size () const
 

Static Public Member Functions

static const Linkdefault_instance ()
 
static const ::google::protobuf::Descriptor * descriptor ()
 
static void InitAsDefaultInstance ()
 
static const Linkinternal_default_instance ()
 

Static Public Attributes

static const int kBatteryFieldNumber = 16
 
static const int kCanonicalFieldNumber = 15
 
static const int kCollisionFieldNumber = 12
 
static const int kDensityFieldNumber = 8
 
static const int kEnabledFieldNumber = 7
 
static const int kGravityFieldNumber = 5
 
static const int kHeaderFieldNumber = 1
 
static const int kIdFieldNumber = 2
 
static constexpr int kIndexInFileMessages
 
static const int kInertialFieldNumber = 9
 
static const int kKinematicFieldNumber = 6
 
static const int kLightFieldNumber = 17
 
static const int kNameFieldNumber = 3
 
static const int kParticleEmitterFieldNumber = 18
 
static const int kPoseFieldNumber = 10
 
static const int kProjectorFieldNumber = 14
 
static const int kSelfCollideFieldNumber = 4
 
static const int kSensorFieldNumber = 13
 
static const int kVisualFieldNumber = 11
 

Constructor & Destructor Documentation

◆ Link() [1/2]

Link ( )

◆ ~Link()

virtual ~Link ( )
virtual

◆ Link() [2/2]

Link ( const Link from)

Member Function Documentation

◆ add_battery()

gz::msgs::Battery * add_battery ( )
inline

◆ add_collision()

gz::msgs::Collision * add_collision ( )
inline

◆ add_light()

gz::msgs::Light * add_light ( )
inline

◆ add_particle_emitter()

gz::msgs::ParticleEmitter * add_particle_emitter ( )
inline

◆ add_projector()

gz::msgs::Projector * add_projector ( )
inline

◆ add_sensor()

gz::msgs::Sensor * add_sensor ( )
inline

◆ add_visual()

gz::msgs::Visual * add_visual ( )
inline

◆ battery() [1/2]

const ::google::protobuf::RepeatedPtrField<::gz::msgs::Battery > & battery ( ) const
inline

◆ battery() [2/2]

const ::gz::msgs::Battery & battery ( int  index) const
inline

◆ battery_size()

int battery_size ( ) const
inline

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ canonical()

bool canonical ( ) const
inline

◆ Clear()

void Clear ( )
final

◆ clear_battery()

void clear_battery ( )

◆ clear_canonical()

void clear_canonical ( )
inline

◆ clear_collision()

void clear_collision ( )

◆ clear_density()

void clear_density ( )

◆ clear_enabled()

void clear_enabled ( )
inline

◆ clear_gravity()

void clear_gravity ( )
inline

◆ clear_header()

void clear_header ( )

◆ clear_id()

void clear_id ( )
inline

◆ clear_inertial()

void clear_inertial ( )

◆ clear_kinematic()

void clear_kinematic ( )
inline

◆ clear_light()

void clear_light ( )

◆ clear_name()

void clear_name ( )
inline

◆ clear_particle_emitter()

void clear_particle_emitter ( )

◆ clear_pose()

void clear_pose ( )

◆ clear_projector()

void clear_projector ( )

◆ clear_self_collide()

void clear_self_collide ( )
inline

◆ clear_sensor()

void clear_sensor ( )

◆ clear_visual()

void clear_visual ( )

◆ collision() [1/2]

const ::google::protobuf::RepeatedPtrField<::gz::msgs::Collision > & collision ( ) const
inline

◆ collision() [2/2]

const ::gz::msgs::Collision & collision ( int  index) const
inline

◆ collision_size()

int collision_size ( ) const
inline

◆ CopyFrom() [1/2]

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

◆ CopyFrom() [2/2]

void CopyFrom ( const Link from)

◆ default_instance()

static const Link& default_instance ( )
static

◆ density()

const ::gz::msgs::Density & density ( ) const
inline

◆ descriptor()

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

◆ enabled()

bool enabled ( ) const
inline

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

◆ GetMetadata()

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

◆ gravity()

bool gravity ( ) const
inline

◆ has_density()

bool has_density ( ) const
inline

◆ has_header()

bool has_header ( ) const
inline

◆ has_inertial()

bool has_inertial ( ) const
inline

◆ has_pose()

bool has_pose ( ) const
inline

◆ header()

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

◆ id()

google::protobuf::uint32 id ( ) const
inline

◆ inertial()

const ::gz::msgs::Inertial & inertial ( ) const
inline

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const Link* internal_default_instance ( )
inlinestatic

◆ InternalSerializeWithCachedSizesToArray()

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

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ kinematic()

bool kinematic ( ) const
inline

◆ light() [1/2]

const ::google::protobuf::RepeatedPtrField<::gz::msgs::Light > & light ( ) const
inline

◆ light() [2/2]

const ::gz::msgs::Light & light ( int  index) const
inline

◆ light_size()

int light_size ( ) const
inline

◆ MergeFrom() [1/2]

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

◆ MergeFrom() [2/2]

void MergeFrom ( const Link from)

◆ MergePartialFromCodedStream()

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

◆ mutable_battery() [1/2]

google::protobuf::RepeatedPtrField<::gz::msgs::Battery > * mutable_battery ( )
inline

◆ mutable_battery() [2/2]

gz::msgs::Battery * mutable_battery ( int  index)
inline

◆ mutable_collision() [1/2]

google::protobuf::RepeatedPtrField<::gz::msgs::Collision > * mutable_collision ( )
inline

◆ mutable_collision() [2/2]

gz::msgs::Collision * mutable_collision ( int  index)
inline

◆ mutable_density()

gz::msgs::Density * mutable_density ( )
inline

◆ mutable_header()

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

◆ mutable_inertial()

gz::msgs::Inertial * mutable_inertial ( )
inline

◆ mutable_light() [1/2]

google::protobuf::RepeatedPtrField<::gz::msgs::Light > * mutable_light ( )
inline

◆ mutable_light() [2/2]

gz::msgs::Light * mutable_light ( int  index)
inline

◆ mutable_name()

std::string * mutable_name ( )
inline

◆ mutable_particle_emitter() [1/2]

google::protobuf::RepeatedPtrField<::gz::msgs::ParticleEmitter > * mutable_particle_emitter ( )
inline

◆ mutable_particle_emitter() [2/2]

gz::msgs::ParticleEmitter * mutable_particle_emitter ( int  index)
inline

◆ mutable_pose()

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

◆ mutable_projector() [1/2]

google::protobuf::RepeatedPtrField<::gz::msgs::Projector > * mutable_projector ( )
inline

◆ mutable_projector() [2/2]

gz::msgs::Projector * mutable_projector ( int  index)
inline

◆ mutable_sensor() [1/2]

google::protobuf::RepeatedPtrField<::gz::msgs::Sensor > * mutable_sensor ( )
inline

◆ mutable_sensor() [2/2]

gz::msgs::Sensor * mutable_sensor ( int  index)
inline

◆ mutable_visual() [1/2]

google::protobuf::RepeatedPtrField<::gz::msgs::Visual > * mutable_visual ( )
inline

◆ mutable_visual() [2/2]

gz::msgs::Visual * mutable_visual ( int  index)
inline

◆ name()

const ::std::string & name ( ) const
inline

◆ New() [1/2]

Link* New ( ) const
inlinefinal

◆ New() [2/2]

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

◆ operator=()

Link& operator= ( const Link from)
inline

◆ particle_emitter() [1/2]

const ::google::protobuf::RepeatedPtrField<::gz::msgs::ParticleEmitter > & particle_emitter ( ) const
inline

◆ particle_emitter() [2/2]

const ::gz::msgs::ParticleEmitter & particle_emitter ( int  index) const
inline

◆ particle_emitter_size()

int particle_emitter_size ( ) const
inline

◆ pose()

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

◆ projector() [1/2]

const ::google::protobuf::RepeatedPtrField<::gz::msgs::Projector > & projector ( ) const
inline

◆ projector() [2/2]

const ::gz::msgs::Projector & projector ( int  index) const
inline

◆ projector_size()

int projector_size ( ) const
inline

◆ release_density()

gz::msgs::Density * release_density ( )
inline

◆ release_header()

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

◆ release_inertial()

gz::msgs::Inertial * release_inertial ( )
inline

◆ release_name()

std::string * release_name ( )
inline

◆ release_pose()

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

◆ self_collide()

bool self_collide ( ) const
inline

◆ sensor() [1/2]

const ::google::protobuf::RepeatedPtrField<::gz::msgs::Sensor > & sensor ( ) const
inline

◆ sensor() [2/2]

const ::gz::msgs::Sensor & sensor ( int  index) const
inline

◆ sensor_size()

int sensor_size ( ) const
inline

◆ SerializeWithCachedSizes()

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

◆ set_allocated_density()

void set_allocated_density ( ::gz::msgs::Density density)
inline

References Link::density().

◆ set_allocated_header()

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

References Link::header().

◆ set_allocated_inertial()

void set_allocated_inertial ( ::gz::msgs::Inertial inertial)
inline

References Link::inertial().

◆ set_allocated_name()

void set_allocated_name ( ::std::string name)
inline

References Link::name().

◆ set_allocated_pose()

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

References Link::pose().

◆ set_canonical()

void set_canonical ( bool  value)
inline

◆ set_enabled()

void set_enabled ( bool  value)
inline

◆ set_gravity()

void set_gravity ( bool  value)
inline

◆ set_id()

void set_id ( ::google::protobuf::uint32  value)
inline

◆ set_kinematic()

void set_kinematic ( bool  value)
inline

◆ set_name() [1/3]

void set_name ( const ::std::string value)
inline

◆ set_name() [2/3]

void set_name ( const char *  value)
inline

◆ set_name() [3/3]

void set_name ( const char *  value,
size_t  size 
)
inline

◆ set_self_collide()

void set_self_collide ( bool  value)
inline

◆ Swap()

void Swap ( Link other)

◆ visual() [1/2]

const ::google::protobuf::RepeatedPtrField<::gz::msgs::Visual > & visual ( ) const
inline

◆ visual() [2/2]

const ::gz::msgs::Visual & visual ( int  index) const
inline

◆ visual_size()

int visual_size ( ) const
inline

Member Data Documentation

◆ kBatteryFieldNumber

const int kBatteryFieldNumber = 16
static

◆ kCanonicalFieldNumber

const int kCanonicalFieldNumber = 15
static

◆ kCollisionFieldNumber

const int kCollisionFieldNumber = 12
static

◆ kDensityFieldNumber

const int kDensityFieldNumber = 8
static

◆ kEnabledFieldNumber

const int kEnabledFieldNumber = 7
static

◆ kGravityFieldNumber

const int kGravityFieldNumber = 5
static

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

◆ kIdFieldNumber

const int kIdFieldNumber = 2
static

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
0

◆ kInertialFieldNumber

const int kInertialFieldNumber = 9
static

◆ kKinematicFieldNumber

const int kKinematicFieldNumber = 6
static

◆ kLightFieldNumber

const int kLightFieldNumber = 17
static

◆ kNameFieldNumber

const int kNameFieldNumber = 3
static

◆ kParticleEmitterFieldNumber

const int kParticleEmitterFieldNumber = 18
static

◆ kPoseFieldNumber

const int kPoseFieldNumber = 10
static

◆ kProjectorFieldNumber

const int kProjectorFieldNumber = 14
static

◆ kSelfCollideFieldNumber

const int kSelfCollideFieldNumber = 4
static

◆ kSensorFieldNumber

const int kSensorFieldNumber = 13
static

◆ kVisualFieldNumber

const int kVisualFieldNumber = 11
static

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