Gazebo Msgs

API Reference

9.5.0

#include <entity.pb.h>

Public Types

typedef Entity_Type Type
 

Public Member Functions

 Entity ()
 
 Entity (const Entity &from)
 
virtual ~Entity ()
 
size_t ByteSizeLong () const final
 
void Clear () final
 
void clear_header ()
 
void clear_id ()
 
void clear_name ()
 
void clear_type ()
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const Entity &from)
 
int GetCachedSize () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
bool has_header () const
 
const ::gz::msgs::Headerheader () const
 
::google::protobuf::uint64 id () 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 Entity &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final
 
::gz::msgs::Headermutable_header ()
 
::std::stringmutable_name ()
 
const ::std::stringname () const
 
EntityNew () const final
 
EntityNew (::google::protobuf::Arena *arena) const final
 
Entityoperator= (const Entity &from)
 
::gz::msgs::Headerrelease_header ()
 
::std::stringrelease_name ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
void set_allocated_header (::gz::msgs::Header *header)
 
void set_allocated_name (::std::string *name)
 
void set_id (::google::protobuf::uint64 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_type (::gz::msgs::Entity_Type value)
 
void Swap (Entity *other)
 
::gz::msgs::Entity_Type type () const
 

Static Public Member Functions

static const Entitydefault_instance ()
 
static const ::google::protobuf::Descriptor * descriptor ()
 
static void InitAsDefaultInstance ()
 
static const Entityinternal_default_instance ()
 
static const ::google::protobuf::EnumDescriptor * Type_descriptor ()
 
static bool Type_IsValid (int value)
 
static const ::std::stringType_Name (Type value)
 
static bool Type_Parse (const ::std::string &name, Type *value)
 

Static Public Attributes

static const Type ACTOR
 
static const Type COLLISION
 
static const Type JOINT
 
static const int kHeaderFieldNumber = 1
 
static const int kIdFieldNumber = 2
 
static constexpr int kIndexInFileMessages
 
static const int kNameFieldNumber = 3
 
static const int kTypeFieldNumber = 4
 
static const Type LIGHT
 
static const Type LINK
 
static const Type MODEL
 
static const Type NONE
 
static const Type SENSOR
 
static const int Type_ARRAYSIZE
 
static const Type Type_MAX
 
static const Type Type_MIN
 
static const Type VISUAL
 
static const Type WORLD
 

Member Typedef Documentation

◆ Type

typedef Entity_Type Type

Constructor & Destructor Documentation

◆ Entity() [1/2]

Entity ( )

◆ ~Entity()

virtual ~Entity ( )
virtual

◆ Entity() [2/2]

Entity ( const Entity from)

Member Function Documentation

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

void Clear ( )
final

◆ clear_header()

void clear_header ( )

◆ clear_id()

void clear_id ( )
inline

◆ clear_name()

void clear_name ( )
inline

◆ clear_type()

void clear_type ( )
inline

◆ CopyFrom() [1/2]

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

◆ CopyFrom() [2/2]

void CopyFrom ( const Entity from)

◆ default_instance()

static const Entity& default_instance ( )
static

◆ descriptor()

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

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

◆ GetMetadata()

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

◆ has_header()

bool has_header ( ) const
inline

◆ header()

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

◆ id()

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

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ internal_default_instance()

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

◆ MergePartialFromCodedStream()

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

◆ mutable_header()

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

◆ mutable_name()

std::string * mutable_name ( )
inline

◆ name()

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

◆ New() [1/2]

Entity* New ( ) const
inlinefinal

◆ New() [2/2]

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

◆ operator=()

Entity& operator= ( const Entity from)
inline

◆ release_header()

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

◆ release_name()

std::string * release_name ( )
inline

◆ SerializeWithCachedSizes()

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

◆ set_allocated_header()

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

References Entity::header().

◆ set_allocated_name()

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

References Entity::name().

◆ set_id()

void set_id ( ::google::protobuf::uint64  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_type()

void set_type ( ::gz::msgs::Entity_Type  value)
inline

◆ Swap()

void Swap ( Entity other)

◆ type()

gz::msgs::Entity_Type type ( ) const
inline

◆ Type_descriptor()

static const ::google::protobuf::EnumDescriptor* Type_descriptor ( )
inlinestatic

◆ Type_IsValid()

static bool Type_IsValid ( int  value)
inlinestatic

◆ Type_Name()

static const ::std::string& Type_Name ( Type  value)
inlinestatic

◆ Type_Parse()

static bool Type_Parse ( const ::std::string name,
Type value 
)
inlinestatic

Member Data Documentation

◆ ACTOR

const Type ACTOR
static
Initial value:

◆ COLLISION

const Type COLLISION
static
Initial value:

◆ JOINT

const Type JOINT
static
Initial value:

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

◆ kIdFieldNumber

const int kIdFieldNumber = 2
static

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
0

◆ kNameFieldNumber

const int kNameFieldNumber = 3
static

◆ kTypeFieldNumber

const int kTypeFieldNumber = 4
static

◆ LIGHT

const Type LIGHT
static
Initial value:

◆ LINK

const Type LINK
static
Initial value:

◆ MODEL

const Type MODEL
static
Initial value:

◆ NONE

const Type NONE
static
Initial value:

◆ SENSOR

const Type SENSOR
static
Initial value:

◆ Type_ARRAYSIZE

const int Type_ARRAYSIZE
static
Initial value:

◆ Type_MAX

const Type Type_MAX
static
Initial value:

◆ Type_MIN

const Type Type_MIN
static
Initial value:

◆ VISUAL

const Type VISUAL
static
Initial value:

◆ WORLD

const Type WORLD
static
Initial value:

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