Ignition Msgs

API Reference

8.4.0

#include <publish.pb.h>

Public Member Functions

 Publish ()
 
 Publish (const Publish &from)
 
virtual ~Publish ()
 
int ByteSize () const
 
void Clear ()
 
void clear_header ()
 
void clear_host ()
 
void clear_msg_type ()
 
void clear_port ()
 
void clear_topic ()
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const Publish &from)
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_header () const
 
const ::ignition::msgs::Headerheader () const
 
const ::std::stringhost () 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 Publish &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
const ::std::stringmsg_type () const
 
::ignition::msgs::Headermutable_header ()
 
::std::stringmutable_host ()
 
::std::stringmutable_msg_type ()
 
::std::stringmutable_topic ()
 
PublishNew () const
 
PublishNew (::google::protobuf::Arena *arena) const
 
Publishoperator= (const Publish &from)
 
::google::protobuf::uint32 port () const
 
::ignition::msgs::Headerrelease_header ()
 
::std::stringrelease_host ()
 
::std::stringrelease_msg_type ()
 
::std::stringrelease_topic ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8 * SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
void set_allocated_header (::ignition::msgs::Header *header)
 
void set_allocated_host (::std::string *host)
 
void set_allocated_msg_type (::std::string *msg_type)
 
void set_allocated_topic (::std::string *topic)
 
void set_host (const ::std::string &value)
 
void set_host (const char *value)
 
void set_host (const char *value, size_t size)
 
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)
 
void set_port (::google::protobuf::uint32 value)
 
void set_topic (const ::std::string &value)
 
void set_topic (const char *value)
 
void set_topic (const char *value, size_t size)
 
void Swap (Publish *other)
 
const ::std::stringtopic () const
 

Static Public Member Functions

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

Static Public Attributes

static const int kHeaderFieldNumber = 1
 
static const int kHostFieldNumber = 4
 
static const int kMsgTypeFieldNumber = 3
 
static const int kPortFieldNumber = 5
 
static const int kTopicFieldNumber = 2
 

Friends

void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fpublish_2eproto ()
 
void protobuf_AssignDesc_ignition_2fmsgs_2fpublish_2eproto ()
 
void protobuf_ShutdownFile_ignition_2fmsgs_2fpublish_2eproto ()
 

Constructor & Destructor Documentation

◆ Publish() [1/2]

Publish ( )

◆ ~Publish()

virtual ~Publish ( )
virtual

◆ Publish() [2/2]

Publish ( const Publish from)

Member Function Documentation

◆ ByteSize()

int ByteSize ( ) const

◆ Clear()

void Clear ( )

◆ clear_header()

void clear_header ( )
inline

◆ clear_host()

void clear_host ( )
inline

◆ clear_msg_type()

void clear_msg_type ( )
inline

◆ clear_port()

void clear_port ( )
inline

◆ clear_topic()

void clear_topic ( )
inline

◆ CopyFrom() [1/2]

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

◆ CopyFrom() [2/2]

void CopyFrom ( const Publish from)

◆ default_instance()

static const Publish& default_instance ( )
static

◆ descriptor()

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

◆ GetCachedSize()

int GetCachedSize ( ) const
inline

◆ GetMetadata()

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

◆ has_header()

bool has_header ( ) const
inline

◆ header()

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

◆ host()

const ::std::string & host ( ) 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 Publish from)

◆ MergePartialFromCodedStream()

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

◆ msg_type()

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

◆ mutable_header()

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

◆ mutable_host()

std::string * mutable_host ( )
inline

◆ mutable_msg_type()

std::string * mutable_msg_type ( )
inline

◆ mutable_topic()

std::string * mutable_topic ( )
inline

◆ New() [1/2]

Publish* New ( ) const
inline

References Publish::New().

Referenced by Publish::New().

◆ New() [2/2]

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

◆ operator=()

Publish& operator= ( const Publish from)
inline

◆ port()

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

◆ release_header()

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

◆ release_host()

std::string * release_host ( )
inline

◆ release_msg_type()

std::string * release_msg_type ( )
inline

◆ release_topic()

std::string * release_topic ( )
inline

◆ SerializeWithCachedSizes()

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

◆ SerializeWithCachedSizesToArray()

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

◆ set_allocated_header()

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

◆ set_allocated_host()

void set_allocated_host ( ::std::string host)
inline

◆ set_allocated_msg_type()

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

◆ set_allocated_topic()

void set_allocated_topic ( ::std::string topic)
inline

◆ set_host() [1/3]

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

◆ set_host() [2/3]

void set_host ( const char *  value)
inline

◆ set_host() [3/3]

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

◆ 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

◆ set_port()

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

◆ set_topic() [1/3]

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

◆ set_topic() [2/3]

void set_topic ( const char *  value)
inline

◆ set_topic() [3/3]

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

◆ Swap()

void Swap ( Publish other)

◆ topic()

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

Friends And Related Function Documentation

◆ protobuf_AddDesc_ignition_2fmsgs_2fpublish_2eproto

void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fpublish_2eproto ( )
friend

◆ protobuf_AssignDesc_ignition_2fmsgs_2fpublish_2eproto

void protobuf_AssignDesc_ignition_2fmsgs_2fpublish_2eproto ( )
friend

◆ protobuf_ShutdownFile_ignition_2fmsgs_2fpublish_2eproto

void protobuf_ShutdownFile_ignition_2fmsgs_2fpublish_2eproto ( )
friend

Member Data Documentation

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

◆ kHostFieldNumber

const int kHostFieldNumber = 4
static

◆ kMsgTypeFieldNumber

const int kMsgTypeFieldNumber = 3
static

◆ kPortFieldNumber

const int kPortFieldNumber = 5
static

◆ kTopicFieldNumber

const int kTopicFieldNumber = 2
static

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