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

#include <application.pb.h>

Inheritance diagram for dunedaq::appfwk::opmon::AppInfo:
[legend]
Collaboration diagram for dunedaq::appfwk::opmon::AppInfo:
[legend]

Classes

class  _Internal
 
struct  Impl_
 

Public Types

enum  : int { kStateFieldNumber = 1 , kHostFieldNumber = 2 , kBusyFieldNumber = 5 , kErrorFieldNumber = 6 }
 

Public Member Functions

 AppInfo ()
 
 ~AppInfo () override
 
template<typename = void>
PROTOBUF_CONSTEXPR AppInfo (::google::protobuf::internal::ConstantInitialized)
 
 AppInfo (const AppInfo &from)
 
 AppInfo (AppInfo &&from) noexcept
 
AppInfooperator= (const AppInfo &from)
 
AppInfooperator= (AppInfo &&from) noexcept
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (AppInfo *other)
 
void UnsafeArenaSwap (AppInfo *other)
 
AppInfoNew (::google::protobuf::Arena *arena=nullptr) const final
 
void CopyFrom (const AppInfo &from)
 
void MergeFrom (const AppInfo &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_state ()
 
const std::string & state () const
 
template<typename Arg_ = const std::string&, typename... Args_>
void set_state (Arg_ &&arg, Args_... args)
 
std::string * mutable_state ()
 
PROTOBUF_NODISCARD std::string * release_state ()
 
void set_allocated_state (std::string *ptr)
 
void clear_host ()
 
const std::string & host () const
 
template<typename Arg_ = const std::string&, typename... Args_>
void set_host (Arg_ &&arg, Args_... args)
 
std::string * mutable_host ()
 
PROTOBUF_NODISCARD std::string * release_host ()
 
void set_allocated_host (std::string *ptr)
 
void clear_busy ()
 
bool busy () const
 
void set_busy (bool value)
 
void clear_error ()
 
bool error () const
 
void set_error (bool value)
 
template<typename >
PROTOBUF_CONSTEXPR AppInfo (::_pbi::ConstantInitialized)
 
template<typename Arg_ , typename... Args_>
PROTOBUF_ALWAYS_INLINE void set_state (Arg_ &&arg, Args_... args)
 
template<typename Arg_ , typename... Args_>
PROTOBUF_ALWAYS_INLINE void set_host (Arg_ &&arg, Args_... args)
 

Static Public Member Functions

static const ::google::protobuf::Descriptor * descriptor ()
 
static const ::google::protobuf::Descriptor * GetDescriptor ()
 
static const ::google::protobuf::Reflection * GetReflection ()
 
static const AppInfodefault_instance ()
 
static const AppInfointernal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const ClassData _class_data_
 

Protected Member Functions

 AppInfo (::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 (AppInfo *other)
 
const std::string & _internal_state () const
 
PROTOBUF_ALWAYS_INLINE void _internal_set_state (const std::string &value)
 
std::string * _internal_mutable_state ()
 
const std::string & _internal_host () const
 
PROTOBUF_ALWAYS_INLINE void _internal_set_host (const std::string &value)
 
std::string * _internal_mutable_host ()
 
bool _internal_busy () const
 
void _internal_set_busy (bool value)
 
bool _internal_error () const
 
void _internal_set_error (bool 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< 3, 4, 0, 46, 2 > _table_
 

Friends

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

Detailed Description

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

Member Typedef Documentation

◆ DestructorSkippable_

◆ InternalArenaConstructable_

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kStateFieldNumber 
kHostFieldNumber 
kBusyFieldNumber 
kErrorFieldNumber 

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

Constructor & Destructor Documentation

◆ AppInfo() [1/6]

dunedaq::appfwk::opmon::AppInfo::AppInfo ( )
inline

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

◆ ~AppInfo()

dunedaq::appfwk::opmon::AppInfo::~AppInfo ( )
override

Definition at line 189 of file application.pb.cc.

189 {
190 // @@protoc_insertion_point(destructor:dunedaq.appfwk.opmon.AppInfo)
191 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
192 SharedDtor();
193}

◆ AppInfo() [2/6]

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

◆ AppInfo() [3/6]

dunedaq::appfwk::opmon::AppInfo::AppInfo ( const AppInfo & from)

Definition at line 139 of file application.pb.cc.

139 : ::google::protobuf::Message() {
140 AppInfo* const _this = this;
141 (void)_this;
142 new (&_impl_) Impl_{
143 decltype(_impl_.state_){},
144 decltype(_impl_.host_){},
145 decltype(_impl_.busy_){},
146 decltype(_impl_.error_){},
147 /*decltype(_impl_._cached_size_)*/ {},
148 };
149 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
150 from._internal_metadata_);
151 _impl_.state_.InitDefault();
152 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
153 _impl_.state_.Set("", GetArenaForAllocation());
154 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
155 if (!from._internal_state().empty()) {
156 _this->_impl_.state_.Set(from._internal_state(), _this->GetArenaForAllocation());
157 }
158 _impl_.host_.InitDefault();
159 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
160 _impl_.host_.Set("", GetArenaForAllocation());
161 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
162 if (!from._internal_host().empty()) {
163 _this->_impl_.host_.Set(from._internal_host(), _this->GetArenaForAllocation());
164 }
165 ::memcpy(&_impl_.busy_, &from._impl_.busy_,
166 static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.error_) -
167 reinterpret_cast<char*>(&_impl_.busy_)) + sizeof(_impl_.error_));
168
169 // @@protoc_insertion_point(copy_constructor:dunedaq.appfwk.opmon.AppInfo)
170}
::google::protobuf::internal::ArenaStringPtr state_
::google::protobuf::internal::ArenaStringPtr host_

