4 #ifndef PROTOBUF_goby_2fmoos_2fprotobuf_2fbluefin_5fdriver_2eproto__INCLUDED 5 #define PROTOBUF_goby_2fmoos_2fprotobuf_2fbluefin_5fdriver_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/unknown_field_set.h> 27 #include "goby/acomms/protobuf/driver_base.pb.h" 28 #include "goby/acomms/protobuf/modem_message.pb.h" 29 #include "dccl/option_extensions.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_2fmoos_2fprotobuf_2fbluefin_5fdriver_2eproto();
42 void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2fbluefin_5fdriver_2eproto();
43 void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2fbluefin_5fdriver_2eproto();
45 class HardwareRatePair;
46 class BluefinModemIdLookUp;
63 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
64 return _unknown_fields_;
67 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
68 return &_unknown_fields_;
71 static const ::google::protobuf::Descriptor* descriptor();
79 void CopyFrom(const ::google::protobuf::Message& from);
80 void MergeFrom(const ::google::protobuf::Message& from);
84 bool IsInitialized()
const;
87 bool MergePartialFromCodedStream(
88 ::google::protobuf::io::CodedInputStream* input);
89 void SerializeWithCachedSizes(
90 ::google::protobuf::io::CodedOutputStream* output)
const;
91 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
92 int GetCachedSize()
const {
return _cached_size_; }
96 void SetCachedSize(
int size)
const;
98 ::google::protobuf::Metadata GetMetadata()
const;
105 inline bool has_hardware_name()
const;
106 inline void clear_hardware_name();
107 static const int kHardwareNameFieldNumber = 1;
108 inline const ::std::string& hardware_name()
const;
109 inline void set_hardware_name(const ::std::string& value);
110 inline void set_hardware_name(
const char* value);
111 inline void set_hardware_name(
const char* value,
size_t size);
112 inline ::std::string* mutable_hardware_name();
113 inline ::std::string* release_hardware_name();
114 inline void set_allocated_hardware_name(::std::string* hardware_name);
117 inline bool has_rate()
const;
118 inline void clear_rate();
119 static const int kRateFieldNumber = 2;
120 inline ::google::protobuf::int32 rate()
const;
121 inline void set_rate(::google::protobuf::int32 value);
124 inline bool has_packet_bytes()
const;
125 inline void clear_packet_bytes();
126 static const int kPacketBytesFieldNumber = 3;
127 inline ::google::protobuf::int32 packet_bytes()
const;
128 inline void set_packet_bytes(::google::protobuf::int32 value);
132 inline void set_has_hardware_name();
133 inline void clear_has_hardware_name();
134 inline void set_has_rate();
135 inline void clear_has_rate();
136 inline void set_has_packet_bytes();
137 inline void clear_has_packet_bytes();
139 ::google::protobuf::UnknownFieldSet _unknown_fields_;
141 ::google::protobuf::uint32 _has_bits_[1];
142 mutable int _cached_size_;
143 ::std::string* hardware_name_;
144 ::google::protobuf::int32 rate_;
145 ::google::protobuf::int32 packet_bytes_;
146 friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2fbluefin_5fdriver_2eproto();
147 friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2fbluefin_5fdriver_2eproto();
148 friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2fbluefin_5fdriver_2eproto();
150 void InitAsDefaultInstance();
167 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
168 return _unknown_fields_;
171 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
172 return &_unknown_fields_;
175 static const ::google::protobuf::Descriptor* descriptor();
183 void CopyFrom(const ::google::protobuf::Message& from);
184 void MergeFrom(const ::google::protobuf::Message& from);
188 bool IsInitialized()
const;
190 int ByteSize()
const;
191 bool MergePartialFromCodedStream(
192 ::google::protobuf::io::CodedInputStream* input);
193 void SerializeWithCachedSizes(
194 ::google::protobuf::io::CodedOutputStream* output)
const;
195 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
196 int GetCachedSize()
const {
return _cached_size_; }
200 void SetCachedSize(
int size)
const;
202 ::google::protobuf::Metadata GetMetadata()
const;
209 inline bool has_goby_id()
const;
210 inline void clear_goby_id();
211 static const int kGobyIdFieldNumber = 1;
212 inline ::google::protobuf::int32 goby_id()
const;
213 inline void set_goby_id(::google::protobuf::int32 value);
216 inline bool has_bluefin_id()
const;
217 inline void clear_bluefin_id();
218 static const int kBluefinIdFieldNumber = 2;
219 inline ::google::protobuf::int32 bluefin_id()
const;
220 inline void set_bluefin_id(::google::protobuf::int32 value);
224 inline void set_has_goby_id();
225 inline void clear_has_goby_id();
226 inline void set_has_bluefin_id();
227 inline void clear_has_bluefin_id();
229 ::google::protobuf::UnknownFieldSet _unknown_fields_;
231 ::google::protobuf::uint32 _has_bits_[1];
232 mutable int _cached_size_;
233 ::google::protobuf::int32 goby_id_;
234 ::google::protobuf::int32 bluefin_id_;
235 friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2fbluefin_5fdriver_2eproto();
236 friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2fbluefin_5fdriver_2eproto();
237 friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2fbluefin_5fdriver_2eproto();
239 void InitAsDefaultInstance();
256 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
257 return _unknown_fields_;
260 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
261 return &_unknown_fields_;
264 static const ::google::protobuf::Descriptor* descriptor();
272 void CopyFrom(const ::google::protobuf::Message& from);
273 void MergeFrom(const ::google::protobuf::Message& from);
277 bool IsInitialized()
const;
279 int ByteSize()
const;
280 bool MergePartialFromCodedStream(
281 ::google::protobuf::io::CodedInputStream* input);
282 void SerializeWithCachedSizes(
283 ::google::protobuf::io::CodedOutputStream* output)
const;
284 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
285 int GetCachedSize()
const {
return _cached_size_; }
289 void SetCachedSize(
int size)
const;
291 ::google::protobuf::Metadata GetMetadata()
const;
297 static const int kMoosServerFieldNumber = 1361;
299 ::google::protobuf::internal::StringTypeTraits, 9,
false >
301 static const int kMoosPortFieldNumber = 1362;
302 static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
303 ::google::protobuf::internal::PrimitiveTypeTraits< ::google::protobuf::int32 >, 5,
false >
305 static const int kNmeaInMoosVarFieldNumber = 1363;
306 static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
307 ::google::protobuf::internal::StringTypeTraits, 9,
false >
309 static const int kNmeaOutMoosVarFieldNumber = 1364;
310 static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
311 ::google::protobuf::internal::StringTypeTraits, 9,
false >
313 static const int kHardwareToRateFieldNumber = 1365;
314 static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
315 ::google::protobuf::internal::RepeatedMessageTypeTraits< ::goby::moos::protobuf::HardwareRatePair >, 11,
false >
317 static const int kModemLookupFieldNumber = 1366;
318 static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
319 ::google::protobuf::internal::RepeatedMessageTypeTraits< ::goby::moos::protobuf::BluefinModemIdLookUp >, 11,
false >
324 ::google::protobuf::UnknownFieldSet _unknown_fields_;
326 ::google::protobuf::uint32 _has_bits_[1];
327 mutable int _cached_size_;
328 friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2fbluefin_5fdriver_2eproto();
329 friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2fbluefin_5fdriver_2eproto();
330 friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2fbluefin_5fdriver_2eproto();
332 void InitAsDefaultInstance();
343 inline bool HardwareRatePair::has_hardware_name()
const {
344 return (_has_bits_[0] & 0x00000001u) != 0;
346 inline void HardwareRatePair::set_has_hardware_name() {
347 _has_bits_[0] |= 0x00000001u;
349 inline void HardwareRatePair::clear_has_hardware_name() {
350 _has_bits_[0] &= ~0x00000001u;
352 inline void HardwareRatePair::clear_hardware_name() {
353 if (hardware_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
354 hardware_name_->clear();
356 clear_has_hardware_name();
358 inline const ::std::string& HardwareRatePair::hardware_name()
const {
360 return *hardware_name_;
362 inline void HardwareRatePair::set_hardware_name(const ::std::string& value) {
363 set_has_hardware_name();
364 if (hardware_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
365 hardware_name_ = new ::std::string;
367 hardware_name_->assign(value);
370 inline void HardwareRatePair::set_hardware_name(
const char* value) {
371 set_has_hardware_name();
372 if (hardware_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
373 hardware_name_ = new ::std::string;
375 hardware_name_->assign(value);
378 inline void HardwareRatePair::set_hardware_name(
const char* value,
size_t size) {
379 set_has_hardware_name();
380 if (hardware_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
381 hardware_name_ = new ::std::string;
383 hardware_name_->assign(reinterpret_cast<const char*>(value), size);
386 inline ::std::string* HardwareRatePair::mutable_hardware_name() {
387 set_has_hardware_name();
388 if (hardware_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
389 hardware_name_ = new ::std::string;
392 return hardware_name_;
394 inline ::std::string* HardwareRatePair::release_hardware_name() {
395 clear_has_hardware_name();
396 if (hardware_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
399 ::std::string* temp = hardware_name_;
400 hardware_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
404 inline void HardwareRatePair::set_allocated_hardware_name(::std::string* hardware_name) {
405 if (hardware_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
406 delete hardware_name_;
409 set_has_hardware_name();
410 hardware_name_ = hardware_name;
412 clear_has_hardware_name();
413 hardware_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
419 inline bool HardwareRatePair::has_rate()
const {
420 return (_has_bits_[0] & 0x00000002u) != 0;
422 inline void HardwareRatePair::set_has_rate() {
423 _has_bits_[0] |= 0x00000002u;
425 inline void HardwareRatePair::clear_has_rate() {
426 _has_bits_[0] &= ~0x00000002u;
428 inline void HardwareRatePair::clear_rate() {
432 inline ::google::protobuf::int32 HardwareRatePair::rate()
const {
436 inline void HardwareRatePair::set_rate(::google::protobuf::int32 value) {
443 inline bool HardwareRatePair::has_packet_bytes()
const {
444 return (_has_bits_[0] & 0x00000004u) != 0;
446 inline void HardwareRatePair::set_has_packet_bytes() {
447 _has_bits_[0] |= 0x00000004u;
449 inline void HardwareRatePair::clear_has_packet_bytes() {
450 _has_bits_[0] &= ~0x00000004u;
452 inline void HardwareRatePair::clear_packet_bytes() {
454 clear_has_packet_bytes();
456 inline ::google::protobuf::int32 HardwareRatePair::packet_bytes()
const {
458 return packet_bytes_;
460 inline void HardwareRatePair::set_packet_bytes(::google::protobuf::int32 value) {
461 set_has_packet_bytes();
462 packet_bytes_ = value;
471 inline bool BluefinModemIdLookUp::has_goby_id()
const {
472 return (_has_bits_[0] & 0x00000001u) != 0;
474 inline void BluefinModemIdLookUp::set_has_goby_id() {
475 _has_bits_[0] |= 0x00000001u;
477 inline void BluefinModemIdLookUp::clear_has_goby_id() {
478 _has_bits_[0] &= ~0x00000001u;
480 inline void BluefinModemIdLookUp::clear_goby_id() {
484 inline ::google::protobuf::int32 BluefinModemIdLookUp::goby_id()
const {
488 inline void BluefinModemIdLookUp::set_goby_id(::google::protobuf::int32 value) {
495 inline bool BluefinModemIdLookUp::has_bluefin_id()
const {
496 return (_has_bits_[0] & 0x00000002u) != 0;
498 inline void BluefinModemIdLookUp::set_has_bluefin_id() {
499 _has_bits_[0] |= 0x00000002u;
501 inline void BluefinModemIdLookUp::clear_has_bluefin_id() {
502 _has_bits_[0] &= ~0x00000002u;
504 inline void BluefinModemIdLookUp::clear_bluefin_id() {
506 clear_has_bluefin_id();
508 inline ::google::protobuf::int32 BluefinModemIdLookUp::bluefin_id()
const {
512 inline void BluefinModemIdLookUp::set_bluefin_id(::google::protobuf::int32 value) {
513 set_has_bluefin_id();
540 #endif // PROTOBUF_goby_2fmoos_2fprotobuf_2fbluefin_5fdriver_2eproto__INCLUDED
The global namespace for the Goby project.