Goby v2
pb_modem_driver.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/pb/protobuf/pb_modem_driver.proto
3 
4 #ifndef PROTOBUF_goby_2fpb_2fprotobuf_2fpb_5fmodem_5fdriver_2eproto__INCLUDED
5 #define PROTOBUF_goby_2fpb_2fprotobuf_2fpb_5fmodem_5fdriver_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
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>
36 // @@protoc_insertion_point(includes)
37 
38 // Internal implementation detail -- do not call these.
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();
42 
43 class PBDriverConfig;
45 
46 enum PBDriverTransmission_TransmissionType {
47  PBDriverTransmission_TransmissionType_BASE_TYPE = 0,
48  PBDriverTransmission_TransmissionType_PB_DRIVER_POLL = 1
49 };
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;
54 
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);
59 }
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);
64 }
65 // ===================================================================
66 
67 class PBDriverConfig : public ::google::protobuf::Message {
68  public:
70  virtual ~PBDriverConfig();
71 
72  PBDriverConfig(const PBDriverConfig& from);
73 
74  inline PBDriverConfig& operator=(const PBDriverConfig& from) {
75  CopyFrom(from);
76  return *this;
77  }
78 
79  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
80  return _unknown_fields_;
81  }
82 
83  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
84  return &_unknown_fields_;
85  }
86 
87  static const ::google::protobuf::Descriptor* descriptor();
88  static const PBDriverConfig& default_instance();
89 
90  void Swap(PBDriverConfig* other);
91 
92  // implements Message ----------------------------------------------
93 
94  PBDriverConfig* New() const;
95  void CopyFrom(const ::google::protobuf::Message& from);
96  void MergeFrom(const ::google::protobuf::Message& from);
97  void CopyFrom(const PBDriverConfig& from);
98  void MergeFrom(const PBDriverConfig& from);
99  void Clear();
100  bool IsInitialized() const;
101 
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_; }
109  private:
110  void SharedCtor();
111  void SharedDtor();
112  void SetCachedSize(int size) const;
113  public:
114  ::google::protobuf::Metadata GetMetadata() const;
115 
116  // nested types ----------------------------------------------------
117 
118  // accessors -------------------------------------------------------
119 
120  static const int kRequestSocketFieldNumber = 1321;
121  static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
122  ::google::protobuf::internal::MessageTypeTraits< ::goby::common::protobuf::ZeroMQServiceConfig_Socket >, 11, false >
123  request_socket;
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 >
131  max_frame_size;
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 >
139  rate_to_bytes;
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 >
143  rate_to_frames;
144  // @@protoc_insertion_point(class_scope:PBDriverConfig)
145  private:
146 
147  ::google::protobuf::UnknownFieldSet _unknown_fields_;
148 
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();
154 
155  void InitAsDefaultInstance();
156  static PBDriverConfig* default_instance_;
157 };
158 // -------------------------------------------------------------------
159 
160 class PBDriverTransmission : public ::google::protobuf::Message {
161  public:
163  virtual ~PBDriverTransmission();
164 
166 
167  inline PBDriverTransmission& operator=(const PBDriverTransmission& from) {
168  CopyFrom(from);
169  return *this;
170  }
171 
172  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
173  return _unknown_fields_;
174  }
175 
176  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
177  return &_unknown_fields_;
178  }
179 
180  static const ::google::protobuf::Descriptor* descriptor();
181  static const PBDriverTransmission& default_instance();
182 
183  void Swap(PBDriverTransmission* other);
184 
185  // implements Message ----------------------------------------------
186 
187  PBDriverTransmission* New() const;
188  void CopyFrom(const ::google::protobuf::Message& from);
189  void MergeFrom(const ::google::protobuf::Message& from);
190  void CopyFrom(const PBDriverTransmission& from);
191  void MergeFrom(const PBDriverTransmission& from);
192  void Clear();
193  bool IsInitialized() const;
194 
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_; }
202  private:
203  void SharedCtor();
204  void SharedDtor();
205  void SetCachedSize(int size) const;
206  public:
207  ::google::protobuf::Metadata GetMetadata() const;
208 
209  // nested types ----------------------------------------------------
210 
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);
216  }
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();
226  }
227  static inline const ::std::string& TransmissionType_Name(TransmissionType value) {
228  return PBDriverTransmission_TransmissionType_Name(value);
229  }
230  static inline bool TransmissionType_Parse(const ::std::string& name,
231  TransmissionType* value) {
232  return PBDriverTransmission_TransmissionType_Parse(name, value);
233  }
234 
235  // accessors -------------------------------------------------------
236 
237  static const int kTypeFieldNumber = 1321;
238  static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::ModemTransmission,
239  ::google::protobuf::internal::EnumTypeTraits< ::PBDriverTransmission_TransmissionType, ::PBDriverTransmission_TransmissionType_IsValid>, 14, false >
240  type;
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 >
244  poll_src;
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 >
248  poll_dest;
249  // @@protoc_insertion_point(class_scope:PBDriverTransmission)
250  private:
251 
252  ::google::protobuf::UnknownFieldSet _unknown_fields_;
253 
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();
259 
260  void InitAsDefaultInstance();
261  static PBDriverTransmission* default_instance_;
262 };
263 // ===================================================================
264 
265 
266 // ===================================================================
267 
268 // PBDriverConfig
269 
270 // -------------------------------------------------------------------
271 
272 // PBDriverTransmission
273 
274 
275 // @@protoc_insertion_point(namespace_scope)
276 
277 #ifndef SWIG
278 namespace google {
279 namespace protobuf {
280 
281 template <> struct is_proto_enum< ::PBDriverTransmission_TransmissionType> : ::google::protobuf::internal::true_type {};
282 template <>
283 inline const EnumDescriptor* GetEnumDescriptor< ::PBDriverTransmission_TransmissionType>() {
284  return ::PBDriverTransmission_TransmissionType_descriptor();
285 }
286 
287 } // namespace google
288 } // namespace protobuf
289 #endif // SWIG
290 
291 // @@protoc_insertion_point(global_scope)
292 
293 #endif // PROTOBUF_goby_2fpb_2fprotobuf_2fpb_5fmodem_5fdriver_2eproto__INCLUDED