|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799 |
- // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima).
- //
- // Licensed under the Apache License, Version 2.0 (the "License");
- // you may not use this file except in compliance with the License.
- // You may obtain a copy of the License at
- //
- // http://www.apache.org/licenses/LICENSE-2.0
- //
- // Unless required by applicable law or agreed to in writing, software
- // distributed under the License is distributed on an "AS IS" BASIS,
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- // See the License for the specific language governing permissions and
- // limitations under the License.
-
- /*!
- * @file DDSSampleMachine.hpp
- * This header file contains the declaration of the described types in the IDL file.
- *
- * This file was generated by the tool fastddsgen.
- */
-
- #ifndef FAST_DDS_GENERATED__SAMPLEMODULE_DDSSAMPLEMACHINE_HPP
- #define FAST_DDS_GENERATED__SAMPLEMODULE_DDSSAMPLEMACHINE_HPP
-
- #include <cstdint>
- #include <utility>
-
- #if defined(_WIN32)
- #if defined(EPROSIMA_USER_DLL_EXPORT)
- #define eProsima_user_DllExport __declspec( dllexport )
- #else
- #define eProsima_user_DllExport
- #endif // EPROSIMA_USER_DLL_EXPORT
- #else
- #define eProsima_user_DllExport
- #endif // _WIN32
-
- #if defined(_WIN32)
- #if defined(EPROSIMA_USER_DLL_EXPORT)
- #if defined(DDSSAMPLEMACHINE_SOURCE)
- #define DDSSAMPLEMACHINE_DllAPI __declspec( dllexport )
- #else
- #define DDSSAMPLEMACHINE_DllAPI __declspec( dllimport )
- #endif // DDSSAMPLEMACHINE_SOURCE
- #else
- #define DDSSAMPLEMACHINE_DllAPI
- #endif // EPROSIMA_USER_DLL_EXPORT
- #else
- #define DDSSAMPLEMACHINE_DllAPI
- #endif // _WIN32
-
- namespace SampleModule {
-
- /*!
- * @brief This class represents the enumeration CommandState defined by the user in the IDL file.
- * @ingroup DDSSampleMachine
- */
- enum class CommandState : int32_t
- {
- STOP,
- START
- };
- /*!
- * @brief This class represents the structure SampleConfig defined by the user in the IDL file.
- * @ingroup DDSSampleMachine
- */
- class SampleConfig
- {
- public:
-
- /*!
- * @brief Default constructor.
- */
- eProsima_user_DllExport SampleConfig()
- {
- }
-
- /*!
- * @brief Default destructor.
- */
- eProsima_user_DllExport ~SampleConfig()
- {
- }
-
- /*!
- * @brief Copy constructor.
- * @param x Reference to the object SampleConfig that will be copied.
- */
- eProsima_user_DllExport SampleConfig(
- const SampleConfig& x)
- {
- m_unifiedDepth = x.m_unifiedDepth;
-
- m_sampleOrder = x.m_sampleOrder;
-
- }
-
- /*!
- * @brief Move constructor.
- * @param x Reference to the object SampleConfig that will be copied.
- */
- eProsima_user_DllExport SampleConfig(
- SampleConfig&& x) noexcept
- {
- m_unifiedDepth = x.m_unifiedDepth;
- m_sampleOrder = x.m_sampleOrder;
- }
-
- /*!
- * @brief Copy assignment.
- * @param x Reference to the object SampleConfig that will be copied.
- */
- eProsima_user_DllExport SampleConfig& operator =(
- const SampleConfig& x)
- {
-
- m_unifiedDepth = x.m_unifiedDepth;
-
- m_sampleOrder = x.m_sampleOrder;
-
- return *this;
- }
-
- /*!
- * @brief Move assignment.
- * @param x Reference to the object SampleConfig that will be copied.
- */
- eProsima_user_DllExport SampleConfig& operator =(
- SampleConfig&& x) noexcept
- {
-
- m_unifiedDepth = x.m_unifiedDepth;
- m_sampleOrder = x.m_sampleOrder;
- return *this;
- }
-
- /*!
- * @brief Comparison operator.
- * @param x SampleConfig object to compare.
- */
- eProsima_user_DllExport bool operator ==(
- const SampleConfig& x) const
- {
- return (m_unifiedDepth == x.m_unifiedDepth &&
- m_sampleOrder == x.m_sampleOrder);
- }
-
- /*!
- * @brief Comparison operator.
- * @param x SampleConfig object to compare.
- */
- eProsima_user_DllExport bool operator !=(
- const SampleConfig& x) const
- {
- return !(*this == x);
- }
-
- /*!
- * @brief This function sets a value in member unifiedDepth
- * @param _unifiedDepth New value for member unifiedDepth
- */
- eProsima_user_DllExport void unifiedDepth(
- uint16_t _unifiedDepth)
- {
- m_unifiedDepth = _unifiedDepth;
- }
-
- /*!
- * @brief This function returns the value of member unifiedDepth
- * @return Value of member unifiedDepth
- */
- eProsima_user_DllExport uint16_t unifiedDepth() const
- {
- return m_unifiedDepth;
- }
-
- /*!
- * @brief This function returns a reference to member unifiedDepth
- * @return Reference to member unifiedDepth
- */
- eProsima_user_DllExport uint16_t& unifiedDepth()
- {
- return m_unifiedDepth;
- }
-
-
- /*!
- * @brief This function sets a value in member sampleOrder
- * @param _sampleOrder New value for member sampleOrder
- */
- eProsima_user_DllExport void sampleOrder(
- uint8_t _sampleOrder)
- {
- m_sampleOrder = _sampleOrder;
- }
-
- /*!
- * @brief This function returns the value of member sampleOrder
- * @return Value of member sampleOrder
- */
- eProsima_user_DllExport uint8_t sampleOrder() const
- {
- return m_sampleOrder;
- }
-
- /*!
- * @brief This function returns a reference to member sampleOrder
- * @return Reference to member sampleOrder
- */
- eProsima_user_DllExport uint8_t& sampleOrder()
- {
- return m_sampleOrder;
- }
-
-
-
- private:
-
- uint16_t m_unifiedDepth{0};
- uint8_t m_sampleOrder{0};
-
- };
- /*!
- * @brief This class represents the structure SampleCommand defined by the user in the IDL file.
- * @ingroup DDSSampleMachine
- */
- class SampleCommand
- {
- public:
-
- /*!
- * @brief Default constructor.
- */
- eProsima_user_DllExport SampleCommand()
- {
- }
-
- /*!
- * @brief Default destructor.
- */
- eProsima_user_DllExport ~SampleCommand()
- {
- }
-
- /*!
- * @brief Copy constructor.
- * @param x Reference to the object SampleCommand that will be copied.
- */
- eProsima_user_DllExport SampleCommand(
- const SampleCommand& x)
- {
- m_maskBits = x.m_maskBits;
-
- m_controlType = x.m_controlType;
-
- m_startSample = x.m_startSample;
-
- m_stopSample = x.m_stopSample;
-
- m_reset = x.m_reset;
-
- m_positionCheck = x.m_positionCheck;
-
- m_emergencyUp = x.m_emergencyUp;
-
- m_emergencyStop = x.m_emergencyStop;
-
- m_controlBelt1 = x.m_controlBelt1;
-
- m_controlBelt2 = x.m_controlBelt2;
-
- m_controlCrush1 = x.m_controlCrush1;
-
- m_controlCrush2 = x.m_controlCrush2;
-
- m_controlDivider = x.m_controlDivider;
-
- m_controlCoalDistributor = x.m_controlCoalDistributor;
-
- m_reductionRatio = x.m_reductionRatio;
-
- m_version = x.m_version;
-
- }
-
- /*!
- * @brief Move constructor.
- * @param x Reference to the object SampleCommand that will be copied.
- */
- eProsima_user_DllExport SampleCommand(
- SampleCommand&& x) noexcept
- {
- m_maskBits = x.m_maskBits;
- m_controlType = x.m_controlType;
- m_startSample = x.m_startSample;
- m_stopSample = x.m_stopSample;
- m_reset = x.m_reset;
- m_positionCheck = x.m_positionCheck;
- m_emergencyUp = x.m_emergencyUp;
- m_emergencyStop = x.m_emergencyStop;
- m_controlBelt1 = x.m_controlBelt1;
- m_controlBelt2 = x.m_controlBelt2;
- m_controlCrush1 = x.m_controlCrush1;
- m_controlCrush2 = x.m_controlCrush2;
- m_controlDivider = x.m_controlDivider;
- m_controlCoalDistributor = x.m_controlCoalDistributor;
- m_reductionRatio = x.m_reductionRatio;
- m_version = x.m_version;
- }
-
- /*!
- * @brief Copy assignment.
- * @param x Reference to the object SampleCommand that will be copied.
- */
- eProsima_user_DllExport SampleCommand& operator =(
- const SampleCommand& x)
- {
-
- m_maskBits = x.m_maskBits;
-
- m_controlType = x.m_controlType;
-
- m_startSample = x.m_startSample;
-
- m_stopSample = x.m_stopSample;
-
- m_reset = x.m_reset;
-
- m_positionCheck = x.m_positionCheck;
-
- m_emergencyUp = x.m_emergencyUp;
-
- m_emergencyStop = x.m_emergencyStop;
-
- m_controlBelt1 = x.m_controlBelt1;
-
- m_controlBelt2 = x.m_controlBelt2;
-
- m_controlCrush1 = x.m_controlCrush1;
-
- m_controlCrush2 = x.m_controlCrush2;
-
- m_controlDivider = x.m_controlDivider;
-
- m_controlCoalDistributor = x.m_controlCoalDistributor;
-
- m_reductionRatio = x.m_reductionRatio;
-
- m_version = x.m_version;
-
- return *this;
- }
-
- /*!
- * @brief Move assignment.
- * @param x Reference to the object SampleCommand that will be copied.
- */
- eProsima_user_DllExport SampleCommand& operator =(
- SampleCommand&& x) noexcept
- {
-
- m_maskBits = x.m_maskBits;
- m_controlType = x.m_controlType;
- m_startSample = x.m_startSample;
- m_stopSample = x.m_stopSample;
- m_reset = x.m_reset;
- m_positionCheck = x.m_positionCheck;
- m_emergencyUp = x.m_emergencyUp;
- m_emergencyStop = x.m_emergencyStop;
- m_controlBelt1 = x.m_controlBelt1;
- m_controlBelt2 = x.m_controlBelt2;
- m_controlCrush1 = x.m_controlCrush1;
- m_controlCrush2 = x.m_controlCrush2;
- m_controlDivider = x.m_controlDivider;
- m_controlCoalDistributor = x.m_controlCoalDistributor;
- m_reductionRatio = x.m_reductionRatio;
- m_version = x.m_version;
- return *this;
- }
-
- /*!
- * @brief Comparison operator.
- * @param x SampleCommand object to compare.
- */
- eProsima_user_DllExport bool operator ==(
- const SampleCommand& x) const
- {
- return (m_maskBits == x.m_maskBits &&
- m_controlType == x.m_controlType &&
- m_startSample == x.m_startSample &&
- m_stopSample == x.m_stopSample &&
- m_reset == x.m_reset &&
- m_positionCheck == x.m_positionCheck &&
- m_emergencyUp == x.m_emergencyUp &&
- m_emergencyStop == x.m_emergencyStop &&
- m_controlBelt1 == x.m_controlBelt1 &&
- m_controlBelt2 == x.m_controlBelt2 &&
- m_controlCrush1 == x.m_controlCrush1 &&
- m_controlCrush2 == x.m_controlCrush2 &&
- m_controlDivider == x.m_controlDivider &&
- m_controlCoalDistributor == x.m_controlCoalDistributor &&
- m_reductionRatio == x.m_reductionRatio &&
- m_version == x.m_version);
- }
-
- /*!
- * @brief Comparison operator.
- * @param x SampleCommand object to compare.
- */
- eProsima_user_DllExport bool operator !=(
- const SampleCommand& x) const
- {
- return !(*this == x);
- }
-
- /*!
- * @brief This function sets a value in member maskBits
- * @param _maskBits New value for member maskBits
- */
- eProsima_user_DllExport void maskBits(
- uint32_t _maskBits)
- {
- m_maskBits = _maskBits;
- }
-
- /*!
- * @brief This function returns the value of member maskBits
- * @return Value of member maskBits
- */
- eProsima_user_DllExport uint32_t maskBits() const
- {
- return m_maskBits;
- }
-
- /*!
- * @brief This function returns a reference to member maskBits
- * @return Reference to member maskBits
- */
- eProsima_user_DllExport uint32_t& maskBits()
- {
- return m_maskBits;
- }
-
-
- /*!
- * @brief This function sets a value in member controlType
- * @param _controlType New value for member controlType
- */
- eProsima_user_DllExport void controlType(
- uint8_t _controlType)
- {
- m_controlType = _controlType;
- }
-
- /*!
- * @brief This function returns the value of member controlType
- * @return Value of member controlType
- */
- eProsima_user_DllExport uint8_t controlType() const
- {
- return m_controlType;
- }
-
- /*!
- * @brief This function returns a reference to member controlType
- * @return Reference to member controlType
- */
- eProsima_user_DllExport uint8_t& controlType()
- {
- return m_controlType;
- }
-
-
- /*!
- * @brief This function sets a value in member startSample
- * @param _startSample New value for member startSample
- */
- eProsima_user_DllExport void startSample(
- CommandState _startSample)
- {
- m_startSample = _startSample;
- }
-
- /*!
- * @brief This function returns the value of member startSample
- * @return Value of member startSample
- */
- eProsima_user_DllExport CommandState startSample() const
- {
- return m_startSample;
- }
-
- /*!
- * @brief This function returns a reference to member startSample
- * @return Reference to member startSample
- */
- eProsima_user_DllExport CommandState& startSample()
- {
- return m_startSample;
- }
-
-
- /*!
- * @brief This function sets a value in member stopSample
- * @param _stopSample New value for member stopSample
- */
- eProsima_user_DllExport void stopSample(
- CommandState _stopSample)
- {
- m_stopSample = _stopSample;
- }
-
- /*!
- * @brief This function returns the value of member stopSample
- * @return Value of member stopSample
- */
- eProsima_user_DllExport CommandState stopSample() const
- {
- return m_stopSample;
- }
-
- /*!
- * @brief This function returns a reference to member stopSample
- * @return Reference to member stopSample
- */
- eProsima_user_DllExport CommandState& stopSample()
- {
- return m_stopSample;
- }
-
-
- /*!
- * @brief This function sets a value in member reset
- * @param _reset New value for member reset
- */
- eProsima_user_DllExport void reset(
- CommandState _reset)
- {
- m_reset = _reset;
- }
-
- /*!
- * @brief This function returns the value of member reset
- * @return Value of member reset
- */
- eProsima_user_DllExport CommandState reset() const
- {
- return m_reset;
- }
-
- /*!
- * @brief This function returns a reference to member reset
- * @return Reference to member reset
- */
- eProsima_user_DllExport CommandState& reset()
- {
- return m_reset;
- }
-
-
- /*!
- * @brief This function sets a value in member positionCheck
- * @param _positionCheck New value for member positionCheck
- */
- eProsima_user_DllExport void positionCheck(
- CommandState _positionCheck)
- {
- m_positionCheck = _positionCheck;
- }
-
- /*!
- * @brief This function returns the value of member positionCheck
- * @return Value of member positionCheck
- */
- eProsima_user_DllExport CommandState positionCheck() const
- {
- return m_positionCheck;
- }
-
- /*!
- * @brief This function returns a reference to member positionCheck
- * @return Reference to member positionCheck
- */
- eProsima_user_DllExport CommandState& positionCheck()
- {
- return m_positionCheck;
- }
-
-
- /*!
- * @brief This function sets a value in member emergencyUp
- * @param _emergencyUp New value for member emergencyUp
- */
- eProsima_user_DllExport void emergencyUp(
- CommandState _emergencyUp)
- {
- m_emergencyUp = _emergencyUp;
- }
-
- /*!
- * @brief This function returns the value of member emergencyUp
- * @return Value of member emergencyUp
- */
- eProsima_user_DllExport CommandState emergencyUp() const
- {
- return m_emergencyUp;
- }
-
- /*!
- * @brief This function returns a reference to member emergencyUp
- * @return Reference to member emergencyUp
- */
- eProsima_user_DllExport CommandState& emergencyUp()
- {
- return m_emergencyUp;
- }
-
-
- /*!
- * @brief This function sets a value in member emergencyStop
- * @param _emergencyStop New value for member emergencyStop
- */
- eProsima_user_DllExport void emergencyStop(
- CommandState _emergencyStop)
- {
- m_emergencyStop = _emergencyStop;
- }
-
- /*!
- * @brief This function returns the value of member emergencyStop
- * @return Value of member emergencyStop
- */
- eProsima_user_DllExport CommandState emergencyStop() const
- {
- return m_emergencyStop;
- }
-
- /*!
- * @brief This function returns a reference to member emergencyStop
- * @return Reference to member emergencyStop
- */
- eProsima_user_DllExport CommandState& emergencyStop()
- {
- return m_emergencyStop;
- }
-
-
- /*!
- * @brief This function sets a value in member controlBelt1
- * @param _controlBelt1 New value for member controlBelt1
- */
- eProsima_user_DllExport void controlBelt1(
- CommandState _controlBelt1)
- {
- m_controlBelt1 = _controlBelt1;
- }
-
- /*!
- * @brief This function returns the value of member controlBelt1
- * @return Value of member controlBelt1
- */
- eProsima_user_DllExport CommandState controlBelt1() const
- {
- return m_controlBelt1;
- }
-
- /*!
- * @brief This function returns a reference to member controlBelt1
- * @return Reference to member controlBelt1
- */
- eProsima_user_DllExport CommandState& controlBelt1()
- {
- return m_controlBelt1;
- }
-
-
- /*!
- * @brief This function sets a value in member controlBelt2
- * @param _controlBelt2 New value for member controlBelt2
- */
- eProsima_user_DllExport void controlBelt2(
- CommandState _controlBelt2)
- {
- m_controlBelt2 = _controlBelt2;
- }
-
- /*!
- * @brief This function returns the value of member controlBelt2
- * @return Value of member controlBelt2
- */
- eProsima_user_DllExport CommandState controlBelt2() const
- {
- return m_controlBelt2;
- }
-
- /*!
- * @brief This function returns a reference to member controlBelt2
- * @return Reference to member controlBelt2
- */
- eProsima_user_DllExport CommandState& controlBelt2()
- {
- return m_controlBelt2;
- }
-
-
- /*!
- * @brief This function sets a value in member controlCrush1
- * @param _controlCrush1 New value for member controlCrush1
- */
- eProsima_user_DllExport void controlCrush1(
- CommandState _controlCrush1)
- {
- m_controlCrush1 = _controlCrush1;
- }
-
- /*!
- * @brief This function returns the value of member controlCrush1
- * @return Value of member controlCrush1
- */
- eProsima_user_DllExport CommandState controlCrush1() const
- {
- return m_controlCrush1;
- }
-
- /*!
- * @brief This function returns a reference to member controlCrush1
- * @return Reference to member controlCrush1
- */
- eProsima_user_DllExport CommandState& controlCrush1()
- {
- return m_controlCrush1;
- }
-
-
- /*!
- * @brief This function sets a value in member controlCrush2
- * @param _controlCrush2 New value for member controlCrush2
- */
- eProsima_user_DllExport void controlCrush2(
- CommandState _controlCrush2)
- {
- m_controlCrush2 = _controlCrush2;
- }
-
- /*!
- * @brief This function returns the value of member controlCrush2
- * @return Value of member controlCrush2
- */
- eProsima_user_DllExport CommandState controlCrush2() const
- {
- return m_controlCrush2;
- }
-
- /*!
- * @brief This function returns a reference to member controlCrush2
- * @return Reference to member controlCrush2
- */
- eProsima_user_DllExport CommandState& controlCrush2()
- {
- return m_controlCrush2;
- }
-
-
- /*!
- * @brief This function sets a value in member controlDivider
- * @param _controlDivider New value for member controlDivider
- */
- eProsima_user_DllExport void controlDivider(
- CommandState _controlDivider)
- {
- m_controlDivider = _controlDivider;
- }
-
- /*!
- * @brief This function returns the value of member controlDivider
- * @return Value of member controlDivider
- */
- eProsima_user_DllExport CommandState controlDivider() const
- {
- return m_controlDivider;
- }
-
- /*!
- * @brief This function returns a reference to member controlDivider
- * @return Reference to member controlDivider
- */
- eProsima_user_DllExport CommandState& controlDivider()
- {
- return m_controlDivider;
- }
-
-
- /*!
- * @brief This function sets a value in member controlCoalDistributor
- * @param _controlCoalDistributor New value for member controlCoalDistributor
- */
- eProsima_user_DllExport void controlCoalDistributor(
- CommandState _controlCoalDistributor)
- {
- m_controlCoalDistributor = _controlCoalDistributor;
- }
-
- /*!
- * @brief This function returns the value of member controlCoalDistributor
- * @return Value of member controlCoalDistributor
- */
- eProsima_user_DllExport CommandState controlCoalDistributor() const
- {
- return m_controlCoalDistributor;
- }
-
- /*!
- * @brief This function returns a reference to member controlCoalDistributor
- * @return Reference to member controlCoalDistributor
- */
- eProsima_user_DllExport CommandState& controlCoalDistributor()
- {
- return m_controlCoalDistributor;
- }
-
-
- /*!
- * @brief This function sets a value in member reductionRatio
- * @param _reductionRatio New value for member reductionRatio
- */
- eProsima_user_DllExport void reductionRatio(
- uint16_t _reductionRatio)
- {
- m_reductionRatio = _reductionRatio;
- }
-
- /*!
- * @brief This function returns the value of member reductionRatio
- * @return Value of member reductionRatio
- */
- eProsima_user_DllExport uint16_t reductionRatio() const
- {
- return m_reductionRatio;
- }
-
- /*!
- * @brief This function returns a reference to member reductionRatio
- * @return Reference to member reductionRatio
- */
- eProsima_user_DllExport uint16_t& reductionRatio()
- {
- return m_reductionRatio;
- }
-
-
- /*!
- * @brief This function sets a value in member version
- * @param _version New value for member version
- */
- eProsima_user_DllExport void version(
- uint8_t _version)
- {
- m_version = _version;
- }
-
- /*!
- * @brief This function returns the value of member version
- * @return Value of member version
- */
- eProsima_user_DllExport uint8_t version() const
- {
- return m_version;
- }
-
- /*!
- * @brief This function returns a reference to member version
- * @return Reference to member version
- */
- eProsima_user_DllExport uint8_t& version()
- {
- return m_version;
- }
-
-
-
- private:
-
- uint32_t m_maskBits{0};
- uint8_t m_controlType{0};
- CommandState m_startSample{CommandState::STOP};
- CommandState m_stopSample{CommandState::STOP};
- CommandState m_reset{CommandState::STOP};
- CommandState m_positionCheck{CommandState::STOP};
- CommandState m_emergencyUp{CommandState::STOP};
- CommandState m_emergencyStop{CommandState::STOP};
- CommandState m_controlBelt1{CommandState::STOP};
- CommandState m_controlBelt2{CommandState::STOP};
- CommandState m_controlCrush1{CommandState::STOP};
- CommandState m_controlCrush2{CommandState::STOP};
- CommandState m_controlDivider{CommandState::STOP};
- CommandState m_controlCoalDistributor{CommandState::STOP};
- uint16_t m_reductionRatio{0};
- uint8_t m_version{0};
-
- };
- /*!
- * @brief This class represents the enumeration DeviceState defined by the user in the IDL file.
- * @ingroup DDSSampleMachine
- */
- enum class DeviceState : int32_t
- {
- OFF,
- ON,
- ERROR
- };
- /*!
- * @brief This class represents the structure SampleMachineInfo defined by the user in the IDL file.
- * @ingroup DDSSampleMachine
- */
- class SampleMachineInfo
- {
- public:
-
- /*!
- * @brief Default constructor.
- */
- eProsima_user_DllExport SampleMachineInfo()
- {
- }
-
- /*!
- * @brief Default destructor.
- */
- eProsima_user_DllExport ~SampleMachineInfo()
- {
- }
-
- /*!
- * @brief Copy constructor.
- * @param x Reference to the object SampleMachineInfo that will be copied.
- */
- eProsima_user_DllExport SampleMachineInfo(
- const SampleMachineInfo& x)
- {
- m_maskBits = x.m_maskBits;
-
- m_bigPoint = x.m_bigPoint;
-
- m_smallPoint = x.m_smallPoint;
-
- m_depthPoint = x.m_depthPoint;
-
- m_hasToXY = x.m_hasToXY;
-
- m_hasSamplePoints = x.m_hasSamplePoints;
-
- m_gameOver = x.m_gameOver;
-
- m_backState = x.m_backState;
-
- m_sampleState = x.m_sampleState;
-
- m_belt1State = x.m_belt1State;
-
- m_belt2State = x.m_belt2State;
-
- m_crush1State = x.m_crush1State;
-
- m_crush2State = x.m_crush2State;
-
- m_dividerState = x.m_dividerState;
-
- m_bigLimit = x.m_bigLimit;
-
- m_bigZeroLimit = x.m_bigZeroLimit;
-
- m_smallLimit = x.m_smallLimit;
-
- m_smallZeroLimit = x.m_smallZeroLimit;
-
- m_upLimit = x.m_upLimit;
-
- m_downLimit = x.m_downLimit;
-
- m_version = x.m_version;
-
- }
-
- /*!
- * @brief Move constructor.
- * @param x Reference to the object SampleMachineInfo that will be copied.
- */
- eProsima_user_DllExport SampleMachineInfo(
- SampleMachineInfo&& x) noexcept
- {
- m_maskBits = x.m_maskBits;
- m_bigPoint = x.m_bigPoint;
- m_smallPoint = x.m_smallPoint;
- m_depthPoint = x.m_depthPoint;
- m_hasToXY = x.m_hasToXY;
- m_hasSamplePoints = x.m_hasSamplePoints;
- m_gameOver = x.m_gameOver;
- m_backState = x.m_backState;
- m_sampleState = x.m_sampleState;
- m_belt1State = x.m_belt1State;
- m_belt2State = x.m_belt2State;
- m_crush1State = x.m_crush1State;
- m_crush2State = x.m_crush2State;
- m_dividerState = x.m_dividerState;
- m_bigLimit = x.m_bigLimit;
- m_bigZeroLimit = x.m_bigZeroLimit;
- m_smallLimit = x.m_smallLimit;
- m_smallZeroLimit = x.m_smallZeroLimit;
- m_upLimit = x.m_upLimit;
- m_downLimit = x.m_downLimit;
- m_version = x.m_version;
- }
-
- /*!
- * @brief Copy assignment.
- * @param x Reference to the object SampleMachineInfo that will be copied.
- */
- eProsima_user_DllExport SampleMachineInfo& operator =(
- const SampleMachineInfo& x)
- {
-
- m_maskBits = x.m_maskBits;
-
- m_bigPoint = x.m_bigPoint;
-
- m_smallPoint = x.m_smallPoint;
-
- m_depthPoint = x.m_depthPoint;
-
- m_hasToXY = x.m_hasToXY;
-
- m_hasSamplePoints = x.m_hasSamplePoints;
-
- m_gameOver = x.m_gameOver;
-
- m_backState = x.m_backState;
-
- m_sampleState = x.m_sampleState;
-
- m_belt1State = x.m_belt1State;
-
- m_belt2State = x.m_belt2State;
-
- m_crush1State = x.m_crush1State;
-
- m_crush2State = x.m_crush2State;
-
- m_dividerState = x.m_dividerState;
-
- m_bigLimit = x.m_bigLimit;
-
- m_bigZeroLimit = x.m_bigZeroLimit;
-
- m_smallLimit = x.m_smallLimit;
-
- m_smallZeroLimit = x.m_smallZeroLimit;
-
- m_upLimit = x.m_upLimit;
-
- m_downLimit = x.m_downLimit;
-
- m_version = x.m_version;
-
- return *this;
- }
-
- /*!
- * @brief Move assignment.
- * @param x Reference to the object SampleMachineInfo that will be copied.
- */
- eProsima_user_DllExport SampleMachineInfo& operator =(
- SampleMachineInfo&& x) noexcept
- {
-
- m_maskBits = x.m_maskBits;
- m_bigPoint = x.m_bigPoint;
- m_smallPoint = x.m_smallPoint;
- m_depthPoint = x.m_depthPoint;
- m_hasToXY = x.m_hasToXY;
- m_hasSamplePoints = x.m_hasSamplePoints;
- m_gameOver = x.m_gameOver;
- m_backState = x.m_backState;
- m_sampleState = x.m_sampleState;
- m_belt1State = x.m_belt1State;
- m_belt2State = x.m_belt2State;
- m_crush1State = x.m_crush1State;
- m_crush2State = x.m_crush2State;
- m_dividerState = x.m_dividerState;
- m_bigLimit = x.m_bigLimit;
- m_bigZeroLimit = x.m_bigZeroLimit;
- m_smallLimit = x.m_smallLimit;
- m_smallZeroLimit = x.m_smallZeroLimit;
- m_upLimit = x.m_upLimit;
- m_downLimit = x.m_downLimit;
- m_version = x.m_version;
- return *this;
- }
-
- /*!
- * @brief Comparison operator.
- * @param x SampleMachineInfo object to compare.
- */
- eProsima_user_DllExport bool operator ==(
- const SampleMachineInfo& x) const
- {
- return (m_maskBits == x.m_maskBits &&
- m_bigPoint == x.m_bigPoint &&
- m_smallPoint == x.m_smallPoint &&
- m_depthPoint == x.m_depthPoint &&
- m_hasToXY == x.m_hasToXY &&
- m_hasSamplePoints == x.m_hasSamplePoints &&
- m_gameOver == x.m_gameOver &&
- m_backState == x.m_backState &&
- m_sampleState == x.m_sampleState &&
- m_belt1State == x.m_belt1State &&
- m_belt2State == x.m_belt2State &&
- m_crush1State == x.m_crush1State &&
- m_crush2State == x.m_crush2State &&
- m_dividerState == x.m_dividerState &&
- m_bigLimit == x.m_bigLimit &&
- m_bigZeroLimit == x.m_bigZeroLimit &&
- m_smallLimit == x.m_smallLimit &&
- m_smallZeroLimit == x.m_smallZeroLimit &&
- m_upLimit == x.m_upLimit &&
- m_downLimit == x.m_downLimit &&
- m_version == x.m_version);
- }
-
- /*!
- * @brief Comparison operator.
- * @param x SampleMachineInfo object to compare.
- */
- eProsima_user_DllExport bool operator !=(
- const SampleMachineInfo& x) const
- {
- return !(*this == x);
- }
-
- /*!
- * @brief This function sets a value in member maskBits
- * @param _maskBits New value for member maskBits
- */
- eProsima_user_DllExport void maskBits(
- uint32_t _maskBits)
- {
- m_maskBits = _maskBits;
- }
-
- /*!
- * @brief This function returns the value of member maskBits
- * @return Value of member maskBits
- */
- eProsima_user_DllExport uint32_t maskBits() const
- {
- return m_maskBits;
- }
-
- /*!
- * @brief This function returns a reference to member maskBits
- * @return Reference to member maskBits
- */
- eProsima_user_DllExport uint32_t& maskBits()
- {
- return m_maskBits;
- }
-
-
- /*!
- * @brief This function sets a value in member bigPoint
- * @param _bigPoint New value for member bigPoint
- */
- eProsima_user_DllExport void bigPoint(
- uint16_t _bigPoint)
- {
- m_bigPoint = _bigPoint;
- }
-
- /*!
- * @brief This function returns the value of member bigPoint
- * @return Value of member bigPoint
- */
- eProsima_user_DllExport uint16_t bigPoint() const
- {
- return m_bigPoint;
- }
-
- /*!
- * @brief This function returns a reference to member bigPoint
- * @return Reference to member bigPoint
- */
- eProsima_user_DllExport uint16_t& bigPoint()
- {
- return m_bigPoint;
- }
-
-
- /*!
- * @brief This function sets a value in member smallPoint
- * @param _smallPoint New value for member smallPoint
- */
- eProsima_user_DllExport void smallPoint(
- uint16_t _smallPoint)
- {
- m_smallPoint = _smallPoint;
- }
-
- /*!
- * @brief This function returns the value of member smallPoint
- * @return Value of member smallPoint
- */
- eProsima_user_DllExport uint16_t smallPoint() const
- {
- return m_smallPoint;
- }
-
- /*!
- * @brief This function returns a reference to member smallPoint
- * @return Reference to member smallPoint
- */
- eProsima_user_DllExport uint16_t& smallPoint()
- {
- return m_smallPoint;
- }
-
-
- /*!
- * @brief This function sets a value in member depthPoint
- * @param _depthPoint New value for member depthPoint
- */
- eProsima_user_DllExport void depthPoint(
- uint16_t _depthPoint)
- {
- m_depthPoint = _depthPoint;
- }
-
- /*!
- * @brief This function returns the value of member depthPoint
- * @return Value of member depthPoint
- */
- eProsima_user_DllExport uint16_t depthPoint() const
- {
- return m_depthPoint;
- }
-
- /*!
- * @brief This function returns a reference to member depthPoint
- * @return Reference to member depthPoint
- */
- eProsima_user_DllExport uint16_t& depthPoint()
- {
- return m_depthPoint;
- }
-
-
- /*!
- * @brief This function sets a value in member hasToXY
- * @param _hasToXY New value for member hasToXY
- */
- eProsima_user_DllExport void hasToXY(
- uint8_t _hasToXY)
- {
- m_hasToXY = _hasToXY;
- }
-
- /*!
- * @brief This function returns the value of member hasToXY
- * @return Value of member hasToXY
- */
- eProsima_user_DllExport uint8_t hasToXY() const
- {
- return m_hasToXY;
- }
-
- /*!
- * @brief This function returns a reference to member hasToXY
- * @return Reference to member hasToXY
- */
- eProsima_user_DllExport uint8_t& hasToXY()
- {
- return m_hasToXY;
- }
-
-
- /*!
- * @brief This function sets a value in member hasSamplePoints
- * @param _hasSamplePoints New value for member hasSamplePoints
- */
- eProsima_user_DllExport void hasSamplePoints(
- uint8_t _hasSamplePoints)
- {
- m_hasSamplePoints = _hasSamplePoints;
- }
-
- /*!
- * @brief This function returns the value of member hasSamplePoints
- * @return Value of member hasSamplePoints
- */
- eProsima_user_DllExport uint8_t hasSamplePoints() const
- {
- return m_hasSamplePoints;
- }
-
- /*!
- * @brief This function returns a reference to member hasSamplePoints
- * @return Reference to member hasSamplePoints
- */
- eProsima_user_DllExport uint8_t& hasSamplePoints()
- {
- return m_hasSamplePoints;
- }
-
-
- /*!
- * @brief This function sets a value in member gameOver
- * @param _gameOver New value for member gameOver
- */
- eProsima_user_DllExport void gameOver(
- uint8_t _gameOver)
- {
- m_gameOver = _gameOver;
- }
-
- /*!
- * @brief This function returns the value of member gameOver
- * @return Value of member gameOver
- */
- eProsima_user_DllExport uint8_t gameOver() const
- {
- return m_gameOver;
- }
-
- /*!
- * @brief This function returns a reference to member gameOver
- * @return Reference to member gameOver
- */
- eProsima_user_DllExport uint8_t& gameOver()
- {
- return m_gameOver;
- }
-
-
- /*!
- * @brief This function sets a value in member backState
- * @param _backState New value for member backState
- */
- eProsima_user_DllExport void backState(
- uint16_t _backState)
- {
- m_backState = _backState;
- }
-
- /*!
- * @brief This function returns the value of member backState
- * @return Value of member backState
- */
- eProsima_user_DllExport uint16_t backState() const
- {
- return m_backState;
- }
-
- /*!
- * @brief This function returns a reference to member backState
- * @return Reference to member backState
- */
- eProsima_user_DllExport uint16_t& backState()
- {
- return m_backState;
- }
-
-
- /*!
- * @brief This function sets a value in member sampleState
- * @param _sampleState New value for member sampleState
- */
- eProsima_user_DllExport void sampleState(
- DeviceState _sampleState)
- {
- m_sampleState = _sampleState;
- }
-
- /*!
- * @brief This function returns the value of member sampleState
- * @return Value of member sampleState
- */
- eProsima_user_DllExport DeviceState sampleState() const
- {
- return m_sampleState;
- }
-
- /*!
- * @brief This function returns a reference to member sampleState
- * @return Reference to member sampleState
- */
- eProsima_user_DllExport DeviceState& sampleState()
- {
- return m_sampleState;
- }
-
-
- /*!
- * @brief This function sets a value in member belt1State
- * @param _belt1State New value for member belt1State
- */
- eProsima_user_DllExport void belt1State(
- DeviceState _belt1State)
- {
- m_belt1State = _belt1State;
- }
-
- /*!
- * @brief This function returns the value of member belt1State
- * @return Value of member belt1State
- */
- eProsima_user_DllExport DeviceState belt1State() const
- {
- return m_belt1State;
- }
-
- /*!
- * @brief This function returns a reference to member belt1State
- * @return Reference to member belt1State
- */
- eProsima_user_DllExport DeviceState& belt1State()
- {
- return m_belt1State;
- }
-
-
- /*!
- * @brief This function sets a value in member belt2State
- * @param _belt2State New value for member belt2State
- */
- eProsima_user_DllExport void belt2State(
- DeviceState _belt2State)
- {
- m_belt2State = _belt2State;
- }
-
- /*!
- * @brief This function returns the value of member belt2State
- * @return Value of member belt2State
- */
- eProsima_user_DllExport DeviceState belt2State() const
- {
- return m_belt2State;
- }
-
- /*!
- * @brief This function returns a reference to member belt2State
- * @return Reference to member belt2State
- */
- eProsima_user_DllExport DeviceState& belt2State()
- {
- return m_belt2State;
- }
-
-
- /*!
- * @brief This function sets a value in member crush1State
- * @param _crush1State New value for member crush1State
- */
- eProsima_user_DllExport void crush1State(
- DeviceState _crush1State)
- {
- m_crush1State = _crush1State;
- }
-
- /*!
- * @brief This function returns the value of member crush1State
- * @return Value of member crush1State
- */
- eProsima_user_DllExport DeviceState crush1State() const
- {
- return m_crush1State;
- }
-
- /*!
- * @brief This function returns a reference to member crush1State
- * @return Reference to member crush1State
- */
- eProsima_user_DllExport DeviceState& crush1State()
- {
- return m_crush1State;
- }
-
-
- /*!
- * @brief This function sets a value in member crush2State
- * @param _crush2State New value for member crush2State
- */
- eProsima_user_DllExport void crush2State(
- DeviceState _crush2State)
- {
- m_crush2State = _crush2State;
- }
-
- /*!
- * @brief This function returns the value of member crush2State
- * @return Value of member crush2State
- */
- eProsima_user_DllExport DeviceState crush2State() const
- {
- return m_crush2State;
- }
-
- /*!
- * @brief This function returns a reference to member crush2State
- * @return Reference to member crush2State
- */
- eProsima_user_DllExport DeviceState& crush2State()
- {
- return m_crush2State;
- }
-
-
- /*!
- * @brief This function sets a value in member dividerState
- * @param _dividerState New value for member dividerState
- */
- eProsima_user_DllExport void dividerState(
- DeviceState _dividerState)
- {
- m_dividerState = _dividerState;
- }
-
- /*!
- * @brief This function returns the value of member dividerState
- * @return Value of member dividerState
- */
- eProsima_user_DllExport DeviceState dividerState() const
- {
- return m_dividerState;
- }
-
- /*!
- * @brief This function returns a reference to member dividerState
- * @return Reference to member dividerState
- */
- eProsima_user_DllExport DeviceState& dividerState()
- {
- return m_dividerState;
- }
-
-
- /*!
- * @brief This function sets a value in member bigLimit
- * @param _bigLimit New value for member bigLimit
- */
- eProsima_user_DllExport void bigLimit(
- uint8_t _bigLimit)
- {
- m_bigLimit = _bigLimit;
- }
-
- /*!
- * @brief This function returns the value of member bigLimit
- * @return Value of member bigLimit
- */
- eProsima_user_DllExport uint8_t bigLimit() const
- {
- return m_bigLimit;
- }
-
- /*!
- * @brief This function returns a reference to member bigLimit
- * @return Reference to member bigLimit
- */
- eProsima_user_DllExport uint8_t& bigLimit()
- {
- return m_bigLimit;
- }
-
-
- /*!
- * @brief This function sets a value in member bigZeroLimit
- * @param _bigZeroLimit New value for member bigZeroLimit
- */
- eProsima_user_DllExport void bigZeroLimit(
- uint8_t _bigZeroLimit)
- {
- m_bigZeroLimit = _bigZeroLimit;
- }
-
- /*!
- * @brief This function returns the value of member bigZeroLimit
- * @return Value of member bigZeroLimit
- */
- eProsima_user_DllExport uint8_t bigZeroLimit() const
- {
- return m_bigZeroLimit;
- }
-
- /*!
- * @brief This function returns a reference to member bigZeroLimit
- * @return Reference to member bigZeroLimit
- */
- eProsima_user_DllExport uint8_t& bigZeroLimit()
- {
- return m_bigZeroLimit;
- }
-
-
- /*!
- * @brief This function sets a value in member smallLimit
- * @param _smallLimit New value for member smallLimit
- */
- eProsima_user_DllExport void smallLimit(
- uint8_t _smallLimit)
- {
- m_smallLimit = _smallLimit;
- }
-
- /*!
- * @brief This function returns the value of member smallLimit
- * @return Value of member smallLimit
- */
- eProsima_user_DllExport uint8_t smallLimit() const
- {
- return m_smallLimit;
- }
-
- /*!
- * @brief This function returns a reference to member smallLimit
- * @return Reference to member smallLimit
- */
- eProsima_user_DllExport uint8_t& smallLimit()
- {
- return m_smallLimit;
- }
-
-
- /*!
- * @brief This function sets a value in member smallZeroLimit
- * @param _smallZeroLimit New value for member smallZeroLimit
- */
- eProsima_user_DllExport void smallZeroLimit(
- uint8_t _smallZeroLimit)
- {
- m_smallZeroLimit = _smallZeroLimit;
- }
-
- /*!
- * @brief This function returns the value of member smallZeroLimit
- * @return Value of member smallZeroLimit
- */
- eProsima_user_DllExport uint8_t smallZeroLimit() const
- {
- return m_smallZeroLimit;
- }
-
- /*!
- * @brief This function returns a reference to member smallZeroLimit
- * @return Reference to member smallZeroLimit
- */
- eProsima_user_DllExport uint8_t& smallZeroLimit()
- {
- return m_smallZeroLimit;
- }
-
-
- /*!
- * @brief This function sets a value in member upLimit
- * @param _upLimit New value for member upLimit
- */
- eProsima_user_DllExport void upLimit(
- uint8_t _upLimit)
- {
- m_upLimit = _upLimit;
- }
-
- /*!
- * @brief This function returns the value of member upLimit
- * @return Value of member upLimit
- */
- eProsima_user_DllExport uint8_t upLimit() const
- {
- return m_upLimit;
- }
-
- /*!
- * @brief This function returns a reference to member upLimit
- * @return Reference to member upLimit
- */
- eProsima_user_DllExport uint8_t& upLimit()
- {
- return m_upLimit;
- }
-
-
- /*!
- * @brief This function sets a value in member downLimit
- * @param _downLimit New value for member downLimit
- */
- eProsima_user_DllExport void downLimit(
- uint8_t _downLimit)
- {
- m_downLimit = _downLimit;
- }
-
- /*!
- * @brief This function returns the value of member downLimit
- * @return Value of member downLimit
- */
- eProsima_user_DllExport uint8_t downLimit() const
- {
- return m_downLimit;
- }
-
- /*!
- * @brief This function returns a reference to member downLimit
- * @return Reference to member downLimit
- */
- eProsima_user_DllExport uint8_t& downLimit()
- {
- return m_downLimit;
- }
-
-
- /*!
- * @brief This function sets a value in member version
- * @param _version New value for member version
- */
- eProsima_user_DllExport void version(
- uint8_t _version)
- {
- m_version = _version;
- }
-
- /*!
- * @brief This function returns the value of member version
- * @return Value of member version
- */
- eProsima_user_DllExport uint8_t version() const
- {
- return m_version;
- }
-
- /*!
- * @brief This function returns a reference to member version
- * @return Reference to member version
- */
- eProsima_user_DllExport uint8_t& version()
- {
- return m_version;
- }
-
-
-
- private:
-
- uint32_t m_maskBits{0};
- uint16_t m_bigPoint{0};
- uint16_t m_smallPoint{0};
- uint16_t m_depthPoint{0};
- uint8_t m_hasToXY{0};
- uint8_t m_hasSamplePoints{0};
- uint8_t m_gameOver{0};
- uint16_t m_backState{0};
- DeviceState m_sampleState{DeviceState::OFF};
- DeviceState m_belt1State{DeviceState::OFF};
- DeviceState m_belt2State{DeviceState::OFF};
- DeviceState m_crush1State{DeviceState::OFF};
- DeviceState m_crush2State{DeviceState::OFF};
- DeviceState m_dividerState{DeviceState::OFF};
- uint8_t m_bigLimit{0};
- uint8_t m_bigZeroLimit{0};
- uint8_t m_smallLimit{0};
- uint8_t m_smallZeroLimit{0};
- uint8_t m_upLimit{0};
- uint8_t m_downLimit{0};
- uint8_t m_version{0};
-
- };
- /*!
- * @brief This class represents the enumeration DropChoice defined by the user in the IDL file.
- * @ingroup DDSSampleMachine
- */
- enum class DropChoice : int32_t
- {
- BYPASS,
- CRUSHER
- };
- /*!
- * @brief This class represents the structure SamplePoints defined by the user in the IDL file.
- * @ingroup DDSSampleMachine
- */
- class SamplePoints
- {
- public:
-
- /*!
- * @brief Default constructor.
- */
- eProsima_user_DllExport SamplePoints()
- {
- }
-
- /*!
- * @brief Default destructor.
- */
- eProsima_user_DllExport ~SamplePoints()
- {
- }
-
- /*!
- * @brief Copy constructor.
- * @param x Reference to the object SamplePoints that will be copied.
- */
- eProsima_user_DllExport SamplePoints(
- const SamplePoints& x)
- {
- m_totalPoints = x.m_totalPoints;
-
- m_x1 = x.m_x1;
-
- m_y1 = x.m_y1;
-
- m_z1 = x.m_z1;
-
- m_o1 = x.m_o1;
-
- m_x2 = x.m_x2;
-
- m_y2 = x.m_y2;
-
- m_z2 = x.m_z2;
-
- m_o2 = x.m_o2;
-
- m_x3 = x.m_x3;
-
- m_y3 = x.m_y3;
-
- m_z3 = x.m_z3;
-
- m_o3 = x.m_o3;
-
- m_x4 = x.m_x4;
-
- m_y4 = x.m_y4;
-
- m_z4 = x.m_z4;
-
- m_o4 = x.m_o4;
-
- m_x5 = x.m_x5;
-
- m_y5 = x.m_y5;
-
- m_z5 = x.m_z5;
-
- m_o5 = x.m_o5;
-
- m_x6 = x.m_x6;
-
- m_y6 = x.m_y6;
-
- m_z6 = x.m_z6;
-
- m_o6 = x.m_o6;
-
- }
-
- /*!
- * @brief Move constructor.
- * @param x Reference to the object SamplePoints that will be copied.
- */
- eProsima_user_DllExport SamplePoints(
- SamplePoints&& x) noexcept
- {
- m_totalPoints = x.m_totalPoints;
- m_x1 = x.m_x1;
- m_y1 = x.m_y1;
- m_z1 = x.m_z1;
- m_o1 = x.m_o1;
- m_x2 = x.m_x2;
- m_y2 = x.m_y2;
- m_z2 = x.m_z2;
- m_o2 = x.m_o2;
- m_x3 = x.m_x3;
- m_y3 = x.m_y3;
- m_z3 = x.m_z3;
- m_o3 = x.m_o3;
- m_x4 = x.m_x4;
- m_y4 = x.m_y4;
- m_z4 = x.m_z4;
- m_o4 = x.m_o4;
- m_x5 = x.m_x5;
- m_y5 = x.m_y5;
- m_z5 = x.m_z5;
- m_o5 = x.m_o5;
- m_x6 = x.m_x6;
- m_y6 = x.m_y6;
- m_z6 = x.m_z6;
- m_o6 = x.m_o6;
- }
-
- /*!
- * @brief Copy assignment.
- * @param x Reference to the object SamplePoints that will be copied.
- */
- eProsima_user_DllExport SamplePoints& operator =(
- const SamplePoints& x)
- {
-
- m_totalPoints = x.m_totalPoints;
-
- m_x1 = x.m_x1;
-
- m_y1 = x.m_y1;
-
- m_z1 = x.m_z1;
-
- m_o1 = x.m_o1;
-
- m_x2 = x.m_x2;
-
- m_y2 = x.m_y2;
-
- m_z2 = x.m_z2;
-
- m_o2 = x.m_o2;
-
- m_x3 = x.m_x3;
-
- m_y3 = x.m_y3;
-
- m_z3 = x.m_z3;
-
- m_o3 = x.m_o3;
-
- m_x4 = x.m_x4;
-
- m_y4 = x.m_y4;
-
- m_z4 = x.m_z4;
-
- m_o4 = x.m_o4;
-
- m_x5 = x.m_x5;
-
- m_y5 = x.m_y5;
-
- m_z5 = x.m_z5;
-
- m_o5 = x.m_o5;
-
- m_x6 = x.m_x6;
-
- m_y6 = x.m_y6;
-
- m_z6 = x.m_z6;
-
- m_o6 = x.m_o6;
-
- return *this;
- }
-
- /*!
- * @brief Move assignment.
- * @param x Reference to the object SamplePoints that will be copied.
- */
- eProsima_user_DllExport SamplePoints& operator =(
- SamplePoints&& x) noexcept
- {
-
- m_totalPoints = x.m_totalPoints;
- m_x1 = x.m_x1;
- m_y1 = x.m_y1;
- m_z1 = x.m_z1;
- m_o1 = x.m_o1;
- m_x2 = x.m_x2;
- m_y2 = x.m_y2;
- m_z2 = x.m_z2;
- m_o2 = x.m_o2;
- m_x3 = x.m_x3;
- m_y3 = x.m_y3;
- m_z3 = x.m_z3;
- m_o3 = x.m_o3;
- m_x4 = x.m_x4;
- m_y4 = x.m_y4;
- m_z4 = x.m_z4;
- m_o4 = x.m_o4;
- m_x5 = x.m_x5;
- m_y5 = x.m_y5;
- m_z5 = x.m_z5;
- m_o5 = x.m_o5;
- m_x6 = x.m_x6;
- m_y6 = x.m_y6;
- m_z6 = x.m_z6;
- m_o6 = x.m_o6;
- return *this;
- }
-
- /*!
- * @brief Comparison operator.
- * @param x SamplePoints object to compare.
- */
- eProsima_user_DllExport bool operator ==(
- const SamplePoints& x) const
- {
- return (m_totalPoints == x.m_totalPoints &&
- m_x1 == x.m_x1 &&
- m_y1 == x.m_y1 &&
- m_z1 == x.m_z1 &&
- m_o1 == x.m_o1 &&
- m_x2 == x.m_x2 &&
- m_y2 == x.m_y2 &&
- m_z2 == x.m_z2 &&
- m_o2 == x.m_o2 &&
- m_x3 == x.m_x3 &&
- m_y3 == x.m_y3 &&
- m_z3 == x.m_z3 &&
- m_o3 == x.m_o3 &&
- m_x4 == x.m_x4 &&
- m_y4 == x.m_y4 &&
- m_z4 == x.m_z4 &&
- m_o4 == x.m_o4 &&
- m_x5 == x.m_x5 &&
- m_y5 == x.m_y5 &&
- m_z5 == x.m_z5 &&
- m_o5 == x.m_o5 &&
- m_x6 == x.m_x6 &&
- m_y6 == x.m_y6 &&
- m_z6 == x.m_z6 &&
- m_o6 == x.m_o6);
- }
-
- /*!
- * @brief Comparison operator.
- * @param x SamplePoints object to compare.
- */
- eProsima_user_DllExport bool operator !=(
- const SamplePoints& x) const
- {
- return !(*this == x);
- }
-
- /*!
- * @brief This function sets a value in member totalPoints
- * @param _totalPoints New value for member totalPoints
- */
- eProsima_user_DllExport void totalPoints(
- uint8_t _totalPoints)
- {
- m_totalPoints = _totalPoints;
- }
-
- /*!
- * @brief This function returns the value of member totalPoints
- * @return Value of member totalPoints
- */
- eProsima_user_DllExport uint8_t totalPoints() const
- {
- return m_totalPoints;
- }
-
- /*!
- * @brief This function returns a reference to member totalPoints
- * @return Reference to member totalPoints
- */
- eProsima_user_DllExport uint8_t& totalPoints()
- {
- return m_totalPoints;
- }
-
-
- /*!
- * @brief This function sets a value in member x1
- * @param _x1 New value for member x1
- */
- eProsima_user_DllExport void x1(
- uint16_t _x1)
- {
- m_x1 = _x1;
- }
-
- /*!
- * @brief This function returns the value of member x1
- * @return Value of member x1
- */
- eProsima_user_DllExport uint16_t x1() const
- {
- return m_x1;
- }
-
- /*!
- * @brief This function returns a reference to member x1
- * @return Reference to member x1
- */
- eProsima_user_DllExport uint16_t& x1()
- {
- return m_x1;
- }
-
-
- /*!
- * @brief This function sets a value in member y1
- * @param _y1 New value for member y1
- */
- eProsima_user_DllExport void y1(
- uint16_t _y1)
- {
- m_y1 = _y1;
- }
-
- /*!
- * @brief This function returns the value of member y1
- * @return Value of member y1
- */
- eProsima_user_DllExport uint16_t y1() const
- {
- return m_y1;
- }
-
- /*!
- * @brief This function returns a reference to member y1
- * @return Reference to member y1
- */
- eProsima_user_DllExport uint16_t& y1()
- {
- return m_y1;
- }
-
-
- /*!
- * @brief This function sets a value in member z1
- * @param _z1 New value for member z1
- */
- eProsima_user_DllExport void z1(
- uint16_t _z1)
- {
- m_z1 = _z1;
- }
-
- /*!
- * @brief This function returns the value of member z1
- * @return Value of member z1
- */
- eProsima_user_DllExport uint16_t z1() const
- {
- return m_z1;
- }
-
- /*!
- * @brief This function returns a reference to member z1
- * @return Reference to member z1
- */
- eProsima_user_DllExport uint16_t& z1()
- {
- return m_z1;
- }
-
-
- /*!
- * @brief This function sets a value in member o1
- * @param _o1 New value for member o1
- */
- eProsima_user_DllExport void o1(
- DropChoice _o1)
- {
- m_o1 = _o1;
- }
-
- /*!
- * @brief This function returns the value of member o1
- * @return Value of member o1
- */
- eProsima_user_DllExport DropChoice o1() const
- {
- return m_o1;
- }
-
- /*!
- * @brief This function returns a reference to member o1
- * @return Reference to member o1
- */
- eProsima_user_DllExport DropChoice& o1()
- {
- return m_o1;
- }
-
-
- /*!
- * @brief This function sets a value in member x2
- * @param _x2 New value for member x2
- */
- eProsima_user_DllExport void x2(
- uint16_t _x2)
- {
- m_x2 = _x2;
- }
-
- /*!
- * @brief This function returns the value of member x2
- * @return Value of member x2
- */
- eProsima_user_DllExport uint16_t x2() const
- {
- return m_x2;
- }
-
- /*!
- * @brief This function returns a reference to member x2
- * @return Reference to member x2
- */
- eProsima_user_DllExport uint16_t& x2()
- {
- return m_x2;
- }
-
-
- /*!
- * @brief This function sets a value in member y2
- * @param _y2 New value for member y2
- */
- eProsima_user_DllExport void y2(
- uint16_t _y2)
- {
- m_y2 = _y2;
- }
-
- /*!
- * @brief This function returns the value of member y2
- * @return Value of member y2
- */
- eProsima_user_DllExport uint16_t y2() const
- {
- return m_y2;
- }
-
- /*!
- * @brief This function returns a reference to member y2
- * @return Reference to member y2
- */
- eProsima_user_DllExport uint16_t& y2()
- {
- return m_y2;
- }
-
-
- /*!
- * @brief This function sets a value in member z2
- * @param _z2 New value for member z2
- */
- eProsima_user_DllExport void z2(
- uint16_t _z2)
- {
- m_z2 = _z2;
- }
-
- /*!
- * @brief This function returns the value of member z2
- * @return Value of member z2
- */
- eProsima_user_DllExport uint16_t z2() const
- {
- return m_z2;
- }
-
- /*!
- * @brief This function returns a reference to member z2
- * @return Reference to member z2
- */
- eProsima_user_DllExport uint16_t& z2()
- {
- return m_z2;
- }
-
-
- /*!
- * @brief This function sets a value in member o2
- * @param _o2 New value for member o2
- */
- eProsima_user_DllExport void o2(
- DropChoice _o2)
- {
- m_o2 = _o2;
- }
-
- /*!
- * @brief This function returns the value of member o2
- * @return Value of member o2
- */
- eProsima_user_DllExport DropChoice o2() const
- {
- return m_o2;
- }
-
- /*!
- * @brief This function returns a reference to member o2
- * @return Reference to member o2
- */
- eProsima_user_DllExport DropChoice& o2()
- {
- return m_o2;
- }
-
-
- /*!
- * @brief This function sets a value in member x3
- * @param _x3 New value for member x3
- */
- eProsima_user_DllExport void x3(
- uint16_t _x3)
- {
- m_x3 = _x3;
- }
-
- /*!
- * @brief This function returns the value of member x3
- * @return Value of member x3
- */
- eProsima_user_DllExport uint16_t x3() const
- {
- return m_x3;
- }
-
- /*!
- * @brief This function returns a reference to member x3
- * @return Reference to member x3
- */
- eProsima_user_DllExport uint16_t& x3()
- {
- return m_x3;
- }
-
-
- /*!
- * @brief This function sets a value in member y3
- * @param _y3 New value for member y3
- */
- eProsima_user_DllExport void y3(
- uint16_t _y3)
- {
- m_y3 = _y3;
- }
-
- /*!
- * @brief This function returns the value of member y3
- * @return Value of member y3
- */
- eProsima_user_DllExport uint16_t y3() const
- {
- return m_y3;
- }
-
- /*!
- * @brief This function returns a reference to member y3
- * @return Reference to member y3
- */
- eProsima_user_DllExport uint16_t& y3()
- {
- return m_y3;
- }
-
-
- /*!
- * @brief This function sets a value in member z3
- * @param _z3 New value for member z3
- */
- eProsima_user_DllExport void z3(
- uint16_t _z3)
- {
- m_z3 = _z3;
- }
-
- /*!
- * @brief This function returns the value of member z3
- * @return Value of member z3
- */
- eProsima_user_DllExport uint16_t z3() const
- {
- return m_z3;
- }
-
- /*!
- * @brief This function returns a reference to member z3
- * @return Reference to member z3
- */
- eProsima_user_DllExport uint16_t& z3()
- {
- return m_z3;
- }
-
-
- /*!
- * @brief This function sets a value in member o3
- * @param _o3 New value for member o3
- */
- eProsima_user_DllExport void o3(
- DropChoice _o3)
- {
- m_o3 = _o3;
- }
-
- /*!
- * @brief This function returns the value of member o3
- * @return Value of member o3
- */
- eProsima_user_DllExport DropChoice o3() const
- {
- return m_o3;
- }
-
- /*!
- * @brief This function returns a reference to member o3
- * @return Reference to member o3
- */
- eProsima_user_DllExport DropChoice& o3()
- {
- return m_o3;
- }
-
-
- /*!
- * @brief This function sets a value in member x4
- * @param _x4 New value for member x4
- */
- eProsima_user_DllExport void x4(
- uint16_t _x4)
- {
- m_x4 = _x4;
- }
-
- /*!
- * @brief This function returns the value of member x4
- * @return Value of member x4
- */
- eProsima_user_DllExport uint16_t x4() const
- {
- return m_x4;
- }
-
- /*!
- * @brief This function returns a reference to member x4
- * @return Reference to member x4
- */
- eProsima_user_DllExport uint16_t& x4()
- {
- return m_x4;
- }
-
-
- /*!
- * @brief This function sets a value in member y4
- * @param _y4 New value for member y4
- */
- eProsima_user_DllExport void y4(
- uint16_t _y4)
- {
- m_y4 = _y4;
- }
-
- /*!
- * @brief This function returns the value of member y4
- * @return Value of member y4
- */
- eProsima_user_DllExport uint16_t y4() const
- {
- return m_y4;
- }
-
- /*!
- * @brief This function returns a reference to member y4
- * @return Reference to member y4
- */
- eProsima_user_DllExport uint16_t& y4()
- {
- return m_y4;
- }
-
-
- /*!
- * @brief This function sets a value in member z4
- * @param _z4 New value for member z4
- */
- eProsima_user_DllExport void z4(
- uint16_t _z4)
- {
- m_z4 = _z4;
- }
-
- /*!
- * @brief This function returns the value of member z4
- * @return Value of member z4
- */
- eProsima_user_DllExport uint16_t z4() const
- {
- return m_z4;
- }
-
- /*!
- * @brief This function returns a reference to member z4
- * @return Reference to member z4
- */
- eProsima_user_DllExport uint16_t& z4()
- {
- return m_z4;
- }
-
-
- /*!
- * @brief This function sets a value in member o4
- * @param _o4 New value for member o4
- */
- eProsima_user_DllExport void o4(
- DropChoice _o4)
- {
- m_o4 = _o4;
- }
-
- /*!
- * @brief This function returns the value of member o4
- * @return Value of member o4
- */
- eProsima_user_DllExport DropChoice o4() const
- {
- return m_o4;
- }
-
- /*!
- * @brief This function returns a reference to member o4
- * @return Reference to member o4
- */
- eProsima_user_DllExport DropChoice& o4()
- {
- return m_o4;
- }
-
-
- /*!
- * @brief This function sets a value in member x5
- * @param _x5 New value for member x5
- */
- eProsima_user_DllExport void x5(
- uint16_t _x5)
- {
- m_x5 = _x5;
- }
-
- /*!
- * @brief This function returns the value of member x5
- * @return Value of member x5
- */
- eProsima_user_DllExport uint16_t x5() const
- {
- return m_x5;
- }
-
- /*!
- * @brief This function returns a reference to member x5
- * @return Reference to member x5
- */
- eProsima_user_DllExport uint16_t& x5()
- {
- return m_x5;
- }
-
-
- /*!
- * @brief This function sets a value in member y5
- * @param _y5 New value for member y5
- */
- eProsima_user_DllExport void y5(
- uint16_t _y5)
- {
- m_y5 = _y5;
- }
-
- /*!
- * @brief This function returns the value of member y5
- * @return Value of member y5
- */
- eProsima_user_DllExport uint16_t y5() const
- {
- return m_y5;
- }
-
- /*!
- * @brief This function returns a reference to member y5
- * @return Reference to member y5
- */
- eProsima_user_DllExport uint16_t& y5()
- {
- return m_y5;
- }
-
-
- /*!
- * @brief This function sets a value in member z5
- * @param _z5 New value for member z5
- */
- eProsima_user_DllExport void z5(
- uint16_t _z5)
- {
- m_z5 = _z5;
- }
-
- /*!
- * @brief This function returns the value of member z5
- * @return Value of member z5
- */
- eProsima_user_DllExport uint16_t z5() const
- {
- return m_z5;
- }
-
- /*!
- * @brief This function returns a reference to member z5
- * @return Reference to member z5
- */
- eProsima_user_DllExport uint16_t& z5()
- {
- return m_z5;
- }
-
-
- /*!
- * @brief This function sets a value in member o5
- * @param _o5 New value for member o5
- */
- eProsima_user_DllExport void o5(
- DropChoice _o5)
- {
- m_o5 = _o5;
- }
-
- /*!
- * @brief This function returns the value of member o5
- * @return Value of member o5
- */
- eProsima_user_DllExport DropChoice o5() const
- {
- return m_o5;
- }
-
- /*!
- * @brief This function returns a reference to member o5
- * @return Reference to member o5
- */
- eProsima_user_DllExport DropChoice& o5()
- {
- return m_o5;
- }
-
-
- /*!
- * @brief This function sets a value in member x6
- * @param _x6 New value for member x6
- */
- eProsima_user_DllExport void x6(
- uint16_t _x6)
- {
- m_x6 = _x6;
- }
-
- /*!
- * @brief This function returns the value of member x6
- * @return Value of member x6
- */
- eProsima_user_DllExport uint16_t x6() const
- {
- return m_x6;
- }
-
- /*!
- * @brief This function returns a reference to member x6
- * @return Reference to member x6
- */
- eProsima_user_DllExport uint16_t& x6()
- {
- return m_x6;
- }
-
-
- /*!
- * @brief This function sets a value in member y6
- * @param _y6 New value for member y6
- */
- eProsima_user_DllExport void y6(
- uint16_t _y6)
- {
- m_y6 = _y6;
- }
-
- /*!
- * @brief This function returns the value of member y6
- * @return Value of member y6
- */
- eProsima_user_DllExport uint16_t y6() const
- {
- return m_y6;
- }
-
- /*!
- * @brief This function returns a reference to member y6
- * @return Reference to member y6
- */
- eProsima_user_DllExport uint16_t& y6()
- {
- return m_y6;
- }
-
-
- /*!
- * @brief This function sets a value in member z6
- * @param _z6 New value for member z6
- */
- eProsima_user_DllExport void z6(
- uint16_t _z6)
- {
- m_z6 = _z6;
- }
-
- /*!
- * @brief This function returns the value of member z6
- * @return Value of member z6
- */
- eProsima_user_DllExport uint16_t z6() const
- {
- return m_z6;
- }
-
- /*!
- * @brief This function returns a reference to member z6
- * @return Reference to member z6
- */
- eProsima_user_DllExport uint16_t& z6()
- {
- return m_z6;
- }
-
-
- /*!
- * @brief This function sets a value in member o6
- * @param _o6 New value for member o6
- */
- eProsima_user_DllExport void o6(
- DropChoice _o6)
- {
- m_o6 = _o6;
- }
-
- /*!
- * @brief This function returns the value of member o6
- * @return Value of member o6
- */
- eProsima_user_DllExport DropChoice o6() const
- {
- return m_o6;
- }
-
- /*!
- * @brief This function returns a reference to member o6
- * @return Reference to member o6
- */
- eProsima_user_DllExport DropChoice& o6()
- {
- return m_o6;
- }
-
-
-
- private:
-
- uint8_t m_totalPoints{0};
- uint16_t m_x1{0};
- uint16_t m_y1{0};
- uint16_t m_z1{0};
- DropChoice m_o1{DropChoice::BYPASS};
- uint16_t m_x2{0};
- uint16_t m_y2{0};
- uint16_t m_z2{0};
- DropChoice m_o2{DropChoice::BYPASS};
- uint16_t m_x3{0};
- uint16_t m_y3{0};
- uint16_t m_z3{0};
- DropChoice m_o3{DropChoice::BYPASS};
- uint16_t m_x4{0};
- uint16_t m_y4{0};
- uint16_t m_z4{0};
- DropChoice m_o4{DropChoice::BYPASS};
- uint16_t m_x5{0};
- uint16_t m_y5{0};
- uint16_t m_z5{0};
- DropChoice m_o5{DropChoice::BYPASS};
- uint16_t m_x6{0};
- uint16_t m_y6{0};
- uint16_t m_z6{0};
- DropChoice m_o6{DropChoice::BYPASS};
-
- };
-
- } // namespace SampleModule
-
- #endif // _FAST_DDS_GENERATED_SAMPLEMODULE_DDSSAMPLEMACHINE_HPP_
-
-
|