◆ AppInfo() [4/6]

dunedaq::appfwk::opmon::AppInfo::AppInfo ( AppInfo && from)
inlinenoexcept

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

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

◆ AppInfo() [5/6]

dunedaq::appfwk::opmon::AppInfo::AppInfo ( ::google::protobuf::Arena * arena)
explicitprotected

Definition at line 134 of file application.pb.cc.

135 : ::google::protobuf::Message(arena) {
136 SharedCtor(arena);
137 // @@protoc_insertion_point(arena_constructor:dunedaq.appfwk.opmon.AppInfo)
138}
void SharedCtor(::google::protobuf::Arena *arena)

◆ AppInfo() [6/6]

template<typename >
PROTOBUF_CONSTEXPR dunedaq::appfwk::opmon::AppInfo::AppInfo ( ::_pbi::ConstantInitialized )

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

28 : _impl_{
29 /*decltype(_impl_.state_)*/ {
30 &::_pbi::fixed_address_empty_string,
31 ::_pbi::ConstantInitialized{},
32 },
33 /*decltype(_impl_.host_)*/ {
34 &::_pbi::fixed_address_empty_string,
35 ::_pbi::ConstantInitialized{},
36 },
37 /*decltype(_impl_.busy_)*/ false,
38 /*decltype(_impl_.error_)*/ false,
39 /*decltype(_impl_._cached_size_)*/ {},
40 } {}

Member Function Documentation

◆ _internal_busy()

bool dunedaq::appfwk::opmon::AppInfo::_internal_busy ( ) const
inlineprivate

Definition at line 415 of file application.pb.h.

415 {
416 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
417 return _impl_.busy_;
418}

◆ _internal_error()

bool dunedaq::appfwk::opmon::AppInfo::_internal_error ( ) const
inlineprivate

Definition at line 437 of file application.pb.h.

437 {
438 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
439 return _impl_.error_;
440}

◆ _internal_host()

const std::string & dunedaq::appfwk::opmon::AppInfo::_internal_host ( ) const
inlineprivate

Definition at line 373 of file application.pb.h.

373 {
374 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
375 return _impl_.host_.Get();
376}

◆ _internal_mutable_host()

