DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
wib::Poke Class Referencefinal

#include <wib.pb.h>

Inheritance diagram for wib::Poke:
[legend]
Collaboration diagram for wib::Poke:
[legend]

Classes

class  _Internal
 
struct  Impl_
 

Public Types

enum  : int { kAddrFieldNumber = 1 , kValueFieldNumber = 2 }
 

Public Member Functions

 Poke ()
 
 ~Poke () override
 
template<typename = void>
PROTOBUF_CONSTEXPR Poke (::google::protobuf::internal::ConstantInitialized)
 
 Poke (const Poke &from)
 
 Poke (Poke &&from) noexcept
 
Pokeoperator= (const Poke &from)
 
Pokeoperator= (Poke &&from) noexcept
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (Poke *other)
 
void UnsafeArenaSwap (Poke *other)
 
PokeNew (::google::protobuf::Arena *arena=nullptr) const final
 
void CopyFrom (const Poke &from)
 
void MergeFrom (const Poke &from)
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
bool IsInitialized () const final
 
::size_t ByteSizeLong () const final
 
const char * _InternalParse (const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
 
::uint8_t * _InternalSerialize (::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
 
int GetCachedSize () const final
 
const ::google::protobuf::Message::ClassData * GetClassData () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
void clear_addr ()
 
::uint64_t addr () const
 
void set_addr (::uint64_t value)
 
void clear_value ()
 
::uint32_t value () const
 
void set_value (::uint32_t value)
 
template<typename >
PROTOBUF_CONSTEXPR Poke (::_pbi::ConstantInitialized)
 

Static Public Member Functions

static const ::google::protobuf::Descriptor * descriptor ()
 
static const ::google::protobuf::Descriptor * GetDescriptor ()
 
static const ::google::protobuf::Reflection * GetReflection ()
 
static const Pokedefault_instance ()
 
static const Pokeinternal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const ClassData _class_data_
 

Protected Member Functions

 Poke (::google::protobuf::Arena *arena)
 

Private Types

typedef void InternalArenaConstructable_
 
typedef void DestructorSkippable_
 

Private Member Functions

void SharedCtor (::google::protobuf::Arena *arena)
 
void SharedDtor ()
 
void SetCachedSize (int size) const final
 
void InternalSwap (Poke *other)
 
::uint64_t _internal_addr () const
 
void _internal_set_addr (::uint64_t value)
 
::uint32_t _internal_value () const
 
void _internal_set_value (::uint32_t value)
 

Static Private Member Functions

static void MergeImpl (::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
 
::absl::string_view FullMessageName ()
 

Private Attributes

union { 
 
   Impl_   _impl_ 
 
};  
 

Static Private Attributes

static const ::google::protobuf::internal::TcParseTable< 1, 2, 0, 0, 2 > _table_
 

Friends

class ::google::protobuf::internal::AnyMetadata
 
class ::google::protobuf::internal::TcParser
 
template<typename T >
class ::google::protobuf::Arena::InternalHelper
 
struct ::TableStruct_wib_2eproto
 
void swap (Poke &a, Poke &b)
 

Detailed Description

Definition at line 3407 of file wib.pb.h.

Member Typedef Documentation

◆ DestructorSkippable_

Definition at line 3566 of file wib.pb.h.

◆ InternalArenaConstructable_

Definition at line 3565 of file wib.pb.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kAddrFieldNumber 
kValueFieldNumber 

Definition at line 3534 of file wib.pb.h.

3534 : int {
3535 kAddrFieldNumber = 1,
3537 };
@ kValueFieldNumber
Definition wib.pb.h:3536
@ kAddrFieldNumber
Definition wib.pb.h:3535

Constructor & Destructor Documentation

◆ Poke() [1/6]

wib::Poke::Poke ( )
inline

Definition at line 3410 of file wib.pb.h.

3410: Poke(nullptr) {}

◆ ~Poke()

wib::Poke::~Poke ( )
override

Definition at line 5425 of file wib.pb.cc.

5425 {
5426 // @@protoc_insertion_point(destructor:wib.Poke)
5427 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5428 SharedDtor();
5429}
void SharedDtor()
Definition wib.pb.cc:5430

◆ Poke() [2/6]

template<typename = void>
PROTOBUF_CONSTEXPR wib::Poke::Poke ( ::google::protobuf::internal::ConstantInitialized )
explicit

◆ Poke() [3/6]

wib::Poke::Poke ( const Poke & from)

Definition at line 5411 of file wib.pb.cc.

5412 : ::google::protobuf::Message(), _impl_(from._impl_) {
5413 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
5414 from._internal_metadata_);
5415 // @@protoc_insertion_point(copy_constructor:wib.Poke)
5416}
Impl_ _impl_
Definition wib.pb.h:3573

◆ Poke() [4/6]

wib::Poke::Poke ( Poke && from)
inlinenoexcept

Definition at line 3416 of file wib.pb.h.

3417 : Poke() {
3418 *this = ::std::move(from);
3419 }

◆ Poke() [5/6]

wib::Poke::Poke ( ::google::protobuf::Arena * arena)
explicitprotected

Definition at line 5406 of file wib.pb.cc.

5407 : ::google::protobuf::Message(arena) {
5408 SharedCtor(arena);
5409 // @@protoc_insertion_point(arena_constructor:wib.Poke)
5410}
void SharedCtor(::google::protobuf::Arena *arena)
Definition wib.pb.cc:5417

◆ Poke() [6/6]

template<typename >
PROTOBUF_CONSTEXPR wib::Poke::Poke ( ::_pbi::ConstantInitialized )

Definition at line 351 of file wib.pb.cc.

352 : _impl_{
353 /*decltype(_impl_.addr_)*/ ::uint64_t{0u},
354 /*decltype(_impl_.value_)*/ 0u,
355 /*decltype(_impl_._cached_size_)*/ {},
356 } {}

Member Function Documentation

◆ _internal_addr()

uint64_t wib::Poke::_internal_addr ( ) const
inlineprivate

Definition at line 9273 of file wib.pb.h.

9273 {
9274 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
9275 return _impl_.addr_;
9276}
::uint64_t addr_
Definition wib.pb.h:3568

◆ _internal_set_addr()

void wib::Poke::_internal_set_addr ( ::uint64_t value)
inlineprivate

Definition at line 9277 of file wib.pb.h.

9277 {
9278 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
9279 ;
9280 _impl_.addr_ = value;
9281}
::uint32_t value() const
Definition wib.pb.h:9287

◆ _internal_set_value()

void wib::Poke::_internal_set_value ( ::uint32_t value)
inlineprivate

Definition at line 9299 of file wib.pb.h.

9299 {
9300 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
9301 ;
9303}
::uint32_t value_
Definition wib.pb.h:3569

◆ _internal_value()

uint32_t wib::Poke::_internal_value ( ) const
inlineprivate

Definition at line 9295 of file wib.pb.h.

9295 {
9296 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
9297 return _impl_.value_;
9298}

◆ _InternalParse()

const char * wib::Poke::_InternalParse ( const char * ptr,
::google::protobuf::internal::ParseContext * ctx )
final

Definition at line 5449 of file wib.pb.cc.

5450 {
5451 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
5452 return ptr;
5453}
static const ::google::protobuf::internal::TcParseTable< 1, 2, 0, 0, 2 > _table_
Definition wib.pb.h:3563

◆ _InternalSerialize()

uint8_t * wib::Poke::_InternalSerialize ( ::uint8_t * target,
::google::protobuf::io::EpsCopyOutputStream * stream ) const
final

Definition at line 5492 of file wib.pb.cc.

5494 {
5495 // @@protoc_insertion_point(serialize_to_array_start:wib.Poke)
5496 ::uint32_t cached_has_bits = 0;
5497 (void)cached_has_bits;
5498
5499 // uint64 addr = 1;
5500 if (this->_internal_addr() != 0) {
5501 target = stream->EnsureSpace(target);
5502 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
5503 1, this->_internal_addr(), target);
5504 }
5505
5506 // uint32 value = 2;
5507 if (this->_internal_value() != 0) {
5508 target = stream->EnsureSpace(target);
5509 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
5510 2, this->_internal_value(), target);
5511 }
5512
5513 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5514 target =
5515 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5516 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5517 }
5518 // @@protoc_insertion_point(serialize_to_array_end:wib.Poke)
5519 return target;
5520}
::uint32_t _internal_value() const
Definition wib.pb.h:9295
::uint64_t _internal_addr() const
Definition wib.pb.h:9273

