Ignition Msgs

API Reference

5.8.1

#include <publish.pb.h>

Public Types

enum  : int {
  kTopicFieldNumber = 2 , kMsgTypeFieldNumber = 3 , kHostFieldNumber = 4 , kHeaderFieldNumber = 1 ,
  kPortFieldNumber = 5
}
 

Public Member Functions

 Publish ()
 
constexpr Publish (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 Publish (const Publish &from)
 
 Publish (Publish &&from) noexcept
 
 ~Publish () override
 
const char * _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
 
uint8_t * _InternalSerialize (uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
 
size_t ByteSizeLong () const final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_header ()
 
void clear_host ()
 
void clear_msg_type ()
 
void clear_port ()
 
void clear_topic ()
 
void CopyFrom (const Publish &from)
 
int GetCachedSize () const final
 
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
bool has_header () const
 
const ::ignition::msgs::Headerheader () const
 
const std::stringhost () const
 
bool IsInitialized () const final
 
void MergeFrom (const Publish &from)
 
const std::stringmsg_type () const
 
::ignition::msgs::Headermutable_header ()
 
std::stringmutable_host ()
 
std::stringmutable_msg_type ()
 
std::stringmutable_topic ()
 
PublishNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
Publishoperator= (const Publish &from)
 
Publishoperator= (Publish &&from) noexcept
 
uint32_t port () const
 
PROTOBUF_NODISCARD ::ignition::msgs::Headerrelease_header ()
 
PROTOBUF_NODISCARD std::stringrelease_host ()
 
PROTOBUF_NODISCARD std::stringrelease_msg_type ()
 
PROTOBUF_NODISCARD std::stringrelease_topic ()
 
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)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_host (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_host (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_msg_type (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_msg_type (ArgT0 &&arg0, ArgT... args)
 
void set_port (uint32_t value)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_topic (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_topic (ArgT0 &&arg0, ArgT... args)
 
void Swap (Publish *other)
 
const std::stringtopic () const
 
::ignition::msgs::Headerunsafe_arena_release_header ()
 
void unsafe_arena_set_allocated_header (::ignition::msgs::Header *header)
 
void UnsafeArenaSwap (Publish *other)
 

Static Public Member Functions

static const Publishdefault_instance ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const Publishinternal_default_instance ()
 

Static Public Attributes

static const ClassData _class_data_
 
static constexpr int kIndexInFileMessages
 

Protected Member Functions

 Publish (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kTopicFieldNumber 
kMsgTypeFieldNumber 
kHostFieldNumber 
kHeaderFieldNumber 
kPortFieldNumber 

Constructor & Destructor Documentation

◆ Publish() [1/5]

Publish ( )
inline

◆ ~Publish()

~Publish ( )
override

◆ Publish() [2/5]

constexpr Publish ( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized  )
explicitconstexpr

◆ Publish() [3/5]

Publish ( const Publish from)

◆ Publish() [4/5]

Publish ( Publish &&  from)
inlinenoexcept

◆ Publish() [5/5]

Publish ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned = false 
)
explicitprotected

Member Function Documentation

◆ _InternalParse()

const char* _InternalParse ( const char *  ptr,
::PROTOBUF_NAMESPACE_ID::internal::ParseContext *  ctx 
)
final

◆ _InternalSerialize()

uint8_t* _InternalSerialize ( uint8_t *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear ( )
final

◆ clear_header()

void clear_header ( )

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

void CopyFrom ( const Publish from)

◆ default_instance()

static const Publish& default_instance ( )
inlinestatic

◆ descriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor ( )
inlinestatic

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

◆ GetClassData()

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData ( ) const
final

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor ( )
inlinestatic

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata ( ) const
final

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection ( )
inlinestatic

◆ has_header()

bool has_header ( ) const
inline

◆ header()

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

◆ host()

const std::string & host ( ) const
inline

◆ internal_default_instance()

static const Publish* internal_default_instance ( )
inlinestatic

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom()

void MergeFrom ( const Publish from)

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

Publish* New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena = nullptr) const
inlinefinal

◆ operator=() [1/2]

Publish& operator= ( const Publish from)
inline

◆ operator=() [2/2]

Publish& operator= ( Publish &&  from)
inlinenoexcept

◆ port()

uint32_t 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

◆ 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/2]

void set_host ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_host() [2/2]

PROTOBUF_ALWAYS_INLINE void set_host ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

◆ set_msg_type() [1/2]

void set_msg_type ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_msg_type() [2/2]

PROTOBUF_ALWAYS_INLINE void set_msg_type ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

◆ set_port()

void set_port ( uint32_t  value)
inline

◆ set_topic() [1/2]

void set_topic ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_topic() [2/2]

PROTOBUF_ALWAYS_INLINE void set_topic ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

◆ Swap()

void Swap ( Publish other)
inline

◆ topic()

const std::string & topic ( ) const
inline

◆ unsafe_arena_release_header()

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

◆ unsafe_arena_set_allocated_header()

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

◆ UnsafeArenaSwap()

void UnsafeArenaSwap ( Publish other)
inline

Member Data Documentation

◆ _class_data_

const ClassData _class_data_
static

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
0

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