std::string * dunedaq::appfwk::opmon::AppInfo::_internal_mutable_host ( )
inlineprivate

Definition at line 382 of file application.pb.h.

382 {
383 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
384 ;
385 return _impl_.host_.Mutable( GetArenaForAllocation());
386}

◆ _internal_mutable_state()

std::string * dunedaq::appfwk::opmon::AppInfo::_internal_mutable_state ( )
inlineprivate

Definition at line 331 of file application.pb.h.

331 {
332 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
333 ;
334 return _impl_.state_.Mutable( GetArenaForAllocation());
335}

◆ _internal_set_busy()

void dunedaq::appfwk::opmon::AppInfo::_internal_set_busy ( bool value)
inlineprivate

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

419 {
420 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
421 ;
422 _impl_.busy_ = value;
423}

◆ _internal_set_error()

void dunedaq::appfwk::opmon::AppInfo::_internal_set_error ( bool value)
inlineprivate

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

441 {
442 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
443 ;
444 _impl_.error_ = value;
445}

◆ _internal_set_host()

void dunedaq::appfwk::opmon::AppInfo::_internal_set_host ( const std::string & value)
inlineprivate

Definition at line 377 of file application.pb.h.

377 {
378 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
379 ;
380 _impl_.host_.Set(value, GetArenaForAllocation());
381}

◆ _internal_set_state()

void dunedaq::appfwk::opmon::AppInfo::_internal_set_state ( const std::string & value)
inlineprivate

Definition at line 326 of file application.pb.h.

326 {
327 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
328 ;
329 _impl_.state_.Set(value, GetArenaForAllocation());
330}

◆ _internal_state()

const std::string & dunedaq::appfwk::opmon::AppInfo::_internal_state ( ) const
inlineprivate

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

322 {
323 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
324 return _impl_.state_.Get();
325}

◆ _InternalParse()

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

Definition at line 217 of file application.pb.cc.

218 {
219 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
220 return ptr;
221}
static const ::google::protobuf::internal::TcParseTable< 3, 4, 0, 46, 2 > _table_

◆ _InternalSerialize()

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

Definition at line 280 of file application.pb.cc.

282 {
283 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.appfwk.opmon.AppInfo)
284 ::uint32_t cached_has_bits = 0;
285 (void)cached_has_bits;
286
287 // string state = 1;
288 if (!this->_internal_state().empty()) {
289 const std::string& _s = this->_internal_state();
290 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
291 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.appfwk.opmon.AppInfo.state");
292 target = stream->WriteStringMaybeAliased(1, _s, target);
293 }
294
295 // string host = 2;
296 if (!this->_internal_host().empty()) {
297 const std::string& _s = this->_internal_host();
298 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
299 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.appfwk.opmon.AppInfo.host");
300 target = stream->WriteStringMaybeAliased(2, _s, target);
301 }
302
303 // bool busy = 5;
304 if (this->_internal_busy() != 0) {
305 target = stream->EnsureSpace(target);
306 target = ::_pbi::WireFormatLite::WriteBoolToArray(
307 5, this->_internal_busy(), target);
308 }
309
310 // bool error = 6;
311 if (this->_internal_error() != 0) {
312 target = stream->EnsureSpace(target);
313 target = ::_pbi::WireFormatLite::WriteBoolToArray(
314 6, this->_internal_error(), target);
315 }
316
317 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
318 target =
319 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
320 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
321 }
322 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.appfwk.opmon.AppInfo)
323 return target;
324}
const std::string & _internal_host() const
const std::string & _internal_state() const

◆ busy()

bool dunedaq::appfwk::opmon::AppInfo::busy ( ) const
inline

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

407 {
408 // @@protoc_insertion_point(field_get:dunedaq.appfwk.opmon.AppInfo.busy)
409 return _internal_busy();
410}

◆ ByteSizeLong()

size_t dunedaq::appfwk::opmon::AppInfo::ByteSizeLong ( ) const
final

Definition at line 326 of file application.pb.cc.

