Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
goby::acomms::protobuf::MoshPacket Class Referencefinal

#include <goby/acomms/protobuf/mosh_packet.pb.h>

Inheritance diagram for goby::acomms::protobuf::MoshPacket:

Public Types

enum  : int {
  kFragmentFieldNumber = 6 , kSrcFieldNumber = 1 , kDestFieldNumber = 2 , kFragNumFieldNumber = 3 ,
  kFragLenFieldNumber = 4 , kIsLastFragFieldNumber = 5
}
 
enum  DCCLParameters { DCCL_ID = 512 , DCCL_MAX_BYTES = 64 }
 

Public Member Functions

 MoshPacket ()
 
 ~MoshPacket () override
 
PROTOBUF_CONSTEXPR MoshPacket (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 MoshPacket (const MoshPacket &from)
 
 MoshPacket (MoshPacket &&from) noexcept
 
MoshPacketoperator= (const MoshPacket &from)
 
MoshPacketoperator= (MoshPacket &&from) noexcept
 
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
 
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (MoshPacket *other)
 
void UnsafeArenaSwap (MoshPacket *other)
 
MoshPacketNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
void CopyFrom (const MoshPacket &from)
 
void MergeFrom (const MoshPacket &from)
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
bool IsInitialized () const final
 
size_t ByteSizeLong () const final
 
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
 
int GetCachedSize () const final
 
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
bool has_fragment () const
 
void clear_fragment ()
 
const std::string & fragment () const
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_fragment (ArgT0 &&arg0, ArgT... args)
 
std::string * mutable_fragment ()
 
PROTOBUF_NODISCARD std::string * release_fragment ()
 
void set_allocated_fragment (std::string *fragment)
 
bool has_src () const
 
void clear_src ()
 
int32_t src () const
 
void set_src (int32_t value)
 
bool has_dest () const
 
void clear_dest ()
 
int32_t dest () const
 
void set_dest (int32_t value)
 
bool has_frag_num () const
 
void clear_frag_num ()
 
int32_t frag_num () const
 
void set_frag_num (int32_t value)
 
bool has_frag_len () const
 
void clear_frag_len ()
 
int32_t frag_len () const
 
void set_frag_len (int32_t value)
 
bool has_is_last_frag () const
 
void clear_is_last_frag ()
 
bool is_last_frag () const
 
void set_is_last_frag (bool value)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_fragment (ArgT0 &&arg0, ArgT... args)
 

Static Public Member Functions

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const MoshPacketdefault_instance ()
 
static const MoshPacketinternal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const ClassData _class_data_
 

Protected Member Functions

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

Friends

class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
 
template<typename T >
class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
 
struct ::TableStruct_goby_2facomms_2fprotobuf_2fmosh_5fpacket_2eproto
 
void swap (MoshPacket &a, MoshPacket &b)
 

Detailed Description

Definition at line 70 of file mosh_packet.pb.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kFragmentFieldNumber 
kSrcFieldNumber 
kDestFieldNumber 
kFragNumFieldNumber 
kFragLenFieldNumber 
kIsLastFragFieldNumber 

Definition at line 197 of file mosh_packet.pb.h.

◆ DCCLParameters

Enumerator
DCCL_ID 
DCCL_MAX_BYTES 

Definition at line 288 of file mosh_packet.pb.h.

Constructor & Destructor Documentation

◆ MoshPacket() [1/5]

goby::acomms::protobuf::MoshPacket::MoshPacket ( )
inline

Definition at line 73 of file mosh_packet.pb.h.

◆ ~MoshPacket()

goby::acomms::protobuf::MoshPacket::~MoshPacket ( )
override

◆ MoshPacket() [2/5]

PROTOBUF_CONSTEXPR goby::acomms::protobuf::MoshPacket::MoshPacket ( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized  )
explicit

◆ MoshPacket() [3/5]

goby::acomms::protobuf::MoshPacket::MoshPacket ( const MoshPacket from)

◆ MoshPacket() [4/5]

goby::acomms::protobuf::MoshPacket::MoshPacket ( MoshPacket &&  from)
inlinenoexcept

Definition at line 78 of file mosh_packet.pb.h.

◆ MoshPacket() [5/5]

goby::acomms::protobuf::MoshPacket::MoshPacket ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned = false 
)
explicitprotected

Member Function Documentation

◆ _InternalParse()

const char * goby::acomms::protobuf::MoshPacket::_InternalParse ( const char *  ptr,
::PROTOBUF_NAMESPACE_ID::internal::ParseContext *  ctx 
)
final

◆ _InternalSerialize()

