Gazebo Msgs

API Reference

9.5.1

#include <discovery.pb.h>

Public Types

enum  DiscContentsCase { kSub = 6, kPub = 7, DISC_CONTENTS_NOT_SET = 0 }
 
typedef Discovery_Flags Flags
 
typedef Discovery_Publisher Publisher
 
typedef Discovery_Subscriber Subscriber
 
typedef Discovery_Type Type
 

Public Member Functions

 Discovery ()
 
 Discovery (const Discovery &from)
 
virtual ~Discovery ()
 
size_t ByteSizeLong () const final
 
void Clear () final
 
void clear_disc_contents ()
 
void clear_flags ()
 
void clear_header ()
 
void clear_process_uuid ()
 
void clear_pub ()
 
void clear_sub ()
 
void clear_type ()
 
void clear_version ()
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const Discovery &from)
 
DiscContentsCase disc_contents_case () const
 
const ::gz::msgs::Discovery_Flagsflags () const
 
int GetCachedSize () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
bool has_flags () const
 
bool has_header () const
 
bool has_pub () const
 
bool has_sub () 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 Discovery &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final
 
::gz::msgs::Discovery_Flagsmutable_flags ()
 
::gz::msgs::Headermutable_header ()
 
::std::stringmutable_process_uuid ()
 
::gz::msgs::Discovery_Publishermutable_pub ()
 
::gz::msgs::Discovery_Subscribermutable_sub ()
 
DiscoveryNew () const final
 
DiscoveryNew (::google::protobuf::Arena *arena) const final
 
Discoveryoperator= (const Discovery &from)
 
const ::std::stringprocess_uuid () const
 
const ::gz::msgs::Discovery_Publisherpub () const
 
::gz::msgs::Discovery_Flagsrelease_flags ()
 
::gz::msgs::Headerrelease_header ()
 
::std::stringrelease_process_uuid ()
 
::gz::msgs::Discovery_Publisherrelease_pub ()
 
::gz::msgs::Discovery_Subscriberrelease_sub ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
void set_allocated_flags (::gz::msgs::Discovery_Flags *flags)
 
void set_allocated_header (::gz::msgs::Header *header)
 
void set_allocated_process_uuid (::std::string *process_uuid)
 
void set_allocated_pub (::gz::msgs::Discovery_Publisher *pub)
 
void set_allocated_sub (::gz::msgs::Discovery_Subscriber *sub)
 
void set_process_uuid (const ::std::string &value)
 
void set_process_uuid (const char *value)
 
void set_process_uuid (const char *value, size_t size)
 
void set_type (::gz::msgs::Discovery_Type value)
 
void set_version (::google::protobuf::uint32 value)
 
const ::gz::msgs::Discovery_Subscribersub () const
 
void Swap (Discovery *other)
 
::gz::msgs::Discovery_Type type () const
 
::google::protobuf::uint32 version () const
 

Static Public Member Functions

static const Discoverydefault_instance ()
 
static const ::google::protobuf::Descriptor * descriptor ()
 
static void InitAsDefaultInstance ()
 
static const Discoveryinternal_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 ADVERTISE
 
static const Type BYE
 
static const Type END_CONNECTION
 
static const Type HEARTBEAT
 
static const int kFlagsFieldNumber = 5
 
static const int kHeaderFieldNumber = 1
 
static constexpr int kIndexInFileMessages
 
static const int kProcessUuidFieldNumber = 3
 
static const int kPubFieldNumber = 7
 
static const int kSubFieldNumber = 6
 
static const int kTypeFieldNumber = 4
 
static const int kVersionFieldNumber = 2
 
static const Type NEW_CONNECTION
 
static const Type SUBSCRIBE
 
static const int Type_ARRAYSIZE
 
static const Type Type_MAX
 
static const Type Type_MIN
 
static const Type UNADVERTISE
 
static const Type UNINITIALIZED
 

Member Typedef Documentation

◆ Flags

◆ Publisher

◆ Subscriber

◆ Type

Member Enumeration Documentation

◆ DiscContentsCase

Enumerator
kSub 
kPub 
DISC_CONTENTS_NOT_SET 

Constructor & Destructor Documentation

◆ Discovery() [1/2]

Discovery ( )

◆ ~Discovery()

virtual ~Discovery ( )
virtual

◆ Discovery() [2/2]

Discovery ( const Discovery from)

Member Function Documentation

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

void Clear ( )
final

◆ clear_disc_contents()

void clear_disc_contents ( )