326 {
327// @@protoc_insertion_point(message_byte_size_start:dunedaq.appfwk.opmon.AppInfo)
328 ::size_t total_size = 0;
329
330 ::uint32_t cached_has_bits = 0;
331 // Prevent compiler warnings about cached_has_bits being unused
332 (void) cached_has_bits;
333
334 // string state = 1;
335 if (!this->_internal_state().empty()) {
336 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
337 this->_internal_state());
338 }
339
340 // string host = 2;
341 if (!this->_internal_host().empty()) {
342 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
343 this->_internal_host());
344 }
345
346 // bool busy = 5;
347 if (this->_internal_busy() != 0) {
348 total_size += 2;
349 }
350
351 // bool error = 6;
352 if (this->_internal_error() != 0) {
353 total_size += 2;
354 }
355
356 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
357}
mutable::google::protobuf::internal::CachedSize _cached_size_

◆ Clear()

PROTOBUF_NOINLINE void dunedaq::appfwk::opmon::AppInfo::Clear ( )
final

Definition at line 203 of file application.pb.cc.

203 {
204// @@protoc_insertion_point(message_clear_start:dunedaq.appfwk.opmon.AppInfo)
205 ::uint32_t cached_has_bits = 0;
206 // Prevent compiler warnings about cached_has_bits being unused
207 (void) cached_has_bits;
208
209 _impl_.state_.ClearToEmpty();
210 _impl_.host_.ClearToEmpty();
211 ::memset(&_impl_.busy_, 0, static_cast<::size_t>(
212 reinterpret_cast<char*>(&_impl_.error_) -
213 reinterpret_cast<char*>(&_impl_.busy_)) + sizeof(_impl_.error_));
214 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
215}

◆ clear_busy()

void dunedaq::appfwk::opmon::AppInfo::clear_busy ( )
inline

Definition at line 404 of file application.pb.h.

404 {
405 _impl_.busy_ = false;
406}

◆ clear_error()

void dunedaq::appfwk::opmon::AppInfo::clear_error ( )
inline

Definition at line 426 of file application.pb.h.

426 {
427 _impl_.error_ = false;
428}

◆ clear_host()

void dunedaq::appfwk::opmon::AppInfo::clear_host ( )
inline

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

353 {
354 _impl_.host_.ClearToEmpty();
355}

◆ clear_state()

void dunedaq::appfwk::opmon::AppInfo::clear_state ( )
inline

Definition at line 302 of file application.pb.h.

302 {
303 _impl_.state_.ClearToEmpty();
304}

◆ CopyFrom()

void dunedaq::appfwk::opmon::AppInfo::CopyFrom ( const AppInfo & from)

Definition at line 389 of file application.pb.cc.

