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

#include <goby/test/acomms/dccl3/header.pb.h>

Inheritance diagram for goby::test::acomms::protobuf::Header:

Public Types

enum  : int {
  kSourceAppFieldNumber = 12 , kTimeFieldNumber = 10 , kSourcePlatformFieldNumber = 11 , kDestPlatformFieldNumber = 14 ,
  kDestTypeFieldNumber = 13
}
 
typedef Header_PublishDestination PublishDestination
 
typedef boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type time_dimension
 
typedef boost::units::make_scaled_unit< boost::units::unit< time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type time_unit
 

Public Member Functions

 Header ()
 
 ~Header () override
 
PROTOBUF_CONSTEXPR Header (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 Header (const Header &from)
 
 Header (Header &&from) noexcept
 
Headeroperator= (const Header &from)
 
Headeroperator= (Header &&from) noexcept
 
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
 
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (Header *other)
 
void UnsafeArenaSwap (Header *other)
 
HeaderNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
void CopyFrom (const Header &from)
 
void MergeFrom (const Header &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_app () const
 
void clear_source_app ()
 
const std::string & source_app () const
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_source_app (ArgT0 &&arg0, ArgT... args)
 
std::string * mutable_source_app ()
 
PROTOBUF_NODISCARD std::string * release_source_app ()
 
void set_allocated_source_app (std::string *source_app)
 
bool has_time () const
 
void clear_time ()
 
uint64_t time () const
 
void set_time (uint64_t value)
 
bool has_source_platform () const
 
void clear_source_platform ()
 
uint32_t source_platform () const
 
void set_source_platform (uint32_t value)
 
bool has_dest_platform () const
 
void clear_dest_platform ()
 
uint32_t dest_platform () const
 
void set_dest_platform (uint32_t value)
 
bool has_dest_type () const
 
void clear_dest_type ()
 
::goby::test::acomms::protobuf::Header_PublishDestination dest_type () const
 
void set_dest_type (::goby::test::acomms::protobuf::Header_PublishDestination value)
 
template<typename Quantity >
void set_time_with_units (Quantity value_w_units)
 
template<typename Quantity >
Quantity time_with_units () const
 
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units () const
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_source_app (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 Headerdefault_instance ()
 
static const Headerinternal_default_instance ()
 
static bool PublishDestination_IsValid (int value)
 
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * PublishDestination_descriptor ()
 
template<typename T >
static const std::string & PublishDestination_Name (T enum_t_value)
 
static bool PublishDestination_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PublishDestination *value)
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const ClassData _class_data_
 
static constexpr PublishDestination PUBLISH_SELF
 
static constexpr PublishDestination PUBLISH_OTHER
 
static constexpr PublishDestination PUBLISH_ALL
 
static constexpr PublishDestination PublishDestination_MIN
 
static constexpr PublishDestination PublishDestination_MAX
 
static constexpr int PublishDestination_ARRAYSIZE
 

Protected Member Functions

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

Detailed Description

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

Member Typedef Documentation

◆ PublishDestination

◆ time_dimension

typedef boost::units::derived_dimension<boost::units::time_base_dimension,1>::type goby::test::acomms::protobuf::Header::time_dimension

Definition at line 336 of file header.pb.h.

◆ time_unit

typedef boost::units::make_scaled_unit<boost::units::unit<time_dimension,boost::units::si::system>,boost::units::scale<10,boost::units::static_rational<-6>>>::type goby::test::acomms::protobuf::Header::time_unit

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kSourceAppFieldNumber 
kTimeFieldNumber 
kSourcePlatformFieldNumber 
kDestPlatformFieldNumber 
kDestTypeFieldNumber 

Definition at line 259 of file header.pb.h.

Constructor & Destructor Documentation

◆ Header() [1/5]

goby::test::acomms::protobuf::Header::Header ( )
inline

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

◆ ~Header()

goby::test::acomms::protobuf::Header::~Header ( )
override

◆ Header() [2/5]

PROTOBUF_CONSTEXPR goby::test::acomms::protobuf::Header::Header ( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized  )
explicit

◆ Header() [3/5]

goby::test::acomms::protobuf::Header::Header ( const Header from)

◆ Header() [4/5]

goby::test::acomms::protobuf::Header::Header ( Header &&  from)
inlinenoexcept

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

◆ Header() [5/5]

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

Member Function Documentation

◆ _InternalParse()

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

◆ _InternalSerialize()

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

◆ ByteSizeLong()

size_t goby::test::acomms::protobuf::Header::ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void goby::test::acomms::protobuf::Header::Clear ( )
final

◆ clear_dest_platform()

void goby::test::acomms::protobuf::Header::clear_dest_platform ( )
inline

Definition at line 545 of file header.pb.h.

◆ clear_dest_type()

void goby::test::acomms::protobuf::Header::clear_dest_type ( )
inline

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

◆ clear_source_app()

void goby::test::acomms::protobuf::Header::clear_source_app ( )
inline

Definition at line 448 of file header.pb.h.

◆ clear_source_platform()

void goby::test::acomms::protobuf::Header::clear_source_platform ( )
inline

Definition at line 420 of file header.pb.h.

◆ clear_time()

void goby::test::acomms::protobuf::Header::clear_time ( )
inline

Definition at line 392 of file header.pb.h.

◆ CopyFrom()

void goby::test::acomms::protobuf::Header::CopyFrom ( const Header from)

◆ default_instance()

static const Header & goby::test::acomms::protobuf::Header::default_instance ( )
inlinestatic

Definition at line 147 of file header.pb.h.

◆ descriptor()

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

Definition at line 138 of file header.pb.h.

◆ dest_platform()

uint32_t goby::test::acomms::protobuf::Header::dest_platform ( ) const
inline

Definition at line 552 of file header.pb.h.

◆ dest_type()

goby::test::acomms::protobuf::Header_PublishDestination goby::test::acomms::protobuf::Header::dest_type ( ) const
inline

Definition at line 523 of file header.pb.h.

◆ GetCachedSize()

int goby::test::acomms::protobuf::Header::GetCachedSize ( ) const
inlinefinal

Definition at line 200 of file header.pb.h.

◆ GetClassData()

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

◆ GetDescriptor()

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

Definition at line 141 of file header.pb.h.

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata goby::test::acomms::protobuf::Header::GetMetadata ( ) const
final

◆ GetReflection()

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

Definition at line 144 of file header.pb.h.

◆ has_dest_platform()

bool goby::test::acomms::protobuf::Header::has_dest_platform ( ) const
inline

Definition at line 542 of file header.pb.h.

◆ has_dest_type()

bool goby::test::acomms::protobuf::Header::has_dest_type ( ) const
inline

Definition at line 513 of file header.pb.h.

◆ has_source_app()

bool goby::test::acomms::protobuf::Header::has_source_app ( ) const
inline

Definition at line 445 of file header.pb.h.

◆ has_source_platform()

bool goby::test::acomms::protobuf::Header::has_source_platform ( ) const
inline

Definition at line 417 of file header.pb.h.

◆ has_time()

bool goby::test::acomms::protobuf::Header::has_time ( ) const
inline

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

◆ internal_default_instance()

static const Header * goby::test::acomms::protobuf::Header::internal_default_instance ( )
inlinestatic

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

◆ IsInitialized()

bool goby::test::acomms::protobuf::Header::IsInitialized ( ) const
final

◆ MergeFrom()

void goby::test::acomms::protobuf::Header::MergeFrom ( const Header from)
inline

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

◆ mutable_source_app()

std::string * goby::test::acomms::protobuf::Header::mutable_source_app ( )
inline

Definition at line 463 of file header.pb.h.

◆ mutable_unknown_fields()

inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * goby::test::acomms::protobuf::Header::mutable_unknown_fields ( )
inline

Definition at line 134 of file header.pb.h.

◆ New()

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

Definition at line 181 of file header.pb.h.

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

Header & goby::test::acomms::protobuf::Header::operator= ( Header &&  from)
inlinenoexcept

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

◆ PublishDestination_descriptor()

static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * goby::test::acomms::protobuf::Header::PublishDestination_descriptor ( )
inlinestatic

Definition at line 242 of file header.pb.h.

◆ PublishDestination_IsValid()

static bool goby::test::acomms::protobuf::Header::PublishDestination_IsValid ( int  value)
inlinestatic

Definition at line 232 of file header.pb.h.

◆ PublishDestination_Name()

template<typename T >
static const std::string & goby::test::acomms::protobuf::Header::PublishDestination_Name ( enum_t_value)
inlinestatic

Definition at line 246 of file header.pb.h.

◆ PublishDestination_Parse()

static bool goby::test::acomms::protobuf::Header::PublishDestination_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
PublishDestination value 
)
inlinestatic

Definition at line 252 of file header.pb.h.

◆ release_source_app()

std::string * goby::test::acomms::protobuf::Header::release_source_app ( )
inline

Definition at line 479 of file header.pb.h.

◆ set_allocated_source_app()

void goby::test::acomms::protobuf::Header::set_allocated_source_app ( std::string *  source_app)
inline

Definition at line 493 of file header.pb.h.

◆ set_dest_platform()

void goby::test::acomms::protobuf::Header::set_dest_platform ( uint32_t  value)
inline

Definition at line 560 of file header.pb.h.

◆ set_dest_type()

void goby::test::acomms::protobuf::Header::set_dest_type ( ::goby::test::acomms::protobuf::Header_PublishDestination  value)
inline

Definition at line 532 of file header.pb.h.

◆ set_source_app() [1/2]

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

◆ set_source_app() [2/2]

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

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

◆ set_source_platform()

void goby::test::acomms::protobuf::Header::set_source_platform ( uint32_t  value)
inline

Definition at line 435 of file header.pb.h.

◆ set_time()

void goby::test::acomms::protobuf::Header::set_time ( uint64_t  value)
inline

Definition at line 407 of file header.pb.h.

◆ set_time_with_units()

template<typename Quantity >
void goby::test::acomms::protobuf::Header::set_time_with_units ( Quantity  value_w_units)
inline

Definition at line 341 of file header.pb.h.

◆ source_app()

const std::string & goby::test::acomms::protobuf::Header::source_app ( ) const
inline

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

◆ source_platform()

uint32_t goby::test::acomms::protobuf::Header::source_platform ( ) const
inline

Definition at line 427 of file header.pb.h.

◆ Swap()

void goby::test::acomms::protobuf::Header::Swap ( Header other)
inline

Definition at line 160 of file header.pb.h.

◆ time()

uint64_t goby::test::acomms::protobuf::Header::time ( ) const
inline

Definition at line 399 of file header.pb.h.

◆ time_with_units() [1/2]

template<typename Quantity >
Quantity goby::test::acomms::protobuf::Header::time_with_units ( ) const
inline

Definition at line 345 of file header.pb.h.

◆ time_with_units() [2/2]

boost::units::quantity< time_unit, google::protobuf::uint64 > goby::test::acomms::protobuf::Header::time_with_units ( ) const
inline

Definition at line 348 of file header.pb.h.

◆ unknown_fields()

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

Definition at line 131 of file header.pb.h.

◆ UnsafeArenaSwap()

void goby::test::acomms::protobuf::Header::UnsafeArenaSwap ( Header other)
inline

Definition at line 173 of file 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 358 of file header.pb.h.

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

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

Definition at line 209 of file header.pb.h.

◆ ::TableStruct_goby_2ftest_2facomms_2fdccl3_2fheader_2eproto

◆ swap

void swap ( Header a,
Header b 
)
friend

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

Member Data Documentation

◆ _class_data_

const ClassData goby::test::acomms::protobuf::Header::_class_data_
static

Definition at line 218 of file header.pb.h.

◆ _impl_

Impl_ goby::test::acomms::protobuf::Header::_impl_

Definition at line 370 of file header.pb.h.

◆ kIndexInFileMessages

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

Definition at line 154 of file header.pb.h.

◆ PUBLISH_ALL

constexpr PublishDestination goby::test::acomms::protobuf::Header::PUBLISH_ALL
staticconstexpr
Initial value:

Definition at line 230 of file header.pb.h.

◆ PUBLISH_OTHER

constexpr PublishDestination goby::test::acomms::protobuf::Header::PUBLISH_OTHER
staticconstexpr
Initial value:

Definition at line 228 of file header.pb.h.

◆ PUBLISH_SELF

constexpr PublishDestination goby::test::acomms::protobuf::Header::PUBLISH_SELF
staticconstexpr
Initial value:

Definition at line 226 of file header.pb.h.

◆ PublishDestination_ARRAYSIZE

constexpr int goby::test::acomms::protobuf::Header::PublishDestination_ARRAYSIZE
staticconstexpr
Initial value:

Definition at line 239 of file header.pb.h.

◆ PublishDestination_MAX

constexpr PublishDestination goby::test::acomms::protobuf::Header::PublishDestination_MAX
staticconstexpr
Initial value:
=
constexpr Header_PublishDestination Header_PublishDestination_PublishDestination_MAX
Definition header.pb.h:81

Definition at line 237 of file header.pb.h.

◆ PublishDestination_MIN

constexpr PublishDestination goby::test::acomms::protobuf::Header::PublishDestination_MIN
staticconstexpr
Initial value:
=
constexpr Header_PublishDestination Header_PublishDestination_PublishDestination_MIN
Definition header.pb.h:80

Definition at line 235 of file header.pb.h.


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