DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq::cibmodules::opmon::CIBModuleInfo Class Referencefinal

#include <CIBModule.pb.h>

Inheritance diagram for dunedaq::cibmodules::opmon::CIBModuleInfo:
[legend]
Collaboration diagram for dunedaq::cibmodules::opmon::CIBModuleInfo:
[legend]

Classes

class  _Internal
 
struct  Impl_
 

Public Types

enum  : int {
  kNumControlMessagesSentFieldNumber = 1 , kNumControlResponsesReceivedFieldNumber = 2 , kHardwareRunningFieldNumber = 5 , kHardwareConfiguredFieldNumber = 6 ,
  kNumTotalTriggersReceivedFieldNumber = 10 , kNumRunTriggersReceivedFieldNumber = 12 , kSentHsiEventsCounterFieldNumber = 15 , kAverageBufferOccupancyFieldNumber = 21 ,
  kFailedToSendHsiEventsCounterFieldNumber = 16
}
 

Public Member Functions

 CIBModuleInfo ()
 
 ~CIBModuleInfo () override
 
template<typename = void>
PROTOBUF_CONSTEXPR CIBModuleInfo (::google::protobuf::internal::ConstantInitialized)
 
 CIBModuleInfo (const CIBModuleInfo &from)
 
 CIBModuleInfo (CIBModuleInfo &&from) noexcept
 
CIBModuleInfooperator= (const CIBModuleInfo &from)
 
CIBModuleInfooperator= (CIBModuleInfo &&from) noexcept
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (CIBModuleInfo *other)
 
void UnsafeArenaSwap (CIBModuleInfo *other)
 
CIBModuleInfoNew (::google::protobuf::Arena *arena=nullptr) const final
 
void CopyFrom (const CIBModuleInfo &from)
 
