Gazebo Msgs

API Reference

9.5.1

#include <topic_info.pb.h>

Public Member Functions

 TopicInfo ()
 
 TopicInfo (const TopicInfo &from)
 
virtual ~TopicInfo ()
 
::gz::msgs::Publishadd_publisher ()
 
::gz::msgs::Subscribeadd_subscriber ()
 
size_t ByteSizeLong () const final
 
void Clear () final
 
void clear_header ()
 
void clear_msg_type ()
 
void clear_publisher ()
 
void clear_subscriber ()
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const TopicInfo &from)
 
int GetCachedSize () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
bool has_header () const
 
const ::gz::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 TopicInfo &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final
 
const ::std::stringmsg_type () const
 
::gz::msgs::Headermutable_header ()
 
::std::stringmutable_msg_type ()
 
::google::protobuf::RepeatedPtrField< ::gz::msgs::Publish > * mutable_publisher ()
 
::gz::msgs::Publishmutable_publisher (int index)
 
::google::protobuf::RepeatedPtrField< ::gz::msgs::Subscribe > * mutable_subscriber ()
 
::gz::msgs::Subscribemutable_subscriber (int index)
 
TopicInfoNew () const final
 
TopicInfoNew (::google::protobuf::Arena *arena) const final
 
TopicInfooperator= (const TopicInfo &from)
 
const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Publish > & publisher () const
 
const ::gz::msgs::Publishpublisher (int index) const
 
int publisher_size () const
 
::gz::msgs::Headerrelease_header ()
 
::std::stringrelease_msg_type ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
void set_allocated_header (::gz::msgs::Header *header)
 
void set_allocated_msg_type (::std::string *msg_type)
 
void set_msg_type (const ::std::string &value)
 
void set_msg_type (const char *value)
 
void set_msg_type (const char *value, size_t size)
 
const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Subscribe > & subscriber () const
 
const ::gz::msgs::Subscribesubscriber (int index) const
 
int subscriber_size () const
 
void Swap (TopicInfo *other)
 

Static Public Member Functions

static const TopicInfodefault_instance ()
 
static const ::google::protobuf::Descriptor * descriptor ()
 
static void InitAsDefaultInstance ()
 
static const TopicInfointernal_default_instance ()
 

Static Public Attributes

static const int kHeaderFieldNumber = 1
 
static constexpr int kIndexInFileMessages
 
static const int kMsgTypeFieldNumber = 2
 
static const int kPublisherFieldNumber = 3
 
static const int kSubscriberFieldNumber = 4
 

Constructor & Destructor Documentation

◆ TopicInfo() [1/2]

TopicInfo ( )

◆ ~TopicInfo()

virtual ~TopicInfo ( )
virtual

◆ TopicInfo() [2/2]

TopicInfo ( const TopicInfo from)

Member Function Documentation

◆ add_publisher()

gz::msgs::Publish * add_publisher ( )
inline

◆ add_subscriber()

gz::msgs::Subscribe * add_subscriber ( )
inline

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

void Clear ( )
final

◆ clear_header()

void clear_header ( )

◆ clear_msg_type()

void clear_msg_type ( )
inline

◆ clear_publisher()

void clear_publisher ( )

◆ clear_subscriber()

void clear_subscriber ( )

◆ CopyFrom() [1/2]

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

◆ CopyFrom() [2/2]

void CopyFrom ( const TopicInfo from)

◆ default_instance()

static const TopicInfo& 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

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ internal_default_instance()

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

◆ MergePartialFromCodedStream()

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

◆ msg_type()

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

◆ mutable_header()

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

◆ mutable_msg_type()

std::string * mutable_msg_type ( )
inline

◆ mutable_publisher() [1/2]

google::protobuf::RepeatedPtrField<::gz::msgs::Publish > * mutable_publisher ( )
inline

◆ mutable_publisher() [2/2]

gz::msgs::Publish * mutable_publisher ( int  index)
inline

◆ mutable_subscriber() [1/2]

google::protobuf::RepeatedPtrField<::gz::msgs::Subscribe > * mutable_subscriber ( )
inline

◆ mutable_subscriber() [2/2]

gz::msgs::Subscribe * mutable_subscriber ( int  index)
inline

◆ New() [1/2]

TopicInfo* New ( ) const
inlinefinal

◆ New() [2/2]

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

◆ operator=()

TopicInfo& operator= ( const TopicInfo from)
inline

◆ publisher() [1/2]

const ::google::protobuf::RepeatedPtrField<::gz::msgs::Publish > & publisher ( ) const
inline

◆ publisher() [2/2]

const ::gz::msgs::Publish & publisher ( int  index) const
inline

◆ publisher_size()

int publisher_size ( ) const
inline

◆ release_header()

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

◆ release_msg_type()

std::string * release_msg_type ( )
inline

◆ SerializeWithCachedSizes()

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

◆ set_allocated_header()

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

References TopicInfo::header().

◆ set_allocated_msg_type()

void set_allocated_msg_type ( ::std::string msg_type)
inline

References TopicInfo::msg_type().

◆ set_msg_type() [1/3]

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

◆ set_msg_type() [2/3]

void set_msg_type ( const char *  value)
inline

◆ set_msg_type() [3/3]

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

◆ subscriber() [1/2]

const ::google::protobuf::RepeatedPtrField<::gz::msgs::Subscribe > & subscriber ( ) const
inline

◆ subscriber() [2/2]

const ::gz::msgs::Subscribe & subscriber ( int  index) const
inline

◆ subscriber_size()

int subscriber_size ( ) const
inline

◆ Swap()

void Swap ( TopicInfo other)

Member Data Documentation

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
0

◆ kMsgTypeFieldNumber

const int kMsgTypeFieldNumber = 2
static

◆ kPublisherFieldNumber

const int kPublisherFieldNumber = 3
static

◆ kSubscriberFieldNumber

const int kSubscriberFieldNumber = 4
static

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