uint8_t * goby::acomms::protobuf::MoshPacket::_InternalSerialize ( uint8_t *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final

◆ ByteSizeLong()

size_t goby::acomms::protobuf::MoshPacket::ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void goby::acomms::protobuf::MoshPacket::Clear ( )
final

◆ clear_dest()

void goby::acomms::protobuf::MoshPacket::clear_dest ( )
inline

Definition at line 359 of file mosh_packet.pb.h.

◆ clear_frag_len()

void goby::acomms::protobuf::MoshPacket::clear_frag_len ( )
inline

Definition at line 415 of file mosh_packet.pb.h.

◆ clear_frag_num()

void goby::acomms::protobuf::MoshPacket::clear_frag_num ( )
inline

Definition at line 387 of file mosh_packet.pb.h.

◆ clear_fragment()

void goby::acomms::protobuf::MoshPacket::clear_fragment ( )
inline

Definition at line 471 of file mosh_packet.pb.h.

◆ clear_is_last_frag()

void goby::acomms::protobuf::MoshPacket::clear_is_last_frag ( )
inline

Definition at line 443 of file mosh_packet.pb.h.

◆ clear_src()

void goby::acomms::protobuf::MoshPacket::clear_src ( )
inline

Definition at line 331 of file mosh_packet.pb.h.

◆ CopyFrom()

void goby::acomms::protobuf::MoshPacket::CopyFrom ( const MoshPacket from)

◆ default_instance()

static const MoshPacket & goby::acomms::protobuf::MoshPacket::default_instance ( )
inlinestatic

Definition at line 117 of file mosh_packet.pb.h.

◆ descriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * goby::acomms::protobuf::MoshPacket::descriptor ( )
inlinestatic

Definition at line 108 of file mosh_packet.pb.h.

◆ dest()

int32_t goby::acomms::protobuf::MoshPacket::dest ( ) const
inline

Definition at line 366 of file mosh_packet.pb.h.

◆ frag_len()

int32_t goby::acomms::protobuf::MoshPacket::frag_len ( ) const
inline

Definition at line 422 of file mosh_packet.pb.h.

◆ frag_num()

int32_t goby::acomms::protobuf::MoshPacket::frag_num ( ) const
inline

Definition at line 394 of file mosh_packet.pb.h.

◆ fragment()

const std::string & goby::acomms::protobuf::MoshPacket::fragment ( ) const
inline

Definition at line 475 of file mosh_packet.pb.h.

◆ GetCachedSize()

int goby::acomms::protobuf::MoshPacket::GetCachedSize ( ) const
inlinefinal

Definition at line 170 of file mosh_packet.pb.h.

◆ GetClassData()

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * goby::acomms::protobuf::MoshPacket::GetClassData ( ) const
final

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * goby::acomms::protobuf::MoshPacket::GetDescriptor ( )
inlinestatic

Definition at line 111 of file mosh_packet.pb.h.

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata goby::acomms::protobuf::MoshPacket::GetMetadata ( ) const
final

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection * goby::acomms::protobuf::MoshPacket::GetReflection ( )
inlinestatic

Definition at line 114 of file mosh_packet.pb.h.

◆ has_dest()

bool goby::acomms::protobuf::MoshPacket::has_dest ( ) const
inline

Definition at line 356 of file mosh_packet.pb.h.

◆ has_frag_len()

bool goby::acomms::protobuf::MoshPacket::has_frag_len ( ) const
inline

Definition at line 412 of file mosh_packet.pb.h.

◆ has_frag_num()

bool goby::acomms::protobuf::MoshPacket::has_frag_num ( ) const
inline

Definition at line 384 of file mosh_packet.pb.h.

◆ has_fragment()

bool goby::acomms::protobuf::MoshPacket::has_fragment ( ) const
inline

Definition at line 468 of file mosh_packet.pb.h.

◆ has_is_last_frag()

bool goby::acomms::protobuf::MoshPacket::has_is_last_frag ( ) const
inline

Definition at line 440 of file mosh_packet.pb.h.

◆ has_src()

bool goby::acomms::protobuf::MoshPacket::has_src ( ) const
inline

Definition at line 328 of file mosh_packet.pb.h.

◆ internal_default_instance()

static const MoshPacket * goby::acomms::protobuf::MoshPacket::internal_default_instance ( )
inlinestatic

Definition at line 120 of file mosh_packet.pb.h.

◆ is_last_frag()

bool goby::acomms::protobuf::MoshPacket::is_last_frag ( ) const
inline

Definition at line 450 of file mosh_packet.pb.h.

◆ IsInitialized()

bool goby::acomms::protobuf::MoshPacket::IsInitialized ( ) const
final

◆ MergeFrom()

void goby::acomms::protobuf::MoshPacket::MergeFrom ( const MoshPacket from)
inline

Definition at line 157 of file mosh_packet.pb.h.

◆ mutable_fragment()

std::string * goby::acomms::protobuf::MoshPacket::mutable_fragment ( )
inline

Definition at line 486 of file mosh_packet.pb.h.

◆ mutable_unknown_fields()

inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * goby::acomms::protobuf::MoshPacket::mutable_unknown_fields ( )
inline

Definition at line 104 of file mosh_packet.pb.h.

◆ New()

MoshPacket * goby::acomms::protobuf::MoshPacket::New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena = nullptr) const
inlinefinal

