12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733 |
- // 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 {
- kH1FieldNumber = 1,
- kM1FieldNumber = 2,
- kT1FieldNumber = 3,
- kV1FieldNumber = 4,
- kW1FieldNumber = 5,
- kV2FieldNumber = 6,
- kW2FieldNumber = 7,
- kV3FieldNumber = 8,
- kW3FieldNumber = 9,
- kL1FieldNumber = 10,
- kP1FieldNumber = 11,
- kD1FieldNumber = 12,
- kEndFieldNumber = 13,
- };
- // int32 H1 = 1;
- void clear_h1() ;
- ::int32_t h1() const;
- void set_h1(::int32_t value);
- private:
- ::int32_t _internal_h1() const;
- void _internal_set_h1(::int32_t value);
- public:
- // int32 M1 = 2;
- void clear_m1() ;
- ::int32_t m1() const;
- void set_m1(::int32_t value);
- private:
- ::int32_t _internal_m1() const;
- void _internal_set_m1(::int32_t value);
- public:
- // int32 T1 = 3;
- void clear_t1() ;
- ::int32_t t1() const;
- void set_t1(::int32_t value);
- private:
- ::int32_t _internal_t1() const;
- void _internal_set_t1(::int32_t value);
- public:
- // float V1 = 4;
- void clear_v1() ;
- float v1() const;
- void set_v1(float value);
- private:
- float _internal_v1() const;
- void _internal_set_v1(float value);
- public:
- // float W1 = 5;
- void clear_w1() ;
- float w1() const;
- void set_w1(float value);
- private:
- float _internal_w1() const;
- void _internal_set_w1(float value);
- public:
- // float V2 = 6;
- void clear_v2() ;
- float v2() const;
- void set_v2(float value);
- private:
- float _internal_v2() const;
- void _internal_set_v2(float value);
- public:
- // float W2 = 7;
- void clear_w2() ;
- float w2() const;
- void set_w2(float value);
- private:
- float _internal_w2() const;
- void _internal_set_w2(float value);
- public:
- // float V3 = 8;
- void clear_v3() ;
- float v3() const;
- void set_v3(float value);
- private:
- float _internal_v3() const;
- void _internal_set_v3(float value);
- public:
- // float W3 = 9;
- void clear_w3() ;
- float w3() const;
- void set_w3(float value);
- private:
- float _internal_w3() const;
- void _internal_set_w3(float value);
- public:
- // float L1 = 10;
- void clear_l1() ;
- float l1() const;
- void set_l1(float value);
- private:
- float _internal_l1() const;
- void _internal_set_l1(float value);
- public:
- // int32 P1 = 11;
- void clear_p1() ;
- ::int32_t p1() const;
- void set_p1(::int32_t value);
- private:
- ::int32_t _internal_p1() const;
- void _internal_set_p1(::int32_t value);
- public:
- // float D1 = 12;
- void clear_d1() ;
- float d1() const;
- void set_d1(float value);
- private:
- float _internal_d1() const;
- void _internal_set_d1(float value);
- public:
- // int32 end = 13;
- 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 h1_;
- ::int32_t m1_;
- ::int32_t t1_;
- float v1_;
- float w1_;
- float v2_;
- float w2_;
- float v3_;
- float w3_;
- float l1_;
- ::int32_t p1_;
- float d1_;
- ::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 H1 = 1;
- inline void ToAgvCmd::clear_h1() {
- _impl_.h1_ = 0;
- }
- inline ::int32_t ToAgvCmd::h1() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.H1)
- return _internal_h1();
- }
- inline void ToAgvCmd::set_h1(::int32_t value) {
- _internal_set_h1(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.H1)
- }
- inline ::int32_t ToAgvCmd::_internal_h1() const {
- return _impl_.h1_;
- }
- inline void ToAgvCmd::_internal_set_h1(::int32_t value) {
- ;
- _impl_.h1_ = value;
- }
- // int32 M1 = 2;
- inline void ToAgvCmd::clear_m1() {
- _impl_.m1_ = 0;
- }
- inline ::int32_t ToAgvCmd::m1() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.M1)
- return _internal_m1();
- }
- inline void ToAgvCmd::set_m1(::int32_t value) {
- _internal_set_m1(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.M1)
- }
- inline ::int32_t ToAgvCmd::_internal_m1() const {
- return _impl_.m1_;
- }
- inline void ToAgvCmd::_internal_set_m1(::int32_t value) {
- ;
- _impl_.m1_ = value;
- }
- // int32 T1 = 3;
- inline void ToAgvCmd::clear_t1() {
- _impl_.t1_ = 0;
- }
- inline ::int32_t ToAgvCmd::t1() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.T1)
- return _internal_t1();
- }
- inline void ToAgvCmd::set_t1(::int32_t value) {
- _internal_set_t1(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.T1)
- }
- inline ::int32_t ToAgvCmd::_internal_t1() const {
- return _impl_.t1_;
- }
- inline void ToAgvCmd::_internal_set_t1(::int32_t value) {
- ;
- _impl_.t1_ = value;
- }
- // float V1 = 4;
- inline void ToAgvCmd::clear_v1() {
- _impl_.v1_ = 0;
- }
- inline float ToAgvCmd::v1() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.V1)
- return _internal_v1();
- }
- inline void ToAgvCmd::set_v1(float value) {
- _internal_set_v1(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.V1)
- }
- inline float ToAgvCmd::_internal_v1() const {
- return _impl_.v1_;
- }
- inline void ToAgvCmd::_internal_set_v1(float value) {
- ;
- _impl_.v1_ = value;
- }
- // float W1 = 5;
- inline void ToAgvCmd::clear_w1() {
- _impl_.w1_ = 0;
- }
- inline float ToAgvCmd::w1() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.W1)
- return _internal_w1();
- }
- inline void ToAgvCmd::set_w1(float value) {
- _internal_set_w1(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.W1)
- }
- inline float ToAgvCmd::_internal_w1() const {
- return _impl_.w1_;
- }
- inline void ToAgvCmd::_internal_set_w1(float value) {
- ;
- _impl_.w1_ = value;
- }
- // float V2 = 6;
- inline void ToAgvCmd::clear_v2() {
- _impl_.v2_ = 0;
- }
- inline float ToAgvCmd::v2() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.V2)
- return _internal_v2();
- }
- inline void ToAgvCmd::set_v2(float value) {
- _internal_set_v2(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.V2)
- }
- inline float ToAgvCmd::_internal_v2() const {
- return _impl_.v2_;
- }
- inline void ToAgvCmd::_internal_set_v2(float value) {
- ;
- _impl_.v2_ = value;
- }
- // float W2 = 7;
- inline void ToAgvCmd::clear_w2() {
- _impl_.w2_ = 0;
- }
- inline float ToAgvCmd::w2() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.W2)
- return _internal_w2();
- }
- inline void ToAgvCmd::set_w2(float value) {
- _internal_set_w2(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.W2)
- }
- inline float ToAgvCmd::_internal_w2() const {
- return _impl_.w2_;
- }
- inline void ToAgvCmd::_internal_set_w2(float value) {
- ;
- _impl_.w2_ = value;
- }
- // float V3 = 8;
- inline void ToAgvCmd::clear_v3() {
- _impl_.v3_ = 0;
- }
- inline float ToAgvCmd::v3() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.V3)
- return _internal_v3();
- }
- inline void ToAgvCmd::set_v3(float value) {
- _internal_set_v3(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.V3)
- }
- inline float ToAgvCmd::_internal_v3() const {
- return _impl_.v3_;
- }
- inline void ToAgvCmd::_internal_set_v3(float value) {
- ;
- _impl_.v3_ = value;
- }
- // float W3 = 9;
- inline void ToAgvCmd::clear_w3() {
- _impl_.w3_ = 0;
- }
- inline float ToAgvCmd::w3() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.W3)
- return _internal_w3();
- }
- inline void ToAgvCmd::set_w3(float value) {
- _internal_set_w3(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.W3)
- }
- inline float ToAgvCmd::_internal_w3() const {
- return _impl_.w3_;
- }
- inline void ToAgvCmd::_internal_set_w3(float value) {
- ;
- _impl_.w3_ = value;
- }
- // float L1 = 10;
- inline void ToAgvCmd::clear_l1() {
- _impl_.l1_ = 0;
- }
- inline float ToAgvCmd::l1() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.L1)
- return _internal_l1();
- }
- inline void ToAgvCmd::set_l1(float value) {
- _internal_set_l1(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.L1)
- }
- inline float ToAgvCmd::_internal_l1() const {
- return _impl_.l1_;
- }
- inline void ToAgvCmd::_internal_set_l1(float value) {
- ;
- _impl_.l1_ = value;
- }
- // int32 P1 = 11;
- inline void ToAgvCmd::clear_p1() {
- _impl_.p1_ = 0;
- }
- inline ::int32_t ToAgvCmd::p1() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.P1)
- return _internal_p1();
- }
- inline void ToAgvCmd::set_p1(::int32_t value) {
- _internal_set_p1(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.P1)
- }
- inline ::int32_t ToAgvCmd::_internal_p1() const {
- return _impl_.p1_;
- }
- inline void ToAgvCmd::_internal_set_p1(::int32_t value) {
- ;
- _impl_.p1_ = value;
- }
- // float D1 = 12;
- inline void ToAgvCmd::clear_d1() {
- _impl_.d1_ = 0;
- }
- inline float ToAgvCmd::d1() const {
- // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.D1)
- return _internal_d1();
- }
- inline void ToAgvCmd::set_d1(float value) {
- _internal_set_d1(value);
- // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.D1)
- }
- inline float ToAgvCmd::_internal_d1() const {
- return _impl_.d1_;
- }
- inline void ToAgvCmd::_internal_set_d1(float value) {
- ;
- _impl_.d1_ = value;
- }
- // int32 end = 13;
- 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
|