389 {
390// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.appfwk.opmon.AppInfo)
391 if (&from == this) return;
392 Clear();
393 MergeFrom(from);
394}
void MergeFrom(const AppInfo &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final

◆ default_instance()

static const AppInfo & dunedaq::appfwk::opmon::AppInfo::default_instance ( )
inlinestatic

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

127 {
129 }
static const AppInfo * internal_default_instance()

◆ descriptor()

static const ::google::protobuf::Descriptor * dunedaq::appfwk::opmon::AppInfo::descriptor ( )
inlinestatic

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

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

◆ error()

bool dunedaq::appfwk::opmon::AppInfo::error ( ) const
inline

Definition at line 429 of file application.pb.h.

429 {
430 // @@protoc_insertion_point(field_get:dunedaq.appfwk.opmon.AppInfo.error)
431 return _internal_error();
432}

◆ FullMessageName()

::absl::string_view dunedaq::appfwk::opmon::AppInfo::FullMessageName ( )
inlinestaticprivate

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

190 {
191 return "dunedaq.appfwk.opmon.AppInfo";
192 }

◆ GetCachedSize()

int dunedaq::appfwk::opmon::AppInfo::GetCachedSize ( ) const
inlinefinal

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

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

◆ GetClassData()

const::google::protobuf::Message::ClassData * dunedaq::appfwk::opmon::AppInfo::GetClassData ( ) const
final

Definition at line 363 of file application.pb.cc.

363{ return &_class_data_; }
static const ClassData _class_data_

◆ GetDescriptor()

static const ::google::protobuf::Descriptor * dunedaq::appfwk::opmon::AppInfo::GetDescriptor ( )
inlinestatic

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

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

◆ GetMetadata()

google::protobuf::Metadata dunedaq::appfwk::opmon::AppInfo::GetMetadata ( ) const
final

Definition at line 417 of file application.pb.cc.

417 {
418 return ::_pbi::AssignDescriptors(
421}
::_pb::Metadata file_level_metadata_appfwk_2fopmon_2fapplication_2eproto[1]
PROTOBUF_ATTRIBUTE_WEAKconst ::_pbi::DescriptorTable * descriptor_table_appfwk_2fopmon_2fapplication_2eproto_getter()
::absl::once_flag descriptor_table_appfwk_2fopmon_2fapplication_2eproto_once

◆ GetReflection()

static const ::google::protobuf::Reflection * dunedaq::appfwk::opmon::AppInfo::GetReflection ( )
inlinestatic

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

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

◆ host()

const std::string & dunedaq::appfwk::opmon::AppInfo::host ( ) const
inline

Definition at line 356 of file application.pb.h.

356 {
357 // @@protoc_insertion_point(field_get:dunedaq.appfwk.opmon.AppInfo.host)
358 return _internal_host();
359}

◆ internal_default_instance()

static const AppInfo * dunedaq::appfwk::opmon::AppInfo::internal_default_instance ( )
inlinestatic

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

130 {
131 return reinterpret_cast<const AppInfo*>(
133 }
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AppInfoDefaultTypeInternal _AppInfo_default_instance_

◆ InternalSwap()

void dunedaq::appfwk::opmon::AppInfo::InternalSwap ( AppInfo * other)
private

Definition at line 400 of file application.pb.cc.

400 {
401 using std::swap;
402 auto* lhs_arena = GetArenaForAllocation();
403 auto* rhs_arena = other->GetArenaForAllocation();
404 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
405 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.state_, lhs_arena,
406 &other->_impl_.state_, rhs_arena);
407 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.host_, lhs_arena,
408 &other->_impl_.host_, rhs_arena);
409 ::google::protobuf::internal::memswap<
410 PROTOBUF_FIELD_OFFSET(AppInfo, _impl_.error_)
411 + sizeof(AppInfo::_impl_.error_)
412 - PROTOBUF_FIELD_OFFSET(AppInfo, _impl_.busy_)>(
413 reinterpret_cast<char*>(&_impl_.busy_),
414 reinterpret_cast<char*>(&other->_impl_.busy_));
415}

◆ IsInitialized()

PROTOBUF_NOINLINE bool dunedaq::appfwk::opmon::AppInfo::IsInitialized ( ) const
final

Definition at line 396 of file application.pb.cc.

396 {
397 return true;
398}

◆ MergeFrom()

void dunedaq::appfwk::opmon::AppInfo::MergeFrom ( const AppInfo & from)
inline

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

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

◆ MergeImpl()

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

Definition at line 366 of file application.pb.cc.

366 {
367 auto* const _this = static_cast<AppInfo*>(&to_msg);
368 auto& from = static_cast<const AppInfo&>(from_msg);
369 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.appfwk.opmon.AppInfo)
370 ABSL_DCHECK_NE(&from, _this);
371 ::uint32_t cached_has_bits = 0;
372 (void) cached_has_bits;
373
374 if (!from._internal_state().empty()) {
375 _this->_internal_set_state(from._internal_state());
376 }
377 if (!from._internal_host().empty()) {
378 _this->_internal_set_host(from._internal_host());
379 }
380 if (from._internal_busy() != 0) {
381 _this->_internal_set_busy(from._internal_busy());
382 }
383 if (from._internal_error() != 0) {
384 _this->_internal_set_error(from._internal_error());
385 }
386 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
387}