◆ addr()

uint64_t wib::Poke::addr ( ) const
inline

Definition at line 9265 of file wib.pb.h.

9265 {
9266 // @@protoc_insertion_point(field_get:wib.Poke.addr)
9267 return _internal_addr();
9268}

◆ ByteSizeLong()

size_t wib::Poke::ByteSizeLong ( ) const
final

Definition at line 5522 of file wib.pb.cc.

5522 {
5523// @@protoc_insertion_point(message_byte_size_start:wib.Poke)
5524 ::size_t total_size = 0;
5525
5526 ::uint32_t cached_has_bits = 0;
5527 // Prevent compiler warnings about cached_has_bits being unused
5528 (void) cached_has_bits;
5529
5530 // uint64 addr = 1;
5531 if (this->_internal_addr() != 0) {
5532 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
5533 this->_internal_addr());
5534 }
5535
5536 // uint32 value = 2;
5537 if (this->_internal_value() != 0) {
5538 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
5539 this->_internal_value());
5540 }
5541
5542 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
5543}
mutable::google::protobuf::internal::CachedSize _cached_size_
Definition wib.pb.h:3570

◆ Clear()

PROTOBUF_NOINLINE void wib::Poke::Clear ( )
final

Definition at line 5437 of file wib.pb.cc.