◆ clear_flags()

void clear_flags ( )
inline

◆ clear_header()

void clear_header ( )

◆ clear_process_uuid()

void clear_process_uuid ( )
inline

◆ clear_pub()

void clear_pub ( )
inline

◆ clear_sub()

void clear_sub ( )
inline

◆ clear_type()

void clear_type ( )
inline

◆ clear_version()

void clear_version ( )
inline

◆ CopyFrom() [1/2]

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

◆ CopyFrom() [2/2]

void CopyFrom ( const Discovery from)

◆ default_instance()

static const Discovery& default_instance ( )
static

◆ descriptor()

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

◆ disc_contents_case()

Discovery::DiscContentsCase disc_contents_case ( ) const
inline

◆ flags()

const ::gz::msgs::Discovery_Flags & flags ( ) const
inline

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

◆ GetMetadata()

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

◆ has_flags()

bool has_flags ( ) const
inline

◆ has_header()

bool has_header ( ) const
inline

◆ has_pub()

bool has_pub ( ) const
inline

◆ has_sub()

bool has_sub ( ) const
inline

◆ header()

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

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ internal_default_instance()

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

◆ MergePartialFromCodedStream()

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

◆ mutable_flags()

gz::msgs::Discovery_Flags * mutable_flags ( )
inline

◆ mutable_header()

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

◆ mutable_process_uuid()

std::string * mutable_process_uuid ( )
inline

◆ mutable_pub()

gz::msgs::Discovery_Publisher * mutable_pub ( )
inline

◆ mutable_sub()

gz::msgs::Discovery_Subscriber * mutable_sub ( )
inline

◆ New() [1/2]

Discovery* New ( ) const
inlinefinal

◆ New() [2/2]

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

◆ operator=()

Discovery& operator= ( const Discovery from)
inline

◆ process_uuid()

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

◆ pub()

◆ release_flags()

gz::msgs::Discovery_Flags * release_flags ( )
inline

◆ release_header()

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

◆ release_process_uuid()

std::string * release_process_uuid ( )
inline

◆ release_pub()

gz::msgs::Discovery_Publisher * release_pub ( )
inline

◆ release_sub()

gz::msgs::Discovery_Subscriber * release_sub ( )
inline

◆ SerializeWithCachedSizes()

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

◆ set_allocated_flags()

void set_allocated_flags ( ::gz::msgs::Discovery_Flags flags)
inline

◆ set_allocated_header()

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

◆ set_allocated_process_uuid()

void set_allocated_process_uuid ( ::std::string process_uuid)
inline

◆ set_allocated_pub()

void set_allocated_pub ( ::gz::msgs::Discovery_Publisher pub)

◆ set_allocated_sub()

void set_allocated_sub ( ::gz::msgs::Discovery_Subscriber sub)

◆ set_process_uuid() [1/3]

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

◆ set_process_uuid() [2/3]

void set_process_uuid ( const char *  value)
inline

◆ set_process_uuid() [3/3]

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

◆ set_type()

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

◆ set_version()

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

◆ sub()

◆ Swap()

void Swap ( Discovery other)

◆ type()

gz::msgs::Discovery_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

◆ version()

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

Member Data Documentation

◆ ADVERTISE

const Type ADVERTISE
static
Initial value:

◆ BYE

const Type BYE
static
Initial value:

◆ END_CONNECTION

const Type END_CONNECTION
static

◆ HEARTBEAT

const Type HEARTBEAT
static
Initial value:

◆ kFlagsFieldNumber

const int kFlagsFieldNumber = 5
static

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
5

◆ kProcessUuidFieldNumber

const int kProcessUuidFieldNumber = 3
static

◆ kPubFieldNumber

const int kPubFieldNumber = 7
static

◆ kSubFieldNumber

const int kSubFieldNumber = 6
static

◆ kTypeFieldNumber

const int kTypeFieldNumber = 4
static

◆ kVersionFieldNumber

const int kVersionFieldNumber = 2
static

◆ NEW_CONNECTION

const Type NEW_CONNECTION
static

◆ SUBSCRIBE

const Type SUBSCRIBE
static
Initial value:

◆ Type_ARRAYSIZE

const int Type_ARRAYSIZE
static

◆ Type_MAX

const Type Type_MAX
static
Initial value:

◆ Type_MIN

const Type Type_MIN
static
Initial value:

◆ UNADVERTISE

const Type UNADVERTISE
static
Initial value:

◆ UNINITIALIZED

const Type UNINITIALIZED
static

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