4 #ifndef PROTOBUF_goby_2fpb_2fprotobuf_2fpb_5fmodem_5fdriver_2eproto__INCLUDED 5 #define PROTOBUF_goby_2fpb_2fprotobuf_2fpb_5fmodem_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/generated_enum_reflection.h> 27 #include <google/protobuf/unknown_field_set.h> 28 #include "goby/acomms/protobuf/driver_base.pb.h" 29 #include "goby/acomms/protobuf/modem_message.pb.h" 30 #include "goby/common/protobuf/zero_mq_node_config.pb.h" 31 #include "dccl/option_extensions.pb.h" 32 #include <boost/units/quantity.hpp> 33 #include <boost/units/absolute.hpp> 34 #include <boost/units/dimensionless_type.hpp> 35 #include <boost/units/make_scaled_unit.hpp> 39 void protobuf_AddDesc_goby_2fpb_2fprotobuf_2fpb_5fmodem_5fdriver_2eproto();
40 void protobuf_AssignDesc_goby_2fpb_2fprotobuf_2fpb_5fmodem_5fdriver_2eproto();
41 void protobuf_ShutdownFile_goby_2fpb_2fprotobuf_2fpb_5fmodem_5fdriver_2eproto();
46 enum PBDriverTransmission_TransmissionType {
47 PBDriverTransmission_TransmissionType_BASE_TYPE = 0,
48 PBDriverTransmission_TransmissionType_PB_DRIVER_POLL = 1
50 bool PBDriverTransmission_TransmissionType_IsValid(
int value);
51 const PBDriverTransmission_TransmissionType PBDriverTransmission_TransmissionType_TransmissionType_MIN = PBDriverTransmission_TransmissionType_BASE_TYPE;
52 const PBDriverTransmission_TransmissionType PBDriverTransmission_TransmissionType_TransmissionType_MAX = PBDriverTransmission_TransmissionType_PB_DRIVER_POLL;
53 const int PBDriverTransmission_TransmissionType_TransmissionType_ARRAYSIZE = PBDriverTransmission_TransmissionType_TransmissionType_MAX + 1;
55 const ::google::protobuf::EnumDescriptor* PBDriverTransmission_TransmissionType_descriptor();
56 inline const ::std::string& PBDriverTransmission_TransmissionType_Name(PBDriverTransmission_TransmissionType value) {
57 return ::google::protobuf::internal::NameOfEnum(
58 PBDriverTransmission_TransmissionType_descriptor(), value);
60 inline bool PBDriverTransmission_TransmissionType_Parse(
61 const ::std::string& name, PBDriverTransmission_TransmissionType* value) {
62 return ::google::protobuf::internal::ParseNamedEnum<PBDriverTransmission_TransmissionType>(
63 PBDriverTransmission_TransmissionType_descriptor(), name, value);
79 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
80 return _unknown_fields_;
83 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
84 return &_unknown_fields_;
87 static const ::google::protobuf::Descriptor* descriptor();
95 void CopyFrom(const ::google::protobuf::Message& from);
96 void MergeFrom(const ::google::protobuf::Message& from);
100 bool IsInitialized()
const;
102 int ByteSize()
const;
103 bool MergePartialFromCodedStream(
104 ::google::protobuf::io::CodedInputStream* input);
105 void SerializeWithCachedSizes(
106 ::google::protobuf::io::CodedOutputStream* output)
const;
107 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
108 int GetCachedSize()
const {
return _cached_size_; }
112 void SetCachedSize(
int size)
const;
114 ::google::protobuf::Metadata GetMetadata()
const;
120 static const int kRequestSocketFieldNumber = 1321;
122 ::google::protobuf::internal::MessageTypeTraits< ::goby::common::protobuf::ZeroMQServiceConfig_Socket >, 11,
false >
124 static const int kQueryIntervalSecondsFieldNumber = 1322;
125 static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
126 ::google::protobuf::internal::PrimitiveTypeTraits< double >, 1,
false >
127 query_interval_seconds;
128 static const int kMaxFrameSizeFieldNumber = 1323;
129 static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
130 ::google::protobuf::internal::PrimitiveTypeTraits< ::google::protobuf::int32 >, 5,
false >
132 static const int kResetIntervalSecondsFieldNumber = 1324;
133 static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
134 ::google::protobuf::internal::PrimitiveTypeTraits< double >, 1,
false >
135 reset_interval_seconds;
136 static const int kRateToBytesFieldNumber = 1325;
137 static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
138 ::google::protobuf::internal::RepeatedPrimitiveTypeTraits< ::google::protobuf::int32 >, 5,
false >
140 static const int kRateToFramesFieldNumber = 1326;
141 static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
142 ::google::protobuf::internal::RepeatedPrimitiveTypeTraits< ::google::protobuf::int32 >, 5,
false >
147 ::google::protobuf::UnknownFieldSet _unknown_fields_;
149 ::google::protobuf::uint32 _has_bits_[1];
150 mutable int _cached_size_;
151 friend void protobuf_AddDesc_goby_2fpb_2fprotobuf_2fpb_5fmodem_5fdriver_2eproto();
152 friend void protobuf_AssignDesc_goby_2fpb_2fprotobuf_2fpb_5fmodem_5fdriver_2eproto();
153 friend void protobuf_ShutdownFile_goby_2fpb_2fprotobuf_2fpb_5fmodem_5fdriver_2eproto();
155 void InitAsDefaultInstance();
172 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
173 return _unknown_fields_;
176 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
177 return &_unknown_fields_;
180 static const ::google::protobuf::Descriptor* descriptor();
188 void CopyFrom(const ::google::protobuf::Message& from);
189 void MergeFrom(const ::google::protobuf::Message& from);
193 bool IsInitialized()
const;
195 int ByteSize()
const;
196 bool MergePartialFromCodedStream(
197 ::google::protobuf::io::CodedInputStream* input);
198 void SerializeWithCachedSizes(
199 ::google::protobuf::io::CodedOutputStream* output)
const;
200 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
201 int GetCachedSize()
const {
return _cached_size_; }
205 void SetCachedSize(
int size)
const;
207 ::google::protobuf::Metadata GetMetadata()
const;
211 typedef PBDriverTransmission_TransmissionType TransmissionType;
212 static const TransmissionType BASE_TYPE = PBDriverTransmission_TransmissionType_BASE_TYPE;
213 static const TransmissionType PB_DRIVER_POLL = PBDriverTransmission_TransmissionType_PB_DRIVER_POLL;
214 static inline bool TransmissionType_IsValid(
int value) {
215 return PBDriverTransmission_TransmissionType_IsValid(value);
217 static const TransmissionType TransmissionType_MIN =
218 PBDriverTransmission_TransmissionType_TransmissionType_MIN;
219 static const TransmissionType TransmissionType_MAX =
220 PBDriverTransmission_TransmissionType_TransmissionType_MAX;
221 static const int TransmissionType_ARRAYSIZE =
222 PBDriverTransmission_TransmissionType_TransmissionType_ARRAYSIZE;
223 static inline const ::google::protobuf::EnumDescriptor*
224 TransmissionType_descriptor() {
225 return PBDriverTransmission_TransmissionType_descriptor();
227 static inline const ::std::string& TransmissionType_Name(TransmissionType value) {
228 return PBDriverTransmission_TransmissionType_Name(value);
230 static inline bool TransmissionType_Parse(const ::std::string& name,
231 TransmissionType* value) {
232 return PBDriverTransmission_TransmissionType_Parse(name, value);
237 static const int kTypeFieldNumber = 1321;
239 ::google::protobuf::internal::EnumTypeTraits< ::PBDriverTransmission_TransmissionType, ::PBDriverTransmission_TransmissionType_IsValid>, 14,
false >
241 static const int kPollSrcFieldNumber = 1322;
242 static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::ModemTransmission,
243 ::google::protobuf::internal::PrimitiveTypeTraits< ::google::protobuf::int32 >, 5,
false >
245 static const int kPollDestFieldNumber = 1323;
246 static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::ModemTransmission,
247 ::google::protobuf::internal::PrimitiveTypeTraits< ::google::protobuf::int32 >, 5,
false >
252 ::google::protobuf::UnknownFieldSet _unknown_fields_;
254 ::google::protobuf::uint32 _has_bits_[1];
255 mutable int _cached_size_;
256 friend void protobuf_AddDesc_goby_2fpb_2fprotobuf_2fpb_5fmodem_5fdriver_2eproto();
257 friend void protobuf_AssignDesc_goby_2fpb_2fprotobuf_2fpb_5fmodem_5fdriver_2eproto();
258 friend void protobuf_ShutdownFile_goby_2fpb_2fprotobuf_2fpb_5fmodem_5fdriver_2eproto();
260 void InitAsDefaultInstance();
281 template <>
struct is_proto_enum< ::PBDriverTransmission_TransmissionType> : ::google::protobuf::internal::true_type {};
283 inline const EnumDescriptor* GetEnumDescriptor< ::PBDriverTransmission_TransmissionType>() {
284 return ::PBDriverTransmission_TransmissionType_descriptor();
293 #endif // PROTOBUF_goby_2fpb_2fprotobuf_2fpb_5fmodem_5fdriver_2eproto__INCLUDED