4 #ifndef PROTOBUF_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto__INCLUDED 5 #define PROTOBUF_goby_2ftest_2facomms_2fmmdriver2_2ftest_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/unknown_field_set.h> 27 #include "goby/common/protobuf/option_extensions.pb.h" 28 #include "goby/acomms/protobuf/driver_base.pb.h" 29 #include "goby/acomms/protobuf/modem_message.pb.h" 30 #include "goby/common/protobuf/app_base_config.pb.h" 31 #include <boost/units/quantity.hpp> 32 #include <boost/units/absolute.hpp> 33 #include <boost/units/dimensionless_type.hpp> 34 #include <boost/units/make_scaled_unit.hpp> 42 void protobuf_AddDesc_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto();
43 void protobuf_AssignDesc_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto();
44 void protobuf_ShutdownFile_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto();
46 class MMDriverTest2Config;
62 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
63 return _unknown_fields_;
66 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
67 return &_unknown_fields_;
70 static const ::google::protobuf::Descriptor* descriptor();
78 void CopyFrom(const ::google::protobuf::Message& from);
79 void MergeFrom(const ::google::protobuf::Message& from);
83 bool IsInitialized()
const;
86 bool MergePartialFromCodedStream(
87 ::google::protobuf::io::CodedInputStream* input);
88 void SerializeWithCachedSizes(
89 ::google::protobuf::io::CodedOutputStream* output)
const;
90 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
91 int GetCachedSize()
const {
return _cached_size_; }
95 void SetCachedSize(
int size)
const;
97 ::google::protobuf::Metadata GetMetadata()
const;
104 inline bool has_app()
const;
105 inline void clear_app();
106 static const int kAppFieldNumber = 1;
107 inline const ::AppBaseConfig& app()
const;
108 inline ::AppBaseConfig* mutable_app();
109 inline ::AppBaseConfig* release_app();
113 inline bool has_mm1_cfg()
const;
114 inline void clear_mm1_cfg();
115 static const int kMm1CfgFieldNumber = 10;
116 inline const ::goby::acomms::protobuf::DriverConfig& mm1_cfg()
const;
117 inline ::goby::acomms::protobuf::DriverConfig* mutable_mm1_cfg();
118 inline ::goby::acomms::protobuf::DriverConfig* release_mm1_cfg();
122 inline bool has_mm2_cfg()
const;
123 inline void clear_mm2_cfg();
124 static const int kMm2CfgFieldNumber = 11;
125 inline const ::goby::acomms::protobuf::DriverConfig& mm2_cfg()
const;
126 inline ::goby::acomms::protobuf::DriverConfig* mutable_mm2_cfg();
127 inline ::goby::acomms::protobuf::DriverConfig* release_mm2_cfg();
131 inline int transmission_size()
const;
132 inline void clear_transmission();
133 static const int kTransmissionFieldNumber = 20;
134 inline const ::goby::acomms::protobuf::ModemTransmission& transmission(
int index)
const;
135 inline ::goby::acomms::protobuf::ModemTransmission* mutable_transmission(
int index);
136 inline ::goby::acomms::protobuf::ModemTransmission* add_transmission();
137 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
138 transmission()
const;
139 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
140 mutable_transmission();
143 inline bool has_repeat()
const;
144 inline void clear_repeat();
145 static const int kRepeatFieldNumber = 21;
146 inline ::google::protobuf::int32 repeat()
const;
147 inline void set_repeat(::google::protobuf::int32 value);
151 inline void set_has_app();
152 inline void clear_has_app();
153 inline void set_has_mm1_cfg();
154 inline void clear_has_mm1_cfg();
155 inline void set_has_mm2_cfg();
156 inline void clear_has_mm2_cfg();
157 inline void set_has_repeat();
158 inline void clear_has_repeat();
160 ::google::protobuf::UnknownFieldSet _unknown_fields_;
162 ::google::protobuf::uint32 _has_bits_[1];
163 mutable int _cached_size_;
167 ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > transmission_;
168 ::google::protobuf::int32 repeat_;
169 friend void protobuf_AddDesc_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto();
170 friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto();
171 friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto();
173 void InitAsDefaultInstance();
184 inline bool MMDriverTest2Config::has_app()
const {
185 return (_has_bits_[0] & 0x00000001u) != 0;
187 inline void MMDriverTest2Config::set_has_app() {
188 _has_bits_[0] |= 0x00000001u;
190 inline void MMDriverTest2Config::clear_has_app() {
191 _has_bits_[0] &= ~0x00000001u;
193 inline void MMDriverTest2Config::clear_app() {
194 if (app_ != NULL) app_->::AppBaseConfig::Clear();
197 inline const ::AppBaseConfig& MMDriverTest2Config::app()
const {
199 return app_ != NULL ? *app_ : *default_instance_->app_;
201 inline ::AppBaseConfig* MMDriverTest2Config::mutable_app() {
203 if (app_ == NULL) app_ = new ::AppBaseConfig;
207 inline ::AppBaseConfig* MMDriverTest2Config::release_app() {
213 inline void MMDriverTest2Config::set_allocated_app(::
AppBaseConfig* app) {
225 inline bool MMDriverTest2Config::has_mm1_cfg()
const {
226 return (_has_bits_[0] & 0x00000002u) != 0;
228 inline void MMDriverTest2Config::set_has_mm1_cfg() {
229 _has_bits_[0] |= 0x00000002u;
231 inline void MMDriverTest2Config::clear_has_mm1_cfg() {
232 _has_bits_[0] &= ~0x00000002u;
234 inline void MMDriverTest2Config::clear_mm1_cfg() {
235 if (mm1_cfg_ != NULL) mm1_cfg_->::goby::acomms::protobuf::DriverConfig::Clear();
238 inline const ::goby::acomms::protobuf::DriverConfig& MMDriverTest2Config::mm1_cfg()
const {
240 return mm1_cfg_ != NULL ? *mm1_cfg_ : *default_instance_->mm1_cfg_;
242 inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::mutable_mm1_cfg() {
244 if (mm1_cfg_ == NULL) mm1_cfg_ = new ::goby::acomms::protobuf::DriverConfig;
248 inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::release_mm1_cfg() {
266 inline bool MMDriverTest2Config::has_mm2_cfg()
const {
267 return (_has_bits_[0] & 0x00000004u) != 0;
269 inline void MMDriverTest2Config::set_has_mm2_cfg() {
270 _has_bits_[0] |= 0x00000004u;
272 inline void MMDriverTest2Config::clear_has_mm2_cfg() {
273 _has_bits_[0] &= ~0x00000004u;
275 inline void MMDriverTest2Config::clear_mm2_cfg() {
276 if (mm2_cfg_ != NULL) mm2_cfg_->::goby::acomms::protobuf::DriverConfig::Clear();
279 inline const ::goby::acomms::protobuf::DriverConfig& MMDriverTest2Config::mm2_cfg()
const {
281 return mm2_cfg_ != NULL ? *mm2_cfg_ : *default_instance_->mm2_cfg_;
283 inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::mutable_mm2_cfg() {
285 if (mm2_cfg_ == NULL) mm2_cfg_ = new ::goby::acomms::protobuf::DriverConfig;
289 inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::release_mm2_cfg() {
307 inline int MMDriverTest2Config::transmission_size()
const {
308 return transmission_.size();
310 inline void MMDriverTest2Config::clear_transmission() {
311 transmission_.Clear();
313 inline const ::goby::acomms::protobuf::ModemTransmission& MMDriverTest2Config::transmission(
int index)
const {
315 return transmission_.Get(index);
317 inline ::goby::acomms::protobuf::ModemTransmission* MMDriverTest2Config::mutable_transmission(
int index) {
319 return transmission_.Mutable(index);
321 inline ::goby::acomms::protobuf::ModemTransmission* MMDriverTest2Config::add_transmission() {
323 return transmission_.Add();
325 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
326 MMDriverTest2Config::transmission()
const {
328 return transmission_;
330 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
331 MMDriverTest2Config::mutable_transmission() {
333 return &transmission_;
337 inline bool MMDriverTest2Config::has_repeat()
const {
338 return (_has_bits_[0] & 0x00000010u) != 0;
340 inline void MMDriverTest2Config::set_has_repeat() {
341 _has_bits_[0] |= 0x00000010u;
343 inline void MMDriverTest2Config::clear_has_repeat() {
344 _has_bits_[0] &= ~0x00000010u;
346 inline void MMDriverTest2Config::clear_repeat() {
350 inline ::google::protobuf::int32 MMDriverTest2Config::repeat()
const {
354 inline void MMDriverTest2Config::set_repeat(::google::protobuf::int32 value) {
378 #endif // PROTOBUF_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto__INCLUDED
The global namespace for the Goby project.