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

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

Inheritance diagram for goby::acomms::protobuf::NetworkHeader:

Public Types

enum  : int { kUdpFieldNumber = 20 , kSrcdestAddrFieldNumber = 10 , kProtocolFieldNumber = 1 }
 
enum  DCCLParameters { DCCL_ID = 61440 , DCCL_MAX_BYTES = 8 }
 
typedef NetworkHeader_UDPHeader UDPHeader
 
typedef NetworkHeader_ICMPHeader ICMPHeader
 
typedef NetworkHeader_SCTPHeader SCTPHeader
 
typedef NetworkHeader_Protocol Protocol
 

Public Member Functions

 NetworkHeader ()
 
 ~NetworkHeader () override
 
PROTOBUF_CONSTEXPR NetworkHeader (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 NetworkHeader (const NetworkHeader &from)
 
 NetworkHeader (NetworkHeader &&from) noexcept
 
NetworkHeaderoperator= (const NetworkHeader &from)
 
NetworkHeaderoperator= (NetworkHeader &&from) noexcept
 
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
 
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (NetworkHeader *other)
 
void UnsafeArenaSwap (NetworkHeader *other)
 
NetworkHeaderNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
void CopyFrom (const NetworkHeader &from)
 
void MergeFrom (const NetworkHeader &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_udp () const
 
void clear_udp ()
 
const ::goby::acomms::protobuf::NetworkHeader_UDPHeaderudp () const
 
PROTOBUF_NODISCARD::goby::acomms::protobuf::NetworkHeader_UDPHeader * release_udp ()
 
::goby::acomms::protobuf::NetworkHeader_UDPHeadermutable_udp ()
 
void set_allocated_udp (::goby::acomms::protobuf::NetworkHeader_UDPHeader *udp)
 
void unsafe_arena_set_allocated_udp (::goby::acomms::protobuf::NetworkHeader_UDPHeader *udp)
 
::goby::acomms::protobuf::NetworkHeader_UDPHeaderunsafe_arena_release_udp ()
 
bool has_srcdest_addr () const
 
void clear_srcdest_addr ()
 
uint32_t srcdest_addr () const
 
void set_srcdest_addr (uint32_t value)
 
bool has_protocol () const
 
void clear_protocol ()
 
::goby::acomms::protobuf::NetworkHeader_Protocol protocol () const
 
void set_protocol (::goby::acomms::protobuf::NetworkHeader_Protocol 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 NetworkHeaderdefault_instance ()
 
static const NetworkHeaderinternal_default_instance ()
 
static bool Protocol_IsValid (int value)
 
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Protocol_descriptor ()
 
template<typename T >
static const std::string & Protocol_Name (T enum_t_value)
 
static bool Protocol_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Protocol *value)
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const ClassData _class_data_
 
static constexpr Protocol ICMP
 
static constexpr Protocol UDP
 
static constexpr Protocol SCTP
 
static constexpr Protocol Protocol_MIN
 
static constexpr Protocol Protocol_MAX
 
static constexpr int Protocol_ARRAYSIZE
 

Protected Member Functions

 NetworkHeader (::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 (NetworkHeader &a, NetworkHeader &b)
 

Detailed Description

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

Member Typedef Documentation

◆ ICMPHeader

◆ Protocol

◆ SCTPHeader

◆ UDPHeader

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kUdpFieldNumber 
kSrcdestAddrFieldNumber 
kProtocolFieldNumber 

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

◆ DCCLParameters

Enumerator
DCCL_ID 
DCCL_MAX_BYTES 

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

Constructor & Destructor Documentation

◆ NetworkHeader() [1/5]

goby::acomms::protobuf::NetworkHeader::NetworkHeader ( )
inline

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

◆ ~NetworkHeader()

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

◆ NetworkHeader() [2/5]

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

◆ NetworkHeader() [3/5]

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

◆ NetworkHeader() [4/5]

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

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

◆ NetworkHeader() [5/5]

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

Member Function Documentation

◆ _InternalParse()

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

◆ _InternalSerialize()

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

◆ ByteSizeLong()

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

◆ Clear()

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

◆ clear_protocol()

void goby::acomms::protobuf::NetworkHeader::clear_protocol ( )
inline

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

◆ clear_srcdest_addr()

void goby::acomms::protobuf::NetworkHeader::clear_srcdest_addr ( )
inline

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

◆ clear_udp()

void goby::acomms::protobuf::NetworkHeader::clear_udp ( )
inline

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

◆ CopyFrom()

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

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

◆ GetClassData()

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

◆ GetReflection()

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

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

◆ has_protocol()

bool goby::acomms::protobuf::NetworkHeader::has_protocol ( ) const
inline

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

◆ has_srcdest_addr()

bool goby::acomms::protobuf::NetworkHeader::has_srcdest_addr ( ) const
inline

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

◆ has_udp()

bool goby::acomms::protobuf::NetworkHeader::has_udp ( ) const
inline

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

◆ internal_default_instance()

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

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

◆ IsInitialized()

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

◆ MergeFrom()

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

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

◆ mutable_udp()

goby::acomms::protobuf::NetworkHeader_UDPHeader * goby::acomms::protobuf::NetworkHeader::mutable_udp ( )
inline

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

◆ mutable_unknown_fields()

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

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

◆ New()

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ protocol()

goby::acomms::protobuf::NetworkHeader_Protocol goby::acomms::protobuf::NetworkHeader::protocol ( ) const
inline

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

◆ Protocol_descriptor()

static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * goby::acomms::protobuf::NetworkHeader::Protocol_descriptor ( )
inlinestatic

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

◆ Protocol_IsValid()

static bool goby::acomms::protobuf::NetworkHeader::Protocol_IsValid ( int  value)
inlinestatic

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

◆ Protocol_Name()

template<typename T >
static const std::string & goby::acomms::protobuf::NetworkHeader::Protocol_Name ( enum_t_value)
inlinestatic

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

◆ Protocol_Parse()

static bool goby::acomms::protobuf::NetworkHeader::Protocol_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
Protocol value 
)
inlinestatic

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

◆ release_udp()

goby::acomms::protobuf::NetworkHeader_UDPHeader * goby::acomms::protobuf::NetworkHeader::release_udp ( )
inline

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

◆ set_allocated_udp()

void goby::acomms::protobuf::NetworkHeader::set_allocated_udp ( ::goby::acomms::protobuf::NetworkHeader_UDPHeader udp)
inline

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

◆ set_protocol()

void goby::acomms::protobuf::NetworkHeader::set_protocol ( ::goby::acomms::protobuf::NetworkHeader_Protocol  value)
inline

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

◆ set_srcdest_addr()

void goby::acomms::protobuf::NetworkHeader::set_srcdest_addr ( uint32_t  value)
inline

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

◆ srcdest_addr()

uint32_t goby::acomms::protobuf::NetworkHeader::srcdest_addr ( ) const
inline

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

◆ Swap()

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

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

◆ udp()

const ::goby::acomms::protobuf::NetworkHeader_UDPHeader & goby::acomms::protobuf::NetworkHeader::udp ( ) const
inline

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

◆ unknown_fields()

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

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

◆ unsafe_arena_release_udp()

goby::acomms::protobuf::NetworkHeader_UDPHeader * goby::acomms::protobuf::NetworkHeader::unsafe_arena_release_udp ( )
inline

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

◆ unsafe_arena_set_allocated_udp()

void goby::acomms::protobuf::NetworkHeader::unsafe_arena_set_allocated_udp ( ::goby::acomms::protobuf::NetworkHeader_UDPHeader udp)
inline

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

◆ UnsafeArenaSwap()

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

Definition at line 650 of file network_header.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 797 of file network_header.pb.h.

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

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

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

◆ ::TableStruct_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto

◆ swap

void swap ( NetworkHeader a,
NetworkHeader b 
)
friend

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

Member Data Documentation

◆ _class_data_

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

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

◆ _impl_

Impl_ goby::acomms::protobuf::NetworkHeader::_impl_

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

◆ ICMP

constexpr Protocol goby::acomms::protobuf::NetworkHeader::ICMP
staticconstexpr
Initial value:

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

◆ kIndexInFileMessages

constexpr int goby::acomms::protobuf::NetworkHeader::kIndexInFileMessages
staticconstexpr
Initial value:
=
3

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

◆ Protocol_ARRAYSIZE

constexpr int goby::acomms::protobuf::NetworkHeader::Protocol_ARRAYSIZE
staticconstexpr
Initial value:

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

◆ Protocol_MAX

constexpr Protocol goby::acomms::protobuf::NetworkHeader::Protocol_MAX
staticconstexpr
Initial value:
=
constexpr NetworkHeader_Protocol NetworkHeader_Protocol_Protocol_MAX

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

◆ Protocol_MIN

constexpr Protocol goby::acomms::protobuf::NetworkHeader::Protocol_MIN
staticconstexpr
Initial value:
=
constexpr NetworkHeader_Protocol NetworkHeader_Protocol_Protocol_MIN

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

◆ SCTP

constexpr Protocol goby::acomms::protobuf::NetworkHeader::SCTP
staticconstexpr
Initial value:

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

◆ UDP

constexpr Protocol goby::acomms::protobuf::NetworkHeader::UDP
staticconstexpr
Initial value:

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


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