Goby v2
frontseat.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/moos/protobuf/frontseat.proto
3 
4 #ifndef PROTOBUF_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto__INCLUDED
5 #define PROTOBUF_goby_2fmoos_2fprotobuf_2ffrontseat_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/moos/protobuf/desired_course.pb.h"
29 #include "goby/moos/protobuf/ctd_sample.pb.h"
30 #include "goby/moos/protobuf/node_status.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>
35 // @@protoc_insertion_point(includes)
36 
37 namespace goby {
38 namespace moos {
39 namespace protobuf {
40 
41 // Internal implementation detail -- do not call these.
42 void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto();
43 void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto();
44 void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto();
45 
46 class FrontSeatInterfaceStatus;
47 class CommandRequest;
48 class CommandResponse;
49 class FrontSeatInterfaceData;
50 class FrontSeatRaw;
51 
52 enum FrontSeatRaw_RawType {
53  FrontSeatRaw_RawType_RAW_ASCII = 1,
54  FrontSeatRaw_RawType_RAW_BINARY = 2
55 };
56 bool FrontSeatRaw_RawType_IsValid(int value);
57 const FrontSeatRaw_RawType FrontSeatRaw_RawType_RawType_MIN = FrontSeatRaw_RawType_RAW_ASCII;
58 const FrontSeatRaw_RawType FrontSeatRaw_RawType_RawType_MAX = FrontSeatRaw_RawType_RAW_BINARY;
59 const int FrontSeatRaw_RawType_RawType_ARRAYSIZE = FrontSeatRaw_RawType_RawType_MAX + 1;
60 
61 const ::google::protobuf::EnumDescriptor* FrontSeatRaw_RawType_descriptor();
62 inline const ::std::string& FrontSeatRaw_RawType_Name(FrontSeatRaw_RawType value) {
63  return ::google::protobuf::internal::NameOfEnum(
64  FrontSeatRaw_RawType_descriptor(), value);
65 }
66 inline bool FrontSeatRaw_RawType_Parse(
67  const ::std::string& name, FrontSeatRaw_RawType* value) {
68  return ::google::protobuf::internal::ParseNamedEnum<FrontSeatRaw_RawType>(
69  FrontSeatRaw_RawType_descriptor(), name, value);
70 }
71 enum InterfaceState {
72  INTERFACE_STANDBY = 1,
73  INTERFACE_LISTEN = 2,
74  INTERFACE_COMMAND = 3,
75  INTERFACE_HELM_ERROR = 4,
76  INTERFACE_FS_ERROR = 5
77 };
78 bool InterfaceState_IsValid(int value);
79 const InterfaceState InterfaceState_MIN = INTERFACE_STANDBY;
80 const InterfaceState InterfaceState_MAX = INTERFACE_FS_ERROR;
81 const int InterfaceState_ARRAYSIZE = InterfaceState_MAX + 1;
82 
83 const ::google::protobuf::EnumDescriptor* InterfaceState_descriptor();
84 inline const ::std::string& InterfaceState_Name(InterfaceState value) {
85  return ::google::protobuf::internal::NameOfEnum(
86  InterfaceState_descriptor(), value);
87 }
88 inline bool InterfaceState_Parse(
89  const ::std::string& name, InterfaceState* value) {
90  return ::google::protobuf::internal::ParseNamedEnum<InterfaceState>(
91  InterfaceState_descriptor(), name, value);
92 }
93 enum FrontSeatState {
94  FRONTSEAT_NOT_CONNECTED = 0,
95  FRONTSEAT_IDLE = 1,
96  FRONTSEAT_ACCEPTING_COMMANDS = 2,
97  FRONTSEAT_IN_CONTROL = 3
98 };
99 bool FrontSeatState_IsValid(int value);
100 const FrontSeatState FrontSeatState_MIN = FRONTSEAT_NOT_CONNECTED;
101 const FrontSeatState FrontSeatState_MAX = FRONTSEAT_IN_CONTROL;
102 const int FrontSeatState_ARRAYSIZE = FrontSeatState_MAX + 1;
103 
104 const ::google::protobuf::EnumDescriptor* FrontSeatState_descriptor();
105 inline const ::std::string& FrontSeatState_Name(FrontSeatState value) {
106  return ::google::protobuf::internal::NameOfEnum(
107  FrontSeatState_descriptor(), value);
108 }
109 inline bool FrontSeatState_Parse(
110  const ::std::string& name, FrontSeatState* value) {
111  return ::google::protobuf::internal::ParseNamedEnum<FrontSeatState>(
112  FrontSeatState_descriptor(), name, value);
113 }
114 enum HelmState {
115  HELM_NOT_RUNNING = 0,
116  HELM_DRIVE = 1,
117  HELM_PARK = 2
118 };
119 bool HelmState_IsValid(int value);
120 const HelmState HelmState_MIN = HELM_NOT_RUNNING;
121 const HelmState HelmState_MAX = HELM_PARK;
122 const int HelmState_ARRAYSIZE = HelmState_MAX + 1;
123 
124 const ::google::protobuf::EnumDescriptor* HelmState_descriptor();
125 inline const ::std::string& HelmState_Name(HelmState value) {
126  return ::google::protobuf::internal::NameOfEnum(
127  HelmState_descriptor(), value);
128 }
129 inline bool HelmState_Parse(
130  const ::std::string& name, HelmState* value) {
131  return ::google::protobuf::internal::ParseNamedEnum<HelmState>(
132  HelmState_descriptor(), name, value);
133 }
134 enum HelmError {
135  ERROR_HELM_NONE = 0,
136  ERROR_HELM_NOT_RUNNING = 1,
137  ERROR_HELM_PARKED = 2
138 };
139 bool HelmError_IsValid(int value);
140 const HelmError HelmError_MIN = ERROR_HELM_NONE;
141 const HelmError HelmError_MAX = ERROR_HELM_PARKED;
142 const int HelmError_ARRAYSIZE = HelmError_MAX + 1;
143 
144 const ::google::protobuf::EnumDescriptor* HelmError_descriptor();
145 inline const ::std::string& HelmError_Name(HelmError value) {
146  return ::google::protobuf::internal::NameOfEnum(
147  HelmError_descriptor(), value);
148 }
149 inline bool HelmError_Parse(
150  const ::std::string& name, HelmError* value) {
151  return ::google::protobuf::internal::ParseNamedEnum<HelmError>(
152  HelmError_descriptor(), name, value);
153 }
154 enum FrontSeatError {
155  ERROR_FRONTSEAT_NONE = 0,
156  ERROR_FRONTSEAT_NOT_CONNECTED = 1,
157  ERROR_FRONTSEAT_NOT_PROVIDING_DATA = 2,
158  ERROR_FRONTSEAT_IGNORING_COMMANDS = 3
159 };
160 bool FrontSeatError_IsValid(int value);
161 const FrontSeatError FrontSeatError_MIN = ERROR_FRONTSEAT_NONE;
162 const FrontSeatError FrontSeatError_MAX = ERROR_FRONTSEAT_IGNORING_COMMANDS;
163 const int FrontSeatError_ARRAYSIZE = FrontSeatError_MAX + 1;
164 
165 const ::google::protobuf::EnumDescriptor* FrontSeatError_descriptor();
166 inline const ::std::string& FrontSeatError_Name(FrontSeatError value) {
167  return ::google::protobuf::internal::NameOfEnum(
168  FrontSeatError_descriptor(), value);
169 }
170 inline bool FrontSeatError_Parse(
171  const ::std::string& name, FrontSeatError* value) {
172  return ::google::protobuf::internal::ParseNamedEnum<FrontSeatError>(
173  FrontSeatError_descriptor(), name, value);
174 }
175 // ===================================================================
176 
177 class FrontSeatInterfaceStatus : public ::google::protobuf::Message {
178  public:
180  virtual ~FrontSeatInterfaceStatus();
181 
183 
184  inline FrontSeatInterfaceStatus& operator=(const FrontSeatInterfaceStatus& from) {
185  CopyFrom(from);
186  return *this;
187  }
188 
189  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
190  return _unknown_fields_;
191  }
192 
193  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
194  return &_unknown_fields_;
195  }
196 
197  static const ::google::protobuf::Descriptor* descriptor();
198  static const FrontSeatInterfaceStatus& default_instance();
199 
200  void Swap(FrontSeatInterfaceStatus* other);
201 
202  // implements Message ----------------------------------------------
203 
204  FrontSeatInterfaceStatus* New() const;
205  void CopyFrom(const ::google::protobuf::Message& from);
206  void MergeFrom(const ::google::protobuf::Message& from);
207  void CopyFrom(const FrontSeatInterfaceStatus& from);
208  void MergeFrom(const FrontSeatInterfaceStatus& from);
209  void Clear();
210  bool IsInitialized() const;
211 
212  int ByteSize() const;
213  bool MergePartialFromCodedStream(
214  ::google::protobuf::io::CodedInputStream* input);
215  void SerializeWithCachedSizes(
216  ::google::protobuf::io::CodedOutputStream* output) const;
217  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
218  int GetCachedSize() const { return _cached_size_; }
219  private:
220  void SharedCtor();
221  void SharedDtor();
222  void SetCachedSize(int size) const;
223  public:
224  ::google::protobuf::Metadata GetMetadata() const;
225 
226  // nested types ----------------------------------------------------
227 
228  // accessors -------------------------------------------------------
229 
230  // optional .goby.moos.protobuf.InterfaceState state = 1;
231  inline bool has_state() const;
232  inline void clear_state();
233  static const int kStateFieldNumber = 1;
234  inline ::goby::moos::protobuf::InterfaceState state() const;
235  inline void set_state(::goby::moos::protobuf::InterfaceState value);
236 
237  // optional .goby.moos.protobuf.FrontSeatState frontseat_state = 2;
238  inline bool has_frontseat_state() const;
239  inline void clear_frontseat_state();
240  static const int kFrontseatStateFieldNumber = 2;
241  inline ::goby::moos::protobuf::FrontSeatState frontseat_state() const;
242  inline void set_frontseat_state(::goby::moos::protobuf::FrontSeatState value);
243 
244  // optional .goby.moos.protobuf.HelmState helm_state = 3;
245  inline bool has_helm_state() const;
246  inline void clear_helm_state();
247  static const int kHelmStateFieldNumber = 3;
248  inline ::goby::moos::protobuf::HelmState helm_state() const;
249  inline void set_helm_state(::goby::moos::protobuf::HelmState value);
250 
251  // optional .goby.moos.protobuf.HelmError helm_error = 4;
252  inline bool has_helm_error() const;
253  inline void clear_helm_error();
254  static const int kHelmErrorFieldNumber = 4;
255  inline ::goby::moos::protobuf::HelmError helm_error() const;
256  inline void set_helm_error(::goby::moos::protobuf::HelmError value);
257 
258  // optional .goby.moos.protobuf.FrontSeatError frontseat_error = 5;
259  inline bool has_frontseat_error() const;
260  inline void clear_frontseat_error();
261  static const int kFrontseatErrorFieldNumber = 5;
262  inline ::goby::moos::protobuf::FrontSeatError frontseat_error() const;
263  inline void set_frontseat_error(::goby::moos::protobuf::FrontSeatError value);
264 
265  // @@protoc_insertion_point(class_scope:goby.moos.protobuf.FrontSeatInterfaceStatus)
266  private:
267  inline void set_has_state();
268  inline void clear_has_state();
269  inline void set_has_frontseat_state();
270  inline void clear_has_frontseat_state();
271  inline void set_has_helm_state();
272  inline void clear_has_helm_state();
273  inline void set_has_helm_error();
274  inline void clear_has_helm_error();
275  inline void set_has_frontseat_error();
276  inline void clear_has_frontseat_error();
277 
278  ::google::protobuf::UnknownFieldSet _unknown_fields_;
279 
280  ::google::protobuf::uint32 _has_bits_[1];
281  mutable int _cached_size_;
282  int state_;
283  int frontseat_state_;
284  int helm_state_;
285  int helm_error_;
286  int frontseat_error_;
287  friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto();
288  friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto();
289  friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto();
290 
291  void InitAsDefaultInstance();
292  static FrontSeatInterfaceStatus* default_instance_;
293 };
294 // -------------------------------------------------------------------
295 
296 class CommandRequest : public ::google::protobuf::Message {
297  public:
298  CommandRequest();
299  virtual ~CommandRequest();
300 
301  CommandRequest(const CommandRequest& from);
302 
303  inline CommandRequest& operator=(const CommandRequest& from) {
304  CopyFrom(from);
305  return *this;
306  }
307 
308  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
309  return _unknown_fields_;
310  }
311 
312  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
313  return &_unknown_fields_;
314  }
315 
316  static const ::google::protobuf::Descriptor* descriptor();
317  static const CommandRequest& default_instance();
318 
319  void Swap(CommandRequest* other);
320 
321  // implements Message ----------------------------------------------
322 
323  CommandRequest* New() const;
324  void CopyFrom(const ::google::protobuf::Message& from);
325  void MergeFrom(const ::google::protobuf::Message& from);
326  void CopyFrom(const CommandRequest& from);
327  void MergeFrom(const CommandRequest& from);
328  void Clear();
329  bool IsInitialized() const;
330 
331  int ByteSize() const;
332  bool MergePartialFromCodedStream(
333  ::google::protobuf::io::CodedInputStream* input);
334  void SerializeWithCachedSizes(
335  ::google::protobuf::io::CodedOutputStream* output) const;
336  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
337  int GetCachedSize() const { return _cached_size_; }
338  private:
339  void SharedCtor();
340  void SharedDtor();
341  void SetCachedSize(int size) const;
342  public:
343  ::google::protobuf::Metadata GetMetadata() const;
344 
345  // nested types ----------------------------------------------------
346 
347  // accessors -------------------------------------------------------
348 
349  // optional .goby.moos.protobuf.DesiredCourse desired_course = 1;
350  inline bool has_desired_course() const;
351  inline void clear_desired_course();
352  static const int kDesiredCourseFieldNumber = 1;
353  inline const ::goby::moos::protobuf::DesiredCourse& desired_course() const;
354  inline ::goby::moos::protobuf::DesiredCourse* mutable_desired_course();
355  inline ::goby::moos::protobuf::DesiredCourse* release_desired_course();
356  inline void set_allocated_desired_course(::goby::moos::protobuf::DesiredCourse* desired_course);
357 
358  // optional bool response_requested = 10 [default = false];
359  inline bool has_response_requested() const;
360  inline void clear_response_requested();
361  static const int kResponseRequestedFieldNumber = 10;
362  inline bool response_requested() const;
363  inline void set_response_requested(bool value);
364 
365  // optional int32 request_id = 11;
366  inline bool has_request_id() const;
367  inline void clear_request_id();
368  static const int kRequestIdFieldNumber = 11;
369  inline ::google::protobuf::int32 request_id() const;
370  inline void set_request_id(::google::protobuf::int32 value);
371 
372  // optional int32 cancel_request_id = 20;
373  inline bool has_cancel_request_id() const;
374  inline void clear_cancel_request_id();
375  static const int kCancelRequestIdFieldNumber = 20;
376  inline ::google::protobuf::int32 cancel_request_id() const;
377  inline void set_cancel_request_id(::google::protobuf::int32 value);
378 
379  GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(CommandRequest)
380  // @@protoc_insertion_point(class_scope:goby.moos.protobuf.CommandRequest)
381  private:
382  inline void set_has_desired_course();
383  inline void clear_has_desired_course();
384  inline void set_has_response_requested();
385  inline void clear_has_response_requested();
386  inline void set_has_request_id();
387  inline void clear_has_request_id();
388  inline void set_has_cancel_request_id();
389  inline void clear_has_cancel_request_id();
390 
391  ::google::protobuf::internal::ExtensionSet _extensions_;
392 
393  ::google::protobuf::UnknownFieldSet _unknown_fields_;
394 
395  ::google::protobuf::uint32 _has_bits_[1];
396  mutable int _cached_size_;
397  ::goby::moos::protobuf::DesiredCourse* desired_course_;
398  bool response_requested_;
399  ::google::protobuf::int32 request_id_;
400  ::google::protobuf::int32 cancel_request_id_;
401  friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto();
402  friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto();
403  friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto();
404 
405  void InitAsDefaultInstance();
406  static CommandRequest* default_instance_;
407 };
408 // -------------------------------------------------------------------
409 
410 class CommandResponse : public ::google::protobuf::Message {
411  public:
412  CommandResponse();
413  virtual ~CommandResponse();
414 
415  CommandResponse(const CommandResponse& from);
416 
417  inline CommandResponse& operator=(const CommandResponse& from) {
418  CopyFrom(from);
419  return *this;
420  }
421 
422  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
423  return _unknown_fields_;
424  }
425 
426  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
427  return &_unknown_fields_;
428  }
429 
430  static const ::google::protobuf::Descriptor* descriptor();
431  static const CommandResponse& default_instance();
432 
433  void Swap(CommandResponse* other);
434 
435  // implements Message ----------------------------------------------
436 
437  CommandResponse* New() const;
438  void CopyFrom(const ::google::protobuf::Message& from);
439  void MergeFrom(const ::google::protobuf::Message& from);
440  void CopyFrom(const CommandResponse& from);
441  void MergeFrom(const CommandResponse& from);
442  void Clear();
443  bool IsInitialized() const;
444 
445  int ByteSize() const;
446  bool MergePartialFromCodedStream(
447  ::google::protobuf::io::CodedInputStream* input);
448  void SerializeWithCachedSizes(
449  ::google::protobuf::io::CodedOutputStream* output) const;
450  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
451  int GetCachedSize() const { return _cached_size_; }
452  private:
453  void SharedCtor();
454  void SharedDtor();
455  void SetCachedSize(int size) const;
456  public:
457  ::google::protobuf::Metadata GetMetadata() const;
458 
459  // nested types ----------------------------------------------------
460 
461  // accessors -------------------------------------------------------
462 
463  // optional bool request_successful = 10;
464  inline bool has_request_successful() const;
465  inline void clear_request_successful();
466  static const int kRequestSuccessfulFieldNumber = 10;
467  inline bool request_successful() const;
468  inline void set_request_successful(bool value);
469 
470  // optional int32 request_id = 11;
471  inline bool has_request_id() const;
472  inline void clear_request_id();
473  static const int kRequestIdFieldNumber = 11;
474  inline ::google::protobuf::int32 request_id() const;
475  inline void set_request_id(::google::protobuf::int32 value);
476 
477  // optional int32 error_code = 20 [default = 0];
478  inline bool has_error_code() const;
479  inline void clear_error_code();
480  static const int kErrorCodeFieldNumber = 20;
481  inline ::google::protobuf::int32 error_code() const;
482  inline void set_error_code(::google::protobuf::int32 value);
483 
484  // optional string error_string = 21;
485  inline bool has_error_string() const;
486  inline void clear_error_string();
487  static const int kErrorStringFieldNumber = 21;
488  inline const ::std::string& error_string() const;
489  inline void set_error_string(const ::std::string& value);
490  inline void set_error_string(const char* value);
491  inline void set_error_string(const char* value, size_t size);
492  inline ::std::string* mutable_error_string();
493  inline ::std::string* release_error_string();
494  inline void set_allocated_error_string(::std::string* error_string);
495 
496  GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(CommandResponse)
497  // @@protoc_insertion_point(class_scope:goby.moos.protobuf.CommandResponse)
498  private:
499  inline void set_has_request_successful();
500  inline void clear_has_request_successful();
501  inline void set_has_request_id();
502  inline void clear_has_request_id();
503  inline void set_has_error_code();
504  inline void clear_has_error_code();
505  inline void set_has_error_string();
506  inline void clear_has_error_string();
507 
508  ::google::protobuf::internal::ExtensionSet _extensions_;
509 
510  ::google::protobuf::UnknownFieldSet _unknown_fields_;
511 
512  ::google::protobuf::uint32 _has_bits_[1];
513  mutable int _cached_size_;
514  bool request_successful_;
515  ::google::protobuf::int32 request_id_;
516  ::std::string* error_string_;
517  ::google::protobuf::int32 error_code_;
518  friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto();
519  friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto();
520  friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto();
521 
522  void InitAsDefaultInstance();
523  static CommandResponse* default_instance_;
524 };
525 // -------------------------------------------------------------------
526 
527 class FrontSeatInterfaceData : public ::google::protobuf::Message {
528  public:
530  virtual ~FrontSeatInterfaceData();
531 
533 
534  inline FrontSeatInterfaceData& operator=(const FrontSeatInterfaceData& from) {
535  CopyFrom(from);
536  return *this;
537  }
538 
539  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
540  return _unknown_fields_;
541  }
542 
543  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
544  return &_unknown_fields_;
545  }
546 
547  static const ::google::protobuf::Descriptor* descriptor();
548  static const FrontSeatInterfaceData& default_instance();
549 
550  void Swap(FrontSeatInterfaceData* other);
551 
552  // implements Message ----------------------------------------------
553 
554  FrontSeatInterfaceData* New() const;
555  void CopyFrom(const ::google::protobuf::Message& from);
556  void MergeFrom(const ::google::protobuf::Message& from);
557  void CopyFrom(const FrontSeatInterfaceData& from);
558  void MergeFrom(const FrontSeatInterfaceData& from);
559  void Clear();
560  bool IsInitialized() const;
561 
562  int ByteSize() const;
563  bool MergePartialFromCodedStream(
564  ::google::protobuf::io::CodedInputStream* input);
565  void SerializeWithCachedSizes(
566  ::google::protobuf::io::CodedOutputStream* output) const;
567  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
568  int GetCachedSize() const { return _cached_size_; }
569  private:
570  void SharedCtor();
571  void SharedDtor();
572  void SetCachedSize(int size) const;
573  public:
574  ::google::protobuf::Metadata GetMetadata() const;
575 
576  // nested types ----------------------------------------------------
577 
578  // accessors -------------------------------------------------------
579 
580  // optional .goby.moos.protobuf.NodeStatus node_status = 1;
581  inline bool has_node_status() const;
582  inline void clear_node_status();
583  static const int kNodeStatusFieldNumber = 1;
584  inline const ::goby::moos::protobuf::NodeStatus& node_status() const;
585  inline ::goby::moos::protobuf::NodeStatus* mutable_node_status();
586  inline ::goby::moos::protobuf::NodeStatus* release_node_status();
587  inline void set_allocated_node_status(::goby::moos::protobuf::NodeStatus* node_status);
588 
589  // optional .goby.moos.protobuf.CTDSample ctd_sample = 2;
590  inline bool has_ctd_sample() const;
591  inline void clear_ctd_sample();
592  static const int kCtdSampleFieldNumber = 2;
593  inline const ::goby::moos::protobuf::CTDSample& ctd_sample() const;
594  inline ::goby::moos::protobuf::CTDSample* mutable_ctd_sample();
595  inline ::goby::moos::protobuf::CTDSample* release_ctd_sample();
596  inline void set_allocated_ctd_sample(::goby::moos::protobuf::CTDSample* ctd_sample);
597 
598  // optional bytes dccl_message = 3;
599  inline bool has_dccl_message() const;
600  inline void clear_dccl_message();
601  static const int kDcclMessageFieldNumber = 3;
602  inline const ::std::string& dccl_message() const;
603  inline void set_dccl_message(const ::std::string& value);
604  inline void set_dccl_message(const char* value);
605  inline void set_dccl_message(const void* value, size_t size);
606  inline ::std::string* mutable_dccl_message();
607  inline ::std::string* release_dccl_message();
608  inline void set_allocated_dccl_message(::std::string* dccl_message);
609 
610  GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FrontSeatInterfaceData)
611  // @@protoc_insertion_point(class_scope:goby.moos.protobuf.FrontSeatInterfaceData)
612  private:
613  inline void set_has_node_status();
614  inline void clear_has_node_status();
615  inline void set_has_ctd_sample();
616  inline void clear_has_ctd_sample();
617  inline void set_has_dccl_message();
618  inline void clear_has_dccl_message();
619 
620  ::google::protobuf::internal::ExtensionSet _extensions_;
621 
622  ::google::protobuf::UnknownFieldSet _unknown_fields_;
623 
624  ::google::protobuf::uint32 _has_bits_[1];
625  mutable int _cached_size_;
628  ::std::string* dccl_message_;
629  friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto();
630  friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto();
631  friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto();
632 
633  void InitAsDefaultInstance();
634  static FrontSeatInterfaceData* default_instance_;
635 };
636 // -------------------------------------------------------------------
637 
638 class FrontSeatRaw : public ::google::protobuf::Message {
639  public:
640  FrontSeatRaw();
641  virtual ~FrontSeatRaw();
642 
643  FrontSeatRaw(const FrontSeatRaw& from);
644 
645  inline FrontSeatRaw& operator=(const FrontSeatRaw& from) {
646  CopyFrom(from);
647  return *this;
648  }
649 
650  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
651  return _unknown_fields_;
652  }
653 
654  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
655  return &_unknown_fields_;
656  }
657 
658  static const ::google::protobuf::Descriptor* descriptor();
659  static const FrontSeatRaw& default_instance();
660 
661  void Swap(FrontSeatRaw* other);
662 
663  // implements Message ----------------------------------------------
664 
665  FrontSeatRaw* New() const;
666  void CopyFrom(const ::google::protobuf::Message& from);
667  void MergeFrom(const ::google::protobuf::Message& from);
668  void CopyFrom(const FrontSeatRaw& from);
669  void MergeFrom(const FrontSeatRaw& from);
670  void Clear();
671  bool IsInitialized() const;
672 
673  int ByteSize() const;
674  bool MergePartialFromCodedStream(
675  ::google::protobuf::io::CodedInputStream* input);
676  void SerializeWithCachedSizes(
677  ::google::protobuf::io::CodedOutputStream* output) const;
678  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
679  int GetCachedSize() const { return _cached_size_; }
680  private:
681  void SharedCtor();
682  void SharedDtor();
683  void SetCachedSize(int size) const;
684  public:
685  ::google::protobuf::Metadata GetMetadata() const;
686 
687  // nested types ----------------------------------------------------
688 
689  typedef FrontSeatRaw_RawType RawType;
690  static const RawType RAW_ASCII = FrontSeatRaw_RawType_RAW_ASCII;
691  static const RawType RAW_BINARY = FrontSeatRaw_RawType_RAW_BINARY;
692  static inline bool RawType_IsValid(int value) {
693  return FrontSeatRaw_RawType_IsValid(value);
694  }
695  static const RawType RawType_MIN =
696  FrontSeatRaw_RawType_RawType_MIN;
697  static const RawType RawType_MAX =
698  FrontSeatRaw_RawType_RawType_MAX;
699  static const int RawType_ARRAYSIZE =
700  FrontSeatRaw_RawType_RawType_ARRAYSIZE;
701  static inline const ::google::protobuf::EnumDescriptor*
702  RawType_descriptor() {
703  return FrontSeatRaw_RawType_descriptor();
704  }
705  static inline const ::std::string& RawType_Name(RawType value) {
706  return FrontSeatRaw_RawType_Name(value);
707  }
708  static inline bool RawType_Parse(const ::std::string& name,
709  RawType* value) {
710  return FrontSeatRaw_RawType_Parse(name, value);
711  }
712 
713  // accessors -------------------------------------------------------
714 
715  // optional bytes raw = 1;
716  inline bool has_raw() const;
717  inline void clear_raw();
718  static const int kRawFieldNumber = 1;
719  inline const ::std::string& raw() const;
720  inline void set_raw(const ::std::string& value);
721  inline void set_raw(const char* value);
722  inline void set_raw(const void* value, size_t size);
723  inline ::std::string* mutable_raw();
724  inline ::std::string* release_raw();
725  inline void set_allocated_raw(::std::string* raw);
726 
727  // optional .goby.moos.protobuf.FrontSeatRaw.RawType type = 2 [default = RAW_ASCII];
728  inline bool has_type() const;
729  inline void clear_type();
730  static const int kTypeFieldNumber = 2;
731  inline ::goby::moos::protobuf::FrontSeatRaw_RawType type() const;
732  inline void set_type(::goby::moos::protobuf::FrontSeatRaw_RawType value);
733 
734  // optional string description = 3;
735  inline bool has_description() const;
736  inline void clear_description();
737  static const int kDescriptionFieldNumber = 3;
738  inline const ::std::string& description() const;
739  inline void set_description(const ::std::string& value);
740  inline void set_description(const char* value);
741  inline void set_description(const char* value, size_t size);
742  inline ::std::string* mutable_description();
743  inline ::std::string* release_description();
744  inline void set_allocated_description(::std::string* description);
745 
746  // @@protoc_insertion_point(class_scope:goby.moos.protobuf.FrontSeatRaw)
747  private:
748  inline void set_has_raw();
749  inline void clear_has_raw();
750  inline void set_has_type();
751  inline void clear_has_type();
752  inline void set_has_description();
753  inline void clear_has_description();
754 
755  ::google::protobuf::UnknownFieldSet _unknown_fields_;
756 
757  ::google::protobuf::uint32 _has_bits_[1];
758  mutable int _cached_size_;
759  ::std::string* raw_;
760  ::std::string* description_;
761  int type_;
762  friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto();
763  friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto();
764  friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto();
765 
766  void InitAsDefaultInstance();
767  static FrontSeatRaw* default_instance_;
768 };
769 // ===================================================================
770 
771 
772 // ===================================================================
773 
774 // FrontSeatInterfaceStatus
775 
776 // optional .goby.moos.protobuf.InterfaceState state = 1;
777 inline bool FrontSeatInterfaceStatus::has_state() const {
778  return (_has_bits_[0] & 0x00000001u) != 0;
779 }
780 inline void FrontSeatInterfaceStatus::set_has_state() {
781  _has_bits_[0] |= 0x00000001u;
782 }
783 inline void FrontSeatInterfaceStatus::clear_has_state() {
784  _has_bits_[0] &= ~0x00000001u;
785 }
786 inline void FrontSeatInterfaceStatus::clear_state() {
787  state_ = 1;
788  clear_has_state();
789 }
790 inline ::goby::moos::protobuf::InterfaceState FrontSeatInterfaceStatus::state() const {
791  // @@protoc_insertion_point(field_get:goby.moos.protobuf.FrontSeatInterfaceStatus.state)
792  return static_cast< ::goby::moos::protobuf::InterfaceState >(state_);
793 }
794 inline void FrontSeatInterfaceStatus::set_state(::goby::moos::protobuf::InterfaceState value) {
795  assert(::goby::moos::protobuf::InterfaceState_IsValid(value));
796  set_has_state();
797  state_ = value;
798  // @@protoc_insertion_point(field_set:goby.moos.protobuf.FrontSeatInterfaceStatus.state)
799 }
800 
801 // optional .goby.moos.protobuf.FrontSeatState frontseat_state = 2;
802 inline bool FrontSeatInterfaceStatus::has_frontseat_state() const {
803  return (_has_bits_[0] & 0x00000002u) != 0;
804 }
805 inline void FrontSeatInterfaceStatus::set_has_frontseat_state() {
806  _has_bits_[0] |= 0x00000002u;
807 }
808 inline void FrontSeatInterfaceStatus::clear_has_frontseat_state() {
809  _has_bits_[0] &= ~0x00000002u;
810 }
811 inline void FrontSeatInterfaceStatus::clear_frontseat_state() {
812  frontseat_state_ = 0;
813  clear_has_frontseat_state();
814 }
815 inline ::goby::moos::protobuf::FrontSeatState FrontSeatInterfaceStatus::frontseat_state() const {
816  // @@protoc_insertion_point(field_get:goby.moos.protobuf.FrontSeatInterfaceStatus.frontseat_state)
817  return static_cast< ::goby::moos::protobuf::FrontSeatState >(frontseat_state_);
818 }
819 inline void FrontSeatInterfaceStatus::set_frontseat_state(::goby::moos::protobuf::FrontSeatState value) {
820  assert(::goby::moos::protobuf::FrontSeatState_IsValid(value));
821  set_has_frontseat_state();
822  frontseat_state_ = value;
823  // @@protoc_insertion_point(field_set:goby.moos.protobuf.FrontSeatInterfaceStatus.frontseat_state)
824 }
825 
826 // optional .goby.moos.protobuf.HelmState helm_state = 3;
827 inline bool FrontSeatInterfaceStatus::has_helm_state() const {
828  return (_has_bits_[0] & 0x00000004u) != 0;
829 }
830 inline void FrontSeatInterfaceStatus::set_has_helm_state() {
831  _has_bits_[0] |= 0x00000004u;
832 }
833 inline void FrontSeatInterfaceStatus::clear_has_helm_state() {
834  _has_bits_[0] &= ~0x00000004u;
835 }
836 inline void FrontSeatInterfaceStatus::clear_helm_state() {
837  helm_state_ = 0;
838  clear_has_helm_state();
839 }
840 inline ::goby::moos::protobuf::HelmState FrontSeatInterfaceStatus::helm_state() const {
841  // @@protoc_insertion_point(field_get:goby.moos.protobuf.FrontSeatInterfaceStatus.helm_state)
842  return static_cast< ::goby::moos::protobuf::HelmState >(helm_state_);
843 }
844 inline void FrontSeatInterfaceStatus::set_helm_state(::goby::moos::protobuf::HelmState value) {
845  assert(::goby::moos::protobuf::HelmState_IsValid(value));
846  set_has_helm_state();
847  helm_state_ = value;
848  // @@protoc_insertion_point(field_set:goby.moos.protobuf.FrontSeatInterfaceStatus.helm_state)
849 }
850 
851 // optional .goby.moos.protobuf.HelmError helm_error = 4;
852 inline bool FrontSeatInterfaceStatus::has_helm_error() const {
853  return (_has_bits_[0] & 0x00000008u) != 0;
854 }
855 inline void FrontSeatInterfaceStatus::set_has_helm_error() {
856  _has_bits_[0] |= 0x00000008u;
857 }
858 inline void FrontSeatInterfaceStatus::clear_has_helm_error() {
859  _has_bits_[0] &= ~0x00000008u;
860 }
861 inline void FrontSeatInterfaceStatus::clear_helm_error() {
862  helm_error_ = 0;
863  clear_has_helm_error();
864 }
865 inline ::goby::moos::protobuf::HelmError FrontSeatInterfaceStatus::helm_error() const {
866  // @@protoc_insertion_point(field_get:goby.moos.protobuf.FrontSeatInterfaceStatus.helm_error)
867  return static_cast< ::goby::moos::protobuf::HelmError >(helm_error_);
868 }
869 inline void FrontSeatInterfaceStatus::set_helm_error(::goby::moos::protobuf::HelmError value) {
870  assert(::goby::moos::protobuf::HelmError_IsValid(value));
871  set_has_helm_error();
872  helm_error_ = value;
873  // @@protoc_insertion_point(field_set:goby.moos.protobuf.FrontSeatInterfaceStatus.helm_error)
874 }
875 
876 // optional .goby.moos.protobuf.FrontSeatError frontseat_error = 5;
877 inline bool FrontSeatInterfaceStatus::has_frontseat_error() const {
878  return (_has_bits_[0] & 0x00000010u) != 0;
879 }
880 inline void FrontSeatInterfaceStatus::set_has_frontseat_error() {
881  _has_bits_[0] |= 0x00000010u;
882 }
883 inline void FrontSeatInterfaceStatus::clear_has_frontseat_error() {
884  _has_bits_[0] &= ~0x00000010u;
885 }
886 inline void FrontSeatInterfaceStatus::clear_frontseat_error() {
887  frontseat_error_ = 0;
888  clear_has_frontseat_error();
889 }
890 inline ::goby::moos::protobuf::FrontSeatError FrontSeatInterfaceStatus::frontseat_error() const {
891  // @@protoc_insertion_point(field_get:goby.moos.protobuf.FrontSeatInterfaceStatus.frontseat_error)
892  return static_cast< ::goby::moos::protobuf::FrontSeatError >(frontseat_error_);
893 }
894 inline void FrontSeatInterfaceStatus::set_frontseat_error(::goby::moos::protobuf::FrontSeatError value) {
895  assert(::goby::moos::protobuf::FrontSeatError_IsValid(value));
896  set_has_frontseat_error();
897  frontseat_error_ = value;
898  // @@protoc_insertion_point(field_set:goby.moos.protobuf.FrontSeatInterfaceStatus.frontseat_error)
899 }
900 
901 // -------------------------------------------------------------------
902 
903 // CommandRequest
904 
905 // optional .goby.moos.protobuf.DesiredCourse desired_course = 1;
906 inline bool CommandRequest::has_desired_course() const {
907  return (_has_bits_[0] & 0x00000001u) != 0;
908 }
909 inline void CommandRequest::set_has_desired_course() {
910  _has_bits_[0] |= 0x00000001u;
911 }
912 inline void CommandRequest::clear_has_desired_course() {
913  _has_bits_[0] &= ~0x00000001u;
914 }
915 inline void CommandRequest::clear_desired_course() {
916  if (desired_course_ != NULL) desired_course_->::goby::moos::protobuf::DesiredCourse::Clear();
917  clear_has_desired_course();
918 }
919 inline const ::goby::moos::protobuf::DesiredCourse& CommandRequest::desired_course() const {
920  // @@protoc_insertion_point(field_get:goby.moos.protobuf.CommandRequest.desired_course)
921  return desired_course_ != NULL ? *desired_course_ : *default_instance_->desired_course_;
922 }
923 inline ::goby::moos::protobuf::DesiredCourse* CommandRequest::mutable_desired_course() {
924  set_has_desired_course();
925  if (desired_course_ == NULL) desired_course_ = new ::goby::moos::protobuf::DesiredCourse;
926  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.CommandRequest.desired_course)
927  return desired_course_;
928 }
929 inline ::goby::moos::protobuf::DesiredCourse* CommandRequest::release_desired_course() {
930  clear_has_desired_course();
931  ::goby::moos::protobuf::DesiredCourse* temp = desired_course_;
932  desired_course_ = NULL;
933  return temp;
934 }
935 inline void CommandRequest::set_allocated_desired_course(::goby::moos::protobuf::DesiredCourse* desired_course) {
936  delete desired_course_;
937  desired_course_ = desired_course;
938  if (desired_course) {
939  set_has_desired_course();
940  } else {
941  clear_has_desired_course();
942  }
943  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.CommandRequest.desired_course)
944 }
945 
946 // optional bool response_requested = 10 [default = false];
947 inline bool CommandRequest::has_response_requested() const {
948  return (_has_bits_[0] & 0x00000002u) != 0;
949 }
950 inline void CommandRequest::set_has_response_requested() {
951  _has_bits_[0] |= 0x00000002u;
952 }
953 inline void CommandRequest::clear_has_response_requested() {
954  _has_bits_[0] &= ~0x00000002u;
955 }
956 inline void CommandRequest::clear_response_requested() {
957  response_requested_ = false;
958  clear_has_response_requested();
959 }
960 inline bool CommandRequest::response_requested() const {
961  // @@protoc_insertion_point(field_get:goby.moos.protobuf.CommandRequest.response_requested)
962  return response_requested_;
963 }
964 inline void CommandRequest::set_response_requested(bool value) {
965  set_has_response_requested();
966  response_requested_ = value;
967  // @@protoc_insertion_point(field_set:goby.moos.protobuf.CommandRequest.response_requested)
968 }
969 
970 // optional int32 request_id = 11;
971 inline bool CommandRequest::has_request_id() const {
972  return (_has_bits_[0] & 0x00000004u) != 0;
973 }
974 inline void CommandRequest::set_has_request_id() {
975  _has_bits_[0] |= 0x00000004u;
976 }
977 inline void CommandRequest::clear_has_request_id() {
978  _has_bits_[0] &= ~0x00000004u;
979 }
980 inline void CommandRequest::clear_request_id() {
981  request_id_ = 0;
982  clear_has_request_id();
983 }
984 inline ::google::protobuf::int32 CommandRequest::request_id() const {
985  // @@protoc_insertion_point(field_get:goby.moos.protobuf.CommandRequest.request_id)
986  return request_id_;
987 }
988 inline void CommandRequest::set_request_id(::google::protobuf::int32 value) {
989  set_has_request_id();
990  request_id_ = value;
991  // @@protoc_insertion_point(field_set:goby.moos.protobuf.CommandRequest.request_id)
992 }
993 
994 // optional int32 cancel_request_id = 20;
995 inline bool CommandRequest::has_cancel_request_id() const {
996  return (_has_bits_[0] & 0x00000008u) != 0;
997 }
998 inline void CommandRequest::set_has_cancel_request_id() {
999  _has_bits_[0] |= 0x00000008u;
1000 }
1001 inline void CommandRequest::clear_has_cancel_request_id() {
1002  _has_bits_[0] &= ~0x00000008u;
1003 }
1004 inline void CommandRequest::clear_cancel_request_id() {
1005  cancel_request_id_ = 0;
1006  clear_has_cancel_request_id();
1007 }
1008 inline ::google::protobuf::int32 CommandRequest::cancel_request_id() const {
1009  // @@protoc_insertion_point(field_get:goby.moos.protobuf.CommandRequest.cancel_request_id)
1010  return cancel_request_id_;
1011 }
1012 inline void CommandRequest::set_cancel_request_id(::google::protobuf::int32 value) {
1013  set_has_cancel_request_id();
1014  cancel_request_id_ = value;
1015  // @@protoc_insertion_point(field_set:goby.moos.protobuf.CommandRequest.cancel_request_id)
1016 }
1017 
1018 // -------------------------------------------------------------------
1019 
1020 // CommandResponse
1021 
1022 // optional bool request_successful = 10;
1023 inline bool CommandResponse::has_request_successful() const {
1024  return (_has_bits_[0] & 0x00000001u) != 0;
1025 }
1026 inline void CommandResponse::set_has_request_successful() {
1027  _has_bits_[0] |= 0x00000001u;
1028 }
1029 inline void CommandResponse::clear_has_request_successful() {
1030  _has_bits_[0] &= ~0x00000001u;
1031 }
1032 inline void CommandResponse::clear_request_successful() {
1033  request_successful_ = false;
1034  clear_has_request_successful();
1035 }
1036 inline bool CommandResponse::request_successful() const {
1037  // @@protoc_insertion_point(field_get:goby.moos.protobuf.CommandResponse.request_successful)
1038  return request_successful_;
1039 }
1040 inline void CommandResponse::set_request_successful(bool value) {
1041  set_has_request_successful();
1042  request_successful_ = value;
1043  // @@protoc_insertion_point(field_set:goby.moos.protobuf.CommandResponse.request_successful)
1044 }
1045 
1046 // optional int32 request_id = 11;
1047 inline bool CommandResponse::has_request_id() const {
1048  return (_has_bits_[0] & 0x00000002u) != 0;
1049 }
1050 inline void CommandResponse::set_has_request_id() {
1051  _has_bits_[0] |= 0x00000002u;
1052 }
1053 inline void CommandResponse::clear_has_request_id() {
1054  _has_bits_[0] &= ~0x00000002u;
1055 }
1056 inline void CommandResponse::clear_request_id() {
1057  request_id_ = 0;
1058  clear_has_request_id();
1059 }
1060 inline ::google::protobuf::int32 CommandResponse::request_id() const {
1061  // @@protoc_insertion_point(field_get:goby.moos.protobuf.CommandResponse.request_id)
1062  return request_id_;
1063 }
1064 inline void CommandResponse::set_request_id(::google::protobuf::int32 value) {
1065  set_has_request_id();
1066  request_id_ = value;
1067  // @@protoc_insertion_point(field_set:goby.moos.protobuf.CommandResponse.request_id)
1068 }
1069 
1070 // optional int32 error_code = 20 [default = 0];
1071 inline bool CommandResponse::has_error_code() const {
1072  return (_has_bits_[0] & 0x00000004u) != 0;
1073 }
1074 inline void CommandResponse::set_has_error_code() {
1075  _has_bits_[0] |= 0x00000004u;
1076 }
1077 inline void CommandResponse::clear_has_error_code() {
1078  _has_bits_[0] &= ~0x00000004u;
1079 }
1080 inline void CommandResponse::clear_error_code() {
1081  error_code_ = 0;
1082  clear_has_error_code();
1083 }
1084 inline ::google::protobuf::int32 CommandResponse::error_code() const {
1085  // @@protoc_insertion_point(field_get:goby.moos.protobuf.CommandResponse.error_code)
1086  return error_code_;
1087 }
1088 inline void CommandResponse::set_error_code(::google::protobuf::int32 value) {
1089  set_has_error_code();
1090  error_code_ = value;
1091  // @@protoc_insertion_point(field_set:goby.moos.protobuf.CommandResponse.error_code)
1092 }
1093 
1094 // optional string error_string = 21;
1095 inline bool CommandResponse::has_error_string() const {
1096  return (_has_bits_[0] & 0x00000008u) != 0;
1097 }
1098 inline void CommandResponse::set_has_error_string() {
1099  _has_bits_[0] |= 0x00000008u;
1100 }
1101 inline void CommandResponse::clear_has_error_string() {
1102  _has_bits_[0] &= ~0x00000008u;
1103 }
1104 inline void CommandResponse::clear_error_string() {
1105  if (error_string_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1106  error_string_->clear();
1107  }
1108  clear_has_error_string();
1109 }
1110 inline const ::std::string& CommandResponse::error_string() const {
1111  // @@protoc_insertion_point(field_get:goby.moos.protobuf.CommandResponse.error_string)
1112  return *error_string_;
1113 }
1114 inline void CommandResponse::set_error_string(const ::std::string& value) {
1115  set_has_error_string();
1116  if (error_string_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1117  error_string_ = new ::std::string;
1118  }
1119  error_string_->assign(value);
1120  // @@protoc_insertion_point(field_set:goby.moos.protobuf.CommandResponse.error_string)
1121 }
1122 inline void CommandResponse::set_error_string(const char* value) {
1123  set_has_error_string();
1124  if (error_string_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1125  error_string_ = new ::std::string;
1126  }
1127  error_string_->assign(value);
1128  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.CommandResponse.error_string)
1129 }
1130 inline void CommandResponse::set_error_string(const char* value, size_t size) {
1131  set_has_error_string();
1132  if (error_string_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1133  error_string_ = new ::std::string;
1134  }
1135  error_string_->assign(reinterpret_cast<const char*>(value), size);
1136  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.CommandResponse.error_string)
1137 }
1138 inline ::std::string* CommandResponse::mutable_error_string() {
1139  set_has_error_string();
1140  if (error_string_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1141  error_string_ = new ::std::string;
1142  }
1143  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.CommandResponse.error_string)
1144  return error_string_;
1145 }
1146 inline ::std::string* CommandResponse::release_error_string() {
1147  clear_has_error_string();
1148  if (error_string_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1149  return NULL;
1150  } else {
1151  ::std::string* temp = error_string_;
1152  error_string_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1153  return temp;
1154  }
1155 }
1156 inline void CommandResponse::set_allocated_error_string(::std::string* error_string) {
1157  if (error_string_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1158  delete error_string_;
1159  }
1160  if (error_string) {
1161  set_has_error_string();
1162  error_string_ = error_string;
1163  } else {
1164  clear_has_error_string();
1165  error_string_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1166  }
1167  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.CommandResponse.error_string)
1168 }
1169 
1170 // -------------------------------------------------------------------
1171 
1172 // FrontSeatInterfaceData
1173 
1174 // optional .goby.moos.protobuf.NodeStatus node_status = 1;
1175 inline bool FrontSeatInterfaceData::has_node_status() const {
1176  return (_has_bits_[0] & 0x00000001u) != 0;
1177 }
1178 inline void FrontSeatInterfaceData::set_has_node_status() {
1179  _has_bits_[0] |= 0x00000001u;
1180 }
1181 inline void FrontSeatInterfaceData::clear_has_node_status() {
1182  _has_bits_[0] &= ~0x00000001u;
1183 }
1184 inline void FrontSeatInterfaceData::clear_node_status() {
1185  if (node_status_ != NULL) node_status_->::goby::moos::protobuf::NodeStatus::Clear();
1186  clear_has_node_status();
1187 }
1188 inline const ::goby::moos::protobuf::NodeStatus& FrontSeatInterfaceData::node_status() const {
1189  // @@protoc_insertion_point(field_get:goby.moos.protobuf.FrontSeatInterfaceData.node_status)
1190  return node_status_ != NULL ? *node_status_ : *default_instance_->node_status_;
1191 }
1192 inline ::goby::moos::protobuf::NodeStatus* FrontSeatInterfaceData::mutable_node_status() {
1193  set_has_node_status();
1194  if (node_status_ == NULL) node_status_ = new ::goby::moos::protobuf::NodeStatus;
1195  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.FrontSeatInterfaceData.node_status)
1196  return node_status_;
1197 }
1198 inline ::goby::moos::protobuf::NodeStatus* FrontSeatInterfaceData::release_node_status() {
1199  clear_has_node_status();
1200  ::goby::moos::protobuf::NodeStatus* temp = node_status_;
1201  node_status_ = NULL;
1202  return temp;
1203 }
1204 inline void FrontSeatInterfaceData::set_allocated_node_status(::goby::moos::protobuf::NodeStatus* node_status) {
1205  delete node_status_;
1206  node_status_ = node_status;
1207  if (node_status) {
1208  set_has_node_status();
1209  } else {
1210  clear_has_node_status();
1211  }
1212  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.FrontSeatInterfaceData.node_status)
1213 }
1214 
1215 // optional .goby.moos.protobuf.CTDSample ctd_sample = 2;
1216 inline bool FrontSeatInterfaceData::has_ctd_sample() const {
1217  return (_has_bits_[0] & 0x00000002u) != 0;
1218 }
1219 inline void FrontSeatInterfaceData::set_has_ctd_sample() {
1220  _has_bits_[0] |= 0x00000002u;
1221 }
1222 inline void FrontSeatInterfaceData::clear_has_ctd_sample() {
1223  _has_bits_[0] &= ~0x00000002u;
1224 }
1225 inline void FrontSeatInterfaceData::clear_ctd_sample() {
1226  if (ctd_sample_ != NULL) ctd_sample_->::goby::moos::protobuf::CTDSample::Clear();
1227  clear_has_ctd_sample();
1228 }
1229 inline const ::goby::moos::protobuf::CTDSample& FrontSeatInterfaceData::ctd_sample() const {
1230  // @@protoc_insertion_point(field_get:goby.moos.protobuf.FrontSeatInterfaceData.ctd_sample)
1231  return ctd_sample_ != NULL ? *ctd_sample_ : *default_instance_->ctd_sample_;
1232 }
1233 inline ::goby::moos::protobuf::CTDSample* FrontSeatInterfaceData::mutable_ctd_sample() {
1234  set_has_ctd_sample();
1235  if (ctd_sample_ == NULL) ctd_sample_ = new ::goby::moos::protobuf::CTDSample;
1236  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.FrontSeatInterfaceData.ctd_sample)
1237  return ctd_sample_;
1238 }
1239 inline ::goby::moos::protobuf::CTDSample* FrontSeatInterfaceData::release_ctd_sample() {
1240  clear_has_ctd_sample();
1241  ::goby::moos::protobuf::CTDSample* temp = ctd_sample_;
1242  ctd_sample_ = NULL;
1243  return temp;
1244 }
1245 inline void FrontSeatInterfaceData::set_allocated_ctd_sample(::goby::moos::protobuf::CTDSample* ctd_sample) {
1246  delete ctd_sample_;
1247  ctd_sample_ = ctd_sample;
1248  if (ctd_sample) {
1249  set_has_ctd_sample();
1250  } else {
1251  clear_has_ctd_sample();
1252  }
1253  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.FrontSeatInterfaceData.ctd_sample)
1254 }
1255 
1256 // optional bytes dccl_message = 3;
1257 inline bool FrontSeatInterfaceData::has_dccl_message() const {
1258  return (_has_bits_[0] & 0x00000004u) != 0;
1259 }
1260 inline void FrontSeatInterfaceData::set_has_dccl_message() {
1261  _has_bits_[0] |= 0x00000004u;
1262 }
1263 inline void FrontSeatInterfaceData::clear_has_dccl_message() {
1264  _has_bits_[0] &= ~0x00000004u;
1265 }
1266 inline void FrontSeatInterfaceData::clear_dccl_message() {
1267  if (dccl_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1268  dccl_message_->clear();
1269  }
1270  clear_has_dccl_message();
1271 }
1272 inline const ::std::string& FrontSeatInterfaceData::dccl_message() const {
1273  // @@protoc_insertion_point(field_get:goby.moos.protobuf.FrontSeatInterfaceData.dccl_message)
1274  return *dccl_message_;
1275 }
1276 inline void FrontSeatInterfaceData::set_dccl_message(const ::std::string& value) {
1277  set_has_dccl_message();
1278  if (dccl_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1279  dccl_message_ = new ::std::string;
1280  }
1281  dccl_message_->assign(value);
1282  // @@protoc_insertion_point(field_set:goby.moos.protobuf.FrontSeatInterfaceData.dccl_message)
1283 }
1284 inline void FrontSeatInterfaceData::set_dccl_message(const char* value) {
1285  set_has_dccl_message();
1286  if (dccl_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1287  dccl_message_ = new ::std::string;
1288  }
1289  dccl_message_->assign(value);
1290  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.FrontSeatInterfaceData.dccl_message)
1291 }
1292 inline void FrontSeatInterfaceData::set_dccl_message(const void* value, size_t size) {
1293  set_has_dccl_message();
1294  if (dccl_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1295  dccl_message_ = new ::std::string;
1296  }
1297  dccl_message_->assign(reinterpret_cast<const char*>(value), size);
1298  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.FrontSeatInterfaceData.dccl_message)
1299 }
1300 inline ::std::string* FrontSeatInterfaceData::mutable_dccl_message() {
1301  set_has_dccl_message();
1302  if (dccl_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1303  dccl_message_ = new ::std::string;
1304  }
1305  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.FrontSeatInterfaceData.dccl_message)
1306  return dccl_message_;
1307 }
1308 inline ::std::string* FrontSeatInterfaceData::release_dccl_message() {
1309  clear_has_dccl_message();
1310  if (dccl_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1311  return NULL;
1312  } else {
1313  ::std::string* temp = dccl_message_;
1314  dccl_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1315  return temp;
1316  }
1317 }
1318 inline void FrontSeatInterfaceData::set_allocated_dccl_message(::std::string* dccl_message) {
1319  if (dccl_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1320  delete dccl_message_;
1321  }
1322  if (dccl_message) {
1323  set_has_dccl_message();
1324  dccl_message_ = dccl_message;
1325  } else {
1326  clear_has_dccl_message();
1327  dccl_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1328  }
1329  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.FrontSeatInterfaceData.dccl_message)
1330 }
1331 
1332 // -------------------------------------------------------------------
1333 
1334 // FrontSeatRaw
1335 
1336 // optional bytes raw = 1;
1337 inline bool FrontSeatRaw::has_raw() const {
1338  return (_has_bits_[0] & 0x00000001u) != 0;
1339 }
1340 inline void FrontSeatRaw::set_has_raw() {
1341  _has_bits_[0] |= 0x00000001u;
1342 }
1343 inline void FrontSeatRaw::clear_has_raw() {
1344  _has_bits_[0] &= ~0x00000001u;
1345 }
1346 inline void FrontSeatRaw::clear_raw() {
1347  if (raw_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1348  raw_->clear();
1349  }
1350  clear_has_raw();
1351 }
1352 inline const ::std::string& FrontSeatRaw::raw() const {
1353  // @@protoc_insertion_point(field_get:goby.moos.protobuf.FrontSeatRaw.raw)
1354  return *raw_;
1355 }
1356 inline void FrontSeatRaw::set_raw(const ::std::string& value) {
1357  set_has_raw();
1358  if (raw_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1359  raw_ = new ::std::string;
1360  }
1361  raw_->assign(value);
1362  // @@protoc_insertion_point(field_set:goby.moos.protobuf.FrontSeatRaw.raw)
1363 }
1364 inline void FrontSeatRaw::set_raw(const char* value) {
1365  set_has_raw();
1366  if (raw_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1367  raw_ = new ::std::string;
1368  }
1369  raw_->assign(value);
1370  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.FrontSeatRaw.raw)
1371 }
1372 inline void FrontSeatRaw::set_raw(const void* value, size_t size) {
1373  set_has_raw();
1374  if (raw_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1375  raw_ = new ::std::string;
1376  }
1377  raw_->assign(reinterpret_cast<const char*>(value), size);
1378  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.FrontSeatRaw.raw)
1379 }
1380 inline ::std::string* FrontSeatRaw::mutable_raw() {
1381  set_has_raw();
1382  if (raw_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1383  raw_ = new ::std::string;
1384  }
1385  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.FrontSeatRaw.raw)
1386  return raw_;
1387 }
1388 inline ::std::string* FrontSeatRaw::release_raw() {
1389  clear_has_raw();
1390  if (raw_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1391  return NULL;
1392  } else {
1393  ::std::string* temp = raw_;
1394  raw_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1395  return temp;
1396  }
1397 }
1398 inline void FrontSeatRaw::set_allocated_raw(::std::string* raw) {
1399  if (raw_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1400  delete raw_;
1401  }
1402  if (raw) {
1403  set_has_raw();
1404  raw_ = raw;
1405  } else {
1406  clear_has_raw();
1407  raw_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1408  }
1409  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.FrontSeatRaw.raw)
1410 }
1411 
1412 // optional .goby.moos.protobuf.FrontSeatRaw.RawType type = 2 [default = RAW_ASCII];
1413 inline bool FrontSeatRaw::has_type() const {
1414  return (_has_bits_[0] & 0x00000002u) != 0;
1415 }
1416 inline void FrontSeatRaw::set_has_type() {
1417  _has_bits_[0] |= 0x00000002u;
1418 }
1419 inline void FrontSeatRaw::clear_has_type() {
1420  _has_bits_[0] &= ~0x00000002u;
1421 }
1422 inline void FrontSeatRaw::clear_type() {
1423  type_ = 1;
1424  clear_has_type();
1425 }
1426 inline ::goby::moos::protobuf::FrontSeatRaw_RawType FrontSeatRaw::type() const {
1427  // @@protoc_insertion_point(field_get:goby.moos.protobuf.FrontSeatRaw.type)
1428  return static_cast< ::goby::moos::protobuf::FrontSeatRaw_RawType >(type_);
1429 }
1430 inline void FrontSeatRaw::set_type(::goby::moos::protobuf::FrontSeatRaw_RawType value) {
1431  assert(::goby::moos::protobuf::FrontSeatRaw_RawType_IsValid(value));
1432  set_has_type();
1433  type_ = value;
1434  // @@protoc_insertion_point(field_set:goby.moos.protobuf.FrontSeatRaw.type)
1435 }
1436 
1437 // optional string description = 3;
1438 inline bool FrontSeatRaw::has_description() const {
1439  return (_has_bits_[0] & 0x00000004u) != 0;
1440 }
1441 inline void FrontSeatRaw::set_has_description() {
1442  _has_bits_[0] |= 0x00000004u;
1443 }
1444 inline void FrontSeatRaw::clear_has_description() {
1445  _has_bits_[0] &= ~0x00000004u;
1446 }
1447 inline void FrontSeatRaw::clear_description() {
1448  if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1449  description_->clear();
1450  }
1451  clear_has_description();
1452 }
1453 inline const ::std::string& FrontSeatRaw::description() const {
1454  // @@protoc_insertion_point(field_get:goby.moos.protobuf.FrontSeatRaw.description)
1455  return *description_;
1456 }
1457 inline void FrontSeatRaw::set_description(const ::std::string& value) {
1458  set_has_description();
1459  if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1460  description_ = new ::std::string;
1461  }
1462  description_->assign(value);
1463  // @@protoc_insertion_point(field_set:goby.moos.protobuf.FrontSeatRaw.description)
1464 }
1465 inline void FrontSeatRaw::set_description(const char* value) {
1466  set_has_description();
1467  if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1468  description_ = new ::std::string;
1469  }
1470  description_->assign(value);
1471  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.FrontSeatRaw.description)
1472 }
1473 inline void FrontSeatRaw::set_description(const char* value, size_t size) {
1474  set_has_description();
1475  if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1476  description_ = new ::std::string;
1477  }
1478  description_->assign(reinterpret_cast<const char*>(value), size);
1479  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.FrontSeatRaw.description)
1480 }
1481 inline ::std::string* FrontSeatRaw::mutable_description() {
1482  set_has_description();
1483  if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1484  description_ = new ::std::string;
1485  }
1486  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.FrontSeatRaw.description)
1487  return description_;
1488 }
1489 inline ::std::string* FrontSeatRaw::release_description() {
1490  clear_has_description();
1491  if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1492  return NULL;
1493  } else {
1494  ::std::string* temp = description_;
1495  description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1496  return temp;
1497  }
1498 }
1499 inline void FrontSeatRaw::set_allocated_description(::std::string* description) {
1500  if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1501  delete description_;
1502  }
1503  if (description) {
1504  set_has_description();
1505  description_ = description;
1506  } else {
1507  clear_has_description();
1508  description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1509  }
1510  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.FrontSeatRaw.description)
1511 }
1512 
1513 
1514 // @@protoc_insertion_point(namespace_scope)
1515 
1516 } // namespace protobuf
1517 } // namespace moos
1518 } // namespace goby
1519 
1520 #ifndef SWIG
1521 namespace google {
1522 namespace protobuf {
1523 
1524 template <> struct is_proto_enum< ::goby::moos::protobuf::FrontSeatRaw_RawType> : ::google::protobuf::internal::true_type {};
1525 template <>
1526 inline const EnumDescriptor* GetEnumDescriptor< ::goby::moos::protobuf::FrontSeatRaw_RawType>() {
1527  return ::goby::moos::protobuf::FrontSeatRaw_RawType_descriptor();
1528 }
1529 template <> struct is_proto_enum< ::goby::moos::protobuf::InterfaceState> : ::google::protobuf::internal::true_type {};
1530 template <>
1531 inline const EnumDescriptor* GetEnumDescriptor< ::goby::moos::protobuf::InterfaceState>() {
1532  return ::goby::moos::protobuf::InterfaceState_descriptor();
1533 }
1534 template <> struct is_proto_enum< ::goby::moos::protobuf::FrontSeatState> : ::google::protobuf::internal::true_type {};
1535 template <>
1536 inline const EnumDescriptor* GetEnumDescriptor< ::goby::moos::protobuf::FrontSeatState>() {
1537  return ::goby::moos::protobuf::FrontSeatState_descriptor();
1538 }
1539 template <> struct is_proto_enum< ::goby::moos::protobuf::HelmState> : ::google::protobuf::internal::true_type {};
1540 template <>
1541 inline const EnumDescriptor* GetEnumDescriptor< ::goby::moos::protobuf::HelmState>() {
1542  return ::goby::moos::protobuf::HelmState_descriptor();
1543 }
1544 template <> struct is_proto_enum< ::goby::moos::protobuf::HelmError> : ::google::protobuf::internal::true_type {};
1545 template <>
1546 inline const EnumDescriptor* GetEnumDescriptor< ::goby::moos::protobuf::HelmError>() {
1547  return ::goby::moos::protobuf::HelmError_descriptor();
1548 }
1549 template <> struct is_proto_enum< ::goby::moos::protobuf::FrontSeatError> : ::google::protobuf::internal::true_type {};
1550 template <>
1551 inline const EnumDescriptor* GetEnumDescriptor< ::goby::moos::protobuf::FrontSeatError>() {
1552  return ::goby::moos::protobuf::FrontSeatError_descriptor();
1553 }
1554 
1555 } // namespace google
1556 } // namespace protobuf
1557 #endif // SWIG
1558 
1559 // @@protoc_insertion_point(global_scope)
1560 
1561 #endif // PROTOBUF_goby_2fmoos_2fprotobuf_2ffrontseat_2eproto__INCLUDED
The global namespace for the Goby project.