Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
goby::util::protobuf::Datagram Class Referencefinal

#include <goby/util/protobuf/linebasedcomms.pb.h>

Inheritance diagram for goby::util::protobuf::Datagram:

Public Types

enum  : int { kDataFieldNumber = 1 , kSrcFieldNumber = 2 , kDestFieldNumber = 3 , kTimeFieldNumber = 4 }
 

Public Member Functions

 Datagram ()
 
 ~Datagram () override
 
PROTOBUF_CONSTEXPR Datagram (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 Datagram (const Datagram &from)
 
 Datagram (Datagram &&from) noexcept
 
Datagramoperator= (const Datagram &from)
 
Datagramoperator= (Datagram &&from) noexcept
 
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
 
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (Datagram *other)
 
void UnsafeArenaSwap (Datagram *other)
 
DatagramNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
void CopyFrom (const Datagram &from)
 
void MergeFrom (const Datagram &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_data () const
 
void clear_data ()
 
const std::string & data () const
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_data (ArgT0 &&arg0, ArgT... args)
 
std::string * mutable_data ()
 
PROTOBUF_NODISCARD std::string * release_data ()
 
void set_allocated_data (std::string *data)
 
bool has_src () const
 
void clear_src ()
 
const std::string & src () const
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_src (ArgT0 &&arg0, ArgT... args)
 
std::string * mutable_src ()
 
PROTOBUF_NODISCARD std::string * release_src ()
 
void set_allocated_src (std::string *src)
 
bool has_dest () const
 
void clear_dest ()
 
const std::string & dest () const
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_dest (ArgT0 &&arg0, ArgT... args)
 
std::string * mutable_dest ()
 
PROTOBUF_NODISCARD std::string * release_dest ()
 
void set_allocated_dest (std::string *dest)
 
bool has_time () const
 
void clear_time ()
 
double time () const
 
void set_time (double value)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_data (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_src (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_dest (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 Datagramdefault_instance ()
 
static const Datagraminternal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const ClassData _class_data_
 

Protected Member Functions

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

Detailed Description

Definition at line 69 of file linebasedcomms.pb.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kDataFieldNumber 
kSrcFieldNumber 
kDestFieldNumber 
kTimeFieldNumber 

Definition at line 196 of file linebasedcomms.pb.h.

Constructor & Destructor Documentation

◆ Datagram() [1/5]

goby::util::protobuf::Datagram::Datagram ( )
inline

Definition at line 72 of file linebasedcomms.pb.h.

◆ ~Datagram()

goby::util::protobuf::Datagram::~Datagram ( )
override

◆ Datagram() [2/5]

PROTOBUF_CONSTEXPR goby::util::protobuf::Datagram::Datagram ( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized  )
explicit

◆ Datagram() [3/5]

goby::util::protobuf::Datagram::Datagram ( const Datagram from)

◆ Datagram() [4/5]

goby::util::protobuf::Datagram::Datagram ( Datagram &&  from)
inlinenoexcept

Definition at line 77 of file linebasedcomms.pb.h.

◆ Datagram() [5/5]

goby::util::protobuf::Datagram::Datagram ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned = false 
)
explicitprotected

Member Function Documentation

◆ _InternalParse()

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

◆ _InternalSerialize()

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

◆ ByteSizeLong()

size_t goby::util::protobuf::Datagram::ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void goby::util::protobuf::Datagram::Clear ( )
final

◆ clear_data()

void goby::util::protobuf::Datagram::clear_data ( )
inline

Definition at line 306 of file linebasedcomms.pb.h.

◆ clear_dest()

void goby::util::protobuf::Datagram::clear_dest ( )
inline

Definition at line 442 of file linebasedcomms.pb.h.

◆ clear_src()

void goby::util::protobuf::Datagram::clear_src ( )
inline

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

◆ clear_time()

void goby::util::protobuf::Datagram::clear_time ( )
inline

Definition at line 510 of file linebasedcomms.pb.h.

◆ CopyFrom()

void goby::util::protobuf::Datagram::CopyFrom ( const Datagram from)

◆ data()

const std::string & goby::util::protobuf::Datagram::data ( ) const
inline

Definition at line 310 of file linebasedcomms.pb.h.

◆ default_instance()

static const Datagram & goby::util::protobuf::Datagram::default_instance ( )
inlinestatic

Definition at line 116 of file linebasedcomms.pb.h.

◆ descriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * goby::util::protobuf::Datagram::descriptor ( )
inlinestatic

Definition at line 107 of file linebasedcomms.pb.h.

◆ dest()

const std::string & goby::util::protobuf::Datagram::dest ( ) const
inline

Definition at line 446 of file linebasedcomms.pb.h.

◆ GetCachedSize()

int goby::util::protobuf::Datagram::GetCachedSize ( ) const
inlinefinal

Definition at line 169 of file linebasedcomms.pb.h.

◆ GetClassData()

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * goby::util::protobuf::Datagram::GetClassData ( ) const
final

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * goby::util::protobuf::Datagram::GetDescriptor ( )
inlinestatic

Definition at line 110 of file linebasedcomms.pb.h.

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata goby::util::protobuf::Datagram::GetMetadata ( ) const
final

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection * goby::util::protobuf::Datagram::GetReflection ( )
inlinestatic

Definition at line 113 of file linebasedcomms.pb.h.

◆ has_data()

bool goby::util::protobuf::Datagram::has_data ( ) const
inline

Definition at line 303 of file linebasedcomms.pb.h.

◆ has_dest()

bool goby::util::protobuf::Datagram::has_dest ( ) const
inline

Definition at line 439 of file linebasedcomms.pb.h.

◆ has_src()

bool goby::util::protobuf::Datagram::has_src ( ) const
inline

Definition at line 371 of file linebasedcomms.pb.h.

◆ has_time()

bool goby::util::protobuf::Datagram::has_time ( ) const
inline

Definition at line 507 of file linebasedcomms.pb.h.

◆ internal_default_instance()

static const Datagram * goby::util::protobuf::Datagram::internal_default_instance ( )
inlinestatic

Definition at line 119 of file linebasedcomms.pb.h.

◆ IsInitialized()

bool goby::util::protobuf::Datagram::IsInitialized ( ) const
final

◆ MergeFrom()

void goby::util::protobuf::Datagram::MergeFrom ( const Datagram from)
inline

Definition at line 156 of file linebasedcomms.pb.h.

◆ mutable_data()

std::string * goby::util::protobuf::Datagram::mutable_data ( )
inline

Definition at line 321 of file linebasedcomms.pb.h.

◆ mutable_dest()

std::string * goby::util::protobuf::Datagram::mutable_dest ( )
inline

Definition at line 457 of file linebasedcomms.pb.h.

◆ mutable_src()

std::string * goby::util::protobuf::Datagram::mutable_src ( )
inline

Definition at line 389 of file linebasedcomms.pb.h.

◆ mutable_unknown_fields()

inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * goby::util::protobuf::Datagram::mutable_unknown_fields ( )
inline

Definition at line 103 of file linebasedcomms.pb.h.

◆ New()

Datagram * goby::util::protobuf::Datagram::New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena = nullptr) const
inlinefinal

Definition at line 150 of file linebasedcomms.pb.h.

◆ operator=() [1/2]

Datagram & goby::util::protobuf::Datagram::operator= ( const Datagram from)
inline

Definition at line 82 of file linebasedcomms.pb.h.

◆ operator=() [2/2]

Datagram & goby::util::protobuf::Datagram::operator= ( Datagram &&  from)
inlinenoexcept

Definition at line 86 of file linebasedcomms.pb.h.

◆ release_data()

std::string * goby::util::protobuf::Datagram::release_data ( )
inline

Definition at line 337 of file linebasedcomms.pb.h.

◆ release_dest()

std::string * goby::util::protobuf::Datagram::release_dest ( )
inline

Definition at line 473 of file linebasedcomms.pb.h.

◆ release_src()

std::string * goby::util::protobuf::Datagram::release_src ( )
inline

Definition at line 405 of file linebasedcomms.pb.h.

◆ set_allocated_data()

void goby::util::protobuf::Datagram::set_allocated_data ( std::string *  data)
inline

Definition at line 351 of file linebasedcomms.pb.h.

◆ set_allocated_dest()

void goby::util::protobuf::Datagram::set_allocated_dest ( std::string *  dest)
inline

Definition at line 487 of file linebasedcomms.pb.h.

◆ set_allocated_src()

void goby::util::protobuf::Datagram::set_allocated_src ( std::string *  src)
inline

Definition at line 419 of file linebasedcomms.pb.h.

◆ set_data() [1/2]

template<typename ArgT0 = const std::string&, typename... ArgT>
void goby::util::protobuf::Datagram::set_data ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_data() [2/2]

template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void goby::util::protobuf::Datagram::set_data ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

Definition at line 316 of file linebasedcomms.pb.h.

◆ set_dest() [1/2]

template<typename ArgT0 = const std::string&, typename... ArgT>
void goby::util::protobuf::Datagram::set_dest ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_dest() [2/2]

template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void goby::util::protobuf::Datagram::set_dest ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

Definition at line 452 of file linebasedcomms.pb.h.

◆ set_src() [1/2]

template<typename ArgT0 = const std::string&, typename... ArgT>
void goby::util::protobuf::Datagram::set_src ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_src() [2/2]

template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void goby::util::protobuf::Datagram::set_src ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

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

◆ set_time()

void goby::util::protobuf::Datagram::set_time ( double  value)
inline

Definition at line 525 of file linebasedcomms.pb.h.

◆ src()

const std::string & goby::util::protobuf::Datagram::src ( ) const
inline

Definition at line 378 of file linebasedcomms.pb.h.

◆ Swap()

void goby::util::protobuf::Datagram::Swap ( Datagram other)
inline

Definition at line 129 of file linebasedcomms.pb.h.

◆ time()

double goby::util::protobuf::Datagram::time ( ) const
inline

Definition at line 517 of file linebasedcomms.pb.h.

◆ unknown_fields()

const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & goby::util::protobuf::Datagram::unknown_fields ( ) const
inline

Definition at line 100 of file linebasedcomms.pb.h.

◆ UnsafeArenaSwap()

void goby::util::protobuf::Datagram::UnsafeArenaSwap ( Datagram other)
inline

Definition at line 142 of file linebasedcomms.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 273 of file linebasedcomms.pb.h.

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

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

Definition at line 178 of file linebasedcomms.pb.h.

◆ ::TableStruct_goby_2futil_2fprotobuf_2flinebasedcomms_2eproto

◆ swap

void swap ( Datagram a,
Datagram b 
)
friend

Definition at line 126 of file linebasedcomms.pb.h.

Member Data Documentation

◆ _class_data_

const ClassData goby::util::protobuf::Datagram::_class_data_
static

Definition at line 187 of file linebasedcomms.pb.h.

◆ _impl_

Impl_ goby::util::protobuf::Datagram::_impl_

Definition at line 284 of file linebasedcomms.pb.h.

◆ kIndexInFileMessages

constexpr int goby::util::protobuf::Datagram::kIndexInFileMessages
staticconstexpr
Initial value:
=
0

Definition at line 123 of file linebasedcomms.pb.h.


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