Definition at line 151 of file mosh_packet.pb.h.

◆ operator=() [1/2]

MoshPacket & goby::acomms::protobuf::MoshPacket::operator= ( const MoshPacket from)
inline

Definition at line 83 of file mosh_packet.pb.h.

◆ operator=() [2/2]

MoshPacket & goby::acomms::protobuf::MoshPacket::operator= ( MoshPacket &&  from)
inlinenoexcept

Definition at line 87 of file mosh_packet.pb.h.

◆ release_fragment()

std::string * goby::acomms::protobuf::MoshPacket::release_fragment ( )
inline

Definition at line 502 of file mosh_packet.pb.h.

◆ set_allocated_fragment()

void goby::acomms::protobuf::MoshPacket::set_allocated_fragment ( std::string *  fragment)
inline

Definition at line 516 of file mosh_packet.pb.h.

◆ set_dest()

void goby::acomms::protobuf::MoshPacket::set_dest ( int32_t  value)
inline

Definition at line 374 of file mosh_packet.pb.h.

◆ set_frag_len()

void goby::acomms::protobuf::MoshPacket::set_frag_len ( int32_t  value)
inline

Definition at line 430 of file mosh_packet.pb.h.

◆ set_frag_num()

void goby::acomms::protobuf::MoshPacket::set_frag_num ( int32_t  value)
inline

Definition at line 402 of file mosh_packet.pb.h.

◆ set_fragment() [1/2]

template<typename ArgT0 = const std::string&, typename... ArgT>
void goby::acomms::protobuf::MoshPacket::set_fragment ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_fragment() [2/2]

template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void goby::acomms::protobuf::MoshPacket::set_fragment ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

Definition at line 481 of file mosh_packet.pb.h.

◆ set_is_last_frag()

void goby::acomms::protobuf::MoshPacket::set_is_last_frag ( bool  value)
inline

Definition at line 458 of file mosh_packet.pb.h.

◆ set_src()

void goby::acomms::protobuf::MoshPacket::set_src ( int32_t  value)
inline

Definition at line 346 of file mosh_packet.pb.h.

◆ src()

int32_t goby::acomms::protobuf::MoshPacket::src ( ) const
inline

Definition at line 338 of file mosh_packet.pb.h.

◆ Swap()

void goby::acomms::protobuf::MoshPacket::Swap ( MoshPacket other)
inline

Definition at line 130 of file mosh_packet.pb.h.

◆ unknown_fields()

const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & goby::acomms::protobuf::MoshPacket::unknown_fields ( ) const
inline

Definition at line 101 of file mosh_packet.pb.h.

◆ UnsafeArenaSwap()

void goby::acomms::protobuf::MoshPacket::UnsafeArenaSwap ( MoshPacket other)
inline

Definition at line 143 of file mosh_packet.pb.h.

Friends And Related Symbol Documentation

◆ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper

template<typename T >
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
friend

Definition at line 296 of file mosh_packet.pb.h.

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
friend

Definition at line 179 of file mosh_packet.pb.h.

◆ ::TableStruct_goby_2facomms_2fprotobuf_2fmosh_5fpacket_2eproto

◆ swap

void swap ( MoshPacket a,
MoshPacket b 
)
friend

Definition at line 127 of file mosh_packet.pb.h.

Member Data Documentation

◆ _class_data_

const ClassData goby::acomms::protobuf::MoshPacket::_class_data_
static

Definition at line 188 of file mosh_packet.pb.h.

◆ _impl_

Impl_ goby::acomms::protobuf::MoshPacket::_impl_

Definition at line 309 of file mosh_packet.pb.h.

◆ kIndexInFileMessages

constexpr int goby::acomms::protobuf::MoshPacket::kIndexInFileMessages
staticconstexpr
Initial value:
=
0

Definition at line 124 of file mosh_packet.pb.h.


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