void MergeFrom (const CIBModuleInfo &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_num_control_messages_sent ()
 
::uint32_t num_control_messages_sent () const
 
void set_num_control_messages_sent (::uint32_t value)
 
void clear_num_control_responses_received ()
 
::uint32_t num_control_responses_received () const
 
void set_num_control_responses_received (::uint32_t value)
 
void clear_hardware_running ()
 
bool hardware_running () const
 
void set_hardware_running (bool value)
 
void clear_hardware_configured ()
 
bool hardware_configured () const
 
void set_hardware_configured (bool value)
 
void clear_num_total_triggers_received ()
 
::uint32_t num_total_triggers_received () const
 
void set_num_total_triggers_received (::uint32_t value)
 
void clear_num_run_triggers_received ()
 
::uint32_t num_run_triggers_received () const
 
void set_num_run_triggers_received (::uint32_t value)
 
void clear_sent_hsi_events_counter ()
 
::uint32_t sent_hsi_events_counter () const
 
void set_sent_hsi_events_counter (::uint32_t value)
 
void clear_average_buffer_occupancy ()
 
double average_buffer_occupancy () const
 
void set_average_buffer_occupancy (double value)
 
void clear_failed_to_send_hsi_events_counter ()
 
::uint32_t failed_to_send_hsi_events_counter () const
 
void set_failed_to_send_hsi_events_counter (::uint32_t value)
 
template<typename >
PROTOBUF_CONSTEXPR CIBModuleInfo (::_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 CIBModuleInfodefault_instance ()
 
static const CIBModuleInfointernal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const ClassData _class_data_
 

Protected Member Functions

 CIBModuleInfo (::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 (CIBModuleInfo *other)
 
::uint32_t _internal_num_control_messages_sent () const
 
void _internal_set_num_control_messages_sent (::uint32_t value)
 
::uint32_t _internal_num_control_responses_received () const
 
void _internal_set_num_control_responses_received (::uint32_t value)
 
bool _internal_hardware_running () const
 
void _internal_set_hardware_running (bool value)
 
bool _internal_hardware_configured () const
 
void _internal_set_hardware_configured (bool value)
 
::uint32_t _internal_num_total_triggers_received () const
 
void _internal_set_num_total_triggers_received (::uint32_t value)
 
::uint32_t _internal_num_run_triggers_received () const
 
void _internal_set_num_run_triggers_received (::uint32_t value)
 
::uint32_t _internal_sent_hsi_events_counter () const
 
void _internal_set_sent_hsi_events_counter (::uint32_t value)
 
double _internal_average_buffer_occupancy () const
 
void _internal_set_average_buffer_occupancy (double value)
 
::uint32_t _internal_failed_to_send_hsi_events_counter () const
 
void _internal_set_failed_to_send_hsi_events_counter (::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< 4, 9, 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_cibmodules_2fopmon_2fCIBModule_2eproto
 
void swap (CIBModuleInfo &a, CIBModuleInfo &b)
 

Detailed Description

Definition at line 79 of file CIBModule.pb.h.

Member Typedef Documentation

◆ DestructorSkippable_

◆ InternalArenaConstructable_

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kNumControlMessagesSentFieldNumber 
kNumControlResponsesReceivedFieldNumber 
kHardwareRunningFieldNumber 
kHardwareConfiguredFieldNumber 
kNumTotalTriggersReceivedFieldNumber 
kNumRunTriggersReceivedFieldNumber 
kSentHsiEventsCounterFieldNumber 
kAverageBufferOccupancyFieldNumber 
kFailedToSendHsiEventsCounterFieldNumber 

Definition at line 206 of file CIBModule.pb.h.

206 : int {
216 };

Constructor & Destructor Documentation

◆ CIBModuleInfo() [1/6]

dunedaq::cibmodules::opmon::CIBModuleInfo::CIBModuleInfo ( )
inline

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

◆ ~CIBModuleInfo()

dunedaq::cibmodules::opmon::CIBModuleInfo::~CIBModuleInfo ( )
override

Definition at line 170 of file CIBModule.pb.cc.

170 {
171 // @@protoc_insertion_point(destructor:dunedaq.cibmodules.opmon.CIBModuleInfo)
172 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
173 SharedDtor();
174}

◆ CIBModuleInfo() [2/6]

template<typename = void>
PROTOBUF_CONSTEXPR dunedaq::cibmodules::opmon::CIBModuleInfo::CIBModuleInfo ( ::google::protobuf::internal::ConstantInitialized )
explicit

◆ CIBModuleInfo() [3/6]

dunedaq::cibmodules::opmon::CIBModuleInfo::CIBModuleInfo ( const CIBModuleInfo & from)

Definition at line 149 of file CIBModule.pb.cc.

150 : ::google::protobuf::Message(), _impl_(from._impl_) {
151 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
152 from._internal_metadata_);
153 // @@protoc_insertion_point(copy_constructor:dunedaq.cibmodules.opmon.CIBModuleInfo)
154}

◆ CIBModuleInfo() [4/6]

dunedaq::cibmodules::opmon::CIBModuleInfo::CIBModuleInfo ( CIBModuleInfo && from)
inlinenoexcept

Definition at line 88 of file CIBModule.pb.h.

89 : CIBModuleInfo() {
90 *this = ::std::move(from);
91 }

◆ CIBModuleInfo() [5/6]

dunedaq::cibmodules::opmon::CIBModuleInfo::CIBModuleInfo ( ::google::protobuf::Arena * arena)
explicitprotected

Definition at line 144 of file CIBModule.pb.cc.

145 : ::google::protobuf::Message(arena) {
146 SharedCtor(arena);
147 // @@protoc_insertion_point(arena_constructor:dunedaq.cibmodules.opmon.CIBModuleInfo)
148}
void SharedCtor(::google::protobuf::Arena *arena)

◆ CIBModuleInfo() [6/6]

template<typename >
PROTOBUF_CONSTEXPR dunedaq::cibmodules::opmon::CIBModuleInfo::CIBModuleInfo ( ::_pbi::ConstantInitialized )

Definition at line 27 of file CIBModule.pb.cc.

28 : _impl_{
29 /*decltype(_impl_.num_control_messages_sent_)*/ 0u,
30 /*decltype(_impl_.num_control_responses_received_)*/ 0u,
31 /*decltype(_impl_.hardware_running_)*/ false,
32 /*decltype(_impl_.hardware_configured_)*/ false,
33 /*decltype(_impl_.num_total_triggers_received_)*/ 0u,
34 /*decltype(_impl_.num_run_triggers_received_)*/ 0u,
35 /*decltype(_impl_.sent_hsi_events_counter_)*/ 0u,
36 /*decltype(_impl_.average_buffer_occupancy_)*/ 0,
37 /*decltype(_impl_.failed_to_send_hsi_events_counter_)*/ 0u,
38 /*decltype(_impl_._cached_size_)*/ {},
39 } {}

Member Function Documentation

◆ _internal_average_buffer_occupancy()

double dunedaq::cibmodules::opmon::CIBModuleInfo::_internal_average_buffer_occupancy ( ) const
inlineprivate

Definition at line 537 of file CIBModule.pb.h.

537 {
538 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
540}

◆ _internal_failed_to_send_hsi_events_counter()

uint32_t dunedaq::cibmodules::opmon::CIBModuleInfo::_internal_failed_to_send_hsi_events_counter ( ) const
inlineprivate

Definition at line 515 of file CIBModule.pb.h.

515 {
516 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
518}

◆ _internal_hardware_configured()

bool dunedaq::cibmodules::opmon::CIBModuleInfo::_internal_hardware_configured ( ) const
inlineprivate

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

427 {
428 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
430}

◆ _internal_hardware_running()

bool dunedaq::cibmodules::opmon::CIBModuleInfo::_internal_hardware_running ( ) const
inlineprivate

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

405 {
406 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
408}

◆ _internal_num_control_messages_sent()

uint32_t dunedaq::cibmodules::opmon::CIBModuleInfo::_internal_num_control_messages_sent ( ) const
inlineprivate

Definition at line 361 of file CIBModule.pb.h.

361 {
362 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
364}

◆ _internal_num_control_responses_received()

uint32_t dunedaq::cibmodules::opmon::CIBModuleInfo::_internal_num_control_responses_received ( ) const
inlineprivate

Definition at line 383 of file CIBModule.pb.h.

383 {
384 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
386}

◆ _internal_num_run_triggers_received()

uint32_t dunedaq::cibmodules::opmon::CIBModuleInfo::_internal_num_run_triggers_received ( ) const
inlineprivate

Definition at line 471 of file CIBModule.pb.h.

471 {
472 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
474}

◆ _internal_num_total_triggers_received()

uint32_t dunedaq::cibmodules::opmon::CIBModuleInfo::_internal_num_total_triggers_received ( ) const
inlineprivate

Definition at line 449 of file CIBModule.pb.h.

449 {
450 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
452}

◆ _internal_sent_hsi_events_counter()

uint32_t dunedaq::cibmodules::opmon::CIBModuleInfo::_internal_sent_hsi_events_counter ( ) const
inlineprivate

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

493 {
494 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
496}

◆ _internal_set_average_buffer_occupancy()

void dunedaq::cibmodules::opmon::CIBModuleInfo::_internal_set_average_buffer_occupancy ( double value)
inlineprivate

Definition at line 541 of file CIBModule.pb.h.

541 {
542 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
543 ;
545}

◆ _internal_set_failed_to_send_hsi_events_counter()

void dunedaq::cibmodules::opmon::CIBModuleInfo::_internal_set_failed_to_send_hsi_events_counter ( ::uint32_t value)
inlineprivate

Definition at line 519 of file CIBModule.pb.h.

519 {
520 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
521 ;
523}

◆ _internal_set_hardware_configured()

void dunedaq::cibmodules::opmon::CIBModuleInfo::_internal_set_hardware_configured ( bool value)
inlineprivate

Definition at line 431 of file CIBModule.pb.h.

431 {
432 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
433 ;
435}

◆ _internal_set_hardware_running()

void dunedaq::cibmodules::opmon::CIBModuleInfo::_internal_set_hardware_running ( bool value)
inlineprivate

Definition at line 409 of file CIBModule.pb.h.

409 {
410 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
411 ;
413}

◆ _internal_set_num_control_messages_sent()

void dunedaq::cibmodules::opmon::CIBModuleInfo::_internal_set_num_control_messages_sent ( ::uint32_t value)
inlineprivate

Definition at line 365 of file CIBModule.pb.h.

365 {
366 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
367 ;
369}

◆ _internal_set_num_control_responses_received()

void dunedaq::cibmodules::opmon::CIBModuleInfo::_internal_set_num_control_responses_received ( ::uint32_t value)
inlineprivate

Definition at line 387 of file CIBModule.pb.h.

387 {
388 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
389 ;
391}

◆ _internal_set_num_run_triggers_received()

void dunedaq::cibmodules::opmon::CIBModuleInfo::_internal_set_num_run_triggers_received ( ::uint32_t value)
inlineprivate

Definition at line 475 of file CIBModule.pb.h.

475 {
476 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
477 ;
479}

◆ _internal_set_num_total_triggers_received()

void dunedaq::cibmodules::opmon::CIBModuleInfo::_internal_set_num_total_triggers_received ( ::uint32_t value)
inlineprivate

Definition at line 453 of file CIBModule.pb.h.

453 {
454 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
455 ;
457}

◆ _internal_set_sent_hsi_events_counter()

void dunedaq::cibmodules::opmon::CIBModuleInfo::_internal_set_sent_hsi_events_counter ( ::uint32_t value)
inlineprivate

Definition at line 497 of file CIBModule.pb.h.

497 {
498 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
499 ;
501}

◆ _InternalParse()

const char * dunedaq::cibmodules::opmon::CIBModuleInfo::_InternalParse ( const char * ptr,
::google::protobuf::internal::ParseContext * ctx )
final

Definition at line 194 of file CIBModule.pb.cc.

195 {
196 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
197 return ptr;
198}
static const ::google::protobuf::internal::TcParseTable< 4, 9, 0, 0, 2 > _table_

◆ _InternalSerialize()

uint8_t * dunedaq::cibmodules::opmon::CIBModuleInfo::_InternalSerialize ( ::uint8_t * target,
::google::protobuf::io::EpsCopyOutputStream * stream ) const
final

Definition at line 284 of file CIBModule.pb.cc.

286 {
287 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.cibmodules.opmon.CIBModuleInfo)
288 ::uint32_t cached_has_bits = 0;
289 (void)cached_has_bits;
290
291 // uint32 num_control_messages_sent = 1;
292 if (this->_internal_num_control_messages_sent() != 0) {
293 target = stream->EnsureSpace(target);
294 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
295 1, this->_internal_num_control_messages_sent(), target);
296 }
297
298 // uint32 num_control_responses_received = 2;
300 target = stream->EnsureSpace(target);
301 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
303 }
304
305 // bool hardware_running = 5;
306 if (this->_internal_hardware_running() != 0) {
307 target = stream->EnsureSpace(target);
308 target = ::_pbi::WireFormatLite::WriteBoolToArray(
309 5, this->_internal_hardware_running(), target);
310 }
311
312 // bool hardware_configured = 6;
313 if (this->_internal_hardware_configured() != 0) {
314 target = stream->EnsureSpace(target);
315 target = ::_pbi::WireFormatLite::WriteBoolToArray(
316 6, this->_internal_hardware_configured(), target);
317 }
318
319 // uint32 num_total_triggers_received = 10;
320 if (this->_internal_num_total_triggers_received() != 0) {
321 target = stream->EnsureSpace(target);
322 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
323 10, this->_internal_num_total_triggers_received(), target);
324 }
325
326 // uint32 num_run_triggers_received = 12;
327 if (this->_internal_num_run_triggers_received() != 0) {
328 target = stream->EnsureSpace(target);
329 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
330 12, this->_internal_num_run_triggers_received(), target);
331 }
332
333 // uint32 sent_hsi_events_counter = 15;
334 if (this->_internal_sent_hsi_events_counter() != 0) {
335 target = stream->EnsureSpace(target);
336 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
337 15, this->_internal_sent_hsi_events_counter(), target);
338 }
339
340 // uint32 failed_to_send_hsi_events_counter = 16;
342 target = stream->EnsureSpace(target);
343 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
345 }
346
347 // double average_buffer_occupancy = 21;
348 static_assert(sizeof(::uint64_t) == sizeof(double),
349 "Code assumes ::uint64_t and double are the same size.");
350 double tmp_average_buffer_occupancy = this->_internal_average_buffer_occupancy();
351 ::uint64_t raw_average_buffer_occupancy;
352 memcpy(&raw_average_buffer_occupancy, &tmp_average_buffer_occupancy, sizeof(tmp_average_buffer_occupancy));
353 if (raw_average_buffer_occupancy != 0) {
354 target = stream->EnsureSpace(target);
355 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
356 21, this->_internal_average_buffer_occupancy(), target);
357 }
358
359 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
360 target =
361 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
362 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
363 }
364 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.cibmodules.opmon.CIBModuleInfo)
365 return target;
366}
::uint32_t _internal_num_control_responses_received() const
::uint32_t _internal_num_total_triggers_received() const
::uint32_t _internal_num_run_triggers_received() const
::uint32_t _internal_num_control_messages_sent() const
::uint32_t _internal_sent_hsi_events_counter() const
::uint32_t _internal_failed_to_send_hsi_events_counter() const

