Goby3 3.1.5a
2024.05.23
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 70 of file linebasedcomms.pb.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kDataFieldNumber 
kSrcFieldNumber 
kDestFieldNumber 
kTimeFieldNumber 

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

Constructor & Destructor Documentation

◆ Datagram() [1/5]

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

Definition at line 73 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 78 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 307 of file linebasedcomms.pb.h.

◆ clear_dest()

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

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

◆ clear_src()

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

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

◆ clear_time()

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

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ dest()

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

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

◆ GetCachedSize()

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

Definition at line 170 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 111 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 114 of file linebasedcomms.pb.h.

◆ has_data()

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

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

◆ has_dest()

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

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

◆ has_src()

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

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

◆ has_time()

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

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

◆ internal_default_instance()

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

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

◆ mutable_data()

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

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

◆ mutable_dest()

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

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

◆ mutable_src()

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

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

◆ mutable_unknown_fields()

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

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

◆ New()

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ release_data()

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

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

◆ release_dest()

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

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

◆ release_src()

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

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

◆ set_allocated_data()

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

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

◆ set_allocated_dest()

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

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

◆ set_allocated_src()

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

Definition at line 420 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 317 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 453 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 385 of file linebasedcomms.pb.h.

◆ set_time()

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

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

◆ src()

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

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

◆ Swap()

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

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

◆ time()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

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

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

◆ ::TableStruct_goby_2futil_2fprotobuf_2flinebasedcomms_2eproto

◆ swap

void swap ( Datagram a,
Datagram b 
)
friend

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

Member Data Documentation

◆ _class_data_

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

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

◆ _impl_

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

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

◆ kIndexInFileMessages

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

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


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