123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: message.proto
- #ifndef GOOGLE_PROTOBUF_INCLUDED_message_2eproto_2epb_2eh
- #define GOOGLE_PROTOBUF_INCLUDED_message_2eproto_2epb_2eh
- #include <limits>
- #include <string>
- #include <type_traits>
- #include "google/protobuf/port_def.inc"
- #if PROTOBUF_VERSION < 4023000
- #error "This file was generated by a newer version of protoc which is"
- #error "incompatible with your Protocol Buffer headers. Please update"
- #error "your headers."
- #endif // PROTOBUF_VERSION
- #if 4023001 < PROTOBUF_MIN_PROTOC_VERSION
- #error "This file was generated by an older version of protoc which is"
- #error "incompatible with your Protocol Buffer headers. Please"
- #error "regenerate this file with a newer version of protoc."
- #endif // PROTOBUF_MIN_PROTOC_VERSION
- #include "google/protobuf/port_undef.inc"
- #include "google/protobuf/io/coded_stream.h"
- #include "google/protobuf/arena.h"
- #include "google/protobuf/arenastring.h"
- #include "google/protobuf/generated_message_util.h"
- #include "google/protobuf/metadata_lite.h"
- #include "google/protobuf/generated_message_reflection.h"
- #include "google/protobuf/message.h"
- #include "google/protobuf/repeated_field.h" // IWYU pragma: export
- #include "google/protobuf/extension_set.h" // IWYU pragma: export
- #include "google/protobuf/unknown_field_set.h"
- // @@protoc_insertion_point(includes)
- // Must be included last.
- #include "google/protobuf/port_def.inc"
- #define PROTOBUF_INTERNAL_EXPORT_message_2eproto
- PROTOBUF_NAMESPACE_OPEN
- namespace internal {
- class AnyMetadata;
- } // namespace internal
- PROTOBUF_NAMESPACE_CLOSE
- // Internal implementation detail -- do not use these members.
- struct TableStruct_message_2eproto {
- static const ::uint32_t offsets[];
- };
- extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable
- descriptor_table_message_2eproto;
- namespace NavMessage {
- class AgvStatu;
- struct AgvStatuDefaultTypeInternal;
- extern AgvStatuDefaultTypeInternal _AgvStatu_default_instance_;
- class LidarOdomStatu;
- struct LidarOdomStatuDefaultTypeInternal;
- extern LidarOdomStatuDefaultTypeInternal _LidarOdomStatu_default_instance_;
- class ManualCmd;
- struct ManualCmdDefaultTypeInternal;
- extern ManualCmdDefaultTypeInternal _ManualCmd_default_instance_;
- class NavCmd;
- struct NavCmdDefaultTypeInternal;
- extern NavCmdDefaultTypeInternal _NavCmd_default_instance_;
- class NavResponse;
- struct NavResponseDefaultTypeInternal;
- extern NavResponseDefaultTypeInternal _NavResponse_default_instance_;
- class NavStatu;
- struct NavStatuDefaultTypeInternal;
- extern NavStatuDefaultTypeInternal _NavStatu_default_instance_;
- class NewAction;
- struct NewActionDefaultTypeInternal;
- extern NewActionDefaultTypeInternal _NewAction_default_instance_;
- class PathNode;
- struct PathNodeDefaultTypeInternal;
- extern PathNodeDefaultTypeInternal _PathNode_default_instance_;
- class Pose2d;
- struct Pose2dDefaultTypeInternal;
- extern Pose2dDefaultTypeInternal _Pose2d_default_instance_;
- class RobotStatu;
- struct RobotStatuDefaultTypeInternal;
- extern RobotStatuDefaultTypeInternal _RobotStatu_default_instance_;
- class ToAgvCmd;
- struct ToAgvCmdDefaultTypeInternal;
- extern ToAgvCmdDefaultTypeInternal _ToAgvCmd_default_instance_;
- class Trajectory;
- struct TrajectoryDefaultTypeInternal;
- extern TrajectoryDefaultTypeInternal _Trajectory_default_instance_;
- } // namespace NavMessage
- PROTOBUF_NAMESPACE_OPEN
- template <>
- ::NavMessage::AgvStatu* Arena::CreateMaybeMessage<::NavMessage::AgvStatu>(Arena*);
- template <>
- ::NavMessage::LidarOdomStatu* Arena::CreateMaybeMessage<::NavMessage::LidarOdomStatu>(Arena*);
- template <>
- ::NavMessage::ManualCmd* Arena::CreateMaybeMessage<::NavMessage::ManualCmd>(Arena*);
- template <>
- ::NavMessage::NavCmd* Arena::CreateMaybeMessage<::NavMessage::NavCmd>(Arena*);
- template <>
- ::NavMessage::NavResponse* Arena::CreateMaybeMessage<::NavMessage::NavResponse>(Arena*);
- template <>
- ::NavMessage::NavStatu* Arena::CreateMaybeMessage<::NavMessage::NavStatu>(Arena*);
- template <>
- ::NavMessage::NewAction* Arena::CreateMaybeMessage<::NavMessage::NewAction>(Arena*);
- template <>
- ::NavMessage::PathNode* Arena::CreateMaybeMessage<::NavMessage::PathNode>(Arena*);
- template <>
- ::NavMessage::Pose2d* Arena::CreateMaybeMessage<::NavMessage::Pose2d>(Arena*);
- template <>
- ::NavMessage::RobotStatu* Arena::CreateMaybeMessage<::NavMessage::RobotStatu>(Arena*);
- template <>
- ::NavMessage::ToAgvCmd* Arena::CreateMaybeMessage<::NavMessage::ToAgvCmd>(Arena*);
- template <>
- ::NavMessage::Trajectory* Arena::CreateMaybeMessage<::NavMessage::Trajectory>(Arena*);
- PROTOBUF_NAMESPACE_CLOSE
- namespace NavMessage {
- // ===================================================================
- // -------------------------------------------------------------------
- class LidarOdomStatu final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.LidarOdomStatu) */ {
- public:
- inline LidarOdomStatu() : LidarOdomStatu(nullptr) {}
- ~LidarOdomStatu() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR LidarOdomStatu(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- LidarOdomStatu(const LidarOdomStatu& from);
- LidarOdomStatu(LidarOdomStatu&& from) noexcept
- : LidarOdomStatu() {
- *this = ::std::move(from);
- }
- inline LidarOdomStatu& operator=(const LidarOdomStatu& from) {
- CopyFrom(from);
- return *this;
- }
- inline LidarOdomStatu& operator=(LidarOdomStatu&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const LidarOdomStatu& default_instance() {
- return *internal_default_instance();
- }
- static inline const LidarOdomStatu* internal_default_instance() {
- return reinterpret_cast<const LidarOdomStatu*>(
- &_LidarOdomStatu_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- friend void swap(LidarOdomStatu& a, LidarOdomStatu& b) {
- a.Swap(&b);
- }
- inline void Swap(LidarOdomStatu* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(LidarOdomStatu* other) {
- if (other == this) return;
- ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- LidarOdomStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<LidarOdomStatu>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const LidarOdomStatu& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom( const LidarOdomStatu& from) {
- LidarOdomStatu::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(LidarOdomStatu* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "NavMessage.LidarOdomStatu";
- }
- protected:
- explicit LidarOdomStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kXFieldNumber = 1,
- kYFieldNumber = 2,
- kThetaFieldNumber = 3,
- kVFieldNumber = 4,
- kVthFieldNumber = 5,
- };
- // float x = 1;
- void clear_x() ;
- float x() const;
- void set_x(float value);
- private:
- float _internal_x() const;
- void _internal_set_x(float value);
- public:
- // float y = 2;
- void clear_y() ;
- float y() const;
- void set_y(float value);
- private:
- float _internal_y() const;
- void _internal_set_y(float value);
- public:
- // float theta = 3;
- void clear_theta() ;
- float theta() const;
- void set_theta(float value);
- private:
- float _internal_theta() const;
- void _internal_set_theta(float value);
- public:
- // float v = 4;
- void clear_v() ;
- float v() const;
- void set_v(float value);
- private:
- float _internal_v() const;
- void _internal_set_v(float value);
- public:
- // float vth = 5;
- void clear_vth() ;
- float vth() const;
- void set_vth(float value);
- private:
- float _internal_vth() const;
- void _internal_set_vth(float value);
- public:
- // @@protoc_insertion_point(class_scope:NavMessage.LidarOdomStatu)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_ {
- float x_;
- float y_;
- float theta_;
- float v_;
- float vth_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_message_2eproto;
- };// -------------------------------------------------------------------
- class AgvStatu final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.AgvStatu) */ {
- public:
- inline AgvStatu() : AgvStatu(nullptr) {}
- ~AgvStatu() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR AgvStatu(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- AgvStatu(const AgvStatu& from);
- AgvStatu(AgvStatu&& from) noexcept
- : AgvStatu() {
- *this = ::std::move(from);
- }
- inline AgvStatu& operator=(const AgvStatu& from) {
- CopyFrom(from);
- return *this;
- }
- inline AgvStatu& operator=(AgvStatu&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const AgvStatu& default_instance() {
- return *internal_default_instance();
- }
- static inline const AgvStatu* internal_default_instance() {
- return reinterpret_cast<const AgvStatu*>(
- &_AgvStatu_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- friend void swap(AgvStatu& a, AgvStatu& b) {
- a.Swap(&b);
- }
- inline void Swap(AgvStatu* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(AgvStatu* other) {
- if (other == this) return;
- ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- AgvStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<AgvStatu>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const AgvStatu& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom( const AgvStatu& from) {
- AgvStatu::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(AgvStatu* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "NavMessage.AgvStatu";
- }
- protected:
- explicit AgvStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kVFieldNumber = 1,
- kWFieldNumber = 2,
- kClampFieldNumber = 3,
- kClampOtherFieldNumber = 4,
- kLifterFieldNumber = 5,
- kLifterOtherFieldNumber = 6,
- };
- // float v = 1;
- void clear_v() ;
- float v() const;
- void set_v(float value);
- private:
- float _internal_v() const;
- void _internal_set_v(float value);
- public:
- // float w = 2;
- void clear_w() ;
- float w() const;
- void set_w(float value);
- private:
- float _internal_w() const;
- void _internal_set_w(float value);
- public:
- // int32 clamp = 3;
- void clear_clamp() ;
- ::int32_t clamp() const;
- void set_clamp(::int32_t value);
- private:
- ::int32_t _internal_clamp() const;
- void _internal_set_clamp(::int32_t value);
- public:
- // int32 clamp_other = 4;
- void clear_clamp_other() ;
- ::int32_t clamp_other() const;
- void set_clamp_other(::int32_t value);
- private:
- ::int32_t _internal_clamp_other() const;
- void _internal_set_clamp_other(::int32_t value);
- public:
- // int32 lifter = 5;
- void clear_lifter() ;
- ::int32_t lifter() const;
- void set_lifter(::int32_t value);
- private:
- ::int32_t _internal_lifter() const;
- void _internal_set_lifter(::int32_t value);
- public:
- // int32 lifter_other = 6;
- void clear_lifter_other() ;
- ::int32_t lifter_other() const;
- void set_lifter_other(::int32_t value);
- private:
- ::int32_t _internal_lifter_other() const;
- void _internal_set_lifter_other(::int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:NavMessage.AgvStatu)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_ {
- float v_;
- float w_;
- ::int32_t clamp_;
- ::int32_t clamp_other_;
- ::int32_t lifter_;
- ::int32_t lifter_other_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_message_2eproto;
- };// -------------------------------------------------------------------
- class ToAgvCmd final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.ToAgvCmd) */ {
- public:
- inline ToAgvCmd() : ToAgvCmd(nullptr) {}
- ~ToAgvCmd() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR ToAgvCmd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- ToAgvCmd(const ToAgvCmd& from);
- ToAgvCmd(ToAgvCmd&& from) noexcept
- : ToAgvCmd() {
- *this = ::std::move(from);
- }
- inline ToAgvCmd& operator=(const ToAgvCmd& from) {
- CopyFrom(from);
- return *this;
- }
- inline ToAgvCmd& operator=(ToAgvCmd&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const ToAgvCmd& default_instance() {
- return *internal_default_instance();
- }
- static inline const ToAgvCmd* internal_default_instance() {
- return reinterpret_cast<const ToAgvCmd*>(
- &_ToAgvCmd_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- friend void swap(ToAgvCmd& a, ToAgvCmd& b) {
- a.Swap(&b);
- }
- inline void Swap(ToAgvCmd* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(ToAgvCmd* other) {
- if (other == this) return;
- ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- ToAgvCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<ToAgvCmd>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const ToAgvCmd& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom( const ToAgvCmd& from) {
- ToAgvCmd::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(ToAgvCmd* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "NavMessage.ToAgvCmd";
- }
- protected:
- explicit ToAgvCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kHFieldNumber = 1,
- kMFieldNumber = 2,
- kTFieldNumber = 3,
- kVFieldNumber = 4,
- kWFieldNumber = 5,
- kLFieldNumber = 6,
- kPFieldNumber = 7,
- kDFieldNumber = 8,
- kEndFieldNumber = 9,
- };
- // int32 H = 1;
- void clear_h() ;
- ::int32_t h() const;
- void set_h(::int32_t value);
- private:
- ::int32_t _internal_h() const;
- void _internal_set_h(::int32_t value);
- public:
- // int32 M = 2;
- void clear_m() ;
- ::int32_t m() const;
- void set_m(::int32_t value);
- private:
- ::int32_t _internal_m() const;
- void _internal_set_m(::int32_t value);
- public:
- // int32 T = 3;
- void clear_t() ;
- ::int32_t t() const;
- void set_t(::int32_t value);
- private:
- ::int32_t _internal_t() const;
- void _internal_set_t(::int32_t value);
- public:
- // float V = 4;
- void clear_v() ;
- float v() const;
- void set_v(float value);
- private:
- float _internal_v() const;
- void _internal_set_v(float value);
- public:
- // float W = 5;
- void clear_w() ;
- float w() const;
- void set_w(float value);
- private:
- float _internal_w() const;
- void _internal_set_w(float value);
- public:
- // float L = 6;
- void clear_l() ;
- float l() const;
- void set_l(float value);
- private:
- float _internal_l() const;
- void _internal_set_l(float value);
- public:
- // int32 P = 7;
- void clear_p() ;
- ::int32_t p() const;
- void set_p(::int32_t value);
- private:
- ::int32_t _internal_p() const;
- void _internal_set_p(::int32_t value);
- public:
- // float D = 8;
- void clear_d() ;
- float d() const;
- void set_d(float value);
- private:
- float _internal_d() const;
- void _internal_set_d(float value);
- public:
- // int32 end = 9;
- void clear_end() ;
- ::int32_t end() const;
- void set_end(::int32_t value);
- private:
- ::int32_t _internal_end() const;
- void _internal_set_end(::int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:NavMessage.ToAgvCmd)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_ {
- ::int32_t h_;
- ::int32_t m_;
- ::int32_t t_;
- float v_;
- float w_;
- float l_;
- ::int32_t p_;
- float d_;
- ::int32_t end_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_message_2eproto;
- };// -------------------------------------------------------------------
- class Pose2d final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.Pose2d) */ {
- public:
- inline Pose2d() : Pose2d(nullptr) {}
- ~Pose2d() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR Pose2d(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Pose2d(const Pose2d& from);
- Pose2d(Pose2d&& from) noexcept
- : Pose2d() {
- *this = ::std::move(from);
- }
- inline Pose2d& operator=(const Pose2d& from) {
- CopyFrom(from);
- return *this;
- }
- inline Pose2d& operator=(Pose2d&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Pose2d& default_instance() {
- return *internal_default_instance();
- }
- static inline const Pose2d* internal_default_instance() {
- return reinterpret_cast<const Pose2d*>(
- &_Pose2d_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 3;
- friend void swap(Pose2d& a, Pose2d& b) {
- a.Swap(&b);
- }
- inline void Swap(Pose2d* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Pose2d* other) {
- if (other == this) return;
- ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Pose2d* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Pose2d>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Pose2d& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom( const Pose2d& from) {
- Pose2d::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Pose2d* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "NavMessage.Pose2d";
- }
- protected:
- explicit Pose2d(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kXFieldNumber = 1,
- kYFieldNumber = 2,
- kThetaFieldNumber = 3,
- };
- // float x = 1;
- void clear_x() ;
- float x() const;
- void set_x(float value);
- private:
- float _internal_x() const;
- void _internal_set_x(float value);
- public:
- // float y = 2;
- void clear_y() ;
- float y() const;
- void set_y(float value);
- private:
- float _internal_y() const;
- void _internal_set_y(float value);
- public:
- // float theta = 3;
- void clear_theta() ;
- float theta() const;
- void set_theta(float value);
- private:
- float _internal_theta() const;
- void _internal_set_theta(float value);
- public:
- // @@protoc_insertion_point(class_scope:NavMessage.Pose2d)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_ {
- float x_;
- float y_;
- float theta_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_message_2eproto;
- };// -------------------------------------------------------------------
- class PathNode final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.PathNode) */ {
- public:
- inline PathNode() : PathNode(nullptr) {}
- ~PathNode() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR PathNode(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- PathNode(const PathNode& from);
- PathNode(PathNode&& from) noexcept
- : PathNode() {
- *this = ::std::move(from);
- }
- inline PathNode& operator=(const PathNode& from) {
- CopyFrom(from);
- return *this;
- }
- inline PathNode& operator=(PathNode&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const PathNode& default_instance() {
- return *internal_default_instance();
- }
- static inline const PathNode* internal_default_instance() {
- return reinterpret_cast<const PathNode*>(
- &_PathNode_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 4;
- friend void swap(PathNode& a, PathNode& b) {
- a.Swap(&b);
- }
- inline void Swap(PathNode* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(PathNode* other) {
- if (other == this) return;
- ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- PathNode* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<PathNode>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const PathNode& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom( const PathNode& from) {
- PathNode::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(PathNode* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "NavMessage.PathNode";
- }
- protected:
- explicit PathNode(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kIdFieldNumber = 6,
- kXFieldNumber = 1,
- kYFieldNumber = 2,
- kLFieldNumber = 3,
- kWFieldNumber = 4,
- kThetaFieldNumber = 5,
- };
- // string id = 6;
- void clear_id() ;
- const std::string& id() const;
- template <typename Arg_ = const std::string&, typename... Args_>
- void set_id(Arg_&& arg, Args_... args);
- std::string* mutable_id();
- PROTOBUF_NODISCARD std::string* release_id();
- void set_allocated_id(std::string* ptr);
- private:
- const std::string& _internal_id() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(
- const std::string& value);
- std::string* _internal_mutable_id();
- public:
- // float x = 1;
- void clear_x() ;
- float x() const;
- void set_x(float value);
- private:
- float _internal_x() const;
- void _internal_set_x(float value);
- public:
- // float y = 2;
- void clear_y() ;
- float y() const;
- void set_y(float value);
- private:
- float _internal_y() const;
- void _internal_set_y(float value);
- public:
- // float l = 3;
- void clear_l() ;
- float l() const;
- void set_l(float value);
- private:
- float _internal_l() const;
- void _internal_set_l(float value);
- public:
- // float w = 4;
- void clear_w() ;
- float w() const;
- void set_w(float value);
- private:
- float _internal_w() const;
- void _internal_set_w(float value);
- public:
- // float theta = 5;
- void clear_theta() ;
- float theta() const;
- void set_theta(float value);
- private:
- float _internal_theta() const;
- void _internal_set_theta(float value);
- public:
- // @@protoc_insertion_point(class_scope:NavMessage.PathNode)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_ {
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_;
- float x_;
- float y_;
- float l_;
- float w_;
- float theta_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_message_2eproto;
- };// -------------------------------------------------------------------
- class Trajectory final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.Trajectory) */ {
- public:
- inline Trajectory() : Trajectory(nullptr) {}
- ~Trajectory() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR Trajectory(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Trajectory(const Trajectory& from);
- Trajectory(Trajectory&& from) noexcept
- : Trajectory() {
- *this = ::std::move(from);
- }
- inline Trajectory& operator=(const Trajectory& from) {
- CopyFrom(from);
- return *this;
- }
- inline Trajectory& operator=(Trajectory&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Trajectory& default_instance() {
- return *internal_default_instance();
- }
- static inline const Trajectory* internal_default_instance() {
- return reinterpret_cast<const Trajectory*>(
- &_Trajectory_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 5;
- friend void swap(Trajectory& a, Trajectory& b) {
- a.Swap(&b);
- }
- inline void Swap(Trajectory* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Trajectory* other) {
- if (other == this) return;
- ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Trajectory* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Trajectory>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Trajectory& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom( const Trajectory& from) {
- Trajectory::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Trajectory* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "NavMessage.Trajectory";
- }
- protected:
- explicit Trajectory(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kPosesFieldNumber = 1,
- };
- // repeated .NavMessage.Pose2d poses = 1;
- int poses_size() const;
- private:
- int _internal_poses_size() const;
- public:
- void clear_poses() ;
- ::NavMessage::Pose2d* mutable_poses(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >*
- mutable_poses();
- private:
- const ::NavMessage::Pose2d& _internal_poses(int index) const;
- ::NavMessage::Pose2d* _internal_add_poses();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::Pose2d>& _internal_poses() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::Pose2d>* _internal_mutable_poses();
- public:
- const ::NavMessage::Pose2d& poses(int index) const;
- ::NavMessage::Pose2d* add_poses();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >&
- poses() const;
- // @@protoc_insertion_point(class_scope:NavMessage.Trajectory)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_ {
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d > poses_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_message_2eproto;
- };// -------------------------------------------------------------------
- class NewAction final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.NewAction) */ {
- public:
- inline NewAction() : NewAction(nullptr) {}
- ~NewAction() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR NewAction(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- NewAction(const NewAction& from);
- NewAction(NewAction&& from) noexcept
- : NewAction() {
- *this = ::std::move(from);
- }
- inline NewAction& operator=(const NewAction& from) {
- CopyFrom(from);
- return *this;
- }
- inline NewAction& operator=(NewAction&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const NewAction& default_instance() {
- return *internal_default_instance();
- }
- static inline const NewAction* internal_default_instance() {
- return reinterpret_cast<const NewAction*>(
- &_NewAction_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 6;
- friend void swap(NewAction& a, NewAction& b) {
- a.Swap(&b);
- }
- inline void Swap(NewAction* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(NewAction* other) {
- if (other == this) return;
- ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- NewAction* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<NewAction>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const NewAction& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom( const NewAction& from) {
- NewAction::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(NewAction* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "NavMessage.NewAction";
- }
- protected:
- explicit NewAction(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kPathNodesFieldNumber = 5,
- kSpaceNodeFieldNumber = 2,
- kPassNodeFieldNumber = 3,
- kStreetNodeFieldNumber = 4,
- kTypeFieldNumber = 1,
- kWheelbaseFieldNumber = 6,
- kChangedModeFieldNumber = 7,
- };
- // repeated .NavMessage.PathNode pathNodes = 5;
- int pathnodes_size() const;
- private:
- int _internal_pathnodes_size() const;
- public:
- void clear_pathnodes() ;
- ::NavMessage::PathNode* mutable_pathnodes(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::PathNode >*
- mutable_pathnodes();
- private:
- const ::NavMessage::PathNode& _internal_pathnodes(int index) const;
- ::NavMessage::PathNode* _internal_add_pathnodes();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::PathNode>& _internal_pathnodes() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::PathNode>* _internal_mutable_pathnodes();
- public:
- const ::NavMessage::PathNode& pathnodes(int index) const;
- ::NavMessage::PathNode* add_pathnodes();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::PathNode >&
- pathnodes() const;
- // .NavMessage.PathNode spaceNode = 2;
- bool has_spacenode() const;
- void clear_spacenode() ;
- const ::NavMessage::PathNode& spacenode() const;
- PROTOBUF_NODISCARD ::NavMessage::PathNode* release_spacenode();
- ::NavMessage::PathNode* mutable_spacenode();
- void set_allocated_spacenode(::NavMessage::PathNode* spacenode);
- private:
- const ::NavMessage::PathNode& _internal_spacenode() const;
- ::NavMessage::PathNode* _internal_mutable_spacenode();
- public:
- void unsafe_arena_set_allocated_spacenode(
- ::NavMessage::PathNode* spacenode);
- ::NavMessage::PathNode* unsafe_arena_release_spacenode();
- // .NavMessage.PathNode passNode = 3;
- bool has_passnode() const;
- void clear_passnode() ;
- const ::NavMessage::PathNode& passnode() const;
- PROTOBUF_NODISCARD ::NavMessage::PathNode* release_passnode();
- ::NavMessage::PathNode* mutable_passnode();
- void set_allocated_passnode(::NavMessage::PathNode* passnode);
- private:
- const ::NavMessage::PathNode& _internal_passnode() const;
- ::NavMessage::PathNode* _internal_mutable_passnode();
- public:
- void unsafe_arena_set_allocated_passnode(
- ::NavMessage::PathNode* passnode);
- ::NavMessage::PathNode* unsafe_arena_release_passnode();
- // .NavMessage.PathNode streetNode = 4;
- bool has_streetnode() const;
- void clear_streetnode() ;
- const ::NavMessage::PathNode& streetnode() const;
- PROTOBUF_NODISCARD ::NavMessage::PathNode* release_streetnode();
- ::NavMessage::PathNode* mutable_streetnode();
- void set_allocated_streetnode(::NavMessage::PathNode* streetnode);
- private:
- const ::NavMessage::PathNode& _internal_streetnode() const;
- ::NavMessage::PathNode* _internal_mutable_streetnode();
- public:
- void unsafe_arena_set_allocated_streetnode(
- ::NavMessage::PathNode* streetnode);
- ::NavMessage::PathNode* unsafe_arena_release_streetnode();
- // int32 type = 1;
- void clear_type() ;
- ::int32_t type() const;
- void set_type(::int32_t value);
- private:
- ::int32_t _internal_type() const;
- void _internal_set_type(::int32_t value);
- public:
- // float wheelbase = 6;
- void clear_wheelbase() ;
- float wheelbase() const;
- void set_wheelbase(float value);
- private:
- float _internal_wheelbase() const;
- void _internal_set_wheelbase(float value);
- public:
- // int32 changedMode = 7;
- void clear_changedmode() ;
- ::int32_t changedmode() const;
- void set_changedmode(::int32_t value);
- private:
- ::int32_t _internal_changedmode() const;
- void _internal_set_changedmode(::int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:NavMessage.NewAction)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_ {
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::PathNode > pathnodes_;
- ::NavMessage::PathNode* spacenode_;
- ::NavMessage::PathNode* passnode_;
- ::NavMessage::PathNode* streetnode_;
- ::int32_t type_;
- float wheelbase_;
- ::int32_t changedmode_;
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_message_2eproto;
- };// -------------------------------------------------------------------
- class NavCmd final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.NavCmd) */ {
- public:
- inline NavCmd() : NavCmd(nullptr) {}
- ~NavCmd() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR NavCmd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- NavCmd(const NavCmd& from);
- NavCmd(NavCmd&& from) noexcept
- : NavCmd() {
- *this = ::std::move(from);
- }
- inline NavCmd& operator=(const NavCmd& from) {
- CopyFrom(from);
- return *this;
- }
- inline NavCmd& operator=(NavCmd&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const NavCmd& default_instance() {
- return *internal_default_instance();
- }
- static inline const NavCmd* internal_default_instance() {
- return reinterpret_cast<const NavCmd*>(
- &_NavCmd_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 7;
- friend void swap(NavCmd& a, NavCmd& b) {
- a.Swap(&b);
- }
- inline void Swap(NavCmd* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(NavCmd* other) {
- if (other == this) return;
- ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- NavCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<NavCmd>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const NavCmd& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom( const NavCmd& from) {
- NavCmd::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(NavCmd* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "NavMessage.NavCmd";
- }
- protected:
- explicit NavCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kNewActionsFieldNumber = 5,
- kKeyFieldNumber = 2,
- kActionFieldNumber = 1,
- };
- // repeated .NavMessage.NewAction newActions = 5;
- int newactions_size() const;
- private:
- int _internal_newactions_size() const;
- public:
- void clear_newactions() ;
- ::NavMessage::NewAction* mutable_newactions(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::NewAction >*
- mutable_newactions();
- private:
- const ::NavMessage::NewAction& _internal_newactions(int index) const;
- ::NavMessage::NewAction* _internal_add_newactions();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::NewAction>& _internal_newactions() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::NewAction>* _internal_mutable_newactions();
- public:
- const ::NavMessage::NewAction& newactions(int index) const;
- ::NavMessage::NewAction* add_newactions();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::NewAction >&
- newactions() const;
- // string key = 2;
- void clear_key() ;
- const std::string& key() const;
- template <typename Arg_ = const std::string&, typename... Args_>
- void set_key(Arg_&& arg, Args_... args);
- std::string* mutable_key();
- PROTOBUF_NODISCARD std::string* release_key();
- void set_allocated_key(std::string* ptr);
- private:
- const std::string& _internal_key() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(
- const std::string& value);
- std::string* _internal_mutable_key();
- public:
- // int32 action = 1;
- void clear_action() ;
- ::int32_t action() const;
- void set_action(::int32_t value);
- private:
- ::int32_t _internal_action() const;
- void _internal_set_action(::int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:NavMessage.NavCmd)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_ {
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::NewAction > newactions_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
- ::int32_t action_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_message_2eproto;
- };// -------------------------------------------------------------------
- class NavResponse final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.NavResponse) */ {
- public:
- inline NavResponse() : NavResponse(nullptr) {}
- ~NavResponse() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR NavResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- NavResponse(const NavResponse& from);
- NavResponse(NavResponse&& from) noexcept
- : NavResponse() {
- *this = ::std::move(from);
- }
- inline NavResponse& operator=(const NavResponse& from) {
- CopyFrom(from);
- return *this;
- }
- inline NavResponse& operator=(NavResponse&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const NavResponse& default_instance() {
- return *internal_default_instance();
- }
- static inline const NavResponse* internal_default_instance() {
- return reinterpret_cast<const NavResponse*>(
- &_NavResponse_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 8;
- friend void swap(NavResponse& a, NavResponse& b) {
- a.Swap(&b);
- }
- inline void Swap(NavResponse* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(NavResponse* other) {
- if (other == this) return;
- ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- NavResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<NavResponse>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const NavResponse& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom( const NavResponse& from) {
- NavResponse::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(NavResponse* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "NavMessage.NavResponse";
- }
- protected:
- explicit NavResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kInfoFieldNumber = 2,
- kRetFieldNumber = 1,
- };
- // string info = 2;
- void clear_info() ;
- const std::string& info() const;
- template <typename Arg_ = const std::string&, typename... Args_>
- void set_info(Arg_&& arg, Args_... args);
- std::string* mutable_info();
- PROTOBUF_NODISCARD std::string* release_info();
- void set_allocated_info(std::string* ptr);
- private:
- const std::string& _internal_info() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_info(
- const std::string& value);
- std::string* _internal_mutable_info();
- public:
- // int32 ret = 1;
- void clear_ret() ;
- ::int32_t ret() const;
- void set_ret(::int32_t value);
- private:
- ::int32_t _internal_ret() const;
- void _internal_set_ret(::int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:NavMessage.NavResponse)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_ {
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr info_;
- ::int32_t ret_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_message_2eproto;
- };// -------------------------------------------------------------------
- class ManualCmd final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.ManualCmd) */ {
- public:
- inline ManualCmd() : ManualCmd(nullptr) {}
- ~ManualCmd() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR ManualCmd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- ManualCmd(const ManualCmd& from);
- ManualCmd(ManualCmd&& from) noexcept
- : ManualCmd() {
- *this = ::std::move(from);
- }
- inline ManualCmd& operator=(const ManualCmd& from) {
- CopyFrom(from);
- return *this;
- }
- inline ManualCmd& operator=(ManualCmd&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const ManualCmd& default_instance() {
- return *internal_default_instance();
- }
- static inline const ManualCmd* internal_default_instance() {
- return reinterpret_cast<const ManualCmd*>(
- &_ManualCmd_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 9;
- friend void swap(ManualCmd& a, ManualCmd& b) {
- a.Swap(&b);
- }
- inline void Swap(ManualCmd* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(ManualCmd* other) {
- if (other == this) return;
- ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- ManualCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<ManualCmd>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const ManualCmd& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom( const ManualCmd& from) {
- ManualCmd::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(ManualCmd* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "NavMessage.ManualCmd";
- }
- protected:
- explicit ManualCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kKeyFieldNumber = 1,
- kOperationTypeFieldNumber = 2,
- kVelocityFieldNumber = 3,
- };
- // string key = 1;
- void clear_key() ;
- const std::string& key() const;
- template <typename Arg_ = const std::string&, typename... Args_>
- void set_key(Arg_&& arg, Args_... args);
- std::string* mutable_key();
- PROTOBUF_NODISCARD std::string* release_key();
- void set_allocated_key(std::string* ptr);
- private:
- const std::string& _internal_key() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(
- const std::string& value);
- std::string* _internal_mutable_key();
- public:
- // int32 operation_type = 2;
- void clear_operation_type() ;
- ::int32_t operation_type() const;
- void set_operation_type(::int32_t value);
- private:
- ::int32_t _internal_operation_type() const;
- void _internal_set_operation_type(::int32_t value);
- public:
- // float velocity = 3;
- void clear_velocity() ;
- float velocity() const;
- void set_velocity(float value);
- private:
- float _internal_velocity() const;
- void _internal_set_velocity(float value);
- public:
- // @@protoc_insertion_point(class_scope:NavMessage.ManualCmd)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_ {
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
- ::int32_t operation_type_;
- float velocity_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_message_2eproto;
- };// -------------------------------------------------------------------
- class NavStatu final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.NavStatu) */ {
- public:
- inline NavStatu() : NavStatu(nullptr) {}
- ~NavStatu() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR NavStatu(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- NavStatu(const NavStatu& from);
- NavStatu(NavStatu&& from) noexcept
- : NavStatu() {
- *this = ::std::move(from);
- }
- inline NavStatu& operator=(const NavStatu& from) {
- CopyFrom(from);
- return *this;
- }
- inline NavStatu& operator=(NavStatu&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const NavStatu& default_instance() {
- return *internal_default_instance();
- }
- static inline const NavStatu* internal_default_instance() {
- return reinterpret_cast<const NavStatu*>(
- &_NavStatu_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 10;
- friend void swap(NavStatu& a, NavStatu& b) {
- a.Swap(&b);
- }
- inline void Swap(NavStatu* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(NavStatu* other) {
- if (other == this) return;
- ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- NavStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<NavStatu>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const NavStatu& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom( const NavStatu& from) {
- NavStatu::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(NavStatu* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "NavMessage.NavStatu";
- }
- protected:
- explicit NavStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kKeyFieldNumber = 5,
- kSpaceIdFieldNumber = 9,
- kOdomFieldNumber = 4,
- kSelectedTrajFieldNumber = 6,
- kPredictTrajFieldNumber = 7,
- kStatuFieldNumber = 1,
- kMoveModeFieldNumber = 3,
- kMainAgvFieldNumber = 2,
- kInSpaceFieldNumber = 8,
- };
- // string key = 5;
- void clear_key() ;
- const std::string& key() const;
- template <typename Arg_ = const std::string&, typename... Args_>
- void set_key(Arg_&& arg, Args_... args);
- std::string* mutable_key();
- PROTOBUF_NODISCARD std::string* release_key();
- void set_allocated_key(std::string* ptr);
- private:
- const std::string& _internal_key() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(
- const std::string& value);
- std::string* _internal_mutable_key();
- public:
- // string space_id = 9;
- void clear_space_id() ;
- const std::string& space_id() const;
- template <typename Arg_ = const std::string&, typename... Args_>
- void set_space_id(Arg_&& arg, Args_... args);
- std::string* mutable_space_id();
- PROTOBUF_NODISCARD std::string* release_space_id();
- void set_allocated_space_id(std::string* ptr);
- private:
- const std::string& _internal_space_id() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_space_id(
- const std::string& value);
- std::string* _internal_mutable_space_id();
- public:
- // .NavMessage.LidarOdomStatu odom = 4;
- bool has_odom() const;
- void clear_odom() ;
- const ::NavMessage::LidarOdomStatu& odom() const;
- PROTOBUF_NODISCARD ::NavMessage::LidarOdomStatu* release_odom();
- ::NavMessage::LidarOdomStatu* mutable_odom();
- void set_allocated_odom(::NavMessage::LidarOdomStatu* odom);
- private:
- const ::NavMessage::LidarOdomStatu& _internal_odom() const;
- ::NavMessage::LidarOdomStatu* _internal_mutable_odom();
- public:
- void unsafe_arena_set_allocated_odom(
- ::NavMessage::LidarOdomStatu* odom);
- ::NavMessage::LidarOdomStatu* unsafe_arena_release_odom();
- // .NavMessage.Trajectory selected_traj = 6;
- bool has_selected_traj() const;
- void clear_selected_traj() ;
- const ::NavMessage::Trajectory& selected_traj() const;
- PROTOBUF_NODISCARD ::NavMessage::Trajectory* release_selected_traj();
- ::NavMessage::Trajectory* mutable_selected_traj();
- void set_allocated_selected_traj(::NavMessage::Trajectory* selected_traj);
- private:
- const ::NavMessage::Trajectory& _internal_selected_traj() const;
- ::NavMessage::Trajectory* _internal_mutable_selected_traj();
- public:
- void unsafe_arena_set_allocated_selected_traj(
- ::NavMessage::Trajectory* selected_traj);
- ::NavMessage::Trajectory* unsafe_arena_release_selected_traj();
- // .NavMessage.Trajectory predict_traj = 7;
- bool has_predict_traj() const;
- void clear_predict_traj() ;
- const ::NavMessage::Trajectory& predict_traj() const;
- PROTOBUF_NODISCARD ::NavMessage::Trajectory* release_predict_traj();
- ::NavMessage::Trajectory* mutable_predict_traj();
- void set_allocated_predict_traj(::NavMessage::Trajectory* predict_traj);
- private:
- const ::NavMessage::Trajectory& _internal_predict_traj() const;
- ::NavMessage::Trajectory* _internal_mutable_predict_traj();
- public:
- void unsafe_arena_set_allocated_predict_traj(
- ::NavMessage::Trajectory* predict_traj);
- ::NavMessage::Trajectory* unsafe_arena_release_predict_traj();
- // int32 statu = 1;
- void clear_statu() ;
- ::int32_t statu() const;
- void set_statu(::int32_t value);
- private:
- ::int32_t _internal_statu() const;
- void _internal_set_statu(::int32_t value);
- public:
- // int32 move_mode = 3;
- void clear_move_mode() ;
- ::int32_t move_mode() const;
- void set_move_mode(::int32_t value);
- private:
- ::int32_t _internal_move_mode() const;
- void _internal_set_move_mode(::int32_t value);
- public:
- // bool main_agv = 2;
- void clear_main_agv() ;
- bool main_agv() const;
- void set_main_agv(bool value);
- private:
- bool _internal_main_agv() const;
- void _internal_set_main_agv(bool value);
- public:
- // bool in_space = 8;
- void clear_in_space() ;
- bool in_space() const;
- void set_in_space(bool value);
- private:
- bool _internal_in_space() const;
- void _internal_set_in_space(bool value);
- public:
- // @@protoc_insertion_point(class_scope:NavMessage.NavStatu)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_ {
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr space_id_;
- ::NavMessage::LidarOdomStatu* odom_;
- ::NavMessage::Trajectory* selected_traj_;
- ::NavMessage::Trajectory* predict_traj_;
- ::int32_t statu_;
- ::int32_t move_mode_;
- bool main_agv_;
- bool in_space_;
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_message_2eproto;
- };// -------------------------------------------------------------------
- class RobotStatu final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.RobotStatu) */ {
- public:
- inline RobotStatu() : RobotStatu(nullptr) {}
- ~RobotStatu() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR RobotStatu(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- RobotStatu(const RobotStatu& from);
- RobotStatu(RobotStatu&& from) noexcept
- : RobotStatu() {
- *this = ::std::move(from);
- }
- inline RobotStatu& operator=(const RobotStatu& from) {
- CopyFrom(from);
- return *this;
- }
- inline RobotStatu& operator=(RobotStatu&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const RobotStatu& default_instance() {
- return *internal_default_instance();
- }
- static inline const RobotStatu* internal_default_instance() {
- return reinterpret_cast<const RobotStatu*>(
- &_RobotStatu_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 11;
- friend void swap(RobotStatu& a, RobotStatu& b) {
- a.Swap(&b);
- }
- inline void Swap(RobotStatu* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(RobotStatu* other) {
- if (other == this) return;
- ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- RobotStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<RobotStatu>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const RobotStatu& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom( const RobotStatu& from) {
- RobotStatu::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(RobotStatu* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "NavMessage.RobotStatu";
- }
- protected:
- explicit RobotStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kAgvStatuFieldNumber = 4,
- kXFieldNumber = 1,
- kYFieldNumber = 2,
- kThetaFieldNumber = 3,
- };
- // .NavMessage.AgvStatu agvStatu = 4;
- bool has_agvstatu() const;
- void clear_agvstatu() ;
- const ::NavMessage::AgvStatu& agvstatu() const;
- PROTOBUF_NODISCARD ::NavMessage::AgvStatu* release_agvstatu();
- ::NavMessage::AgvStatu* mutable_agvstatu();
- void set_allocated_agvstatu(::NavMessage::AgvStatu* agvstatu);
- private:
- const ::NavMessage::AgvStatu& _internal_agvstatu() const;
- ::NavMessage::AgvStatu* _internal_mutable_agvstatu();
- public:
- void unsafe_arena_set_allocated_agvstatu(
- ::NavMessage::AgvStatu* agvstatu);
- ::NavMessage::AgvStatu* unsafe_arena_release_agvstatu();
- // float x = 1;
- void clear_x() ;
- float x() const;
- void set_x(float value);
- private:
- float _internal_x() const;
- void _internal_set_x(float value);
- public:
- // float y = 2;
- void clear_y() ;
- float y() const;
- void set_y(float value);
- private:
- float _internal_y() const;
- void _internal_set_y(float value);
- public:
- // float theta = 3;
- void clear_theta() ;
- float theta() const;
- void set_theta(float value);
- private:
- float _internal_theta() const;
- void _internal_set_theta(float value);
- public:
- // @@protoc_insertion_point(class_scope:NavMessage.RobotStatu)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_ {
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::NavMessage::AgvStatu* agvstatu_;
- float x_;
- float y_;
- float theta_;
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_message_2eproto;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // LidarOdomStatu
- // float x = 1;
- inline void LidarOdomStatu::clear_x() {
- _impl_.x_ = 0;
- }
- inline float LidarOdomStatu::x() const {
- // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.x)
- return _internal_x();
- }
- inline void LidarOdomStatu::set_x(float value) {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.x)
- }
- inline float LidarOdomStatu::_internal_x() const {
- return _impl_.x_;
- }
- inline void LidarOdomStatu::_internal_set_x(float value) {
- ;
- _impl_.x_ = value;
- }
- // float y = 2;
- inline void LidarOdomStatu::clear_y() {
- _impl_.y_ = 0;
- }
- inline float LidarOdomStatu::y() const {
- // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.y)
- return _internal_y();
- }
- inline void LidarOdomStatu::set_y(float value) {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.y)
- }
- inline float LidarOdomStatu::_internal_y() const {
- return _impl_.y_;
- }
- inline void LidarOdomStatu::_internal_set_y(float value) {
- ;
- _impl_.y_ = value;
- }
- // float theta = 3;
- inline void LidarOdomStatu::clear_theta() {
- _impl_.theta_ = 0;
- }
- inline float LidarOdomStatu::theta() const {
- // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.theta)
- return _internal_theta();
- }
- inline void LidarOdomStatu::set_theta(float value) {
- _internal_set_theta(value);
- // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.theta)
- }
- inline float LidarOdomStatu::_internal_theta() const {
- return _impl_.theta_;
- }
- inline void LidarOdomStatu::_internal_set_theta(float value) {
- ;
- _impl_.theta_ = value;
- }
- // float v = 4;
- inline void LidarOdomStatu::clear_v() {
- _impl_.v_ = 0;
- }
- inline float LidarOdomStatu::v() const {
- // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.v)
- return _internal_v();
- }
- inline void LidarOdomStatu::set_v(float value) {
- _internal_set_v(value);
- // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.v)
- }
- inline float LidarOdomStatu::_internal_v() const {
- return _impl_.v_;
- }
- inline void LidarOdomStatu::_internal_set_v(float value) {
- ;
- _impl_.v_ = value;
- }
- // float vth = 5;
- inline void LidarOdomStatu::clear_vth() {
- _impl_.vth_ = 0;
- }
- inline float LidarOdomStatu::vth() const {
- // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.vth)
- return _internal_vth();
- }
- inline void LidarOdomStatu::set_vth(float value) {
- _internal_set_vth(value);
- // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.vth)
- }
- inline float LidarOdomStatu::_internal_vth() const {
- return _impl_.vth_;
- }
- inline void LidarOdomStatu::_internal_set_vth(float value) {
- ;
- _impl_.vth_ = value;
- }
- // -------------------------------------------------------------------
- // AgvStatu
- // float v = 1;
- inline void AgvStatu::clear_v() {
- _impl_.v_ = 0;
- }
- inline float AgvStatu::v() const {
- // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.v)
- return _internal_v();
- }
- inline void AgvStatu::set_v(float value) {
- _internal_set_v(value);
- // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.v)
- }
- inline float AgvStatu::_internal_v() const {
- return _impl_.v_;
- }
- inline void AgvStatu::_internal_set_v(float value) {
- ;
- _impl_.v_ = value;
- }
- // float w = 2;
- inline void AgvStatu::clear_w() {
- _impl_.w_ = 0;
- }
- inline float AgvStatu::w() const {
- // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.w)
- return _internal_w();
- }
- inline void AgvStatu::set_w(float value) {
- _internal_set_w(value);
- // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.w)
- }
- inline float AgvStatu::_internal_w() const {
- return _impl_.w_;
- }
- inline void AgvStatu::_internal_set_w(float value) {
- ;
- _impl_.w_ = value;
- }
- // int32 clamp = 3;
- inline void AgvStatu::clear_clamp() {
- _impl_.clamp_ = 0;
- }
- inline ::int32_t AgvStatu::clamp() const {
- // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.clamp)
- return _internal_clamp();
- }
- inline void AgvStatu::set_clamp(::int32_t value) {
- _internal_set_clamp(value);
- // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.clamp)
- }
- inline ::int32_t AgvStatu::_internal_clamp() const {
- return _impl_.clamp_;
- }
- inline void AgvStatu::_internal_set_clamp(::int32_t value) {
- ;
- _impl_.clamp_ = value;
- }
- // int32 clamp_other = 4;
- inline void AgvStatu::clear_clamp_other() {
- _impl_.clamp_other_ = 0;
- }
- inline ::int32_t AgvStatu::clamp_other() const {
- // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.clamp_other)
- return _internal_clamp_other();
- }
- inline void AgvStatu::set_clamp_other(::int32_t value) {
- _internal_set_clamp_other(value);
- // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.clamp_other)
- }
- inline ::int32_t AgvStatu::_internal_clamp_other() const {
- return _impl_.clamp_other_;
- }
- inline void AgvStatu::_internal_set_clamp_other(::int32_t value) {
- ;
- _impl_.clamp_other_ = value;
- }
- // int32 lifter = 5;
- inline void AgvStatu::clear_lifter() {
- _impl_.lifter_ = 0;
- }
- inline ::int32_t AgvStatu::lifter() const {
- // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.lifter)
- return _internal_lifter();
- }
- inline void AgvStatu::set_lifter(::int32_t value) {
- _internal_set_lifter(value);
- // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.lifter)
- }
- inline ::int32_t AgvStatu::_internal_lifter() const {
- return _impl_.lifter_;
- }
- inline void AgvStatu::_internal_set_lifter(::int32_t value) {
- ;
- _impl_.lifter_ = value;
- }
- // int32 lifter_other = 6;
- inline void AgvStatu::clear_lifter_other() {
- _impl_.lifter_other_ = 0;
- }
- inline ::int32_t AgvStatu::lifter_other() const {
- // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.lifter_other)
- return _internal_lifter_other();
- }
- inline void AgvStatu::set_lifter_other(::int32_t value) {
- _internal_set_lifter_other(value);
- // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.lifter_other)
- }
- inline ::int32_t AgvStatu::_internal_lifter_other() const {
- return _impl_.lifter_other_;
- }
- inline void AgvStatu::_internal_set_lifter_other(::int32_t value) {
- ;
- _impl_.lifter_other_ = value;
- }
- // -------------------------------------------------------------------
- // ToAgvCmd
- // int32 H = 1;
- inline void ToAgvCmd::clear_h() {
- _impl_.h_ = 0;
- }
- inline ::int32_t ToAgvCmd::h() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.H)
- return _internal_h();
- }
- inline void ToAgvCmd::set_h(::int32_t value) {
- _internal_set_h(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.H)
- }
- inline ::int32_t ToAgvCmd::_internal_h() const {
- return _impl_.h_;
- }
- inline void ToAgvCmd::_internal_set_h(::int32_t value) {
- ;
- _impl_.h_ = value;
- }
- // int32 M = 2;
- inline void ToAgvCmd::clear_m() {
- _impl_.m_ = 0;
- }
- inline ::int32_t ToAgvCmd::m() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.M)
- return _internal_m();
- }
- inline void ToAgvCmd::set_m(::int32_t value) {
- _internal_set_m(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.M)
- }
- inline ::int32_t ToAgvCmd::_internal_m() const {
- return _impl_.m_;
- }
- inline void ToAgvCmd::_internal_set_m(::int32_t value) {
- ;
- _impl_.m_ = value;
- }
- // int32 T = 3;
- inline void ToAgvCmd::clear_t() {
- _impl_.t_ = 0;
- }
- inline ::int32_t ToAgvCmd::t() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.T)
- return _internal_t();
- }
- inline void ToAgvCmd::set_t(::int32_t value) {
- _internal_set_t(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.T)
- }
- inline ::int32_t ToAgvCmd::_internal_t() const {
- return _impl_.t_;
- }
- inline void ToAgvCmd::_internal_set_t(::int32_t value) {
- ;
- _impl_.t_ = value;
- }
- // float V = 4;
- inline void ToAgvCmd::clear_v() {
- _impl_.v_ = 0;
- }
- inline float ToAgvCmd::v() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.V)
- return _internal_v();
- }
- inline void ToAgvCmd::set_v(float value) {
- _internal_set_v(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.V)
- }
- inline float ToAgvCmd::_internal_v() const {
- return _impl_.v_;
- }
- inline void ToAgvCmd::_internal_set_v(float value) {
- ;
- _impl_.v_ = value;
- }
- // float W = 5;
- inline void ToAgvCmd::clear_w() {
- _impl_.w_ = 0;
- }
- inline float ToAgvCmd::w() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.W)
- return _internal_w();
- }
- inline void ToAgvCmd::set_w(float value) {
- _internal_set_w(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.W)
- }
- inline float ToAgvCmd::_internal_w() const {
- return _impl_.w_;
- }
- inline void ToAgvCmd::_internal_set_w(float value) {
- ;
- _impl_.w_ = value;
- }
- // float L = 6;
- inline void ToAgvCmd::clear_l() {
- _impl_.l_ = 0;
- }
- inline float ToAgvCmd::l() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.L)
- return _internal_l();
- }
- inline void ToAgvCmd::set_l(float value) {
- _internal_set_l(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.L)
- }
- inline float ToAgvCmd::_internal_l() const {
- return _impl_.l_;
- }
- inline void ToAgvCmd::_internal_set_l(float value) {
- ;
- _impl_.l_ = value;
- }
- // int32 P = 7;
- inline void ToAgvCmd::clear_p() {
- _impl_.p_ = 0;
- }
- inline ::int32_t ToAgvCmd::p() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.P)
- return _internal_p();
- }
- inline void ToAgvCmd::set_p(::int32_t value) {
- _internal_set_p(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.P)
- }
- inline ::int32_t ToAgvCmd::_internal_p() const {
- return _impl_.p_;
- }
- inline void ToAgvCmd::_internal_set_p(::int32_t value) {
- ;
- _impl_.p_ = value;
- }
- // float D = 8;
- inline void ToAgvCmd::clear_d() {
- _impl_.d_ = 0;
- }
- inline float ToAgvCmd::d() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.D)
- return _internal_d();
- }
- inline void ToAgvCmd::set_d(float value) {
- _internal_set_d(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.D)
- }
- inline float ToAgvCmd::_internal_d() const {
- return _impl_.d_;
- }
- inline void ToAgvCmd::_internal_set_d(float value) {
- ;
- _impl_.d_ = value;
- }
- // int32 end = 9;
- inline void ToAgvCmd::clear_end() {
- _impl_.end_ = 0;
- }
- inline ::int32_t ToAgvCmd::end() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.end)
- return _internal_end();
- }
- inline void ToAgvCmd::set_end(::int32_t value) {
- _internal_set_end(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.end)
- }
- inline ::int32_t ToAgvCmd::_internal_end() const {
- return _impl_.end_;
- }
- inline void ToAgvCmd::_internal_set_end(::int32_t value) {
- ;
- _impl_.end_ = value;
- }
- // -------------------------------------------------------------------
- // Pose2d
- // float x = 1;
- inline void Pose2d::clear_x() {
- _impl_.x_ = 0;
- }
- inline float Pose2d::x() const {
- // @@protoc_insertion_point(field_get:NavMessage.Pose2d.x)
- return _internal_x();
- }
- inline void Pose2d::set_x(float value) {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:NavMessage.Pose2d.x)
- }
- inline float Pose2d::_internal_x() const {
- return _impl_.x_;
- }
- inline void Pose2d::_internal_set_x(float value) {
- ;
- _impl_.x_ = value;
- }
- // float y = 2;
- inline void Pose2d::clear_y() {
- _impl_.y_ = 0;
- }
- inline float Pose2d::y() const {
- // @@protoc_insertion_point(field_get:NavMessage.Pose2d.y)
- return _internal_y();
- }
- inline void Pose2d::set_y(float value) {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:NavMessage.Pose2d.y)
- }
- inline float Pose2d::_internal_y() const {
- return _impl_.y_;
- }
- inline void Pose2d::_internal_set_y(float value) {
- ;
- _impl_.y_ = value;
- }
- // float theta = 3;
- inline void Pose2d::clear_theta() {
- _impl_.theta_ = 0;
- }
- inline float Pose2d::theta() const {
- // @@protoc_insertion_point(field_get:NavMessage.Pose2d.theta)
- return _internal_theta();
- }
- inline void Pose2d::set_theta(float value) {
- _internal_set_theta(value);
- // @@protoc_insertion_point(field_set:NavMessage.Pose2d.theta)
- }
- inline float Pose2d::_internal_theta() const {
- return _impl_.theta_;
- }
- inline void Pose2d::_internal_set_theta(float value) {
- ;
- _impl_.theta_ = value;
- }
- // -------------------------------------------------------------------
- // PathNode
- // float x = 1;
- inline void PathNode::clear_x() {
- _impl_.x_ = 0;
- }
- inline float PathNode::x() const {
- // @@protoc_insertion_point(field_get:NavMessage.PathNode.x)
- return _internal_x();
- }
- inline void PathNode::set_x(float value) {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:NavMessage.PathNode.x)
- }
- inline float PathNode::_internal_x() const {
- return _impl_.x_;
- }
- inline void PathNode::_internal_set_x(float value) {
- ;
- _impl_.x_ = value;
- }
- // float y = 2;
- inline void PathNode::clear_y() {
- _impl_.y_ = 0;
- }
- inline float PathNode::y() const {
- // @@protoc_insertion_point(field_get:NavMessage.PathNode.y)
- return _internal_y();
- }
- inline void PathNode::set_y(float value) {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:NavMessage.PathNode.y)
- }
- inline float PathNode::_internal_y() const {
- return _impl_.y_;
- }
- inline void PathNode::_internal_set_y(float value) {
- ;
- _impl_.y_ = value;
- }
- // float l = 3;
- inline void PathNode::clear_l() {
- _impl_.l_ = 0;
- }
- inline float PathNode::l() const {
- // @@protoc_insertion_point(field_get:NavMessage.PathNode.l)
- return _internal_l();
- }
- inline void PathNode::set_l(float value) {
- _internal_set_l(value);
- // @@protoc_insertion_point(field_set:NavMessage.PathNode.l)
- }
- inline float PathNode::_internal_l() const {
- return _impl_.l_;
- }
- inline void PathNode::_internal_set_l(float value) {
- ;
- _impl_.l_ = value;
- }
- // float w = 4;
- inline void PathNode::clear_w() {
- _impl_.w_ = 0;
- }
- inline float PathNode::w() const {
- // @@protoc_insertion_point(field_get:NavMessage.PathNode.w)
- return _internal_w();
- }
- inline void PathNode::set_w(float value) {
- _internal_set_w(value);
- // @@protoc_insertion_point(field_set:NavMessage.PathNode.w)
- }
- inline float PathNode::_internal_w() const {
- return _impl_.w_;
- }
- inline void PathNode::_internal_set_w(float value) {
- ;
- _impl_.w_ = value;
- }
- // float theta = 5;
- inline void PathNode::clear_theta() {
- _impl_.theta_ = 0;
- }
- inline float PathNode::theta() const {
- // @@protoc_insertion_point(field_get:NavMessage.PathNode.theta)
- return _internal_theta();
- }
- inline void PathNode::set_theta(float value) {
- _internal_set_theta(value);
- // @@protoc_insertion_point(field_set:NavMessage.PathNode.theta)
- }
- inline float PathNode::_internal_theta() const {
- return _impl_.theta_;
- }
- inline void PathNode::_internal_set_theta(float value) {
- ;
- _impl_.theta_ = value;
- }
- // string id = 6;
- inline void PathNode::clear_id() {
- _impl_.id_.ClearToEmpty();
- }
- inline const std::string& PathNode::id() const {
- // @@protoc_insertion_point(field_get:NavMessage.PathNode.id)
- return _internal_id();
- }
- template <typename Arg_, typename... Args_>
- inline PROTOBUF_ALWAYS_INLINE void PathNode::set_id(Arg_&& arg,
- Args_... args) {
- ;
- _impl_.id_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:NavMessage.PathNode.id)
- }
- inline std::string* PathNode::mutable_id() {
- std::string* _s = _internal_mutable_id();
- // @@protoc_insertion_point(field_mutable:NavMessage.PathNode.id)
- return _s;
- }
- inline const std::string& PathNode::_internal_id() const {
- return _impl_.id_.Get();
- }
- inline void PathNode::_internal_set_id(const std::string& value) {
- ;
- _impl_.id_.Set(value, GetArenaForAllocation());
- }
- inline std::string* PathNode::_internal_mutable_id() {
- ;
- return _impl_.id_.Mutable( GetArenaForAllocation());
- }
- inline std::string* PathNode::release_id() {
- // @@protoc_insertion_point(field_release:NavMessage.PathNode.id)
- return _impl_.id_.Release();
- }
- inline void PathNode::set_allocated_id(std::string* value) {
- _impl_.id_.SetAllocated(value, GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.id_.IsDefault()) {
- _impl_.id_.Set("", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:NavMessage.PathNode.id)
- }
- // -------------------------------------------------------------------
- // Trajectory
- // repeated .NavMessage.Pose2d poses = 1;
- inline int Trajectory::_internal_poses_size() const {
- return _impl_.poses_.size();
- }
- inline int Trajectory::poses_size() const {
- return _internal_poses_size();
- }
- inline void Trajectory::clear_poses() {
- _internal_mutable_poses()->Clear();
- }
- inline ::NavMessage::Pose2d* Trajectory::mutable_poses(int index) {
- // @@protoc_insertion_point(field_mutable:NavMessage.Trajectory.poses)
- return _internal_mutable_poses()->Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >*
- Trajectory::mutable_poses() {
- // @@protoc_insertion_point(field_mutable_list:NavMessage.Trajectory.poses)
- return _internal_mutable_poses();
- }
- inline const ::NavMessage::Pose2d& Trajectory::_internal_poses(int index) const {
- return _internal_poses().Get(index);
- }
- inline const ::NavMessage::Pose2d& Trajectory::poses(int index) const {
- // @@protoc_insertion_point(field_get:NavMessage.Trajectory.poses)
- return _internal_poses(index);
- }
- inline ::NavMessage::Pose2d* Trajectory::_internal_add_poses() {
- return _internal_mutable_poses()->Add();
- }
- inline ::NavMessage::Pose2d* Trajectory::add_poses() {
- ::NavMessage::Pose2d* _add = _internal_add_poses();
- // @@protoc_insertion_point(field_add:NavMessage.Trajectory.poses)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >&
- Trajectory::poses() const {
- // @@protoc_insertion_point(field_list:NavMessage.Trajectory.poses)
- return _internal_poses();
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::Pose2d>&
- Trajectory::_internal_poses() const {
- return _impl_.poses_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::Pose2d>*
- Trajectory::_internal_mutable_poses() {
- return &_impl_.poses_;
- }
- // -------------------------------------------------------------------
- // NewAction
- // int32 type = 1;
- inline void NewAction::clear_type() {
- _impl_.type_ = 0;
- }
- inline ::int32_t NewAction::type() const {
- // @@protoc_insertion_point(field_get:NavMessage.NewAction.type)
- return _internal_type();
- }
- inline void NewAction::set_type(::int32_t value) {
- _internal_set_type(value);
- // @@protoc_insertion_point(field_set:NavMessage.NewAction.type)
- }
- inline ::int32_t NewAction::_internal_type() const {
- return _impl_.type_;
- }
- inline void NewAction::_internal_set_type(::int32_t value) {
- ;
- _impl_.type_ = value;
- }
- // .NavMessage.PathNode spaceNode = 2;
- inline bool NewAction::has_spacenode() const {
- bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.spacenode_ != nullptr);
- return value;
- }
- inline void NewAction::clear_spacenode() {
- if (_impl_.spacenode_ != nullptr) _impl_.spacenode_->Clear();
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- inline const ::NavMessage::PathNode& NewAction::_internal_spacenode() const {
- const ::NavMessage::PathNode* p = _impl_.spacenode_;
- return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::PathNode&>(
- ::NavMessage::_PathNode_default_instance_);
- }
- inline const ::NavMessage::PathNode& NewAction::spacenode() const {
- // @@protoc_insertion_point(field_get:NavMessage.NewAction.spaceNode)
- return _internal_spacenode();
- }
- inline void NewAction::unsafe_arena_set_allocated_spacenode(
- ::NavMessage::PathNode* spacenode) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.spacenode_);
- }
- _impl_.spacenode_ = spacenode;
- if (spacenode) {
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NewAction.spaceNode)
- }
- inline ::NavMessage::PathNode* NewAction::release_spacenode() {
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::NavMessage::PathNode* temp = _impl_.spacenode_;
- _impl_.spacenode_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::NavMessage::PathNode* NewAction::unsafe_arena_release_spacenode() {
- // @@protoc_insertion_point(field_release:NavMessage.NewAction.spaceNode)
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::NavMessage::PathNode* temp = _impl_.spacenode_;
- _impl_.spacenode_ = nullptr;
- return temp;
- }
- inline ::NavMessage::PathNode* NewAction::_internal_mutable_spacenode() {
- _impl_._has_bits_[0] |= 0x00000001u;
- if (_impl_.spacenode_ == nullptr) {
- auto* p = CreateMaybeMessage<::NavMessage::PathNode>(GetArenaForAllocation());
- _impl_.spacenode_ = p;
- }
- return _impl_.spacenode_;
- }
- inline ::NavMessage::PathNode* NewAction::mutable_spacenode() {
- ::NavMessage::PathNode* _msg = _internal_mutable_spacenode();
- // @@protoc_insertion_point(field_mutable:NavMessage.NewAction.spaceNode)
- return _msg;
- }
- inline void NewAction::set_allocated_spacenode(::NavMessage::PathNode* spacenode) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete _impl_.spacenode_;
- }
- if (spacenode) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(spacenode);
- if (message_arena != submessage_arena) {
- spacenode = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, spacenode, submessage_arena);
- }
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- _impl_.spacenode_ = spacenode;
- // @@protoc_insertion_point(field_set_allocated:NavMessage.NewAction.spaceNode)
- }
- // .NavMessage.PathNode passNode = 3;
- inline bool NewAction::has_passnode() const {
- bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.passnode_ != nullptr);
- return value;
- }
- inline void NewAction::clear_passnode() {
- if (_impl_.passnode_ != nullptr) _impl_.passnode_->Clear();
- _impl_._has_bits_[0] &= ~0x00000002u;
- }
- inline const ::NavMessage::PathNode& NewAction::_internal_passnode() const {
- const ::NavMessage::PathNode* p = _impl_.passnode_;
- return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::PathNode&>(
- ::NavMessage::_PathNode_default_instance_);
- }
- inline const ::NavMessage::PathNode& NewAction::passnode() const {
- // @@protoc_insertion_point(field_get:NavMessage.NewAction.passNode)
- return _internal_passnode();
- }
- inline void NewAction::unsafe_arena_set_allocated_passnode(
- ::NavMessage::PathNode* passnode) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.passnode_);
- }
- _impl_.passnode_ = passnode;
- if (passnode) {
- _impl_._has_bits_[0] |= 0x00000002u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000002u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NewAction.passNode)
- }
- inline ::NavMessage::PathNode* NewAction::release_passnode() {
- _impl_._has_bits_[0] &= ~0x00000002u;
- ::NavMessage::PathNode* temp = _impl_.passnode_;
- _impl_.passnode_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::NavMessage::PathNode* NewAction::unsafe_arena_release_passnode() {
- // @@protoc_insertion_point(field_release:NavMessage.NewAction.passNode)
- _impl_._has_bits_[0] &= ~0x00000002u;
- ::NavMessage::PathNode* temp = _impl_.passnode_;
- _impl_.passnode_ = nullptr;
- return temp;
- }
- inline ::NavMessage::PathNode* NewAction::_internal_mutable_passnode() {
- _impl_._has_bits_[0] |= 0x00000002u;
- if (_impl_.passnode_ == nullptr) {
- auto* p = CreateMaybeMessage<::NavMessage::PathNode>(GetArenaForAllocation());
- _impl_.passnode_ = p;
- }
- return _impl_.passnode_;
- }
- inline ::NavMessage::PathNode* NewAction::mutable_passnode() {
- ::NavMessage::PathNode* _msg = _internal_mutable_passnode();
- // @@protoc_insertion_point(field_mutable:NavMessage.NewAction.passNode)
- return _msg;
- }
- inline void NewAction::set_allocated_passnode(::NavMessage::PathNode* passnode) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete _impl_.passnode_;
- }
- if (passnode) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(passnode);
- if (message_arena != submessage_arena) {
- passnode = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, passnode, submessage_arena);
- }
- _impl_._has_bits_[0] |= 0x00000002u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000002u;
- }
- _impl_.passnode_ = passnode;
- // @@protoc_insertion_point(field_set_allocated:NavMessage.NewAction.passNode)
- }
- // .NavMessage.PathNode streetNode = 4;
- inline bool NewAction::has_streetnode() const {
- bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.streetnode_ != nullptr);
- return value;
- }
- inline void NewAction::clear_streetnode() {
- if (_impl_.streetnode_ != nullptr) _impl_.streetnode_->Clear();
- _impl_._has_bits_[0] &= ~0x00000004u;
- }
- inline const ::NavMessage::PathNode& NewAction::_internal_streetnode() const {
- const ::NavMessage::PathNode* p = _impl_.streetnode_;
- return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::PathNode&>(
- ::NavMessage::_PathNode_default_instance_);
- }
- inline const ::NavMessage::PathNode& NewAction::streetnode() const {
- // @@protoc_insertion_point(field_get:NavMessage.NewAction.streetNode)
- return _internal_streetnode();
- }
- inline void NewAction::unsafe_arena_set_allocated_streetnode(
- ::NavMessage::PathNode* streetnode) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.streetnode_);
- }
- _impl_.streetnode_ = streetnode;
- if (streetnode) {
- _impl_._has_bits_[0] |= 0x00000004u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000004u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NewAction.streetNode)
- }
- inline ::NavMessage::PathNode* NewAction::release_streetnode() {
- _impl_._has_bits_[0] &= ~0x00000004u;
- ::NavMessage::PathNode* temp = _impl_.streetnode_;
- _impl_.streetnode_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::NavMessage::PathNode* NewAction::unsafe_arena_release_streetnode() {
- // @@protoc_insertion_point(field_release:NavMessage.NewAction.streetNode)
- _impl_._has_bits_[0] &= ~0x00000004u;
- ::NavMessage::PathNode* temp = _impl_.streetnode_;
- _impl_.streetnode_ = nullptr;
- return temp;
- }
- inline ::NavMessage::PathNode* NewAction::_internal_mutable_streetnode() {
- _impl_._has_bits_[0] |= 0x00000004u;
- if (_impl_.streetnode_ == nullptr) {
- auto* p = CreateMaybeMessage<::NavMessage::PathNode>(GetArenaForAllocation());
- _impl_.streetnode_ = p;
- }
- return _impl_.streetnode_;
- }
- inline ::NavMessage::PathNode* NewAction::mutable_streetnode() {
- ::NavMessage::PathNode* _msg = _internal_mutable_streetnode();
- // @@protoc_insertion_point(field_mutable:NavMessage.NewAction.streetNode)
- return _msg;
- }
- inline void NewAction::set_allocated_streetnode(::NavMessage::PathNode* streetnode) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete _impl_.streetnode_;
- }
- if (streetnode) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(streetnode);
- if (message_arena != submessage_arena) {
- streetnode = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, streetnode, submessage_arena);
- }
- _impl_._has_bits_[0] |= 0x00000004u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000004u;
- }
- _impl_.streetnode_ = streetnode;
- // @@protoc_insertion_point(field_set_allocated:NavMessage.NewAction.streetNode)
- }
- // repeated .NavMessage.PathNode pathNodes = 5;
- inline int NewAction::_internal_pathnodes_size() const {
- return _impl_.pathnodes_.size();
- }
- inline int NewAction::pathnodes_size() const {
- return _internal_pathnodes_size();
- }
- inline void NewAction::clear_pathnodes() {
- _internal_mutable_pathnodes()->Clear();
- }
- inline ::NavMessage::PathNode* NewAction::mutable_pathnodes(int index) {
- // @@protoc_insertion_point(field_mutable:NavMessage.NewAction.pathNodes)
- return _internal_mutable_pathnodes()->Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::PathNode >*
- NewAction::mutable_pathnodes() {
- // @@protoc_insertion_point(field_mutable_list:NavMessage.NewAction.pathNodes)
- return _internal_mutable_pathnodes();
- }
- inline const ::NavMessage::PathNode& NewAction::_internal_pathnodes(int index) const {
- return _internal_pathnodes().Get(index);
- }
- inline const ::NavMessage::PathNode& NewAction::pathnodes(int index) const {
- // @@protoc_insertion_point(field_get:NavMessage.NewAction.pathNodes)
- return _internal_pathnodes(index);
- }
- inline ::NavMessage::PathNode* NewAction::_internal_add_pathnodes() {
- return _internal_mutable_pathnodes()->Add();
- }
- inline ::NavMessage::PathNode* NewAction::add_pathnodes() {
- ::NavMessage::PathNode* _add = _internal_add_pathnodes();
- // @@protoc_insertion_point(field_add:NavMessage.NewAction.pathNodes)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::PathNode >&
- NewAction::pathnodes() const {
- // @@protoc_insertion_point(field_list:NavMessage.NewAction.pathNodes)
- return _internal_pathnodes();
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::PathNode>&
- NewAction::_internal_pathnodes() const {
- return _impl_.pathnodes_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::PathNode>*
- NewAction::_internal_mutable_pathnodes() {
- return &_impl_.pathnodes_;
- }
- // float wheelbase = 6;
- inline void NewAction::clear_wheelbase() {
- _impl_.wheelbase_ = 0;
- }
- inline float NewAction::wheelbase() const {
- // @@protoc_insertion_point(field_get:NavMessage.NewAction.wheelbase)
- return _internal_wheelbase();
- }
- inline void NewAction::set_wheelbase(float value) {
- _internal_set_wheelbase(value);
- // @@protoc_insertion_point(field_set:NavMessage.NewAction.wheelbase)
- }
- inline float NewAction::_internal_wheelbase() const {
- return _impl_.wheelbase_;
- }
- inline void NewAction::_internal_set_wheelbase(float value) {
- ;
- _impl_.wheelbase_ = value;
- }
- // int32 changedMode = 7;
- inline void NewAction::clear_changedmode() {
- _impl_.changedmode_ = 0;
- }
- inline ::int32_t NewAction::changedmode() const {
- // @@protoc_insertion_point(field_get:NavMessage.NewAction.changedMode)
- return _internal_changedmode();
- }
- inline void NewAction::set_changedmode(::int32_t value) {
- _internal_set_changedmode(value);
- // @@protoc_insertion_point(field_set:NavMessage.NewAction.changedMode)
- }
- inline ::int32_t NewAction::_internal_changedmode() const {
- return _impl_.changedmode_;
- }
- inline void NewAction::_internal_set_changedmode(::int32_t value) {
- ;
- _impl_.changedmode_ = value;
- }
- // -------------------------------------------------------------------
- // NavCmd
- // int32 action = 1;
- inline void NavCmd::clear_action() {
- _impl_.action_ = 0;
- }
- inline ::int32_t NavCmd::action() const {
- // @@protoc_insertion_point(field_get:NavMessage.NavCmd.action)
- return _internal_action();
- }
- inline void NavCmd::set_action(::int32_t value) {
- _internal_set_action(value);
- // @@protoc_insertion_point(field_set:NavMessage.NavCmd.action)
- }
- inline ::int32_t NavCmd::_internal_action() const {
- return _impl_.action_;
- }
- inline void NavCmd::_internal_set_action(::int32_t value) {
- ;
- _impl_.action_ = value;
- }
- // string key = 2;
- inline void NavCmd::clear_key() {
- _impl_.key_.ClearToEmpty();
- }
- inline const std::string& NavCmd::key() const {
- // @@protoc_insertion_point(field_get:NavMessage.NavCmd.key)
- return _internal_key();
- }
- template <typename Arg_, typename... Args_>
- inline PROTOBUF_ALWAYS_INLINE void NavCmd::set_key(Arg_&& arg,
- Args_... args) {
- ;
- _impl_.key_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:NavMessage.NavCmd.key)
- }
- inline std::string* NavCmd::mutable_key() {
- std::string* _s = _internal_mutable_key();
- // @@protoc_insertion_point(field_mutable:NavMessage.NavCmd.key)
- return _s;
- }
- inline const std::string& NavCmd::_internal_key() const {
- return _impl_.key_.Get();
- }
- inline void NavCmd::_internal_set_key(const std::string& value) {
- ;
- _impl_.key_.Set(value, GetArenaForAllocation());
- }
- inline std::string* NavCmd::_internal_mutable_key() {
- ;
- return _impl_.key_.Mutable( GetArenaForAllocation());
- }
- inline std::string* NavCmd::release_key() {
- // @@protoc_insertion_point(field_release:NavMessage.NavCmd.key)
- return _impl_.key_.Release();
- }
- inline void NavCmd::set_allocated_key(std::string* value) {
- _impl_.key_.SetAllocated(value, GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.key_.IsDefault()) {
- _impl_.key_.Set("", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:NavMessage.NavCmd.key)
- }
- // repeated .NavMessage.NewAction newActions = 5;
- inline int NavCmd::_internal_newactions_size() const {
- return _impl_.newactions_.size();
- }
- inline int NavCmd::newactions_size() const {
- return _internal_newactions_size();
- }
- inline void NavCmd::clear_newactions() {
- _internal_mutable_newactions()->Clear();
- }
- inline ::NavMessage::NewAction* NavCmd::mutable_newactions(int index) {
- // @@protoc_insertion_point(field_mutable:NavMessage.NavCmd.newActions)
- return _internal_mutable_newactions()->Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::NewAction >*
- NavCmd::mutable_newactions() {
- // @@protoc_insertion_point(field_mutable_list:NavMessage.NavCmd.newActions)
- return _internal_mutable_newactions();
- }
- inline const ::NavMessage::NewAction& NavCmd::_internal_newactions(int index) const {
- return _internal_newactions().Get(index);
- }
- inline const ::NavMessage::NewAction& NavCmd::newactions(int index) const {
- // @@protoc_insertion_point(field_get:NavMessage.NavCmd.newActions)
- return _internal_newactions(index);
- }
- inline ::NavMessage::NewAction* NavCmd::_internal_add_newactions() {
- return _internal_mutable_newactions()->Add();
- }
- inline ::NavMessage::NewAction* NavCmd::add_newactions() {
- ::NavMessage::NewAction* _add = _internal_add_newactions();
- // @@protoc_insertion_point(field_add:NavMessage.NavCmd.newActions)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::NewAction >&
- NavCmd::newactions() const {
- // @@protoc_insertion_point(field_list:NavMessage.NavCmd.newActions)
- return _internal_newactions();
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::NewAction>&
- NavCmd::_internal_newactions() const {
- return _impl_.newactions_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::NewAction>*
- NavCmd::_internal_mutable_newactions() {
- return &_impl_.newactions_;
- }
- // -------------------------------------------------------------------
- // NavResponse
- // int32 ret = 1;
- inline void NavResponse::clear_ret() {
- _impl_.ret_ = 0;
- }
- inline ::int32_t NavResponse::ret() const {
- // @@protoc_insertion_point(field_get:NavMessage.NavResponse.ret)
- return _internal_ret();
- }
- inline void NavResponse::set_ret(::int32_t value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:NavMessage.NavResponse.ret)
- }
- inline ::int32_t NavResponse::_internal_ret() const {
- return _impl_.ret_;
- }
- inline void NavResponse::_internal_set_ret(::int32_t value) {
- ;
- _impl_.ret_ = value;
- }
- // string info = 2;
- inline void NavResponse::clear_info() {
- _impl_.info_.ClearToEmpty();
- }
- inline const std::string& NavResponse::info() const {
- // @@protoc_insertion_point(field_get:NavMessage.NavResponse.info)
- return _internal_info();
- }
- template <typename Arg_, typename... Args_>
- inline PROTOBUF_ALWAYS_INLINE void NavResponse::set_info(Arg_&& arg,
- Args_... args) {
- ;
- _impl_.info_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:NavMessage.NavResponse.info)
- }
- inline std::string* NavResponse::mutable_info() {
- std::string* _s = _internal_mutable_info();
- // @@protoc_insertion_point(field_mutable:NavMessage.NavResponse.info)
- return _s;
- }
- inline const std::string& NavResponse::_internal_info() const {
- return _impl_.info_.Get();
- }
- inline void NavResponse::_internal_set_info(const std::string& value) {
- ;
- _impl_.info_.Set(value, GetArenaForAllocation());
- }
- inline std::string* NavResponse::_internal_mutable_info() {
- ;
- return _impl_.info_.Mutable( GetArenaForAllocation());
- }
- inline std::string* NavResponse::release_info() {
- // @@protoc_insertion_point(field_release:NavMessage.NavResponse.info)
- return _impl_.info_.Release();
- }
- inline void NavResponse::set_allocated_info(std::string* value) {
- _impl_.info_.SetAllocated(value, GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.info_.IsDefault()) {
- _impl_.info_.Set("", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:NavMessage.NavResponse.info)
- }
- // -------------------------------------------------------------------
- // ManualCmd
- // string key = 1;
- inline void ManualCmd::clear_key() {
- _impl_.key_.ClearToEmpty();
- }
- inline const std::string& ManualCmd::key() const {
- // @@protoc_insertion_point(field_get:NavMessage.ManualCmd.key)
- return _internal_key();
- }
- template <typename Arg_, typename... Args_>
- inline PROTOBUF_ALWAYS_INLINE void ManualCmd::set_key(Arg_&& arg,
- Args_... args) {
- ;
- _impl_.key_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:NavMessage.ManualCmd.key)
- }
- inline std::string* ManualCmd::mutable_key() {
- std::string* _s = _internal_mutable_key();
- // @@protoc_insertion_point(field_mutable:NavMessage.ManualCmd.key)
- return _s;
- }
- inline const std::string& ManualCmd::_internal_key() const {
- return _impl_.key_.Get();
- }
- inline void ManualCmd::_internal_set_key(const std::string& value) {
- ;
- _impl_.key_.Set(value, GetArenaForAllocation());
- }
- inline std::string* ManualCmd::_internal_mutable_key() {
- ;
- return _impl_.key_.Mutable( GetArenaForAllocation());
- }
- inline std::string* ManualCmd::release_key() {
- // @@protoc_insertion_point(field_release:NavMessage.ManualCmd.key)
- return _impl_.key_.Release();
- }
- inline void ManualCmd::set_allocated_key(std::string* value) {
- _impl_.key_.SetAllocated(value, GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.key_.IsDefault()) {
- _impl_.key_.Set("", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:NavMessage.ManualCmd.key)
- }
- // int32 operation_type = 2;
- inline void ManualCmd::clear_operation_type() {
- _impl_.operation_type_ = 0;
- }
- inline ::int32_t ManualCmd::operation_type() const {
- // @@protoc_insertion_point(field_get:NavMessage.ManualCmd.operation_type)
- return _internal_operation_type();
- }
- inline void ManualCmd::set_operation_type(::int32_t value) {
- _internal_set_operation_type(value);
- // @@protoc_insertion_point(field_set:NavMessage.ManualCmd.operation_type)
- }
- inline ::int32_t ManualCmd::_internal_operation_type() const {
- return _impl_.operation_type_;
- }
- inline void ManualCmd::_internal_set_operation_type(::int32_t value) {
- ;
- _impl_.operation_type_ = value;
- }
- // float velocity = 3;
- inline void ManualCmd::clear_velocity() {
- _impl_.velocity_ = 0;
- }
- inline float ManualCmd::velocity() const {
- // @@protoc_insertion_point(field_get:NavMessage.ManualCmd.velocity)
- return _internal_velocity();
- }
- inline void ManualCmd::set_velocity(float value) {
- _internal_set_velocity(value);
- // @@protoc_insertion_point(field_set:NavMessage.ManualCmd.velocity)
- }
- inline float ManualCmd::_internal_velocity() const {
- return _impl_.velocity_;
- }
- inline void ManualCmd::_internal_set_velocity(float value) {
- ;
- _impl_.velocity_ = value;
- }
- // -------------------------------------------------------------------
- // NavStatu
- // int32 statu = 1;
- inline void NavStatu::clear_statu() {
- _impl_.statu_ = 0;
- }
- inline ::int32_t NavStatu::statu() const {
- // @@protoc_insertion_point(field_get:NavMessage.NavStatu.statu)
- return _internal_statu();
- }
- inline void NavStatu::set_statu(::int32_t value) {
- _internal_set_statu(value);
- // @@protoc_insertion_point(field_set:NavMessage.NavStatu.statu)
- }
- inline ::int32_t NavStatu::_internal_statu() const {
- return _impl_.statu_;
- }
- inline void NavStatu::_internal_set_statu(::int32_t value) {
- ;
- _impl_.statu_ = value;
- }
- // bool main_agv = 2;
- inline void NavStatu::clear_main_agv() {
- _impl_.main_agv_ = false;
- }
- inline bool NavStatu::main_agv() const {
- // @@protoc_insertion_point(field_get:NavMessage.NavStatu.main_agv)
- return _internal_main_agv();
- }
- inline void NavStatu::set_main_agv(bool value) {
- _internal_set_main_agv(value);
- // @@protoc_insertion_point(field_set:NavMessage.NavStatu.main_agv)
- }
- inline bool NavStatu::_internal_main_agv() const {
- return _impl_.main_agv_;
- }
- inline void NavStatu::_internal_set_main_agv(bool value) {
- ;
- _impl_.main_agv_ = value;
- }
- // int32 move_mode = 3;
- inline void NavStatu::clear_move_mode() {
- _impl_.move_mode_ = 0;
- }
- inline ::int32_t NavStatu::move_mode() const {
- // @@protoc_insertion_point(field_get:NavMessage.NavStatu.move_mode)
- return _internal_move_mode();
- }
- inline void NavStatu::set_move_mode(::int32_t value) {
- _internal_set_move_mode(value);
- // @@protoc_insertion_point(field_set:NavMessage.NavStatu.move_mode)
- }
- inline ::int32_t NavStatu::_internal_move_mode() const {
- return _impl_.move_mode_;
- }
- inline void NavStatu::_internal_set_move_mode(::int32_t value) {
- ;
- _impl_.move_mode_ = value;
- }
- // .NavMessage.LidarOdomStatu odom = 4;
- inline bool NavStatu::has_odom() const {
- bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.odom_ != nullptr);
- return value;
- }
- inline void NavStatu::clear_odom() {
- if (_impl_.odom_ != nullptr) _impl_.odom_->Clear();
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- inline const ::NavMessage::LidarOdomStatu& NavStatu::_internal_odom() const {
- const ::NavMessage::LidarOdomStatu* p = _impl_.odom_;
- return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::LidarOdomStatu&>(
- ::NavMessage::_LidarOdomStatu_default_instance_);
- }
- inline const ::NavMessage::LidarOdomStatu& NavStatu::odom() const {
- // @@protoc_insertion_point(field_get:NavMessage.NavStatu.odom)
- return _internal_odom();
- }
- inline void NavStatu::unsafe_arena_set_allocated_odom(
- ::NavMessage::LidarOdomStatu* odom) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.odom_);
- }
- _impl_.odom_ = odom;
- if (odom) {
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NavStatu.odom)
- }
- inline ::NavMessage::LidarOdomStatu* NavStatu::release_odom() {
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::NavMessage::LidarOdomStatu* temp = _impl_.odom_;
- _impl_.odom_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::NavMessage::LidarOdomStatu* NavStatu::unsafe_arena_release_odom() {
- // @@protoc_insertion_point(field_release:NavMessage.NavStatu.odom)
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::NavMessage::LidarOdomStatu* temp = _impl_.odom_;
- _impl_.odom_ = nullptr;
- return temp;
- }
- inline ::NavMessage::LidarOdomStatu* NavStatu::_internal_mutable_odom() {
- _impl_._has_bits_[0] |= 0x00000001u;
- if (_impl_.odom_ == nullptr) {
- auto* p = CreateMaybeMessage<::NavMessage::LidarOdomStatu>(GetArenaForAllocation());
- _impl_.odom_ = p;
- }
- return _impl_.odom_;
- }
- inline ::NavMessage::LidarOdomStatu* NavStatu::mutable_odom() {
- ::NavMessage::LidarOdomStatu* _msg = _internal_mutable_odom();
- // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.odom)
- return _msg;
- }
- inline void NavStatu::set_allocated_odom(::NavMessage::LidarOdomStatu* odom) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete _impl_.odom_;
- }
- if (odom) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(odom);
- if (message_arena != submessage_arena) {
- odom = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, odom, submessage_arena);
- }
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- _impl_.odom_ = odom;
- // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.odom)
- }
- // string key = 5;
- inline void NavStatu::clear_key() {
- _impl_.key_.ClearToEmpty();
- }
- inline const std::string& NavStatu::key() const {
- // @@protoc_insertion_point(field_get:NavMessage.NavStatu.key)
- return _internal_key();
- }
- template <typename Arg_, typename... Args_>
- inline PROTOBUF_ALWAYS_INLINE void NavStatu::set_key(Arg_&& arg,
- Args_... args) {
- ;
- _impl_.key_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:NavMessage.NavStatu.key)
- }
- inline std::string* NavStatu::mutable_key() {
- std::string* _s = _internal_mutable_key();
- // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.key)
- return _s;
- }
- inline const std::string& NavStatu::_internal_key() const {
- return _impl_.key_.Get();
- }
- inline void NavStatu::_internal_set_key(const std::string& value) {
- ;
- _impl_.key_.Set(value, GetArenaForAllocation());
- }
- inline std::string* NavStatu::_internal_mutable_key() {
- ;
- return _impl_.key_.Mutable( GetArenaForAllocation());
- }
- inline std::string* NavStatu::release_key() {
- // @@protoc_insertion_point(field_release:NavMessage.NavStatu.key)
- return _impl_.key_.Release();
- }
- inline void NavStatu::set_allocated_key(std::string* value) {
- _impl_.key_.SetAllocated(value, GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.key_.IsDefault()) {
- _impl_.key_.Set("", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.key)
- }
- // .NavMessage.Trajectory selected_traj = 6;
- inline bool NavStatu::has_selected_traj() const {
- bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.selected_traj_ != nullptr);
- return value;
- }
- inline void NavStatu::clear_selected_traj() {
- if (_impl_.selected_traj_ != nullptr) _impl_.selected_traj_->Clear();
- _impl_._has_bits_[0] &= ~0x00000002u;
- }
- inline const ::NavMessage::Trajectory& NavStatu::_internal_selected_traj() const {
- const ::NavMessage::Trajectory* p = _impl_.selected_traj_;
- return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::Trajectory&>(
- ::NavMessage::_Trajectory_default_instance_);
- }
- inline const ::NavMessage::Trajectory& NavStatu::selected_traj() const {
- // @@protoc_insertion_point(field_get:NavMessage.NavStatu.selected_traj)
- return _internal_selected_traj();
- }
- inline void NavStatu::unsafe_arena_set_allocated_selected_traj(
- ::NavMessage::Trajectory* selected_traj) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.selected_traj_);
- }
- _impl_.selected_traj_ = selected_traj;
- if (selected_traj) {
- _impl_._has_bits_[0] |= 0x00000002u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000002u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NavStatu.selected_traj)
- }
- inline ::NavMessage::Trajectory* NavStatu::release_selected_traj() {
- _impl_._has_bits_[0] &= ~0x00000002u;
- ::NavMessage::Trajectory* temp = _impl_.selected_traj_;
- _impl_.selected_traj_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::NavMessage::Trajectory* NavStatu::unsafe_arena_release_selected_traj() {
- // @@protoc_insertion_point(field_release:NavMessage.NavStatu.selected_traj)
- _impl_._has_bits_[0] &= ~0x00000002u;
- ::NavMessage::Trajectory* temp = _impl_.selected_traj_;
- _impl_.selected_traj_ = nullptr;
- return temp;
- }
- inline ::NavMessage::Trajectory* NavStatu::_internal_mutable_selected_traj() {
- _impl_._has_bits_[0] |= 0x00000002u;
- if (_impl_.selected_traj_ == nullptr) {
- auto* p = CreateMaybeMessage<::NavMessage::Trajectory>(GetArenaForAllocation());
- _impl_.selected_traj_ = p;
- }
- return _impl_.selected_traj_;
- }
- inline ::NavMessage::Trajectory* NavStatu::mutable_selected_traj() {
- ::NavMessage::Trajectory* _msg = _internal_mutable_selected_traj();
- // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.selected_traj)
- return _msg;
- }
- inline void NavStatu::set_allocated_selected_traj(::NavMessage::Trajectory* selected_traj) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete _impl_.selected_traj_;
- }
- if (selected_traj) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(selected_traj);
- if (message_arena != submessage_arena) {
- selected_traj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, selected_traj, submessage_arena);
- }
- _impl_._has_bits_[0] |= 0x00000002u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000002u;
- }
- _impl_.selected_traj_ = selected_traj;
- // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.selected_traj)
- }
- // .NavMessage.Trajectory predict_traj = 7;
- inline bool NavStatu::has_predict_traj() const {
- bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.predict_traj_ != nullptr);
- return value;
- }
- inline void NavStatu::clear_predict_traj() {
- if (_impl_.predict_traj_ != nullptr) _impl_.predict_traj_->Clear();
- _impl_._has_bits_[0] &= ~0x00000004u;
- }
- inline const ::NavMessage::Trajectory& NavStatu::_internal_predict_traj() const {
- const ::NavMessage::Trajectory* p = _impl_.predict_traj_;
- return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::Trajectory&>(
- ::NavMessage::_Trajectory_default_instance_);
- }
- inline const ::NavMessage::Trajectory& NavStatu::predict_traj() const {
- // @@protoc_insertion_point(field_get:NavMessage.NavStatu.predict_traj)
- return _internal_predict_traj();
- }
- inline void NavStatu::unsafe_arena_set_allocated_predict_traj(
- ::NavMessage::Trajectory* predict_traj) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.predict_traj_);
- }
- _impl_.predict_traj_ = predict_traj;
- if (predict_traj) {
- _impl_._has_bits_[0] |= 0x00000004u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000004u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NavStatu.predict_traj)
- }
- inline ::NavMessage::Trajectory* NavStatu::release_predict_traj() {
- _impl_._has_bits_[0] &= ~0x00000004u;
- ::NavMessage::Trajectory* temp = _impl_.predict_traj_;
- _impl_.predict_traj_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::NavMessage::Trajectory* NavStatu::unsafe_arena_release_predict_traj() {
- // @@protoc_insertion_point(field_release:NavMessage.NavStatu.predict_traj)
- _impl_._has_bits_[0] &= ~0x00000004u;
- ::NavMessage::Trajectory* temp = _impl_.predict_traj_;
- _impl_.predict_traj_ = nullptr;
- return temp;
- }
- inline ::NavMessage::Trajectory* NavStatu::_internal_mutable_predict_traj() {
- _impl_._has_bits_[0] |= 0x00000004u;
- if (_impl_.predict_traj_ == nullptr) {
- auto* p = CreateMaybeMessage<::NavMessage::Trajectory>(GetArenaForAllocation());
- _impl_.predict_traj_ = p;
- }
- return _impl_.predict_traj_;
- }
- inline ::NavMessage::Trajectory* NavStatu::mutable_predict_traj() {
- ::NavMessage::Trajectory* _msg = _internal_mutable_predict_traj();
- // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.predict_traj)
- return _msg;
- }
- inline void NavStatu::set_allocated_predict_traj(::NavMessage::Trajectory* predict_traj) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete _impl_.predict_traj_;
- }
- if (predict_traj) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(predict_traj);
- if (message_arena != submessage_arena) {
- predict_traj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, predict_traj, submessage_arena);
- }
- _impl_._has_bits_[0] |= 0x00000004u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000004u;
- }
- _impl_.predict_traj_ = predict_traj;
- // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.predict_traj)
- }
- // bool in_space = 8;
- inline void NavStatu::clear_in_space() {
- _impl_.in_space_ = false;
- }
- inline bool NavStatu::in_space() const {
- // @@protoc_insertion_point(field_get:NavMessage.NavStatu.in_space)
- return _internal_in_space();
- }
- inline void NavStatu::set_in_space(bool value) {
- _internal_set_in_space(value);
- // @@protoc_insertion_point(field_set:NavMessage.NavStatu.in_space)
- }
- inline bool NavStatu::_internal_in_space() const {
- return _impl_.in_space_;
- }
- inline void NavStatu::_internal_set_in_space(bool value) {
- ;
- _impl_.in_space_ = value;
- }
- // string space_id = 9;
- inline void NavStatu::clear_space_id() {
- _impl_.space_id_.ClearToEmpty();
- }
- inline const std::string& NavStatu::space_id() const {
- // @@protoc_insertion_point(field_get:NavMessage.NavStatu.space_id)
- return _internal_space_id();
- }
- template <typename Arg_, typename... Args_>
- inline PROTOBUF_ALWAYS_INLINE void NavStatu::set_space_id(Arg_&& arg,
- Args_... args) {
- ;
- _impl_.space_id_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:NavMessage.NavStatu.space_id)
- }
- inline std::string* NavStatu::mutable_space_id() {
- std::string* _s = _internal_mutable_space_id();
- // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.space_id)
- return _s;
- }
- inline const std::string& NavStatu::_internal_space_id() const {
- return _impl_.space_id_.Get();
- }
- inline void NavStatu::_internal_set_space_id(const std::string& value) {
- ;
- _impl_.space_id_.Set(value, GetArenaForAllocation());
- }
- inline std::string* NavStatu::_internal_mutable_space_id() {
- ;
- return _impl_.space_id_.Mutable( GetArenaForAllocation());
- }
- inline std::string* NavStatu::release_space_id() {
- // @@protoc_insertion_point(field_release:NavMessage.NavStatu.space_id)
- return _impl_.space_id_.Release();
- }
- inline void NavStatu::set_allocated_space_id(std::string* value) {
- _impl_.space_id_.SetAllocated(value, GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.space_id_.IsDefault()) {
- _impl_.space_id_.Set("", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.space_id)
- }
- // -------------------------------------------------------------------
- // RobotStatu
- // float x = 1;
- inline void RobotStatu::clear_x() {
- _impl_.x_ = 0;
- }
- inline float RobotStatu::x() const {
- // @@protoc_insertion_point(field_get:NavMessage.RobotStatu.x)
- return _internal_x();
- }
- inline void RobotStatu::set_x(float value) {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:NavMessage.RobotStatu.x)
- }
- inline float RobotStatu::_internal_x() const {
- return _impl_.x_;
- }
- inline void RobotStatu::_internal_set_x(float value) {
- ;
- _impl_.x_ = value;
- }
- // float y = 2;
- inline void RobotStatu::clear_y() {
- _impl_.y_ = 0;
- }
- inline float RobotStatu::y() const {
- // @@protoc_insertion_point(field_get:NavMessage.RobotStatu.y)
- return _internal_y();
- }
- inline void RobotStatu::set_y(float value) {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:NavMessage.RobotStatu.y)
- }
- inline float RobotStatu::_internal_y() const {
- return _impl_.y_;
- }
- inline void RobotStatu::_internal_set_y(float value) {
- ;
- _impl_.y_ = value;
- }
- // float theta = 3;
- inline void RobotStatu::clear_theta() {
- _impl_.theta_ = 0;
- }
- inline float RobotStatu::theta() const {
- // @@protoc_insertion_point(field_get:NavMessage.RobotStatu.theta)
- return _internal_theta();
- }
- inline void RobotStatu::set_theta(float value) {
- _internal_set_theta(value);
- // @@protoc_insertion_point(field_set:NavMessage.RobotStatu.theta)
- }
- inline float RobotStatu::_internal_theta() const {
- return _impl_.theta_;
- }
- inline void RobotStatu::_internal_set_theta(float value) {
- ;
- _impl_.theta_ = value;
- }
- // .NavMessage.AgvStatu agvStatu = 4;
- inline bool RobotStatu::has_agvstatu() const {
- bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.agvstatu_ != nullptr);
- return value;
- }
- inline void RobotStatu::clear_agvstatu() {
- if (_impl_.agvstatu_ != nullptr) _impl_.agvstatu_->Clear();
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- inline const ::NavMessage::AgvStatu& RobotStatu::_internal_agvstatu() const {
- const ::NavMessage::AgvStatu* p = _impl_.agvstatu_;
- return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::AgvStatu&>(
- ::NavMessage::_AgvStatu_default_instance_);
- }
- inline const ::NavMessage::AgvStatu& RobotStatu::agvstatu() const {
- // @@protoc_insertion_point(field_get:NavMessage.RobotStatu.agvStatu)
- return _internal_agvstatu();
- }
- inline void RobotStatu::unsafe_arena_set_allocated_agvstatu(
- ::NavMessage::AgvStatu* agvstatu) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.agvstatu_);
- }
- _impl_.agvstatu_ = agvstatu;
- if (agvstatu) {
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.RobotStatu.agvStatu)
- }
- inline ::NavMessage::AgvStatu* RobotStatu::release_agvstatu() {
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::NavMessage::AgvStatu* temp = _impl_.agvstatu_;
- _impl_.agvstatu_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::NavMessage::AgvStatu* RobotStatu::unsafe_arena_release_agvstatu() {
- // @@protoc_insertion_point(field_release:NavMessage.RobotStatu.agvStatu)
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::NavMessage::AgvStatu* temp = _impl_.agvstatu_;
- _impl_.agvstatu_ = nullptr;
- return temp;
- }
- inline ::NavMessage::AgvStatu* RobotStatu::_internal_mutable_agvstatu() {
- _impl_._has_bits_[0] |= 0x00000001u;
- if (_impl_.agvstatu_ == nullptr) {
- auto* p = CreateMaybeMessage<::NavMessage::AgvStatu>(GetArenaForAllocation());
- _impl_.agvstatu_ = p;
- }
- return _impl_.agvstatu_;
- }
- inline ::NavMessage::AgvStatu* RobotStatu::mutable_agvstatu() {
- ::NavMessage::AgvStatu* _msg = _internal_mutable_agvstatu();
- // @@protoc_insertion_point(field_mutable:NavMessage.RobotStatu.agvStatu)
- return _msg;
- }
- inline void RobotStatu::set_allocated_agvstatu(::NavMessage::AgvStatu* agvstatu) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete _impl_.agvstatu_;
- }
- if (agvstatu) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(agvstatu);
- if (message_arena != submessage_arena) {
- agvstatu = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, agvstatu, submessage_arena);
- }
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- _impl_.agvstatu_ = agvstatu;
- // @@protoc_insertion_point(field_set_allocated:NavMessage.RobotStatu.agvStatu)
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // @@protoc_insertion_point(namespace_scope)
- } // namespace NavMessage
- // @@protoc_insertion_point(global_scope)
- #include "google/protobuf/port_undef.inc"
- #endif // GOOGLE_PROTOBUF_INCLUDED_message_2eproto_2epb_2eh
|