Go to the documentation of this file.
4 #ifndef PROTOBUF_INCLUDED_goby_2fmiddleware_2ffrontseat_2fiver_2fiver_5fdriver_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fmiddleware_2ffrontseat_2fiver_2fiver_5fdriver_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < 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/io/coded_stream.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
35 #include <boost/units/quantity.hpp>
36 #include <boost/units/absolute.hpp>
37 #include <boost/units/dimensionless_type.hpp>
38 #include <boost/units/make_scaled_unit.hpp>
40 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fmiddleware_2ffrontseat_2fiver_2fiver_5fdriver_2eproto
45 static const ::google::protobuf::internal::ParseTableField
entries[];
46 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
47 static const ::google::protobuf::internal::ParseTable
schema[2];
55 namespace middleware {
58 class IverExtraCommands;
59 class IverExtraCommandsDefaultTypeInternal;
62 class IverStateDefaultTypeInternal;
75 namespace middleware {
96 return ::google::protobuf::internal::NameOfEnum(
101 return ::google::protobuf::internal::ParseNamedEnum<IverState_IverMissionMode>(
116 return ::google::protobuf::internal::NameOfEnum(
121 return ::google::protobuf::internal::ParseNamedEnum<IverExtraCommands_IverCommand>(
140 *
this = ::std::move(from);
144 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
145 if (
this != &from) InternalSwap(&from);
153 return _internal_metadata_.unknown_fields();
156 return _internal_metadata_.mutable_unknown_fields();
159 static const ::google::protobuf::Descriptor*
descriptor();
164 return reinterpret_cast<const IverState*
>(
178 return CreateMaybeMessage<IverState>(NULL);
182 return CreateMaybeMessage<IverState>(arena);
184 void CopyFrom(const ::google::protobuf::Message& from)
final;
185 void MergeFrom(const ::google::protobuf::Message& from)
final;
193 ::
google::protobuf::io::CodedInputStream* input) final;
195 ::
google::protobuf::io::CodedOutputStream* output) const final;
197 bool deterministic, ::
google::protobuf::uint8* target) const final;
203 void SetCachedSize(
int size)
const final;
206 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
209 inline void* MaybeArenaPtr()
const {
244 static inline const ::google::protobuf::EnumDescriptor*
268 void clear_has_mode();
270 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
271 ::google::protobuf::internal::HasBits<1> _has_bits_;
272 mutable ::google::protobuf::internal::CachedSize _cached_size_;
274 friend struct ::protobuf_goby_2fmiddleware_2ffrontseat_2fiver_2fiver_5fdriver_2eproto::TableStruct;
292 *
this = ::std::move(from);
296 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
297 if (
this != &from) InternalSwap(&from);
305 return _internal_metadata_.unknown_fields();
308 return _internal_metadata_.mutable_unknown_fields();
311 static const ::google::protobuf::Descriptor*
descriptor();
330 return CreateMaybeMessage<IverExtraCommands>(NULL);
334 return CreateMaybeMessage<IverExtraCommands>(arena);
336 void CopyFrom(const ::google::protobuf::Message& from)
final;
337 void MergeFrom(const ::google::protobuf::Message& from)
final;
345 ::
google::protobuf::io::CodedInputStream* input) final;
347 ::
google::protobuf::io::CodedOutputStream* output) const final;
349 bool deterministic, ::
google::protobuf::uint8* target) const final;
355 void SetCachedSize(
int size)
const final;
358 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
361 inline void* MaybeArenaPtr()
const {
386 static inline const ::google::protobuf::EnumDescriptor*
404 const ::std::string&
mission()
const;
424 void set_has_command();
425 void clear_has_command();
426 void set_has_mission();
427 void clear_has_mission();
429 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
430 ::google::protobuf::internal::HasBits<1> _has_bits_;
431 mutable ::google::protobuf::internal::CachedSize _cached_size_;
432 ::google::protobuf::internal::ArenaStringPtr mission_;
434 friend struct ::protobuf_goby_2fmiddleware_2ffrontseat_2fiver_2fiver_5fdriver_2eproto::TableStruct;
440 ::google::protobuf::internal::MessageTypeTraits< ::goby::middleware::frontseat::protobuf::IverExtraCommands >, 11,
false >
444 ::google::protobuf::internal::MessageTypeTraits< ::goby::middleware::frontseat::protobuf::IverState >, 11,
false >
450 #pragma GCC diagnostic push
451 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
457 return (_has_bits_[0] & 0x00000001u) != 0;
459 inline void IverState::set_has_mode() {
460 _has_bits_[0] |= 0x00000001u;
462 inline void IverState::clear_has_mode() {
463 _has_bits_[0] &= ~0x00000001u;
486 return (_has_bits_[0] & 0x00000002u) != 0;
488 inline void IverExtraCommands::set_has_command() {
489 _has_bits_[0] |= 0x00000002u;
491 inline void IverExtraCommands::clear_has_command() {
492 _has_bits_[0] &= ~0x00000002u;
511 return (_has_bits_[0] & 0x00000001u) != 0;
513 inline void IverExtraCommands::set_has_mission() {
514 _has_bits_[0] |= 0x00000001u;
516 inline void IverExtraCommands::clear_has_mission() {
517 _has_bits_[0] &= ~0x00000001u;
525 return mission_.GetNoArena();
541 GOOGLE_DCHECK(value != NULL);
549 ::std::string(
reinterpret_cast<const char*
>(value), size));
576 #pragma GCC diagnostic pop
593 inline const EnumDescriptor* GetEnumDescriptor< ::goby::middleware::frontseat::protobuf::IverState_IverMissionMode>() {
598 inline const EnumDescriptor* GetEnumDescriptor< ::goby::middleware::frontseat::protobuf::IverExtraCommands_IverCommand>() {
607 #endif // PROTOBUF_INCLUDED_goby_2fmiddleware_2ffrontseat_2fiver_2fiver_5fdriver_2eproto
extern ::google::protobuf::internal::ExtensionIdentifier< ::goby::middleware::frontseat::protobuf::CommandRequest, ::google::protobuf::internal::MessageTypeTraits< ::goby::middleware::frontseat::protobuf::IverExtraCommands >, 11, false > iver_command
size_t ByteSizeLong() const final
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
bool IverExtraCommands_IverCommand_IsValid(int value)
bool IverExtraCommands_IverCommand_Parse(const ::std::string &name, IverExtraCommands_IverCommand *value)
static const IverMissionMode IVER_MODE_SERVO_MODE
::std::string * mutable_mission()
LIBPROTOBUF_EXPORTconst ::std::string & GetEmptyStringAlreadyInited()
static const ::google::protobuf::internal::SerializationTable serialization_table[]
static const ::google::protobuf::Descriptor * descriptor()
IverExtraCommands_IverCommand
static const ::google::protobuf::uint32 offsets[]
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
void Swap(IverState *other)
The global namespace for the Goby project.
friend void swap(IverExtraCommands &a, IverExtraCommands &b)
void Swap(IverExtraCommands *other)
static const ::std::string & IverMissionMode_Name(IverMissionMode value)
@ IverExtraCommands_IverCommand_STOP_MISSION
@ IverState_IverMissionMode_IVER_MODE_MISSION_MODE
static const IverMissionMode IVER_MODE_STOPPED
virtual ~IverExtraCommands()
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
static const IverMissionMode IVER_MODE_MANUAL_OVERRIDE
@ IverState_IverMissionMode_IVER_MODE_UNKNOWN
::goby::middleware::frontseat::protobuf::IverExtraCommands_IverCommand command() const
static void InitAsDefaultInstance()
const int IverState_IverMissionMode_IverMissionMode_ARRAYSIZE
IverExtraCommands * New() const final
@ IverState_IverMissionMode_IVER_MODE_PARKING
@ IverState_IverMissionMode_IVER_MODE_STOPPED
static const ::google::protobuf::EnumDescriptor * IverMissionMode_descriptor()
void CopyFrom(const ::google::protobuf::Message &from) final
static const IverMissionMode IVER_MODE_NORMAL
IverState & operator=(const IverState &from)
const IverState_IverMissionMode IverState_IverMissionMode_IverMissionMode_MAX
void set_allocated_mission(::std::string *mission)
::google::protobuf::Metadata GetMetadata() const final
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const IverCommand UNKNOWN_COMMAND
@ IverExtraCommands_IverCommand_START_MISSION
void set_command(::goby::middleware::frontseat::protobuf::IverExtraCommands_IverCommand value)
@ IverState_IverMissionMode_IVER_MODE_MANUAL_PARKING
IverStateDefaultTypeInternal _IverState_default_instance_
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
static const int kIverStateFieldNumber
bool IverState_IverMissionMode_IsValid(int value)
static const IverMissionMode IVER_MODE_MANUAL_PARKING
static bool IverCommand_Parse(const ::std::string &name, IverCommand *value)
static const IverMissionMode IVER_MODE_MISSION_MODE
static const ::google::protobuf::Descriptor * descriptor()
static bool IverCommand_IsValid(int value)
static const int kCommandFieldNumber
IverState_IverMissionMode
static const IverState & default_instance()
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
IverExtraCommands & operator=(const IverExtraCommands &from)
const IverState_IverMissionMode IverState_IverMissionMode_IverMissionMode_MIN
IverState * New() const final
void MergeFrom(const ::google::protobuf::Message &from) final
static const int kModeFieldNumber
static const int IverCommand_ARRAYSIZE
@ IverState_IverMissionMode_IVER_MODE_NORMAL
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
friend void swap(IverState &a, IverState &b)
static const ::google::protobuf::EnumDescriptor * IverCommand_descriptor()
::std::string * release_mission()
void MergeFrom(const ::google::protobuf::Message &from) final
static const IverMissionMode IVER_MODE_UNKNOWN
static const IverMissionMode IverMissionMode_MIN
bool IsInitialized() const final
static const int IverMissionMode_ARRAYSIZE
static const int kIverCommandFieldNumber
static const IverExtraCommands * internal_default_instance()
static void InitAsDefaultInstance()
static const IverCommand IverCommand_MAX
IverExtraCommands * New(::google::protobuf::Arena *arena) const final
extern ::google::protobuf::internal::ExtensionIdentifier< ::goby::middleware::frontseat::protobuf::InterfaceData, ::google::protobuf::internal::MessageTypeTraits< ::goby::middleware::frontseat::protobuf::IverState >, 11, false > iver_state
const ::google::protobuf::EnumDescriptor * IverExtraCommands_IverCommand_descriptor()
const ::std::string & IverExtraCommands_IverCommand_Name(IverExtraCommands_IverCommand value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const IverCommand START_MISSION
::google::protobuf::Metadata GetMetadata() const final
void set_mission(const ::std::string &value)
const int IverExtraCommands_IverCommand_IverCommand_ARRAYSIZE
const IverExtraCommands_IverCommand IverExtraCommands_IverCommand_IverCommand_MIN
::goby::middleware::frontseat::protobuf::IverState_IverMissionMode mode() const
static constexpr int kIndexInFileMessages
static bool IverMissionMode_IsValid(int value)
int GetCachedSize() const final
bool IverState_IverMissionMode_Parse(const ::std::string &name, IverState_IverMissionMode *value)
void set_mode(::goby::middleware::frontseat::protobuf::IverState_IverMissionMode value)
static bool IverMissionMode_Parse(const ::std::string &name, IverMissionMode *value)
const IverExtraCommands_IverCommand IverExtraCommands_IverCommand_IverCommand_MAX
@ IverExtraCommands_IverCommand_UNKNOWN_COMMAND
static const ::google::protobuf::internal::ParseTableField entries[]
@ IverState_IverMissionMode_IVER_MODE_MANUAL_OVERRIDE
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
int GetCachedSize() const final
static const IverCommand IverCommand_MIN
static const ::std::string & IverCommand_Name(IverCommand value)
@ IverState_IverMissionMode_IVER_MODE_SERVO_MODE
static const IverMissionMode IVER_MODE_PARKING
static const IverState * internal_default_instance()
size_t ByteSizeLong() const final
bool IsInitialized() const final
static const IverCommand STOP_MISSION
static const IverMissionMode IverMissionMode_MAX
IverExtraCommandsDefaultTypeInternal _IverExtraCommands_default_instance_
static constexpr int kIndexInFileMessages
static const int kMissionFieldNumber
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
const ::google::protobuf::EnumDescriptor * IverState_IverMissionMode_descriptor()
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
IverState * New(::google::protobuf::Arena *arena) const final
void CopyFrom(const ::google::protobuf::Message &from) final
const ::std::string & IverState_IverMissionMode_Name(IverState_IverMissionMode value)
static const IverExtraCommands & default_instance()
const ::std::string & mission() const
static const ::google::protobuf::internal::ParseTable schema[2]