Ignition Msgs

API Reference

8.0.0~pre1

#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 ()
 
int ByteSize () const
 
void Clear ()
 
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)
 
void CopyFrom (const Discovery &from)
 
DiscContentsCase disc_contents_case () const
 
const ::ignition::msgs::Discovery_Flagsflags () const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_flags () const
 
bool has_header () const
 
bool has_pub () const
 
bool has_sub () const
 
const ::ignition::msgs::Headerheader () const
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *output) const
 
bool IsInitialized () const
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const Discovery &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
::ignition::msgs::Discovery_Flagsmutable_flags ()
 
::ignition::msgs::Headermutable_header ()
 
::std::stringmutable_process_uuid ()
 
::ignition::msgs::Discovery_Publishermutable_pub ()
 
::ignition::msgs::Discovery_Subscribermutable_sub ()
 
DiscoveryNew () const
 
DiscoveryNew (::google::protobuf::Arena *arena) const
 
Discoveryoperator= (const Discovery &from)
 
const ::std::stringprocess_uuid () const
 
const ::ignition::msgs::Discovery_Publisherpub () const
 
::ignition::msgs::Discovery_Flagsrelease_flags ()
 
::ignition::msgs::Headerrelease_header ()
 
::std::stringrelease_process_uuid ()
 
::ignition::msgs::Discovery_Publisherrelease_pub ()
 
::ignition::msgs::Discovery_Subscriberrelease_sub ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8 * SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
void set_allocated_flags (::ignition::msgs::Discovery_Flags *flags)
 
void set_allocated_header (::ignition::msgs::Header *header)
 
void set_allocated_process_uuid (::std::string *process_uuid)
 
void set_allocated_pub (::ignition::msgs::Discovery_Publisher *pub)
 
void set_allocated_sub (::ignition::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 (::ignition::msgs::Discovery_Type value)
 
void set_version (::google::protobuf::uint32 value)
 
const ::ignition::msgs::Discovery_Subscribersub () const
 
void Swap (Discovery *other)
 
::ignition::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 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 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
 

Friends

void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fdiscovery_2eproto ()
 
void protobuf_AssignDesc_ignition_2fmsgs_2fdiscovery_2eproto ()
 
void protobuf_ShutdownFile_ignition_2fmsgs_2fdiscovery_2eproto ()
 

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

◆ ByteSize()

int ByteSize ( ) const

◆ Clear()

void Clear ( )

◆ clear_flags()

void clear_flags ( )
inline

◆ clear_header()

void clear_header ( )
inline

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

◆ 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 ::ignition::msgs::Discovery_Flags & flags ( ) const
inline

◆ GetCachedSize()

int GetCachedSize ( ) const
inline

◆ GetMetadata()

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

◆ 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 ::ignition::msgs::Header & header ( ) const
inline

◆ InternalSerializeWithCachedSizesToArray()

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

◆ IsInitialized()

bool IsInitialized ( ) const

◆ MergeFrom() [1/2]

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

◆ MergeFrom() [2/2]

void MergeFrom ( const Discovery from)

◆ MergePartialFromCodedStream()

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

◆ mutable_flags()

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

◆ mutable_header()

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

◆ mutable_process_uuid()

std::string * mutable_process_uuid ( )
inline

◆ mutable_pub()

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

◆ mutable_sub()

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

◆ New() [1/2]

Discovery* New ( ) const
inline

References Discovery::New().

Referenced by Discovery::New().

◆ New() [2/2]

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

◆ operator=()

Discovery& operator= ( const Discovery from)
inline

◆ process_uuid()

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

◆ pub()

◆ release_flags()

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

◆ release_header()

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

◆ release_process_uuid()

std::string * release_process_uuid ( )
inline

◆ release_pub()

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

◆ release_sub()

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

◆ SerializeWithCachedSizes()

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

◆ SerializeWithCachedSizesToArray()

::google::protobuf::uint8* SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 *  output) const
inline

◆ set_allocated_flags()

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

◆ set_allocated_header()

void set_allocated_header ( ::ignition::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 ( ::ignition::msgs::Discovery_Publisher pub)
inline

◆ set_allocated_sub()

void set_allocated_sub ( ::ignition::msgs::Discovery_Subscriber sub)
inline

◆ 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 ( ::ignition::msgs::Discovery_Type  value)
inline

◆ set_version()

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

◆ sub()

◆ Swap()

void Swap ( Discovery other)

◆ type()

ignition::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

Friends And Related Function Documentation

◆ protobuf_AddDesc_ignition_2fmsgs_2fdiscovery_2eproto

void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fdiscovery_2eproto ( )
friend

◆ protobuf_AssignDesc_ignition_2fmsgs_2fdiscovery_2eproto

void protobuf_AssignDesc_ignition_2fmsgs_2fdiscovery_2eproto ( )
friend

◆ protobuf_ShutdownFile_ignition_2fmsgs_2fdiscovery_2eproto

void protobuf_ShutdownFile_ignition_2fmsgs_2fdiscovery_2eproto ( )
friend

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

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