◆ average_buffer_occupancy()

double dunedaq::cibmodules::opmon::CIBModuleInfo::average_buffer_occupancy ( ) const
inline

Definition at line 529 of file CIBModule.pb.h.

529 {
530 // @@protoc_insertion_point(field_get:dunedaq.cibmodules.opmon.CIBModuleInfo.average_buffer_occupancy)
532}

◆ ByteSizeLong()

size_t dunedaq::cibmodules::opmon::CIBModuleInfo::ByteSizeLong ( ) const
final

Definition at line 368 of file CIBModule.pb.cc.

368 {
369// @@protoc_insertion_point(message_byte_size_start:dunedaq.cibmodules.opmon.CIBModuleInfo)
370 ::size_t total_size = 0;
371
372 ::uint32_t cached_has_bits = 0;
373 // Prevent compiler warnings about cached_has_bits being unused
374 (void) cached_has_bits;
375
376 // uint32 num_control_messages_sent = 1;
377 if (this->_internal_num_control_messages_sent() != 0) {
378 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
380 }
381
382 // uint32 num_control_responses_received = 2;
384 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
386 }
387
388 // bool hardware_running = 5;
389 if (this->_internal_hardware_running() != 0) {
390 total_size += 2;
391 }
392
393 // bool hardware_configured = 6;
394 if (this->_internal_hardware_configured() != 0) {
395 total_size += 2;
396 }
397
398 // uint32 num_total_triggers_received = 10;
399 if (this->_internal_num_total_triggers_received() != 0) {
400 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
402 }
403
404 // uint32 num_run_triggers_received = 12;
405 if (this->_internal_num_run_triggers_received() != 0) {
406 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
408 }
409
410 // uint32 sent_hsi_events_counter = 15;
411 if (this->_internal_sent_hsi_events_counter() != 0) {
412 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
414 }
415
416 // double average_buffer_occupancy = 21;
417 static_assert(sizeof(::uint64_t) == sizeof(double),
418 "Code assumes ::uint64_t and double are the same size.");
419 double tmp_average_buffer_occupancy = this->_internal_average_buffer_occupancy();
420 ::uint64_t raw_average_buffer_occupancy;
421 memcpy(&raw_average_buffer_occupancy, &tmp_average_buffer_occupancy, sizeof(tmp_average_buffer_occupancy));
422 if (raw_average_buffer_occupancy != 0) {
423 total_size += 10;
424 }
425
426 // uint32 failed_to_send_hsi_events_counter = 16;
428 total_size += 2 + ::_pbi::WireFormatLite::UInt32Size(
430 }
431
432 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
433}
mutable::google::protobuf::internal::CachedSize _cached_size_