◆ mutable_host()

std::string * dunedaq::appfwk::opmon::AppInfo::mutable_host ( )
inline

Definition at line 368 of file application.pb.h.

368 {
369 std::string* _s = _internal_mutable_host();
370 // @@protoc_insertion_point(field_mutable:dunedaq.appfwk.opmon.AppInfo.host)
371 return _s;
372}

◆ mutable_state()

std::string * dunedaq::appfwk::opmon::AppInfo::mutable_state ( )
inline

Definition at line 317 of file application.pb.h.

317 {
318 std::string* _s = _internal_mutable_state();
319 // @@protoc_insertion_point(field_mutable:dunedaq.appfwk.opmon.AppInfo.state)
320 return _s;
321}

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet * dunedaq::appfwk::opmon::AppInfo::mutable_unknown_fields ( )
inline

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

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

◆ New()

AppInfo * dunedaq::appfwk::opmon::AppInfo::New ( ::google::protobuf::Arena * arena = nullptr) const
inlinefinal

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

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

◆ operator=() [1/2]

AppInfo & dunedaq::appfwk::opmon::AppInfo::operator= ( AppInfo && from)
inlinenoexcept

Definition at line 97 of file application.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 InternalSwap(AppInfo *other)
void CopyFrom(const AppInfo &from)

◆ operator=() [2/2]

AppInfo & dunedaq::appfwk::opmon::AppInfo::operator= ( const AppInfo & from)
inline

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

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

◆ release_host()

std::string * dunedaq::appfwk::opmon::AppInfo::release_host ( )
inline

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

387 {
388 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
389 // @@protoc_insertion_point(field_release:dunedaq.appfwk.opmon.AppInfo.host)
390 return _impl_.host_.Release();
391}

◆ release_state()

std::string * dunedaq::appfwk::opmon::AppInfo::release_state ( )
inline

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

336 {
337 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
338 // @@protoc_insertion_point(field_release:dunedaq.appfwk.opmon.AppInfo.state)
339 return _impl_.state_.Release();
340}

◆ set_allocated_host()

void dunedaq::appfwk::opmon::AppInfo::set_allocated_host ( std::string * ptr)
inline

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

392 {
393 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
394 _impl_.host_.SetAllocated(value, GetArenaForAllocation());
395 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
396 if (_impl_.host_.IsDefault()) {
397 _impl_.host_.Set("", GetArenaForAllocation());
398 }
399 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
400 // @@protoc_insertion_point(field_set_allocated:dunedaq.appfwk.opmon.AppInfo.host)
401}

◆ set_allocated_state()

void dunedaq::appfwk::opmon::AppInfo::set_allocated_state ( std::string * ptr)
inline

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

341 {
342 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
343 _impl_.state_.SetAllocated(value, GetArenaForAllocation());
344 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
345 if (_impl_.state_.IsDefault()) {
346 _impl_.state_.Set("", GetArenaForAllocation());
347 }
348 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
349 // @@protoc_insertion_point(field_set_allocated:dunedaq.appfwk.opmon.AppInfo.state)
350}

◆ set_busy()

void dunedaq::appfwk::opmon::AppInfo::set_busy ( bool value)
inline

Definition at line 411 of file application.pb.h.

411 {
412 _internal_set_busy(value);
413 // @@protoc_insertion_point(field_set:dunedaq.appfwk.opmon.AppInfo.busy)
414}

◆ set_error()

void dunedaq::appfwk::opmon::AppInfo::set_error ( bool value)
inline

Definition at line 433 of file application.pb.h.

433 {
434 _internal_set_error(value);
435 // @@protoc_insertion_point(field_set:dunedaq.appfwk.opmon.AppInfo.error)
436}

◆ set_host() [1/2]

template<typename Arg_ = const std::string&, typename... Args_>
void dunedaq::appfwk::opmon::AppInfo::set_host ( Arg_ && arg,
Args_... args )