5437 {
5438// @@protoc_insertion_point(message_clear_start:wib.Poke)
5439 ::uint32_t cached_has_bits = 0;
5440 // Prevent compiler warnings about cached_has_bits being unused
5441 (void) cached_has_bits;
5442
5443 ::memset(&_impl_.addr_, 0, static_cast<::size_t>(
5444 reinterpret_cast<char*>(&_impl_.value_) -
5445 reinterpret_cast<char*>(&_impl_.addr_)) + sizeof(_impl_.value_));
5446 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5447}

◆ clear_addr()

void wib::Poke::clear_addr ( )
inline

Definition at line 9262 of file wib.pb.h.

9262 {
9263 _impl_.addr_ = ::uint64_t{0u};
9264}

◆ clear_value()

void wib::Poke::clear_value ( )
inline

Definition at line 9284 of file wib.pb.h.

9284 {
9285 _impl_.value_ = 0u;
9286}

◆ CopyFrom()

void wib::Poke::CopyFrom ( const Poke & from)

Definition at line 5569 of file wib.pb.cc.

5569 {
5570// @@protoc_insertion_point(class_specific_copy_from_start:wib.Poke)
5571 if (&from == this) return;
5572 Clear();
5573 MergeFrom(from);
5574}
void MergeFrom(const Poke &from)
Definition wib.pb.h:3495
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition wib.pb.cc:5437

◆ default_instance()

static const Poke & wib::Poke::default_instance ( )
inlinestatic

Definition at line 3455 of file wib.pb.h.

3455 {
3456 return *internal_default_instance();
3457 }
static const Poke * internal_default_instance()
Definition wib.pb.h:3458

◆ descriptor()

static const ::google::protobuf::Descriptor * wib::Poke::descriptor ( )
inlinestatic

Definition at line 3446 of file wib.pb.h.

3446 {
3447 return GetDescriptor();
3448 }
static const ::google::protobuf::Descriptor * GetDescriptor()
Definition wib.pb.h:3449

◆ FullMessageName()

::absl::string_view wib::Poke::FullMessageName ( )
inlinestaticprivate

Definition at line 3518 of file wib.pb.h.

3518 {
3519 return "wib.Poke";
3520 }

◆ GetCachedSize()

int wib::Poke::GetCachedSize ( ) const
inlinefinal

Definition at line 3508 of file wib.pb.h.

3508{ return _impl_._cached_size_.Get(); }

◆ GetClassData()

const::google::protobuf::Message::ClassData * wib::Poke::GetClassData ( ) const
final

Definition at line 5549 of file wib.pb.cc.

5549{ return &_class_data_; }
static const ClassData _class_data_
Definition wib.pb.h:3525

◆ GetDescriptor()

static const ::google::protobuf::Descriptor * wib::Poke::GetDescriptor ( )
inlinestatic

Definition at line 3449 of file wib.pb.h.

3449 {
3450 return default_instance().GetMetadata().descriptor;
3451 }
::google::protobuf::Metadata GetMetadata() const final
Definition wib.pb.cc:5591
static const Poke & default_instance()
Definition wib.pb.h:3455

◆ GetMetadata()

google::protobuf::Metadata wib::Poke::GetMetadata ( ) const
final