◆ Clear()

PROTOBUF_NOINLINE void dunedaq::cibmodules::opmon::CIBModuleInfo::Clear ( )
final

Definition at line 182 of file CIBModule.pb.cc.

182 {
183// @@protoc_insertion_point(message_clear_start:dunedaq.cibmodules.opmon.CIBModuleInfo)
184 ::uint32_t cached_has_bits = 0;
185 // Prevent compiler warnings about cached_has_bits being unused
186 (void) cached_has_bits;
187
188 ::memset(&_impl_.num_control_messages_sent_, 0, static_cast<::size_t>(
189 reinterpret_cast<char*>(&_impl_.failed_to_send_hsi_events_counter_) -
191 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
192}

◆ clear_average_buffer_occupancy()

void dunedaq::cibmodules::opmon::CIBModuleInfo::clear_average_buffer_occupancy ( )
inline

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

526 {
528}

◆ clear_failed_to_send_hsi_events_counter()

void dunedaq::cibmodules::opmon::CIBModuleInfo::clear_failed_to_send_hsi_events_counter ( )
inline

Definition at line 504 of file CIBModule.pb.h.

◆ clear_hardware_configured()

void dunedaq::cibmodules::opmon::CIBModuleInfo::clear_hardware_configured ( )
inline

Definition at line 416 of file CIBModule.pb.h.

416 {
418}

◆ clear_hardware_running()

void dunedaq::cibmodules::opmon::CIBModuleInfo::clear_hardware_running ( )
inline

Definition at line 394 of file CIBModule.pb.h.

394 {
396}

◆ clear_num_control_messages_sent()

void dunedaq::cibmodules::opmon::CIBModuleInfo::clear_num_control_messages_sent ( )
inline

Definition at line 350 of file CIBModule.pb.h.

350 {
352}

◆ clear_num_control_responses_received()

void dunedaq::cibmodules::opmon::CIBModuleInfo::clear_num_control_responses_received ( )
inline

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

◆ clear_num_run_triggers_received()

void dunedaq::cibmodules::opmon::CIBModuleInfo::clear_num_run_triggers_received ( )
inline

Definition at line 460 of file CIBModule.pb.h.

460 {
462}

◆ clear_num_total_triggers_received()

void dunedaq::cibmodules::opmon::CIBModuleInfo::clear_num_total_triggers_received ( )
inline

Definition at line 438 of file CIBModule.pb.h.

438 {
440}

◆ clear_sent_hsi_events_counter()

void dunedaq::cibmodules::opmon::CIBModuleInfo::clear_sent_hsi_events_counter ( )
inline

Definition at line 482 of file CIBModule.pb.h.

482 {
484}

◆ CopyFrom()

void dunedaq::cibmodules::opmon::CIBModuleInfo::CopyFrom ( const CIBModuleInfo & from)

Definition at line 485 of file CIBModule.pb.cc.

485 {
486// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.cibmodules.opmon.CIBModuleInfo)
487 if (&from == this) return;
488 Clear();
489 MergeFrom(from);
490}
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const CIBModuleInfo &from)

◆ default_instance()

static const CIBModuleInfo & dunedaq::cibmodules::opmon::CIBModuleInfo::default_instance ( )
inlinestatic

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

127 {
129 }
static const CIBModuleInfo * internal_default_instance()

◆ descriptor()

static const ::google::protobuf::Descriptor * dunedaq::cibmodules::opmon::CIBModuleInfo::descriptor ( )
inlinestatic

Definition at line 118 of file CIBModule.pb.h.

118 {
119 return GetDescriptor();
120 }
static const ::google::protobuf::Descriptor * GetDescriptor()

◆ failed_to_send_hsi_events_counter()

uint32_t dunedaq::cibmodules::opmon::CIBModuleInfo::failed_to_send_hsi_events_counter ( ) const
inline

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

507 {
508 // @@protoc_insertion_point(field_get:dunedaq.cibmodules.opmon.CIBModuleInfo.failed_to_send_hsi_events_counter)
510}

◆ FullMessageName()

::absl::string_view dunedaq::cibmodules::opmon::CIBModuleInfo::FullMessageName ( )
inlinestaticprivate

Definition at line 190 of file CIBModule.pb.h.

190 {
191 return "dunedaq.cibmodules.opmon.CIBModuleInfo";
192 }

◆ GetCachedSize()

int dunedaq::cibmodules::opmon::CIBModuleInfo::GetCachedSize ( ) const
inlinefinal

Definition at line 180 of file CIBModule.pb.h.

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

◆ GetClassData()

const::google::protobuf::Message::ClassData * dunedaq::cibmodules::opmon::CIBModuleInfo::GetClassData ( ) const
final

Definition at line 439 of file CIBModule.pb.cc.

439{ return &_class_data_; }

◆ GetDescriptor()

static const ::google::protobuf::Descriptor * dunedaq::cibmodules::opmon::CIBModuleInfo::GetDescriptor ( )
inlinestatic

Definition at line 121 of file CIBModule.pb.h.

121 {
122 return default_instance().GetMetadata().descriptor;
123 }
::google::protobuf::Metadata GetMetadata() const final
static const CIBModuleInfo & default_instance()

◆ GetMetadata()

google::protobuf::Metadata dunedaq::cibmodules::opmon::CIBModuleInfo::GetMetadata ( ) const
final

Definition at line 507 of file CIBModule.pb.cc.

507 {
508 return ::_pbi::AssignDescriptors(
511}
PROTOBUF_ATTRIBUTE_WEAKconst ::_pbi::DescriptorTable * descriptor_table_cibmodules_2fopmon_2fCIBModule_2eproto_getter()
::absl::once_flag descriptor_table_cibmodules_2fopmon_2fCIBModule_2eproto_once
::_pb::Metadata file_level_metadata_cibmodules_2fopmon_2fCIBModule_2eproto[1]

◆ GetReflection()

static const ::google::protobuf::Reflection * dunedaq::cibmodules::opmon::CIBModuleInfo::GetReflection ( )
inlinestatic

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

124 {
125 return default_instance().GetMetadata().reflection;
126 }

◆ hardware_configured()

bool dunedaq::cibmodules::opmon::CIBModuleInfo::hardware_configured ( ) const
inline

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

419 {
420 // @@protoc_insertion_point(field_get:dunedaq.cibmodules.opmon.CIBModuleInfo.hardware_configured)
422}

◆ hardware_running()

bool dunedaq::cibmodules::opmon::CIBModuleInfo::hardware_running ( ) const
inline

Definition at line 397 of file CIBModule.pb.h.

397 {
398 // @@protoc_insertion_point(field_get:dunedaq.cibmodules.opmon.CIBModuleInfo.hardware_running)
400}

◆ internal_default_instance()

static const CIBModuleInfo * dunedaq::cibmodules::opmon::CIBModuleInfo::internal_default_instance ( )
inlinestatic

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

130 {
131 return reinterpret_cast<const CIBModuleInfo*>(
133 }
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CIBModuleInfoDefaultTypeInternal _CIBModuleInfo_default_instance_

◆ InternalSwap()

void dunedaq::cibmodules::opmon::CIBModuleInfo::InternalSwap ( CIBModuleInfo * other)
private

Definition at line 496 of file CIBModule.pb.cc.

496 {
497 using std::swap;
498 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
499 ::google::protobuf::internal::memswap<
502 - PROTOBUF_FIELD_OFFSET(CIBModuleInfo, _impl_.num_control_messages_sent_)>(
503 reinterpret_cast<char*>(&_impl_.num_control_messages_sent_),
504 reinterpret_cast<char*>(&other->_impl_.num_control_messages_sent_));
505}

◆ IsInitialized()

PROTOBUF_NOINLINE bool dunedaq::cibmodules::opmon::CIBModuleInfo::IsInitialized ( ) const
final

Definition at line 492 of file CIBModule.pb.cc.

492 {
493 return true;
494}

◆ MergeFrom()

void dunedaq::cibmodules::opmon::CIBModuleInfo::MergeFrom ( const CIBModuleInfo & from)
inline

Definition at line 167 of file CIBModule.pb.h.

167 {
168 CIBModuleInfo::MergeImpl(*this, from);
169 }
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)

◆ MergeImpl()

void dunedaq::cibmodules::opmon::CIBModuleInfo::MergeImpl ( ::google::protobuf::Message & to_msg,
const ::google::protobuf::Message & from_msg )
staticprivate

Definition at line 442 of file CIBModule.pb.cc.

442 {
443 auto* const _this = static_cast<CIBModuleInfo*>(&to_msg);
444 auto& from = static_cast<const CIBModuleInfo&>(from_msg);
445 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.cibmodules.opmon.CIBModuleInfo)
446 ABSL_DCHECK_NE(&from, _this);
447 ::uint32_t cached_has_bits = 0;
448 (void) cached_has_bits;
449
450 if (from._internal_num_control_messages_sent() != 0) {
451 _this->_internal_set_num_control_messages_sent(from._internal_num_control_messages_sent());
452 }
453 if (from._internal_num_control_responses_received() != 0) {
454 _this->_internal_set_num_control_responses_received(from._internal_num_control_responses_received());
455 }
456 if (from._internal_hardware_running() != 0) {
457 _this->_internal_set_hardware_running(from._internal_hardware_running());
458 }
459 if (from._internal_hardware_configured() != 0) {
460 _this->_internal_set_hardware_configured(from._internal_hardware_configured());
461 }
462 if (from._internal_num_total_triggers_received() != 0) {
463 _this->_internal_set_num_total_triggers_received(from._internal_num_total_triggers_received());
464 }
465 if (from._internal_num_run_triggers_received() != 0) {
466 _this->_internal_set_num_run_triggers_received(from._internal_num_run_triggers_received());
467 }
468 if (from._internal_sent_hsi_events_counter() != 0) {
469 _this->_internal_set_sent_hsi_events_counter(from._internal_sent_hsi_events_counter());
470 }
471 static_assert(sizeof(::uint64_t) == sizeof(double),
472 "Code assumes ::uint64_t and double are the same size.");
473 double tmp_average_buffer_occupancy = from._internal_average_buffer_occupancy();
474 ::uint64_t raw_average_buffer_occupancy;
475 memcpy(&raw_average_buffer_occupancy, &tmp_average_buffer_occupancy, sizeof(tmp_average_buffer_occupancy));
476 if (raw_average_buffer_occupancy != 0) {
477 _this->_internal_set_average_buffer_occupancy(from._internal_average_buffer_occupancy());
478 }
479 if (from._internal_failed_to_send_hsi_events_counter() != 0) {
480 _this->_internal_set_failed_to_send_hsi_events_counter(from._internal_failed_to_send_hsi_events_counter());
481 }
482 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
483}

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet * dunedaq::cibmodules::opmon::CIBModuleInfo::mutable_unknown_fields ( )
inline

Definition at line 114 of file CIBModule.pb.h.

114 {
115 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
116 }

◆ New()

CIBModuleInfo * dunedaq::cibmodules::opmon::CIBModuleInfo::New ( ::google::protobuf::Arena * arena = nullptr) const
inlinefinal

Definition at line 161 of file CIBModule.pb.h.

161 {
162 return CreateMaybeMessage<CIBModuleInfo>(arena);
163 }

◆ num_control_messages_sent()

uint32_t dunedaq::cibmodules::opmon::CIBModuleInfo::num_control_messages_sent ( ) const
inline

Definition at line 353 of file CIBModule.pb.h.

353 {
354 // @@protoc_insertion_point(field_get:dunedaq.cibmodules.opmon.CIBModuleInfo.num_control_messages_sent)
356}

◆ num_control_responses_received()

uint32_t dunedaq::cibmodules::opmon::CIBModuleInfo::num_control_responses_received ( ) const
inline

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

375 {
376 // @@protoc_insertion_point(field_get:dunedaq.cibmodules.opmon.CIBModuleInfo.num_control_responses_received)
378}

◆ num_run_triggers_received()

uint32_t dunedaq::cibmodules::opmon::CIBModuleInfo::num_run_triggers_received ( ) const
inline

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

463 {
464 // @@protoc_insertion_point(field_get:dunedaq.cibmodules.opmon.CIBModuleInfo.num_run_triggers_received)
466}

◆ num_total_triggers_received()

uint32_t dunedaq::cibmodules::opmon::CIBModuleInfo::num_total_triggers_received ( ) const
inline

Definition at line 441 of file CIBModule.pb.h.

441 {
442 // @@protoc_insertion_point(field_get:dunedaq.cibmodules.opmon.CIBModuleInfo.num_total_triggers_received)
444}

◆ operator=() [1/2]

CIBModuleInfo & dunedaq::cibmodules::opmon::CIBModuleInfo::operator= ( CIBModuleInfo && from)
inlinenoexcept

Definition at line 97 of file CIBModule.pb.h.

97 {
98 if (this == &from) return *this;
99 if (GetOwningArena() == from.GetOwningArena()
100 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
101 && GetOwningArena() != nullptr
102 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
103 ) {
104 InternalSwap(&from);
105 } else {
106 CopyFrom(from);
107 }
108 return *this;
109 }
void CopyFrom(const CIBModuleInfo &from)
void InternalSwap(CIBModuleInfo *other)

◆ operator=() [2/2]

CIBModuleInfo & dunedaq::cibmodules::opmon::CIBModuleInfo::operator= ( const CIBModuleInfo & from)
inline

Definition at line 93 of file CIBModule.pb.h.

93 {
94 CopyFrom(from);
95 return *this;
96 }

◆ sent_hsi_events_counter()

uint32_t dunedaq::cibmodules::opmon::CIBModuleInfo::sent_hsi_events_counter ( ) const
inline

Definition at line 485 of file CIBModule.pb.h.

485 {
486 // @@protoc_insertion_point(field_get:dunedaq.cibmodules.opmon.CIBModuleInfo.sent_hsi_events_counter)
488}

◆ set_average_buffer_occupancy()

void dunedaq::cibmodules::opmon::CIBModuleInfo::set_average_buffer_occupancy ( double value)
inline

Definition at line 533 of file CIBModule.pb.h.

533 {
535 // @@protoc_insertion_point(field_set:dunedaq.cibmodules.opmon.CIBModuleInfo.average_buffer_occupancy)
536}
void _internal_set_average_buffer_occupancy(double value)

◆ set_failed_to_send_hsi_events_counter()

void dunedaq::cibmodules::opmon::CIBModuleInfo::set_failed_to_send_hsi_events_counter ( ::uint32_t value)
inline

Definition at line 511 of file CIBModule.pb.h.

511 {
513 // @@protoc_insertion_point(field_set:dunedaq.cibmodules.opmon.CIBModuleInfo.failed_to_send_hsi_events_counter)
514}
void _internal_set_failed_to_send_hsi_events_counter(::uint32_t value)

◆ set_hardware_configured()

void dunedaq::cibmodules::opmon::CIBModuleInfo::set_hardware_configured ( bool value)
inline

Definition at line 423 of file CIBModule.pb.h.

423 {
425 // @@protoc_insertion_point(field_set:dunedaq.cibmodules.opmon.CIBModuleInfo.hardware_configured)
426}

◆ set_hardware_running()

void dunedaq::cibmodules::opmon::CIBModuleInfo::set_hardware_running ( bool value)
inline

Definition at line 401 of file CIBModule.pb.h.

401 {
403 // @@protoc_insertion_point(field_set:dunedaq.cibmodules.opmon.CIBModuleInfo.hardware_running)
404}

◆ set_num_control_messages_sent()

void dunedaq::cibmodules::opmon::CIBModuleInfo::set_num_control_messages_sent ( ::uint32_t value)
inline

Definition at line 357 of file CIBModule.pb.h.

357 {
359 // @@protoc_insertion_point(field_set:dunedaq.cibmodules.opmon.CIBModuleInfo.num_control_messages_sent)
360}
void _internal_set_num_control_messages_sent(::uint32_t value)

◆ set_num_control_responses_received()

void dunedaq::cibmodules::opmon::CIBModuleInfo::set_num_control_responses_received ( ::uint32_t value)
inline

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

379 {
381 // @@protoc_insertion_point(field_set:dunedaq.cibmodules.opmon.CIBModuleInfo.num_control_responses_received)
382}
void _internal_set_num_control_responses_received(::uint32_t value)

◆ set_num_run_triggers_received()

void dunedaq::cibmodules::opmon::CIBModuleInfo::set_num_run_triggers_received ( ::uint32_t value)
inline

Definition at line 467 of file CIBModule.pb.h.

467 {
469 // @@protoc_insertion_point(field_set:dunedaq.cibmodules.opmon.CIBModuleInfo.num_run_triggers_received)
470}
void _internal_set_num_run_triggers_received(::uint32_t value)

◆ set_num_total_triggers_received()

void dunedaq::cibmodules::opmon::CIBModuleInfo::set_num_total_triggers_received ( ::uint32_t value)
inline

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

445 {
447 // @@protoc_insertion_point(field_set:dunedaq.cibmodules.opmon.CIBModuleInfo.num_total_triggers_received)
448}
void _internal_set_num_total_triggers_received(::uint32_t value)

◆ set_sent_hsi_events_counter()

void dunedaq::cibmodules::opmon::CIBModuleInfo::set_sent_hsi_events_counter ( ::uint32_t value)
inline

Definition at line 489 of file CIBModule.pb.h.

489 {
491 // @@protoc_insertion_point(field_set:dunedaq.cibmodules.opmon.CIBModuleInfo.sent_hsi_events_counter)
492}
void _internal_set_sent_hsi_events_counter(::uint32_t value)

◆ SetCachedSize()

void dunedaq::cibmodules::opmon::CIBModuleInfo::SetCachedSize ( int size) const
finalprivate

Definition at line 178 of file CIBModule.pb.cc.

178 {
180}
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk size

◆ SharedCtor()

void dunedaq::cibmodules::opmon::CIBModuleInfo::SharedCtor ( ::google::protobuf::Arena * arena)
inlineprivate

Definition at line 155 of file CIBModule.pb.cc.

155 {
156 (void)arena;
157 new (&_impl_) Impl_{
160 decltype(_impl_.hardware_running_){false},
161 decltype(_impl_.hardware_configured_){false},
164 decltype(_impl_.sent_hsi_events_counter_){0u},
167 /*decltype(_impl_._cached_size_)*/ {},
168 };
169}

◆ SharedDtor()

void dunedaq::cibmodules::opmon::CIBModuleInfo::SharedDtor ( )
inlineprivate

Definition at line 175 of file CIBModule.pb.cc.

175 {
176 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
177}

◆ Swap()

void dunedaq::cibmodules::opmon::CIBModuleInfo::Swap ( CIBModuleInfo * other)
inline

Definition at line 140 of file CIBModule.pb.h.

140 {
141 if (other == this) return;
142 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
143 if (GetOwningArena() != nullptr &&
144 GetOwningArena() == other->GetOwningArena()) {
145 #else // PROTOBUF_FORCE_COPY_IN_SWAP
146 if (GetOwningArena() == other->GetOwningArena()) {
147 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
148 InternalSwap(other);
149 } else {
150 ::google::protobuf::internal::GenericSwap(this, other);
151 }
152 }

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & dunedaq::cibmodules::opmon::CIBModuleInfo::unknown_fields ( ) const
inline

Definition at line 111 of file CIBModule.pb.h.

111 {
112 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
113 }

◆ UnsafeArenaSwap()

void dunedaq::cibmodules::opmon::CIBModuleInfo::UnsafeArenaSwap ( CIBModuleInfo * other)
inline

Definition at line 153 of file CIBModule.pb.h.

153 {
154 if (other == this) return;
155 ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
156 InternalSwap(other);
157 }

Friends And Related Symbol Documentation

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

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

Definition at line 313 of file CIBModule.pb.h.

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

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

Definition at line 189 of file CIBModule.pb.h.

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

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

Definition at line 311 of file CIBModule.pb.h.

◆ ::TableStruct_cibmodules_2fopmon_2fCIBModule_2eproto

Definition at line 330 of file CIBModule.pb.h.

◆ swap

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

Definition at line 137 of file CIBModule.pb.h.

137 {
138 a.Swap(&b);
139 }

Member Data Documentation

◆ [union]

◆ _class_data_

const::google::protobuf::Message::ClassData dunedaq::cibmodules::opmon::CIBModuleInfo::_class_data_
static
Initial value:
= {
::google::protobuf::Message::CopyWithSourceCheck,
}

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

◆ _impl_

Impl_ dunedaq::cibmodules::opmon::CIBModuleInfo::_impl_

Definition at line 329 of file CIBModule.pb.h.

◆ _table_

PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::_pbi::TcParseTable< 4, 9, 0, 0, 2 > dunedaq::cibmodules::opmon::CIBModuleInfo::_table_
staticprivate

Definition at line 312 of file CIBModule.pb.h.

◆ kIndexInFileMessages

int dunedaq::cibmodules::opmon::CIBModuleInfo::kIndexInFileMessages
staticconstexpr
Initial value:
=
0

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


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