4 #ifndef PROTOBUF_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto__INCLUDED 5 #define PROTOBUF_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 11 #if GOOGLE_PROTOBUF_VERSION < 2006000 12 #error This file was generated by a newer version of protoc which is 13 #error incompatible with your Protocol Buffer headers. Please update 16 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION 17 #error This file was generated by an older version of protoc which is 18 #error incompatible with your Protocol Buffer headers. Please 19 #error regenerate this file with a newer version of protoc. 22 #include <google/protobuf/generated_message_util.h> 23 #include <google/protobuf/message.h> 24 #include <google/protobuf/repeated_field.h> 25 #include <google/protobuf/extension_set.h> 26 #include <google/protobuf/generated_enum_reflection.h> 27 #include <google/protobuf/unknown_field_set.h> 28 #include "goby/common/protobuf/option_extensions.pb.h" 29 #include "goby/common/protobuf/app_base_config.pb.h" 30 #include <boost/units/quantity.hpp> 31 #include <boost/units/absolute.hpp> 32 #include <boost/units/dimensionless_type.hpp> 33 #include <boost/units/make_scaled_unit.hpp> 41 void protobuf_AddDesc_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto();
42 void protobuf_AssignDesc_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto();
43 void protobuf_ShutdownFile_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto();
45 class MOOSGatewayConfig;
46 class MOOSGatewayConfig_ProtobufMOOSBridgePair;
48 enum MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction {
49 MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_PB_TO_MOOS = 1,
50 MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_MOOS_TO_PB = 2
52 bool MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_IsValid(
int value);
53 const MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Direction_MIN = MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_PB_TO_MOOS;
54 const MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Direction_MAX = MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_MOOS_TO_PB;
55 const int MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Direction_ARRAYSIZE = MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Direction_MAX + 1;
57 const ::google::protobuf::EnumDescriptor* MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_descriptor();
58 inline const ::std::string& MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Name(MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction value) {
59 return ::google::protobuf::internal::NameOfEnum(
60 MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_descriptor(), value);
62 inline bool MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Parse(
63 const ::std::string& name, MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction* value) {
64 return ::google::protobuf::internal::ParseNamedEnum<MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction>(
65 MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_descriptor(), name, value);
81 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
82 return _unknown_fields_;
85 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
86 return &_unknown_fields_;
89 static const ::google::protobuf::Descriptor* descriptor();
97 void CopyFrom(const ::google::protobuf::Message& from);
98 void MergeFrom(const ::google::protobuf::Message& from);
102 bool IsInitialized()
const;
104 int ByteSize()
const;
105 bool MergePartialFromCodedStream(
106 ::google::protobuf::io::CodedInputStream* input);
107 void SerializeWithCachedSizes(
108 ::google::protobuf::io::CodedOutputStream* output)
const;
109 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
110 int GetCachedSize()
const {
return _cached_size_; }
114 void SetCachedSize(
int size)
const;
116 ::google::protobuf::Metadata GetMetadata()
const;
120 typedef MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction Direction;
121 static const Direction PB_TO_MOOS = MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_PB_TO_MOOS;
122 static const Direction MOOS_TO_PB = MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_MOOS_TO_PB;
123 static inline bool Direction_IsValid(
int value) {
124 return MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_IsValid(value);
126 static const Direction Direction_MIN =
127 MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Direction_MIN;
128 static const Direction Direction_MAX =
129 MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Direction_MAX;
130 static const int Direction_ARRAYSIZE =
131 MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Direction_ARRAYSIZE;
132 static inline const ::google::protobuf::EnumDescriptor*
133 Direction_descriptor() {
134 return MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_descriptor();
136 static inline const ::std::string& Direction_Name(Direction value) {
137 return MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Name(value);
139 static inline bool Direction_Parse(const ::std::string& name,
141 return MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Parse(name, value);
147 inline bool has_pb_group()
const;
148 inline void clear_pb_group();
149 static const int kPbGroupFieldNumber = 1;
150 inline const ::std::string& pb_group()
const;
151 inline void set_pb_group(const ::std::string& value);
152 inline void set_pb_group(
const char* value);
153 inline void set_pb_group(
const char* value,
size_t size);
154 inline ::std::string* mutable_pb_group();
155 inline ::std::string* release_pb_group();
156 inline void set_allocated_pb_group(::std::string* pb_group);
159 inline bool has_moos_var()
const;
160 inline void clear_moos_var();
161 static const int kMoosVarFieldNumber = 2;
162 inline const ::std::string& moos_var()
const;
163 inline void set_moos_var(const ::std::string& value);
164 inline void set_moos_var(
const char* value);
165 inline void set_moos_var(
const char* value,
size_t size);
166 inline ::std::string* mutable_moos_var();
167 inline ::std::string* release_moos_var();
168 inline void set_allocated_moos_var(::std::string* moos_var);
171 inline bool has_direction()
const;
172 inline void clear_direction();
173 static const int kDirectionFieldNumber = 3;
174 inline ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction direction()
const;
175 inline void set_direction(::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction value);
179 inline void set_has_pb_group();
180 inline void clear_has_pb_group();
181 inline void set_has_moos_var();
182 inline void clear_has_moos_var();
183 inline void set_has_direction();
184 inline void clear_has_direction();
186 ::google::protobuf::UnknownFieldSet _unknown_fields_;
188 ::google::protobuf::uint32 _has_bits_[1];
189 mutable int _cached_size_;
190 ::std::string* pb_group_;
191 ::std::string* moos_var_;
193 friend void protobuf_AddDesc_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto();
194 friend void protobuf_AssignDesc_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto();
195 friend void protobuf_ShutdownFile_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto();
197 void InitAsDefaultInstance();
214 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
215 return _unknown_fields_;
218 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
219 return &_unknown_fields_;
222 static const ::google::protobuf::Descriptor* descriptor();
230 void CopyFrom(const ::google::protobuf::Message& from);
231 void MergeFrom(const ::google::protobuf::Message& from);
235 bool IsInitialized()
const;
237 int ByteSize()
const;
238 bool MergePartialFromCodedStream(
239 ::google::protobuf::io::CodedInputStream* input);
240 void SerializeWithCachedSizes(
241 ::google::protobuf::io::CodedOutputStream* output)
const;
242 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
243 int GetCachedSize()
const {
return _cached_size_; }
247 void SetCachedSize(
int size)
const;
249 ::google::protobuf::Metadata GetMetadata()
const;
258 inline bool has_base()
const;
259 inline void clear_base();
260 static const int kBaseFieldNumber = 1;
261 inline const ::AppBaseConfig& base()
const;
262 inline ::AppBaseConfig* mutable_base();
263 inline ::AppBaseConfig* release_base();
267 inline bool has_moos_server_host()
const;
268 inline void clear_moos_server_host();
269 static const int kMoosServerHostFieldNumber = 2;
270 inline const ::std::string& moos_server_host()
const;
271 inline void set_moos_server_host(const ::std::string& value);
272 inline void set_moos_server_host(
const char* value);
273 inline void set_moos_server_host(
const char* value,
size_t size);
274 inline ::std::string* mutable_moos_server_host();
275 inline ::std::string* release_moos_server_host();
276 inline void set_allocated_moos_server_host(::std::string* moos_server_host);
279 inline bool has_moos_server_port()
const;
280 inline void clear_moos_server_port();
281 static const int kMoosServerPortFieldNumber = 3;
282 inline ::google::protobuf::uint32 moos_server_port()
const;
283 inline void set_moos_server_port(::google::protobuf::uint32 value);
286 inline bool has_moos_comm_tick()
const;
287 inline void clear_moos_comm_tick();
288 static const int kMoosCommTickFieldNumber = 4;
289 inline ::google::protobuf::uint32 moos_comm_tick()
const;
290 inline void set_moos_comm_tick(::google::protobuf::uint32 value);
293 inline int moos_subscribe_filter_size()
const;
294 inline void clear_moos_subscribe_filter();
295 static const int kMoosSubscribeFilterFieldNumber = 5;
296 inline const ::std::string& moos_subscribe_filter(
int index)
const;
297 inline ::std::string* mutable_moos_subscribe_filter(
int index);
298 inline void set_moos_subscribe_filter(
int index, const ::std::string& value);
299 inline void set_moos_subscribe_filter(
int index,
const char* value);
300 inline void set_moos_subscribe_filter(
int index,
const char* value,
size_t size);
301 inline ::std::string* add_moos_subscribe_filter();
302 inline void add_moos_subscribe_filter(const ::std::string& value);
303 inline void add_moos_subscribe_filter(
const char* value);
304 inline void add_moos_subscribe_filter(
const char* value,
size_t size);
305 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& moos_subscribe_filter()
const;
306 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_moos_subscribe_filter();
309 inline int goby_subscribe_filter_size()
const;
310 inline void clear_goby_subscribe_filter();
311 static const int kGobySubscribeFilterFieldNumber = 6;
312 inline const ::std::string& goby_subscribe_filter(
int index)
const;
313 inline ::std::string* mutable_goby_subscribe_filter(
int index);
314 inline void set_goby_subscribe_filter(
int index, const ::std::string& value);
315 inline void set_goby_subscribe_filter(
int index,
const char* value);
316 inline void set_goby_subscribe_filter(
int index,
const char* value,
size_t size);
317 inline ::std::string* add_goby_subscribe_filter();
318 inline void add_goby_subscribe_filter(const ::std::string& value);
319 inline void add_goby_subscribe_filter(
const char* value);
320 inline void add_goby_subscribe_filter(
const char* value,
size_t size);
321 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& goby_subscribe_filter()
const;
322 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_goby_subscribe_filter();
325 inline int load_shared_library_size()
const;
326 inline void clear_load_shared_library();
327 static const int kLoadSharedLibraryFieldNumber = 10;
328 inline const ::std::string& load_shared_library(
int index)
const;
329 inline ::std::string* mutable_load_shared_library(
int index);
330 inline void set_load_shared_library(
int index, const ::std::string& value);
331 inline void set_load_shared_library(
int index,
const char* value);
332 inline void set_load_shared_library(
int index,
const char* value,
size_t size);
333 inline ::std::string* add_load_shared_library();
334 inline void add_load_shared_library(const ::std::string& value);
335 inline void add_load_shared_library(
const char* value);
336 inline void add_load_shared_library(
const char* value,
size_t size);
337 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& load_shared_library()
const;
338 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_load_shared_library();
341 inline int load_proto_file_size()
const;
342 inline void clear_load_proto_file();
343 static const int kLoadProtoFileFieldNumber = 11;
344 inline const ::std::string& load_proto_file(
int index)
const;
345 inline ::std::string* mutable_load_proto_file(
int index);
346 inline void set_load_proto_file(
int index, const ::std::string& value);
347 inline void set_load_proto_file(
int index,
const char* value);
348 inline void set_load_proto_file(
int index,
const char* value,
size_t size);
349 inline ::std::string* add_load_proto_file();
350 inline void add_load_proto_file(const ::std::string& value);
351 inline void add_load_proto_file(
const char* value);
352 inline void add_load_proto_file(
const char* value,
size_t size);
353 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& load_proto_file()
const;
354 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_load_proto_file();
357 inline int pb_pair_size()
const;
358 inline void clear_pb_pair();
359 static const int kPbPairFieldNumber = 12;
360 inline const ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair& pb_pair(
int index)
const;
361 inline ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair* mutable_pb_pair(
int index);
362 inline ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair* add_pb_pair();
363 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair >&
365 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair >*
369 inline bool has_pb_convert()
const;
370 inline void clear_pb_convert();
371 static const int kPbConvertFieldNumber = 13;
372 inline bool pb_convert()
const;
373 inline void set_pb_convert(
bool value);
377 inline void set_has_base();
378 inline void clear_has_base();
379 inline void set_has_moos_server_host();
380 inline void clear_has_moos_server_host();
381 inline void set_has_moos_server_port();
382 inline void clear_has_moos_server_port();
383 inline void set_has_moos_comm_tick();
384 inline void clear_has_moos_comm_tick();
385 inline void set_has_pb_convert();
386 inline void clear_has_pb_convert();
388 ::google::protobuf::UnknownFieldSet _unknown_fields_;
390 ::google::protobuf::uint32 _has_bits_[1];
391 mutable int _cached_size_;
393 static ::std::string* _default_moos_server_host_;
394 ::std::string* moos_server_host_;
395 ::google::protobuf::uint32 moos_server_port_;
396 ::google::protobuf::uint32 moos_comm_tick_;
397 ::google::protobuf::RepeatedPtrField< ::std::string> moos_subscribe_filter_;
398 ::google::protobuf::RepeatedPtrField< ::std::string> goby_subscribe_filter_;
399 ::google::protobuf::RepeatedPtrField< ::std::string> load_shared_library_;
400 ::google::protobuf::RepeatedPtrField< ::std::string> load_proto_file_;
401 ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair > pb_pair_;
403 friend void protobuf_AddDesc_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto();
404 friend void protobuf_AssignDesc_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto();
405 friend void protobuf_ShutdownFile_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto();
407 void InitAsDefaultInstance();
418 inline bool MOOSGatewayConfig_ProtobufMOOSBridgePair::has_pb_group()
const {
419 return (_has_bits_[0] & 0x00000001u) != 0;
421 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_has_pb_group() {
422 _has_bits_[0] |= 0x00000001u;
424 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::clear_has_pb_group() {
425 _has_bits_[0] &= ~0x00000001u;
427 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::clear_pb_group() {
428 if (pb_group_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
431 clear_has_pb_group();
433 inline const ::std::string& MOOSGatewayConfig_ProtobufMOOSBridgePair::pb_group()
const {
437 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_pb_group(const ::std::string& value) {
439 if (pb_group_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
440 pb_group_ = new ::std::string;
442 pb_group_->assign(value);
445 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_pb_group(
const char* value) {
447 if (pb_group_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
448 pb_group_ = new ::std::string;
450 pb_group_->assign(value);
453 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_pb_group(
const char* value,
size_t size) {
455 if (pb_group_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
456 pb_group_ = new ::std::string;
458 pb_group_->assign(reinterpret_cast<const char*>(value), size);
461 inline ::std::string* MOOSGatewayConfig_ProtobufMOOSBridgePair::mutable_pb_group() {
463 if (pb_group_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
464 pb_group_ = new ::std::string;
469 inline ::std::string* MOOSGatewayConfig_ProtobufMOOSBridgePair::release_pb_group() {
470 clear_has_pb_group();
471 if (pb_group_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
474 ::std::string* temp = pb_group_;
475 pb_group_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
479 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_allocated_pb_group(::std::string* pb_group) {
480 if (pb_group_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
485 pb_group_ = pb_group;
487 clear_has_pb_group();
488 pb_group_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
494 inline bool MOOSGatewayConfig_ProtobufMOOSBridgePair::has_moos_var()
const {
495 return (_has_bits_[0] & 0x00000002u) != 0;
497 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_has_moos_var() {
498 _has_bits_[0] |= 0x00000002u;
500 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::clear_has_moos_var() {
501 _has_bits_[0] &= ~0x00000002u;
503 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::clear_moos_var() {
504 if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
507 clear_has_moos_var();
509 inline const ::std::string& MOOSGatewayConfig_ProtobufMOOSBridgePair::moos_var()
const {
513 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_moos_var(const ::std::string& value) {
515 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
516 moos_var_ = new ::std::string;
518 moos_var_->assign(value);
521 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_moos_var(
const char* value) {
523 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
524 moos_var_ = new ::std::string;
526 moos_var_->assign(value);
529 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_moos_var(
const char* value,
size_t size) {
531 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
532 moos_var_ = new ::std::string;
534 moos_var_->assign(reinterpret_cast<const char*>(value), size);
537 inline ::std::string* MOOSGatewayConfig_ProtobufMOOSBridgePair::mutable_moos_var() {
539 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
540 moos_var_ = new ::std::string;
545 inline ::std::string* MOOSGatewayConfig_ProtobufMOOSBridgePair::release_moos_var() {
546 clear_has_moos_var();
547 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
550 ::std::string* temp = moos_var_;
551 moos_var_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
555 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_allocated_moos_var(::std::string* moos_var) {
556 if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
561 moos_var_ = moos_var;
563 clear_has_moos_var();
564 moos_var_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
570 inline bool MOOSGatewayConfig_ProtobufMOOSBridgePair::has_direction()
const {
571 return (_has_bits_[0] & 0x00000004u) != 0;
573 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_has_direction() {
574 _has_bits_[0] |= 0x00000004u;
576 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::clear_has_direction() {
577 _has_bits_[0] &= ~0x00000004u;
579 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::clear_direction() {
581 clear_has_direction();
583 inline ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction MOOSGatewayConfig_ProtobufMOOSBridgePair::direction()
const {
585 return static_cast< ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction
>(direction_);
587 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_direction(::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction value) {
588 assert(::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_IsValid(value));
599 inline bool MOOSGatewayConfig::has_base()
const {
600 return (_has_bits_[0] & 0x00000001u) != 0;
602 inline void MOOSGatewayConfig::set_has_base() {
603 _has_bits_[0] |= 0x00000001u;
605 inline void MOOSGatewayConfig::clear_has_base() {
606 _has_bits_[0] &= ~0x00000001u;
608 inline void MOOSGatewayConfig::clear_base() {
609 if (base_ != NULL) base_->::AppBaseConfig::Clear();
612 inline const ::AppBaseConfig& MOOSGatewayConfig::base()
const {
614 return base_ != NULL ? *base_ : *default_instance_->base_;
616 inline ::AppBaseConfig* MOOSGatewayConfig::mutable_base() {
618 if (base_ == NULL) base_ = new ::AppBaseConfig;
622 inline ::AppBaseConfig* MOOSGatewayConfig::release_base() {
628 inline void MOOSGatewayConfig::set_allocated_base(::
AppBaseConfig* base) {
640 inline bool MOOSGatewayConfig::has_moos_server_host()
const {
641 return (_has_bits_[0] & 0x00000002u) != 0;
643 inline void MOOSGatewayConfig::set_has_moos_server_host() {
644 _has_bits_[0] |= 0x00000002u;
646 inline void MOOSGatewayConfig::clear_has_moos_server_host() {
647 _has_bits_[0] &= ~0x00000002u;
649 inline void MOOSGatewayConfig::clear_moos_server_host() {
650 if (moos_server_host_ != _default_moos_server_host_) {
651 moos_server_host_->assign(*_default_moos_server_host_);
653 clear_has_moos_server_host();
655 inline const ::std::string& MOOSGatewayConfig::moos_server_host()
const {
657 return *moos_server_host_;
659 inline void MOOSGatewayConfig::set_moos_server_host(const ::std::string& value) {
660 set_has_moos_server_host();
661 if (moos_server_host_ == _default_moos_server_host_) {
662 moos_server_host_ = new ::std::string;
664 moos_server_host_->assign(value);
667 inline void MOOSGatewayConfig::set_moos_server_host(
const char* value) {
668 set_has_moos_server_host();
669 if (moos_server_host_ == _default_moos_server_host_) {
670 moos_server_host_ = new ::std::string;
672 moos_server_host_->assign(value);
675 inline void MOOSGatewayConfig::set_moos_server_host(
const char* value,
size_t size) {
676 set_has_moos_server_host();
677 if (moos_server_host_ == _default_moos_server_host_) {
678 moos_server_host_ = new ::std::string;
680 moos_server_host_->assign(reinterpret_cast<const char*>(value), size);
683 inline ::std::string* MOOSGatewayConfig::mutable_moos_server_host() {
684 set_has_moos_server_host();
685 if (moos_server_host_ == _default_moos_server_host_) {
686 moos_server_host_ = new ::std::string(*_default_moos_server_host_);
689 return moos_server_host_;
691 inline ::std::string* MOOSGatewayConfig::release_moos_server_host() {
692 clear_has_moos_server_host();
693 if (moos_server_host_ == _default_moos_server_host_) {
696 ::std::string* temp = moos_server_host_;
697 moos_server_host_ =
const_cast< ::std::string*
>(_default_moos_server_host_);
701 inline void MOOSGatewayConfig::set_allocated_moos_server_host(::std::string* moos_server_host) {
702 if (moos_server_host_ != _default_moos_server_host_) {
703 delete moos_server_host_;
705 if (moos_server_host) {
706 set_has_moos_server_host();
707 moos_server_host_ = moos_server_host;
709 clear_has_moos_server_host();
710 moos_server_host_ =
const_cast< ::std::string*
>(_default_moos_server_host_);
716 inline bool MOOSGatewayConfig::has_moos_server_port()
const {
717 return (_has_bits_[0] & 0x00000004u) != 0;
719 inline void MOOSGatewayConfig::set_has_moos_server_port() {
720 _has_bits_[0] |= 0x00000004u;
722 inline void MOOSGatewayConfig::clear_has_moos_server_port() {
723 _has_bits_[0] &= ~0x00000004u;
725 inline void MOOSGatewayConfig::clear_moos_server_port() {
726 moos_server_port_ = 9000u;
727 clear_has_moos_server_port();
729 inline ::google::protobuf::uint32 MOOSGatewayConfig::moos_server_port()
const {
731 return moos_server_port_;
733 inline void MOOSGatewayConfig::set_moos_server_port(::google::protobuf::uint32 value) {
734 set_has_moos_server_port();
735 moos_server_port_ = value;
740 inline bool MOOSGatewayConfig::has_moos_comm_tick()
const {
741 return (_has_bits_[0] & 0x00000008u) != 0;
743 inline void MOOSGatewayConfig::set_has_moos_comm_tick() {
744 _has_bits_[0] |= 0x00000008u;
746 inline void MOOSGatewayConfig::clear_has_moos_comm_tick() {
747 _has_bits_[0] &= ~0x00000008u;
749 inline void MOOSGatewayConfig::clear_moos_comm_tick() {
750 moos_comm_tick_ = 5u;
751 clear_has_moos_comm_tick();
753 inline ::google::protobuf::uint32 MOOSGatewayConfig::moos_comm_tick()
const {
755 return moos_comm_tick_;
757 inline void MOOSGatewayConfig::set_moos_comm_tick(::google::protobuf::uint32 value) {
758 set_has_moos_comm_tick();
759 moos_comm_tick_ = value;
764 inline int MOOSGatewayConfig::moos_subscribe_filter_size()
const {
765 return moos_subscribe_filter_.size();
767 inline void MOOSGatewayConfig::clear_moos_subscribe_filter() {
768 moos_subscribe_filter_.Clear();
770 inline const ::std::string& MOOSGatewayConfig::moos_subscribe_filter(
int index)
const {
772 return moos_subscribe_filter_.Get(index);
774 inline ::std::string* MOOSGatewayConfig::mutable_moos_subscribe_filter(
int index) {
776 return moos_subscribe_filter_.Mutable(index);
778 inline void MOOSGatewayConfig::set_moos_subscribe_filter(
int index, const ::std::string& value) {
780 moos_subscribe_filter_.Mutable(index)->assign(value);
782 inline void MOOSGatewayConfig::set_moos_subscribe_filter(
int index,
const char* value) {
783 moos_subscribe_filter_.Mutable(index)->assign(value);
786 inline void MOOSGatewayConfig::set_moos_subscribe_filter(
int index,
const char* value,
size_t size) {
787 moos_subscribe_filter_.Mutable(index)->assign(
788 reinterpret_cast<const char*>(value), size);
791 inline ::std::string* MOOSGatewayConfig::add_moos_subscribe_filter() {
792 return moos_subscribe_filter_.Add();
794 inline void MOOSGatewayConfig::add_moos_subscribe_filter(const ::std::string& value) {
795 moos_subscribe_filter_.Add()->assign(value);
798 inline void MOOSGatewayConfig::add_moos_subscribe_filter(
const char* value) {
799 moos_subscribe_filter_.Add()->assign(value);
802 inline void MOOSGatewayConfig::add_moos_subscribe_filter(
const char* value,
size_t size) {
803 moos_subscribe_filter_.Add()->assign(reinterpret_cast<const char*>(value), size);
806 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
807 MOOSGatewayConfig::moos_subscribe_filter()
const {
809 return moos_subscribe_filter_;
811 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
812 MOOSGatewayConfig::mutable_moos_subscribe_filter() {
814 return &moos_subscribe_filter_;
818 inline int MOOSGatewayConfig::goby_subscribe_filter_size()
const {
819 return goby_subscribe_filter_.size();
821 inline void MOOSGatewayConfig::clear_goby_subscribe_filter() {
822 goby_subscribe_filter_.Clear();
824 inline const ::std::string& MOOSGatewayConfig::goby_subscribe_filter(
int index)
const {
826 return goby_subscribe_filter_.Get(index);
828 inline ::std::string* MOOSGatewayConfig::mutable_goby_subscribe_filter(
int index) {
830 return goby_subscribe_filter_.Mutable(index);
832 inline void MOOSGatewayConfig::set_goby_subscribe_filter(
int index, const ::std::string& value) {
834 goby_subscribe_filter_.Mutable(index)->assign(value);
836 inline void MOOSGatewayConfig::set_goby_subscribe_filter(
int index,
const char* value) {
837 goby_subscribe_filter_.Mutable(index)->assign(value);
840 inline void MOOSGatewayConfig::set_goby_subscribe_filter(
int index,
const char* value,
size_t size) {
841 goby_subscribe_filter_.Mutable(index)->assign(
842 reinterpret_cast<const char*>(value), size);
845 inline ::std::string* MOOSGatewayConfig::add_goby_subscribe_filter() {
846 return goby_subscribe_filter_.Add();
848 inline void MOOSGatewayConfig::add_goby_subscribe_filter(const ::std::string& value) {
849 goby_subscribe_filter_.Add()->assign(value);
852 inline void MOOSGatewayConfig::add_goby_subscribe_filter(
const char* value) {
853 goby_subscribe_filter_.Add()->assign(value);
856 inline void MOOSGatewayConfig::add_goby_subscribe_filter(
const char* value,
size_t size) {
857 goby_subscribe_filter_.Add()->assign(reinterpret_cast<const char*>(value), size);
860 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
861 MOOSGatewayConfig::goby_subscribe_filter()
const {
863 return goby_subscribe_filter_;
865 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
866 MOOSGatewayConfig::mutable_goby_subscribe_filter() {
868 return &goby_subscribe_filter_;
872 inline int MOOSGatewayConfig::load_shared_library_size()
const {
873 return load_shared_library_.size();
875 inline void MOOSGatewayConfig::clear_load_shared_library() {
876 load_shared_library_.Clear();
878 inline const ::std::string& MOOSGatewayConfig::load_shared_library(
int index)
const {
880 return load_shared_library_.Get(index);
882 inline ::std::string* MOOSGatewayConfig::mutable_load_shared_library(
int index) {
884 return load_shared_library_.Mutable(index);
886 inline void MOOSGatewayConfig::set_load_shared_library(
int index, const ::std::string& value) {
888 load_shared_library_.Mutable(index)->assign(value);
890 inline void MOOSGatewayConfig::set_load_shared_library(
int index,
const char* value) {
891 load_shared_library_.Mutable(index)->assign(value);
894 inline void MOOSGatewayConfig::set_load_shared_library(
int index,
const char* value,
size_t size) {
895 load_shared_library_.Mutable(index)->assign(
896 reinterpret_cast<const char*>(value), size);
899 inline ::std::string* MOOSGatewayConfig::add_load_shared_library() {
900 return load_shared_library_.Add();
902 inline void MOOSGatewayConfig::add_load_shared_library(const ::std::string& value) {
903 load_shared_library_.Add()->assign(value);
906 inline void MOOSGatewayConfig::add_load_shared_library(
const char* value) {
907 load_shared_library_.Add()->assign(value);
910 inline void MOOSGatewayConfig::add_load_shared_library(
const char* value,
size_t size) {
911 load_shared_library_.Add()->assign(reinterpret_cast<const char*>(value), size);
914 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
915 MOOSGatewayConfig::load_shared_library()
const {
917 return load_shared_library_;
919 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
920 MOOSGatewayConfig::mutable_load_shared_library() {
922 return &load_shared_library_;
926 inline int MOOSGatewayConfig::load_proto_file_size()
const {
927 return load_proto_file_.size();
929 inline void MOOSGatewayConfig::clear_load_proto_file() {
930 load_proto_file_.Clear();
932 inline const ::std::string& MOOSGatewayConfig::load_proto_file(
int index)
const {
934 return load_proto_file_.Get(index);
936 inline ::std::string* MOOSGatewayConfig::mutable_load_proto_file(
int index) {
938 return load_proto_file_.Mutable(index);
940 inline void MOOSGatewayConfig::set_load_proto_file(
int index, const ::std::string& value) {
942 load_proto_file_.Mutable(index)->assign(value);
944 inline void MOOSGatewayConfig::set_load_proto_file(
int index,
const char* value) {
945 load_proto_file_.Mutable(index)->assign(value);
948 inline void MOOSGatewayConfig::set_load_proto_file(
int index,
const char* value,
size_t size) {
949 load_proto_file_.Mutable(index)->assign(
950 reinterpret_cast<const char*>(value), size);
953 inline ::std::string* MOOSGatewayConfig::add_load_proto_file() {
954 return load_proto_file_.Add();
956 inline void MOOSGatewayConfig::add_load_proto_file(const ::std::string& value) {
957 load_proto_file_.Add()->assign(value);
960 inline void MOOSGatewayConfig::add_load_proto_file(
const char* value) {
961 load_proto_file_.Add()->assign(value);
964 inline void MOOSGatewayConfig::add_load_proto_file(
const char* value,
size_t size) {
965 load_proto_file_.Add()->assign(reinterpret_cast<const char*>(value), size);
968 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
969 MOOSGatewayConfig::load_proto_file()
const {
971 return load_proto_file_;
973 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
974 MOOSGatewayConfig::mutable_load_proto_file() {
976 return &load_proto_file_;
980 inline int MOOSGatewayConfig::pb_pair_size()
const {
981 return pb_pair_.size();
983 inline void MOOSGatewayConfig::clear_pb_pair() {
986 inline const ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair& MOOSGatewayConfig::pb_pair(
int index)
const {
988 return pb_pair_.Get(index);
990 inline ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair* MOOSGatewayConfig::mutable_pb_pair(
int index) {
992 return pb_pair_.Mutable(index);
994 inline ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair* MOOSGatewayConfig::add_pb_pair() {
996 return pb_pair_.Add();
998 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair >&
999 MOOSGatewayConfig::pb_pair()
const {
1003 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair >*
1004 MOOSGatewayConfig::mutable_pb_pair() {
1010 inline bool MOOSGatewayConfig::has_pb_convert()
const {
1011 return (_has_bits_[0] & 0x00000200u) != 0;
1013 inline void MOOSGatewayConfig::set_has_pb_convert() {
1014 _has_bits_[0] |= 0x00000200u;
1016 inline void MOOSGatewayConfig::clear_has_pb_convert() {
1017 _has_bits_[0] &= ~0x00000200u;
1019 inline void MOOSGatewayConfig::clear_pb_convert() {
1020 pb_convert_ =
false;
1021 clear_has_pb_convert();
1023 inline bool MOOSGatewayConfig::pb_convert()
const {
1027 inline void MOOSGatewayConfig::set_pb_convert(
bool value) {
1028 set_has_pb_convert();
1029 pb_convert_ = value;
1042 namespace protobuf {
1044 template <>
struct is_proto_enum< ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction> : ::google::protobuf::internal::true_type {};
1046 inline const EnumDescriptor* GetEnumDescriptor< ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction>() {
1047 return ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_descriptor();
1056 #endif // PROTOBUF_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto__INCLUDED
The global namespace for the Goby project.