Definition at line 5591 of file wib.pb.cc.

5591 {
5592 return ::_pbi::AssignDescriptors(
5595}
PROTOBUF_ATTRIBUTE_WEAKconst ::_pbi::DescriptorTable * descriptor_table_wib_2eproto_getter()
Definition wib.pb.cc:1346
::absl::once_flag descriptor_table_wib_2eproto_once
Definition wib.pb.cc:1316
::_pb::Metadata file_level_metadata_wib_2eproto[37]
Definition wib.pb.cc:710

◆ GetReflection()

static const ::google::protobuf::Reflection * wib::Poke::GetReflection ( )
inlinestatic

Definition at line 3452 of file wib.pb.h.

3452 {
3453 return default_instance().GetMetadata().reflection;
3454 }

◆ internal_default_instance()

static const Poke * wib::Poke::internal_default_instance ( )
inlinestatic

Definition at line 3458 of file wib.pb.h.

3458 {
3459 return reinterpret_cast<const Poke*>(
3461 }
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PokeDefaultTypeInternal _Poke_default_instance_
Definition wib.pb.cc:366

◆ InternalSwap()

void wib::Poke::InternalSwap ( Poke * other)
private

Definition at line 5580 of file wib.pb.cc.

5580 {
5581 using std::swap;
5582 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5583 ::google::protobuf::internal::memswap<
5584 PROTOBUF_FIELD_OFFSET(Poke, _impl_.value_)
5585 + sizeof(Poke::_impl_.value_)
5586 - PROTOBUF_FIELD_OFFSET(Poke, _impl_.addr_)>(
5587 reinterpret_cast<char*>(&_impl_.addr_),
5588 reinterpret_cast<char*>(&other->_impl_.addr_));
5589}

◆ IsInitialized()

PROTOBUF_NOINLINE bool wib::Poke::IsInitialized ( ) const
final

Definition at line 5576 of file wib.pb.cc.

5576 {
5577 return true;
5578}

◆ MergeFrom()

void wib::Poke::MergeFrom ( const Poke & from)
inline

Definition at line 3495 of file wib.pb.h.

3495 {
3496 Poke::MergeImpl(*this, from);
3497 }
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
Definition wib.pb.cc:5552

◆ MergeImpl()

void wib::Poke::MergeImpl ( ::google::protobuf::Message & to_msg,
const ::google::protobuf::Message & from_msg )
staticprivate

Definition at line 5552 of file wib.pb.cc.

5552 {
5553 auto* const _this = static_cast<Poke*>(&to_msg);
5554 auto& from = static_cast<const Poke&>(from_msg);
5555 // @@protoc_insertion_point(class_specific_merge_from_start:wib.Poke)
5556 ABSL_DCHECK_NE(&from, _this);
5557 ::uint32_t cached_has_bits = 0;
5558 (void) cached_has_bits;
5559
5560 if (from._internal_addr() != 0) {
5561 _this->_internal_set_addr(from._internal_addr());
5562 }
5563 if (from._internal_value() != 0) {
5564 _this->_internal_set_value(from._internal_value());
5565 }
5566 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5567}

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet * wib::Poke::mutable_unknown_fields ( )
inline

Definition at line 3442 of file wib.pb.h.

3442 {
3443 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
3444 }

◆ New()

Poke * wib::Poke::New ( ::google::protobuf::Arena * arena = nullptr) const
inlinefinal

Definition at line 3489 of file wib.pb.h.

3489 {
3490 return CreateMaybeMessage<Poke>(arena);
3491 }

◆ operator=() [1/2]

Poke & wib::Poke::operator= ( const Poke & from)
inline

Definition at line 3421 of file wib.pb.h.

3421 {
3422 CopyFrom(from);
3423 return *this;
3424 }
void CopyFrom(const Poke &from)
Definition wib.pb.cc:5569

◆ operator=() [2/2]

Poke & wib::Poke::operator= ( Poke && from)
inlinenoexcept

Definition at line 3425 of file wib.pb.h.

3425 {
3426 if (this == &from) return *this;
3427 if (GetOwningArena() == from.GetOwningArena()
3428 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3429 && GetOwningArena() != nullptr
3430 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3431 ) {
3432 InternalSwap(&from);
3433 } else {
3434 CopyFrom(from);
3435 }
3436 return *this;
3437 }
void InternalSwap(Poke *other)
Definition wib.pb.cc:5580

◆ set_addr()

void wib::Poke::set_addr ( ::uint64_t value)
inline

Definition at line 9269 of file wib.pb.h.

9269 {
9271 // @@protoc_insertion_point(field_set:wib.Poke.addr)
9272}
void _internal_set_addr(::uint64_t value)
Definition wib.pb.h:9277

◆ set_value()

void wib::Poke::set_value ( ::uint32_t value)
inline

Definition at line 9291 of file wib.pb.h.

9291 {
9293 // @@protoc_insertion_point(field_set:wib.Poke.value)
9294}
void _internal_set_value(::uint32_t value)
Definition wib.pb.h:9299

◆ SetCachedSize()

void wib::Poke::SetCachedSize ( int size) const
finalprivate

Definition at line 5433 of file wib.pb.cc.

5433 {
5434 _impl_._cached_size_.Set(size);
5435}

◆ SharedCtor()

void wib::Poke::SharedCtor ( ::google::protobuf::Arena * arena)
inlineprivate

Definition at line 5417 of file wib.pb.cc.

5417 {
5418 (void)arena;
5419 new (&_impl_) Impl_{
5420 decltype(_impl_.addr_){::uint64_t{0u}},
5421 decltype(_impl_.value_){0u},
5422 /*decltype(_impl_._cached_size_)*/ {},
5423 };
5424}

◆ SharedDtor()

void wib::Poke::SharedDtor ( )
inlineprivate

Definition at line 5430 of file wib.pb.cc.

5430 {
5431 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
5432}

◆ Swap()

void wib::Poke::Swap ( Poke * other)
inline

Definition at line 3468 of file wib.pb.h.

3468 {
3469 if (other == this) return;
3470 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3471 if (GetOwningArena() != nullptr &&
3472 GetOwningArena() == other->GetOwningArena()) {
3473 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3474 if (GetOwningArena() == other->GetOwningArena()) {
3475 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3476 InternalSwap(other);
3477 } else {
3478 ::google::protobuf::internal::GenericSwap(this, other);
3479 }
3480 }

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & wib::Poke::unknown_fields ( ) const
inline

Definition at line 3439 of file wib.pb.h.

3439 {
3440 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
3441 }

◆ UnsafeArenaSwap()

void wib::Poke::UnsafeArenaSwap ( Poke * other)
inline

Definition at line 3481 of file wib.pb.h.

3481 {
3482 if (other == this) return;
3483 ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
3484 InternalSwap(other);
3485 }

◆ value()

uint32_t wib::Poke::value ( ) const
inline

Definition at line 9287 of file wib.pb.h.

9287 {
9288 // @@protoc_insertion_point(field_get:wib.Poke.value)
9289 return _internal_value();
9290}

Friends And Related Symbol Documentation

◆ ::google::protobuf::Arena::InternalHelper

template<typename T >
friend class ::google::protobuf::Arena::InternalHelper
friend

Definition at line 3564 of file wib.pb.h.

◆ ::google::protobuf::internal::AnyMetadata

friend class ::google::protobuf::internal::AnyMetadata
friend

Definition at line 3517 of file wib.pb.h.

◆ ::google::protobuf::internal::TcParser

friend class ::google::protobuf::internal::TcParser
friend

Definition at line 3562 of file wib.pb.h.

◆ ::TableStruct_wib_2eproto

friend struct ::TableStruct_wib_2eproto
friend

Definition at line 3574 of file wib.pb.h.

◆ swap

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

Definition at line 3465 of file wib.pb.h.

3465 {
3466 a.Swap(&b);
3467 }

Member Data Documentation

◆ [union]

union { ... } wib::Poke

◆ _class_data_

const::google::protobuf::Message::ClassData wib::Poke::_class_data_
static
Initial value:
= {
::google::protobuf::Message::CopyWithSourceCheck,
}

Definition at line 3525 of file wib.pb.h.

◆ _impl_

Impl_ wib::Poke::_impl_

Definition at line 3573 of file wib.pb.h.

◆ _table_

PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::_pbi::TcParseTable< 1, 2, 0, 0, 2 > wib::Poke::_table_
staticprivate

Definition at line 3563 of file wib.pb.h.

◆ kIndexInFileMessages

int wib::Poke::kIndexInFileMessages
staticconstexpr
Initial value:
=
16

Definition at line 3462 of file wib.pb.h.


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