Goby3 3.5.1
2026.06.04
Loading...
Searching...
No Matches
goby::acomms::protobuf::UDPHeader Class Referencefinal

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

Inheritance diagram for goby::acomms::protobuf::UDPHeader:

Public Types

enum  : int { kSourcePortFieldNumber = 1 , kDestPortFieldNumber = 2 , kLengthFieldNumber = 3 , kChecksumFieldNumber = 4 }
enum  DCCLParameters { DCCL_ID = 61442 , DCCL_MAX_BYTES = 8 }

Public Member Functions

 UDPHeader ()
 ~UDPHeader () override
PROTOBUF_CONSTEXPR UDPHeader (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 UDPHeader (const UDPHeader &from)
 UDPHeader (UDPHeader &&from) noexcept
UDPHeaderoperator= (const UDPHeader &from)
UDPHeaderoperator= (UDPHeader &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
void Swap (UDPHeader *other)
void UnsafeArenaSwap (UDPHeader *other)
UDPHeaderNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void CopyFrom (const UDPHeader &from)
void MergeFrom (const UDPHeader &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_source_port () const
void clear_source_port ()
uint32_t source_port () const
void set_source_port (uint32_t value)
bool has_dest_port () const
void clear_dest_port ()
uint32_t dest_port () const
void set_dest_port (uint32_t value)
bool has_length () const
void clear_length ()
uint32_t length () const
void set_length (uint32_t value)
bool has_checksum () const
void clear_checksum ()
uint32_t checksum () const
void set_checksum (uint32_t value)

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 UDPHeaderdefault_instance ()
static const UDPHeaderinternal_default_instance ()

Static Public Attributes

static constexpr int kIndexInFileMessages
static const ClassData _class_data_

Protected Member Functions

 UDPHeader (::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_2fnetwork_5fheader_2eproto
void swap (UDPHeader &a, UDPHeader &b)

Detailed Description

Definition at line 1351 of file network_header.pb.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kSourcePortFieldNumber 
kDestPortFieldNumber 
kLengthFieldNumber 
kChecksumFieldNumber 

Definition at line 1478 of file network_header.pb.h.

◆ DCCLParameters

Enumerator
DCCL_ID 
DCCL_MAX_BYTES 

Definition at line 1536 of file network_header.pb.h.

Constructor & Destructor Documentation

◆ UDPHeader() [1/5]

goby::acomms::protobuf::UDPHeader::UDPHeader ( )
inline

Definition at line 1354 of file network_header.pb.h.

◆ ~UDPHeader()

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

◆ UDPHeader() [2/5]

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

◆ UDPHeader() [3/5]

goby::acomms::protobuf::UDPHeader::UDPHeader ( const UDPHeader & from)

◆ UDPHeader() [4/5]

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

Definition at line 1359 of file network_header.pb.h.

◆ UDPHeader() [5/5]

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

Member Function Documentation

◆ _InternalParse()

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

◆ _InternalSerialize()

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

◆ ByteSizeLong()

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

◆ checksum()

uint32_t goby::acomms::protobuf::UDPHeader::checksum ( ) const
inline

Definition at line 3249 of file network_header.pb.h.

◆ Clear()

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

◆ clear_checksum()

void goby::acomms::protobuf::UDPHeader::clear_checksum ( )
inline

Definition at line 3242 of file network_header.pb.h.

◆ clear_dest_port()

void goby::acomms::protobuf::UDPHeader::clear_dest_port ( )
inline

Definition at line 3186 of file network_header.pb.h.

◆ clear_length()

void goby::acomms::protobuf::UDPHeader::clear_length ( )
inline

Definition at line 3214 of file network_header.pb.h.

◆ clear_source_port()

void goby::acomms::protobuf::UDPHeader::clear_source_port ( )
inline

Definition at line 3158 of file network_header.pb.h.

◆ CopyFrom()

void goby::acomms::protobuf::UDPHeader::CopyFrom ( const UDPHeader & from)

◆ default_instance()

const UDPHeader & goby::acomms::protobuf::UDPHeader::default_instance ( )
inlinestatic

Definition at line 1398 of file network_header.pb.h.

◆ descriptor()

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

Definition at line 1389 of file network_header.pb.h.

◆ dest_port()

uint32_t goby::acomms::protobuf::UDPHeader::dest_port ( ) const
inline

Definition at line 3193 of file network_header.pb.h.

◆ GetCachedSize()

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

Definition at line 1451 of file network_header.pb.h.

◆ GetClassData()

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

◆ GetDescriptor()

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

Definition at line 1392 of file network_header.pb.h.

◆ GetMetadata()

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

◆ GetReflection()

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

Definition at line 1395 of file network_header.pb.h.

◆ has_checksum()

bool goby::acomms::protobuf::UDPHeader::has_checksum ( ) const
inline

Definition at line 3239 of file network_header.pb.h.

◆ has_dest_port()

bool goby::acomms::protobuf::UDPHeader::has_dest_port ( ) const
inline

Definition at line 3183 of file network_header.pb.h.

◆ has_length()

bool goby::acomms::protobuf::UDPHeader::has_length ( ) const
inline

Definition at line 3211 of file network_header.pb.h.

◆ has_source_port()

bool goby::acomms::protobuf::UDPHeader::has_source_port ( ) const
inline

Definition at line 3155 of file network_header.pb.h.

◆ internal_default_instance()

const UDPHeader * goby::acomms::protobuf::UDPHeader::internal_default_instance ( )
inlinestatic

Definition at line 1401 of file network_header.pb.h.

◆ IsInitialized()

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

◆ length()

uint32_t goby::acomms::protobuf::UDPHeader::length ( ) const
inline

Definition at line 3221 of file network_header.pb.h.

◆ MergeFrom()

void goby::acomms::protobuf::UDPHeader::MergeFrom ( const UDPHeader & from)
inline

Definition at line 1438 of file network_header.pb.h.

◆ mutable_unknown_fields()

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

Definition at line 1385 of file network_header.pb.h.

◆ New()

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

Definition at line 1432 of file network_header.pb.h.

◆ operator=() [1/2]

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

Definition at line 1364 of file network_header.pb.h.

◆ operator=() [2/2]

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

Definition at line 1368 of file network_header.pb.h.

◆ set_checksum()

void goby::acomms::protobuf::UDPHeader::set_checksum ( uint32_t value)
inline

Definition at line 3257 of file network_header.pb.h.

◆ set_dest_port()

void goby::acomms::protobuf::UDPHeader::set_dest_port ( uint32_t value)
inline

Definition at line 3201 of file network_header.pb.h.

◆ set_length()

void goby::acomms::protobuf::UDPHeader::set_length ( uint32_t value)
inline

Definition at line 3229 of file network_header.pb.h.

◆ set_source_port()

void goby::acomms::protobuf::UDPHeader::set_source_port ( uint32_t value)
inline

Definition at line 3173 of file network_header.pb.h.

◆ source_port()

uint32_t goby::acomms::protobuf::UDPHeader::source_port ( ) const
inline

Definition at line 3165 of file network_header.pb.h.

◆ Swap()

void goby::acomms::protobuf::UDPHeader::Swap ( UDPHeader * other)
inline

Definition at line 1411 of file network_header.pb.h.

◆ unknown_fields()

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

Definition at line 1382 of file network_header.pb.h.

◆ UnsafeArenaSwap()

void goby::acomms::protobuf::UDPHeader::UnsafeArenaSwap ( UDPHeader * other)
inline

Definition at line 1424 of file network_header.pb.h.

◆ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper

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

Definition at line 1544 of file network_header.pb.h.

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

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

Definition at line 1460 of file network_header.pb.h.

◆ ::TableStruct_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto

friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto
friend

Definition at line 1556 of file network_header.pb.h.

◆ swap

void swap ( UDPHeader & a,
UDPHeader & b )
friend

Definition at line 1408 of file network_header.pb.h.

Member Data Documentation

◆ _class_data_

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

Definition at line 1469 of file network_header.pb.h.

◆ _impl_

Impl_ goby::acomms::protobuf::UDPHeader::_impl_

Definition at line 1555 of file network_header.pb.h.

◆ kIndexInFileMessages

int goby::acomms::protobuf::UDPHeader::kIndexInFileMessages
staticconstexpr
Initial value:
=
6

Definition at line 1405 of file network_header.pb.h.


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