◆ set_host() [2/2]

template<typename Arg_ , typename... Args_>
PROTOBUF_ALWAYS_INLINE void dunedaq::appfwk::opmon::AppInfo::set_host ( Arg_ && arg,
Args_... args )
inline

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

362 {
363 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
364 ;
365 _impl_.host_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
366 // @@protoc_insertion_point(field_set:dunedaq.appfwk.opmon.AppInfo.host)
367}

◆ set_state() [1/2]

template<typename Arg_ = const std::string&, typename... Args_>
void dunedaq::appfwk::opmon::AppInfo::set_state ( Arg_ && arg,
Args_... args )

◆ set_state() [2/2]

template<typename Arg_ , typename... Args_>
PROTOBUF_ALWAYS_INLINE void dunedaq::appfwk::opmon::AppInfo::set_state ( Arg_ && arg,
Args_... args )
inline

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

311 {
312 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
313 ;
314 _impl_.state_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
315 // @@protoc_insertion_point(field_set:dunedaq.appfwk.opmon.AppInfo.state)
316}

◆ SetCachedSize()

void dunedaq::appfwk::opmon::AppInfo::SetCachedSize ( int size) const
finalprivate

Definition at line 199 of file application.pb.cc.

199 {
201}
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk size

◆ SharedCtor()

void dunedaq::appfwk::opmon::AppInfo::SharedCtor ( ::google::protobuf::Arena * arena)
inlineprivate

Definition at line 171 of file application.pb.cc.

171 {
172 (void)arena;
173 new (&_impl_) Impl_{
174 decltype(_impl_.state_){},
175 decltype(_impl_.host_){},
176 decltype(_impl_.busy_){false},
177 decltype(_impl_.error_){false},
178 /*decltype(_impl_._cached_size_)*/ {},
179 };
180 _impl_.state_.InitDefault();
181 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
182 _impl_.state_.Set("", GetArenaForAllocation());
183 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
184 _impl_.host_.InitDefault();
185 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
186 _impl_.host_.Set("", GetArenaForAllocation());
187 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
188}

◆ SharedDtor()

void dunedaq::appfwk::opmon::AppInfo::SharedDtor ( )
inlineprivate

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

194 {
195 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
196 _impl_.state_.Destroy();
197 _impl_.host_.Destroy();
198}

◆ state()

const std::string & dunedaq::appfwk::opmon::AppInfo::state ( ) const
inline

Definition at line 305 of file application.pb.h.

305 {
306 // @@protoc_insertion_point(field_get:dunedaq.appfwk.opmon.AppInfo.state)
307 return _internal_state();
308}

◆ Swap()

void dunedaq::appfwk::opmon::AppInfo::Swap ( AppInfo * other)
inline

Definition at line 140 of file application.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::appfwk::opmon::AppInfo::unknown_fields ( ) const
inline

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

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

◆ UnsafeArenaSwap()

void dunedaq::appfwk::opmon::AppInfo::UnsafeArenaSwap ( AppInfo * other)
inline

Definition at line 153 of file application.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 270 of file application.pb.h.

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

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

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

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

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

Definition at line 268 of file application.pb.h.

◆ ::TableStruct_appfwk_2fopmon_2fapplication_2eproto

Definition at line 282 of file application.pb.h.

◆ swap

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

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

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

Member Data Documentation

◆ [union]

◆ _class_data_

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

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

◆ _impl_

Impl_ dunedaq::appfwk::opmon::AppInfo::_impl_

Definition at line 281 of file application.pb.h.

◆ _table_

PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::_pbi::TcParseTable< 3, 4, 0, 46, 2 > dunedaq::appfwk::opmon::AppInfo::_table_
staticprivate

Definition at line 269 of file application.pb.h.

◆ kIndexInFileMessages

int dunedaq::appfwk::opmon::AppInfo::kIndexInFileMessages
staticconstexpr
Initial value:
=
0

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


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