You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7995 lines
214 KiB
C++
7995 lines
214 KiB
C++
// 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 WeighingDDSType.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__QUEUE_WEIGHINGDDSTYPE_HPP
|
|
#define FAST_DDS_GENERATED__QUEUE_WEIGHINGDDSTYPE_HPP
|
|
|
|
#include <cstdint>
|
|
#include <map>
|
|
#include <string>
|
|
#include <utility>
|
|
#include <vector>
|
|
|
|
#include <fastcdr/cdr/fixed_size_string.hpp>
|
|
|
|
#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(WEIGHINGDDSTYPE_SOURCE)
|
|
#define WEIGHINGDDSTYPE_DllAPI __declspec( dllexport )
|
|
#else
|
|
#define WEIGHINGDDSTYPE_DllAPI __declspec( dllimport )
|
|
#endif // WEIGHINGDDSTYPE_SOURCE
|
|
#else
|
|
#define WEIGHINGDDSTYPE_DllAPI
|
|
#endif // EPROSIMA_USER_DLL_EXPORT
|
|
#else
|
|
#define WEIGHINGDDSTYPE_DllAPI
|
|
#endif // _WIN32
|
|
|
|
namespace WeighingSystem {
|
|
|
|
/*!
|
|
* @brief This class represents the structure ScaleInfo defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class ScaleInfo
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport ScaleInfo()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~ScaleInfo()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object ScaleInfo that will be copied.
|
|
*/
|
|
eProsima_user_DllExport ScaleInfo(
|
|
const ScaleInfo& x)
|
|
{
|
|
m_HasVehicle = x.m_HasVehicle;
|
|
|
|
m_WeightOK = x.m_WeightOK;
|
|
|
|
m_State = x.m_State;
|
|
|
|
m_Value = x.m_Value;
|
|
|
|
m_StableValue = x.m_StableValue;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object ScaleInfo that will be copied.
|
|
*/
|
|
eProsima_user_DllExport ScaleInfo(
|
|
ScaleInfo&& x) noexcept
|
|
{
|
|
m_HasVehicle = x.m_HasVehicle;
|
|
m_WeightOK = x.m_WeightOK;
|
|
m_State = x.m_State;
|
|
m_Value = x.m_Value;
|
|
m_StableValue = x.m_StableValue;
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object ScaleInfo that will be copied.
|
|
*/
|
|
eProsima_user_DllExport ScaleInfo& operator =(
|
|
const ScaleInfo& x)
|
|
{
|
|
|
|
m_HasVehicle = x.m_HasVehicle;
|
|
|
|
m_WeightOK = x.m_WeightOK;
|
|
|
|
m_State = x.m_State;
|
|
|
|
m_Value = x.m_Value;
|
|
|
|
m_StableValue = x.m_StableValue;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object ScaleInfo that will be copied.
|
|
*/
|
|
eProsima_user_DllExport ScaleInfo& operator =(
|
|
ScaleInfo&& x) noexcept
|
|
{
|
|
|
|
m_HasVehicle = x.m_HasVehicle;
|
|
m_WeightOK = x.m_WeightOK;
|
|
m_State = x.m_State;
|
|
m_Value = x.m_Value;
|
|
m_StableValue = x.m_StableValue;
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x ScaleInfo object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const ScaleInfo& x) const
|
|
{
|
|
return (m_HasVehicle == x.m_HasVehicle &&
|
|
m_WeightOK == x.m_WeightOK &&
|
|
m_State == x.m_State &&
|
|
m_Value == x.m_Value &&
|
|
m_StableValue == x.m_StableValue);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x ScaleInfo object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const ScaleInfo& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function sets a value in member HasVehicle
|
|
* @param _HasVehicle New value for member HasVehicle
|
|
*/
|
|
eProsima_user_DllExport void HasVehicle(
|
|
bool _HasVehicle)
|
|
{
|
|
m_HasVehicle = _HasVehicle;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member HasVehicle
|
|
* @return Value of member HasVehicle
|
|
*/
|
|
eProsima_user_DllExport bool HasVehicle() const
|
|
{
|
|
return m_HasVehicle;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member HasVehicle
|
|
* @return Reference to member HasVehicle
|
|
*/
|
|
eProsima_user_DllExport bool& HasVehicle()
|
|
{
|
|
return m_HasVehicle;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member WeightOK
|
|
* @param _WeightOK New value for member WeightOK
|
|
*/
|
|
eProsima_user_DllExport void WeightOK(
|
|
bool _WeightOK)
|
|
{
|
|
m_WeightOK = _WeightOK;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member WeightOK
|
|
* @return Value of member WeightOK
|
|
*/
|
|
eProsima_user_DllExport bool WeightOK() const
|
|
{
|
|
return m_WeightOK;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member WeightOK
|
|
* @return Reference to member WeightOK
|
|
*/
|
|
eProsima_user_DllExport bool& WeightOK()
|
|
{
|
|
return m_WeightOK;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member State
|
|
* @param _State New value for member State
|
|
*/
|
|
eProsima_user_DllExport void State(
|
|
bool _State)
|
|
{
|
|
m_State = _State;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member State
|
|
* @return Value of member State
|
|
*/
|
|
eProsima_user_DllExport bool State() const
|
|
{
|
|
return m_State;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member State
|
|
* @return Reference to member State
|
|
*/
|
|
eProsima_user_DllExport bool& State()
|
|
{
|
|
return m_State;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member Value
|
|
* @param _Value New value for member Value
|
|
*/
|
|
eProsima_user_DllExport void Value(
|
|
float _Value)
|
|
{
|
|
m_Value = _Value;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member Value
|
|
* @return Value of member Value
|
|
*/
|
|
eProsima_user_DllExport float Value() const
|
|
{
|
|
return m_Value;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member Value
|
|
* @return Reference to member Value
|
|
*/
|
|
eProsima_user_DllExport float& Value()
|
|
{
|
|
return m_Value;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member StableValue
|
|
* @param _StableValue New value for member StableValue
|
|
*/
|
|
eProsima_user_DllExport void StableValue(
|
|
float _StableValue)
|
|
{
|
|
m_StableValue = _StableValue;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member StableValue
|
|
* @return Value of member StableValue
|
|
*/
|
|
eProsima_user_DllExport float StableValue() const
|
|
{
|
|
return m_StableValue;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member StableValue
|
|
* @return Reference to member StableValue
|
|
*/
|
|
eProsima_user_DllExport float& StableValue()
|
|
{
|
|
return m_StableValue;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
bool m_HasVehicle{false};
|
|
bool m_WeightOK{false};
|
|
bool m_State{false};
|
|
float m_Value{0.0};
|
|
float m_StableValue{0.0};
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure ScaleCommand defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class ScaleCommand
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport ScaleCommand()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~ScaleCommand()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object ScaleCommand that will be copied.
|
|
*/
|
|
eProsima_user_DllExport ScaleCommand(
|
|
const ScaleCommand& x)
|
|
{
|
|
m_Enable = x.m_Enable;
|
|
|
|
m_ResetZero = x.m_ResetZero;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object ScaleCommand that will be copied.
|
|
*/
|
|
eProsima_user_DllExport ScaleCommand(
|
|
ScaleCommand&& x) noexcept
|
|
{
|
|
m_Enable = x.m_Enable;
|
|
m_ResetZero = x.m_ResetZero;
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object ScaleCommand that will be copied.
|
|
*/
|
|
eProsima_user_DllExport ScaleCommand& operator =(
|
|
const ScaleCommand& x)
|
|
{
|
|
|
|
m_Enable = x.m_Enable;
|
|
|
|
m_ResetZero = x.m_ResetZero;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object ScaleCommand that will be copied.
|
|
*/
|
|
eProsima_user_DllExport ScaleCommand& operator =(
|
|
ScaleCommand&& x) noexcept
|
|
{
|
|
|
|
m_Enable = x.m_Enable;
|
|
m_ResetZero = x.m_ResetZero;
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x ScaleCommand object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const ScaleCommand& x) const
|
|
{
|
|
return (m_Enable == x.m_Enable &&
|
|
m_ResetZero == x.m_ResetZero);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x ScaleCommand object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const ScaleCommand& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function sets a value in member Enable
|
|
* @param _Enable New value for member Enable
|
|
*/
|
|
eProsima_user_DllExport void Enable(
|
|
bool _Enable)
|
|
{
|
|
m_Enable = _Enable;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member Enable
|
|
* @return Value of member Enable
|
|
*/
|
|
eProsima_user_DllExport bool Enable() const
|
|
{
|
|
return m_Enable;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member Enable
|
|
* @return Reference to member Enable
|
|
*/
|
|
eProsima_user_DllExport bool& Enable()
|
|
{
|
|
return m_Enable;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member ResetZero
|
|
* @param _ResetZero New value for member ResetZero
|
|
*/
|
|
eProsima_user_DllExport void ResetZero(
|
|
int32_t _ResetZero)
|
|
{
|
|
m_ResetZero = _ResetZero;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member ResetZero
|
|
* @return Value of member ResetZero
|
|
*/
|
|
eProsima_user_DllExport int32_t ResetZero() const
|
|
{
|
|
return m_ResetZero;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member ResetZero
|
|
* @return Reference to member ResetZero
|
|
*/
|
|
eProsima_user_DllExport int32_t& ResetZero()
|
|
{
|
|
return m_ResetZero;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
bool m_Enable{false};
|
|
int32_t m_ResetZero{0};
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure WeightInfoOk defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class WeightInfoOk
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport WeightInfoOk()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~WeightInfoOk()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object WeightInfoOk that will be copied.
|
|
*/
|
|
eProsima_user_DllExport WeightInfoOk(
|
|
const WeightInfoOk& x)
|
|
{
|
|
m_GrossDeviceID = x.m_GrossDeviceID;
|
|
|
|
m_GrossDeviceName = x.m_GrossDeviceName;
|
|
|
|
m_GrossDeviceType = x.m_GrossDeviceType;
|
|
|
|
m_TareDeviceID = x.m_TareDeviceID;
|
|
|
|
m_TareDeviceName = x.m_TareDeviceName;
|
|
|
|
m_TareDeviceType = x.m_TareDeviceType;
|
|
|
|
m_EnterpriseName = x.m_EnterpriseName;
|
|
|
|
m_BillNumber = x.m_BillNumber;
|
|
|
|
m_CarNumber = x.m_CarNumber;
|
|
|
|
m_Supplier = x.m_Supplier;
|
|
|
|
m_GoodsType = x.m_GoodsType;
|
|
|
|
m_GrossWeight = x.m_GrossWeight;
|
|
|
|
m_GrossTime = x.m_GrossTime;
|
|
|
|
m_GrossOperater = x.m_GrossOperater;
|
|
|
|
m_Tare = x.m_Tare;
|
|
|
|
m_TareTime = x.m_TareTime;
|
|
|
|
m_TareOperater = x.m_TareOperater;
|
|
|
|
m_Suttle = x.m_Suttle;
|
|
|
|
m_duduction1 = x.m_duduction1;
|
|
|
|
m_duduction2 = x.m_duduction2;
|
|
|
|
m_duduction3 = x.m_duduction3;
|
|
|
|
m_INCoalYard = x.m_INCoalYard;
|
|
|
|
m_OutCoalYard = x.m_OutCoalYard;
|
|
|
|
m_BatchNumber = x.m_BatchNumber;
|
|
|
|
m_Warning = x.m_Warning;
|
|
|
|
m_Tips = x.m_Tips;
|
|
|
|
m_TicketType = x.m_TicketType;
|
|
|
|
m_IsPrintTicker = x.m_IsPrintTicker;
|
|
|
|
m_OrderNumber = x.m_OrderNumber;
|
|
|
|
m_VehicleAndVesselNumber = x.m_VehicleAndVesselNumber;
|
|
|
|
m_ReceiveCompany = x.m_ReceiveCompany;
|
|
|
|
m_TransportCompany = x.m_TransportCompany;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object WeightInfoOk that will be copied.
|
|
*/
|
|
eProsima_user_DllExport WeightInfoOk(
|
|
WeightInfoOk&& x) noexcept
|
|
{
|
|
m_GrossDeviceID = x.m_GrossDeviceID;
|
|
m_GrossDeviceName = std::move(x.m_GrossDeviceName);
|
|
m_GrossDeviceType = std::move(x.m_GrossDeviceType);
|
|
m_TareDeviceID = x.m_TareDeviceID;
|
|
m_TareDeviceName = std::move(x.m_TareDeviceName);
|
|
m_TareDeviceType = std::move(x.m_TareDeviceType);
|
|
m_EnterpriseName = std::move(x.m_EnterpriseName);
|
|
m_BillNumber = std::move(x.m_BillNumber);
|
|
m_CarNumber = std::move(x.m_CarNumber);
|
|
m_Supplier = std::move(x.m_Supplier);
|
|
m_GoodsType = std::move(x.m_GoodsType);
|
|
m_GrossWeight = x.m_GrossWeight;
|
|
m_GrossTime = std::move(x.m_GrossTime);
|
|
m_GrossOperater = std::move(x.m_GrossOperater);
|
|
m_Tare = x.m_Tare;
|
|
m_TareTime = std::move(x.m_TareTime);
|
|
m_TareOperater = std::move(x.m_TareOperater);
|
|
m_Suttle = x.m_Suttle;
|
|
m_duduction1 = x.m_duduction1;
|
|
m_duduction2 = x.m_duduction2;
|
|
m_duduction3 = x.m_duduction3;
|
|
m_INCoalYard = std::move(x.m_INCoalYard);
|
|
m_OutCoalYard = std::move(x.m_OutCoalYard);
|
|
m_BatchNumber = std::move(x.m_BatchNumber);
|
|
m_Warning = std::move(x.m_Warning);
|
|
m_Tips = std::move(x.m_Tips);
|
|
m_TicketType = std::move(x.m_TicketType);
|
|
m_IsPrintTicker = x.m_IsPrintTicker;
|
|
m_OrderNumber = std::move(x.m_OrderNumber);
|
|
m_VehicleAndVesselNumber = std::move(x.m_VehicleAndVesselNumber);
|
|
m_ReceiveCompany = std::move(x.m_ReceiveCompany);
|
|
m_TransportCompany = std::move(x.m_TransportCompany);
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object WeightInfoOk that will be copied.
|
|
*/
|
|
eProsima_user_DllExport WeightInfoOk& operator =(
|
|
const WeightInfoOk& x)
|
|
{
|
|
|
|
m_GrossDeviceID = x.m_GrossDeviceID;
|
|
|
|
m_GrossDeviceName = x.m_GrossDeviceName;
|
|
|
|
m_GrossDeviceType = x.m_GrossDeviceType;
|
|
|
|
m_TareDeviceID = x.m_TareDeviceID;
|
|
|
|
m_TareDeviceName = x.m_TareDeviceName;
|
|
|
|
m_TareDeviceType = x.m_TareDeviceType;
|
|
|
|
m_EnterpriseName = x.m_EnterpriseName;
|
|
|
|
m_BillNumber = x.m_BillNumber;
|
|
|
|
m_CarNumber = x.m_CarNumber;
|
|
|
|
m_Supplier = x.m_Supplier;
|
|
|
|
m_GoodsType = x.m_GoodsType;
|
|
|
|
m_GrossWeight = x.m_GrossWeight;
|
|
|
|
m_GrossTime = x.m_GrossTime;
|
|
|
|
m_GrossOperater = x.m_GrossOperater;
|
|
|
|
m_Tare = x.m_Tare;
|
|
|
|
m_TareTime = x.m_TareTime;
|
|
|
|
m_TareOperater = x.m_TareOperater;
|
|
|
|
m_Suttle = x.m_Suttle;
|
|
|
|
m_duduction1 = x.m_duduction1;
|
|
|
|
m_duduction2 = x.m_duduction2;
|
|
|
|
m_duduction3 = x.m_duduction3;
|
|
|
|
m_INCoalYard = x.m_INCoalYard;
|
|
|
|
m_OutCoalYard = x.m_OutCoalYard;
|
|
|
|
m_BatchNumber = x.m_BatchNumber;
|
|
|
|
m_Warning = x.m_Warning;
|
|
|
|
m_Tips = x.m_Tips;
|
|
|
|
m_TicketType = x.m_TicketType;
|
|
|
|
m_IsPrintTicker = x.m_IsPrintTicker;
|
|
|
|
m_OrderNumber = x.m_OrderNumber;
|
|
|
|
m_VehicleAndVesselNumber = x.m_VehicleAndVesselNumber;
|
|
|
|
m_ReceiveCompany = x.m_ReceiveCompany;
|
|
|
|
m_TransportCompany = x.m_TransportCompany;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object WeightInfoOk that will be copied.
|
|
*/
|
|
eProsima_user_DllExport WeightInfoOk& operator =(
|
|
WeightInfoOk&& x) noexcept
|
|
{
|
|
|
|
m_GrossDeviceID = x.m_GrossDeviceID;
|
|
m_GrossDeviceName = std::move(x.m_GrossDeviceName);
|
|
m_GrossDeviceType = std::move(x.m_GrossDeviceType);
|
|
m_TareDeviceID = x.m_TareDeviceID;
|
|
m_TareDeviceName = std::move(x.m_TareDeviceName);
|
|
m_TareDeviceType = std::move(x.m_TareDeviceType);
|
|
m_EnterpriseName = std::move(x.m_EnterpriseName);
|
|
m_BillNumber = std::move(x.m_BillNumber);
|
|
m_CarNumber = std::move(x.m_CarNumber);
|
|
m_Supplier = std::move(x.m_Supplier);
|
|
m_GoodsType = std::move(x.m_GoodsType);
|
|
m_GrossWeight = x.m_GrossWeight;
|
|
m_GrossTime = std::move(x.m_GrossTime);
|
|
m_GrossOperater = std::move(x.m_GrossOperater);
|
|
m_Tare = x.m_Tare;
|
|
m_TareTime = std::move(x.m_TareTime);
|
|
m_TareOperater = std::move(x.m_TareOperater);
|
|
m_Suttle = x.m_Suttle;
|
|
m_duduction1 = x.m_duduction1;
|
|
m_duduction2 = x.m_duduction2;
|
|
m_duduction3 = x.m_duduction3;
|
|
m_INCoalYard = std::move(x.m_INCoalYard);
|
|
m_OutCoalYard = std::move(x.m_OutCoalYard);
|
|
m_BatchNumber = std::move(x.m_BatchNumber);
|
|
m_Warning = std::move(x.m_Warning);
|
|
m_Tips = std::move(x.m_Tips);
|
|
m_TicketType = std::move(x.m_TicketType);
|
|
m_IsPrintTicker = x.m_IsPrintTicker;
|
|
m_OrderNumber = std::move(x.m_OrderNumber);
|
|
m_VehicleAndVesselNumber = std::move(x.m_VehicleAndVesselNumber);
|
|
m_ReceiveCompany = std::move(x.m_ReceiveCompany);
|
|
m_TransportCompany = std::move(x.m_TransportCompany);
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x WeightInfoOk object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const WeightInfoOk& x) const
|
|
{
|
|
return (m_GrossDeviceID == x.m_GrossDeviceID &&
|
|
m_GrossDeviceName == x.m_GrossDeviceName &&
|
|
m_GrossDeviceType == x.m_GrossDeviceType &&
|
|
m_TareDeviceID == x.m_TareDeviceID &&
|
|
m_TareDeviceName == x.m_TareDeviceName &&
|
|
m_TareDeviceType == x.m_TareDeviceType &&
|
|
m_EnterpriseName == x.m_EnterpriseName &&
|
|
m_BillNumber == x.m_BillNumber &&
|
|
m_CarNumber == x.m_CarNumber &&
|
|
m_Supplier == x.m_Supplier &&
|
|
m_GoodsType == x.m_GoodsType &&
|
|
m_GrossWeight == x.m_GrossWeight &&
|
|
m_GrossTime == x.m_GrossTime &&
|
|
m_GrossOperater == x.m_GrossOperater &&
|
|
m_Tare == x.m_Tare &&
|
|
m_TareTime == x.m_TareTime &&
|
|
m_TareOperater == x.m_TareOperater &&
|
|
m_Suttle == x.m_Suttle &&
|
|
m_duduction1 == x.m_duduction1 &&
|
|
m_duduction2 == x.m_duduction2 &&
|
|
m_duduction3 == x.m_duduction3 &&
|
|
m_INCoalYard == x.m_INCoalYard &&
|
|
m_OutCoalYard == x.m_OutCoalYard &&
|
|
m_BatchNumber == x.m_BatchNumber &&
|
|
m_Warning == x.m_Warning &&
|
|
m_Tips == x.m_Tips &&
|
|
m_TicketType == x.m_TicketType &&
|
|
m_IsPrintTicker == x.m_IsPrintTicker &&
|
|
m_OrderNumber == x.m_OrderNumber &&
|
|
m_VehicleAndVesselNumber == x.m_VehicleAndVesselNumber &&
|
|
m_ReceiveCompany == x.m_ReceiveCompany &&
|
|
m_TransportCompany == x.m_TransportCompany);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x WeightInfoOk object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const WeightInfoOk& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function sets a value in member GrossDeviceID
|
|
* @param _GrossDeviceID New value for member GrossDeviceID
|
|
*/
|
|
eProsima_user_DllExport void GrossDeviceID(
|
|
int32_t _GrossDeviceID)
|
|
{
|
|
m_GrossDeviceID = _GrossDeviceID;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member GrossDeviceID
|
|
* @return Value of member GrossDeviceID
|
|
*/
|
|
eProsima_user_DllExport int32_t GrossDeviceID() const
|
|
{
|
|
return m_GrossDeviceID;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member GrossDeviceID
|
|
* @return Reference to member GrossDeviceID
|
|
*/
|
|
eProsima_user_DllExport int32_t& GrossDeviceID()
|
|
{
|
|
return m_GrossDeviceID;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member GrossDeviceName
|
|
* @param _GrossDeviceName New value to be copied in member GrossDeviceName
|
|
*/
|
|
eProsima_user_DllExport void GrossDeviceName(
|
|
const std::string& _GrossDeviceName)
|
|
{
|
|
m_GrossDeviceName = _GrossDeviceName;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member GrossDeviceName
|
|
* @param _GrossDeviceName New value to be moved in member GrossDeviceName
|
|
*/
|
|
eProsima_user_DllExport void GrossDeviceName(
|
|
std::string&& _GrossDeviceName)
|
|
{
|
|
m_GrossDeviceName = std::move(_GrossDeviceName);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member GrossDeviceName
|
|
* @return Constant reference to member GrossDeviceName
|
|
*/
|
|
eProsima_user_DllExport const std::string& GrossDeviceName() const
|
|
{
|
|
return m_GrossDeviceName;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member GrossDeviceName
|
|
* @return Reference to member GrossDeviceName
|
|
*/
|
|
eProsima_user_DllExport std::string& GrossDeviceName()
|
|
{
|
|
return m_GrossDeviceName;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member GrossDeviceType
|
|
* @param _GrossDeviceType New value to be copied in member GrossDeviceType
|
|
*/
|
|
eProsima_user_DllExport void GrossDeviceType(
|
|
const std::string& _GrossDeviceType)
|
|
{
|
|
m_GrossDeviceType = _GrossDeviceType;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member GrossDeviceType
|
|
* @param _GrossDeviceType New value to be moved in member GrossDeviceType
|
|
*/
|
|
eProsima_user_DllExport void GrossDeviceType(
|
|
std::string&& _GrossDeviceType)
|
|
{
|
|
m_GrossDeviceType = std::move(_GrossDeviceType);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member GrossDeviceType
|
|
* @return Constant reference to member GrossDeviceType
|
|
*/
|
|
eProsima_user_DllExport const std::string& GrossDeviceType() const
|
|
{
|
|
return m_GrossDeviceType;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member GrossDeviceType
|
|
* @return Reference to member GrossDeviceType
|
|
*/
|
|
eProsima_user_DllExport std::string& GrossDeviceType()
|
|
{
|
|
return m_GrossDeviceType;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member TareDeviceID
|
|
* @param _TareDeviceID New value for member TareDeviceID
|
|
*/
|
|
eProsima_user_DllExport void TareDeviceID(
|
|
int32_t _TareDeviceID)
|
|
{
|
|
m_TareDeviceID = _TareDeviceID;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member TareDeviceID
|
|
* @return Value of member TareDeviceID
|
|
*/
|
|
eProsima_user_DllExport int32_t TareDeviceID() const
|
|
{
|
|
return m_TareDeviceID;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member TareDeviceID
|
|
* @return Reference to member TareDeviceID
|
|
*/
|
|
eProsima_user_DllExport int32_t& TareDeviceID()
|
|
{
|
|
return m_TareDeviceID;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member TareDeviceName
|
|
* @param _TareDeviceName New value to be copied in member TareDeviceName
|
|
*/
|
|
eProsima_user_DllExport void TareDeviceName(
|
|
const std::string& _TareDeviceName)
|
|
{
|
|
m_TareDeviceName = _TareDeviceName;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member TareDeviceName
|
|
* @param _TareDeviceName New value to be moved in member TareDeviceName
|
|
*/
|
|
eProsima_user_DllExport void TareDeviceName(
|
|
std::string&& _TareDeviceName)
|
|
{
|
|
m_TareDeviceName = std::move(_TareDeviceName);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member TareDeviceName
|
|
* @return Constant reference to member TareDeviceName
|
|
*/
|
|
eProsima_user_DllExport const std::string& TareDeviceName() const
|
|
{
|
|
return m_TareDeviceName;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member TareDeviceName
|
|
* @return Reference to member TareDeviceName
|
|
*/
|
|
eProsima_user_DllExport std::string& TareDeviceName()
|
|
{
|
|
return m_TareDeviceName;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member TareDeviceType
|
|
* @param _TareDeviceType New value to be copied in member TareDeviceType
|
|
*/
|
|
eProsima_user_DllExport void TareDeviceType(
|
|
const std::string& _TareDeviceType)
|
|
{
|
|
m_TareDeviceType = _TareDeviceType;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member TareDeviceType
|
|
* @param _TareDeviceType New value to be moved in member TareDeviceType
|
|
*/
|
|
eProsima_user_DllExport void TareDeviceType(
|
|
std::string&& _TareDeviceType)
|
|
{
|
|
m_TareDeviceType = std::move(_TareDeviceType);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member TareDeviceType
|
|
* @return Constant reference to member TareDeviceType
|
|
*/
|
|
eProsima_user_DllExport const std::string& TareDeviceType() const
|
|
{
|
|
return m_TareDeviceType;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member TareDeviceType
|
|
* @return Reference to member TareDeviceType
|
|
*/
|
|
eProsima_user_DllExport std::string& TareDeviceType()
|
|
{
|
|
return m_TareDeviceType;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member EnterpriseName
|
|
* @param _EnterpriseName New value to be copied in member EnterpriseName
|
|
*/
|
|
eProsima_user_DllExport void EnterpriseName(
|
|
const std::string& _EnterpriseName)
|
|
{
|
|
m_EnterpriseName = _EnterpriseName;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member EnterpriseName
|
|
* @param _EnterpriseName New value to be moved in member EnterpriseName
|
|
*/
|
|
eProsima_user_DllExport void EnterpriseName(
|
|
std::string&& _EnterpriseName)
|
|
{
|
|
m_EnterpriseName = std::move(_EnterpriseName);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member EnterpriseName
|
|
* @return Constant reference to member EnterpriseName
|
|
*/
|
|
eProsima_user_DllExport const std::string& EnterpriseName() const
|
|
{
|
|
return m_EnterpriseName;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member EnterpriseName
|
|
* @return Reference to member EnterpriseName
|
|
*/
|
|
eProsima_user_DllExport std::string& EnterpriseName()
|
|
{
|
|
return m_EnterpriseName;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member BillNumber
|
|
* @param _BillNumber New value to be copied in member BillNumber
|
|
*/
|
|
eProsima_user_DllExport void BillNumber(
|
|
const std::string& _BillNumber)
|
|
{
|
|
m_BillNumber = _BillNumber;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member BillNumber
|
|
* @param _BillNumber New value to be moved in member BillNumber
|
|
*/
|
|
eProsima_user_DllExport void BillNumber(
|
|
std::string&& _BillNumber)
|
|
{
|
|
m_BillNumber = std::move(_BillNumber);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member BillNumber
|
|
* @return Constant reference to member BillNumber
|
|
*/
|
|
eProsima_user_DllExport const std::string& BillNumber() const
|
|
{
|
|
return m_BillNumber;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member BillNumber
|
|
* @return Reference to member BillNumber
|
|
*/
|
|
eProsima_user_DllExport std::string& BillNumber()
|
|
{
|
|
return m_BillNumber;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member CarNumber
|
|
* @param _CarNumber New value to be copied in member CarNumber
|
|
*/
|
|
eProsima_user_DllExport void CarNumber(
|
|
const std::string& _CarNumber)
|
|
{
|
|
m_CarNumber = _CarNumber;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member CarNumber
|
|
* @param _CarNumber New value to be moved in member CarNumber
|
|
*/
|
|
eProsima_user_DllExport void CarNumber(
|
|
std::string&& _CarNumber)
|
|
{
|
|
m_CarNumber = std::move(_CarNumber);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member CarNumber
|
|
* @return Constant reference to member CarNumber
|
|
*/
|
|
eProsima_user_DllExport const std::string& CarNumber() const
|
|
{
|
|
return m_CarNumber;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member CarNumber
|
|
* @return Reference to member CarNumber
|
|
*/
|
|
eProsima_user_DllExport std::string& CarNumber()
|
|
{
|
|
return m_CarNumber;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member Supplier
|
|
* @param _Supplier New value to be copied in member Supplier
|
|
*/
|
|
eProsima_user_DllExport void Supplier(
|
|
const std::string& _Supplier)
|
|
{
|
|
m_Supplier = _Supplier;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member Supplier
|
|
* @param _Supplier New value to be moved in member Supplier
|
|
*/
|
|
eProsima_user_DllExport void Supplier(
|
|
std::string&& _Supplier)
|
|
{
|
|
m_Supplier = std::move(_Supplier);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member Supplier
|
|
* @return Constant reference to member Supplier
|
|
*/
|
|
eProsima_user_DllExport const std::string& Supplier() const
|
|
{
|
|
return m_Supplier;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member Supplier
|
|
* @return Reference to member Supplier
|
|
*/
|
|
eProsima_user_DllExport std::string& Supplier()
|
|
{
|
|
return m_Supplier;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member GoodsType
|
|
* @param _GoodsType New value to be copied in member GoodsType
|
|
*/
|
|
eProsima_user_DllExport void GoodsType(
|
|
const std::string& _GoodsType)
|
|
{
|
|
m_GoodsType = _GoodsType;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member GoodsType
|
|
* @param _GoodsType New value to be moved in member GoodsType
|
|
*/
|
|
eProsima_user_DllExport void GoodsType(
|
|
std::string&& _GoodsType)
|
|
{
|
|
m_GoodsType = std::move(_GoodsType);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member GoodsType
|
|
* @return Constant reference to member GoodsType
|
|
*/
|
|
eProsima_user_DllExport const std::string& GoodsType() const
|
|
{
|
|
return m_GoodsType;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member GoodsType
|
|
* @return Reference to member GoodsType
|
|
*/
|
|
eProsima_user_DllExport std::string& GoodsType()
|
|
{
|
|
return m_GoodsType;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member GrossWeight
|
|
* @param _GrossWeight New value for member GrossWeight
|
|
*/
|
|
eProsima_user_DllExport void GrossWeight(
|
|
float _GrossWeight)
|
|
{
|
|
m_GrossWeight = _GrossWeight;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member GrossWeight
|
|
* @return Value of member GrossWeight
|
|
*/
|
|
eProsima_user_DllExport float GrossWeight() const
|
|
{
|
|
return m_GrossWeight;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member GrossWeight
|
|
* @return Reference to member GrossWeight
|
|
*/
|
|
eProsima_user_DllExport float& GrossWeight()
|
|
{
|
|
return m_GrossWeight;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member GrossTime
|
|
* @param _GrossTime New value to be copied in member GrossTime
|
|
*/
|
|
eProsima_user_DllExport void GrossTime(
|
|
const std::string& _GrossTime)
|
|
{
|
|
m_GrossTime = _GrossTime;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member GrossTime
|
|
* @param _GrossTime New value to be moved in member GrossTime
|
|
*/
|
|
eProsima_user_DllExport void GrossTime(
|
|
std::string&& _GrossTime)
|
|
{
|
|
m_GrossTime = std::move(_GrossTime);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member GrossTime
|
|
* @return Constant reference to member GrossTime
|
|
*/
|
|
eProsima_user_DllExport const std::string& GrossTime() const
|
|
{
|
|
return m_GrossTime;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member GrossTime
|
|
* @return Reference to member GrossTime
|
|
*/
|
|
eProsima_user_DllExport std::string& GrossTime()
|
|
{
|
|
return m_GrossTime;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member GrossOperater
|
|
* @param _GrossOperater New value to be copied in member GrossOperater
|
|
*/
|
|
eProsima_user_DllExport void GrossOperater(
|
|
const std::string& _GrossOperater)
|
|
{
|
|
m_GrossOperater = _GrossOperater;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member GrossOperater
|
|
* @param _GrossOperater New value to be moved in member GrossOperater
|
|
*/
|
|
eProsima_user_DllExport void GrossOperater(
|
|
std::string&& _GrossOperater)
|
|
{
|
|
m_GrossOperater = std::move(_GrossOperater);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member GrossOperater
|
|
* @return Constant reference to member GrossOperater
|
|
*/
|
|
eProsima_user_DllExport const std::string& GrossOperater() const
|
|
{
|
|
return m_GrossOperater;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member GrossOperater
|
|
* @return Reference to member GrossOperater
|
|
*/
|
|
eProsima_user_DllExport std::string& GrossOperater()
|
|
{
|
|
return m_GrossOperater;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member Tare
|
|
* @param _Tare New value for member Tare
|
|
*/
|
|
eProsima_user_DllExport void Tare(
|
|
float _Tare)
|
|
{
|
|
m_Tare = _Tare;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member Tare
|
|
* @return Value of member Tare
|
|
*/
|
|
eProsima_user_DllExport float Tare() const
|
|
{
|
|
return m_Tare;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member Tare
|
|
* @return Reference to member Tare
|
|
*/
|
|
eProsima_user_DllExport float& Tare()
|
|
{
|
|
return m_Tare;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member TareTime
|
|
* @param _TareTime New value to be copied in member TareTime
|
|
*/
|
|
eProsima_user_DllExport void TareTime(
|
|
const std::string& _TareTime)
|
|
{
|
|
m_TareTime = _TareTime;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member TareTime
|
|
* @param _TareTime New value to be moved in member TareTime
|
|
*/
|
|
eProsima_user_DllExport void TareTime(
|
|
std::string&& _TareTime)
|
|
{
|
|
m_TareTime = std::move(_TareTime);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member TareTime
|
|
* @return Constant reference to member TareTime
|
|
*/
|
|
eProsima_user_DllExport const std::string& TareTime() const
|
|
{
|
|
return m_TareTime;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member TareTime
|
|
* @return Reference to member TareTime
|
|
*/
|
|
eProsima_user_DllExport std::string& TareTime()
|
|
{
|
|
return m_TareTime;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member TareOperater
|
|
* @param _TareOperater New value to be copied in member TareOperater
|
|
*/
|
|
eProsima_user_DllExport void TareOperater(
|
|
const std::string& _TareOperater)
|
|
{
|
|
m_TareOperater = _TareOperater;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member TareOperater
|
|
* @param _TareOperater New value to be moved in member TareOperater
|
|
*/
|
|
eProsima_user_DllExport void TareOperater(
|
|
std::string&& _TareOperater)
|
|
{
|
|
m_TareOperater = std::move(_TareOperater);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member TareOperater
|
|
* @return Constant reference to member TareOperater
|
|
*/
|
|
eProsima_user_DllExport const std::string& TareOperater() const
|
|
{
|
|
return m_TareOperater;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member TareOperater
|
|
* @return Reference to member TareOperater
|
|
*/
|
|
eProsima_user_DllExport std::string& TareOperater()
|
|
{
|
|
return m_TareOperater;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member Suttle
|
|
* @param _Suttle New value for member Suttle
|
|
*/
|
|
eProsima_user_DllExport void Suttle(
|
|
float _Suttle)
|
|
{
|
|
m_Suttle = _Suttle;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member Suttle
|
|
* @return Value of member Suttle
|
|
*/
|
|
eProsima_user_DllExport float Suttle() const
|
|
{
|
|
return m_Suttle;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member Suttle
|
|
* @return Reference to member Suttle
|
|
*/
|
|
eProsima_user_DllExport float& Suttle()
|
|
{
|
|
return m_Suttle;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member duduction1
|
|
* @param _duduction1 New value for member duduction1
|
|
*/
|
|
eProsima_user_DllExport void duduction1(
|
|
float _duduction1)
|
|
{
|
|
m_duduction1 = _duduction1;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member duduction1
|
|
* @return Value of member duduction1
|
|
*/
|
|
eProsima_user_DllExport float duduction1() const
|
|
{
|
|
return m_duduction1;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member duduction1
|
|
* @return Reference to member duduction1
|
|
*/
|
|
eProsima_user_DllExport float& duduction1()
|
|
{
|
|
return m_duduction1;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member duduction2
|
|
* @param _duduction2 New value for member duduction2
|
|
*/
|
|
eProsima_user_DllExport void duduction2(
|
|
float _duduction2)
|
|
{
|
|
m_duduction2 = _duduction2;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member duduction2
|
|
* @return Value of member duduction2
|
|
*/
|
|
eProsima_user_DllExport float duduction2() const
|
|
{
|
|
return m_duduction2;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member duduction2
|
|
* @return Reference to member duduction2
|
|
*/
|
|
eProsima_user_DllExport float& duduction2()
|
|
{
|
|
return m_duduction2;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member duduction3
|
|
* @param _duduction3 New value for member duduction3
|
|
*/
|
|
eProsima_user_DllExport void duduction3(
|
|
float _duduction3)
|
|
{
|
|
m_duduction3 = _duduction3;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member duduction3
|
|
* @return Value of member duduction3
|
|
*/
|
|
eProsima_user_DllExport float duduction3() const
|
|
{
|
|
return m_duduction3;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member duduction3
|
|
* @return Reference to member duduction3
|
|
*/
|
|
eProsima_user_DllExport float& duduction3()
|
|
{
|
|
return m_duduction3;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member INCoalYard
|
|
* @param _INCoalYard New value to be copied in member INCoalYard
|
|
*/
|
|
eProsima_user_DllExport void INCoalYard(
|
|
const std::string& _INCoalYard)
|
|
{
|
|
m_INCoalYard = _INCoalYard;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member INCoalYard
|
|
* @param _INCoalYard New value to be moved in member INCoalYard
|
|
*/
|
|
eProsima_user_DllExport void INCoalYard(
|
|
std::string&& _INCoalYard)
|
|
{
|
|
m_INCoalYard = std::move(_INCoalYard);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member INCoalYard
|
|
* @return Constant reference to member INCoalYard
|
|
*/
|
|
eProsima_user_DllExport const std::string& INCoalYard() const
|
|
{
|
|
return m_INCoalYard;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member INCoalYard
|
|
* @return Reference to member INCoalYard
|
|
*/
|
|
eProsima_user_DllExport std::string& INCoalYard()
|
|
{
|
|
return m_INCoalYard;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member OutCoalYard
|
|
* @param _OutCoalYard New value to be copied in member OutCoalYard
|
|
*/
|
|
eProsima_user_DllExport void OutCoalYard(
|
|
const std::string& _OutCoalYard)
|
|
{
|
|
m_OutCoalYard = _OutCoalYard;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member OutCoalYard
|
|
* @param _OutCoalYard New value to be moved in member OutCoalYard
|
|
*/
|
|
eProsima_user_DllExport void OutCoalYard(
|
|
std::string&& _OutCoalYard)
|
|
{
|
|
m_OutCoalYard = std::move(_OutCoalYard);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member OutCoalYard
|
|
* @return Constant reference to member OutCoalYard
|
|
*/
|
|
eProsima_user_DllExport const std::string& OutCoalYard() const
|
|
{
|
|
return m_OutCoalYard;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member OutCoalYard
|
|
* @return Reference to member OutCoalYard
|
|
*/
|
|
eProsima_user_DllExport std::string& OutCoalYard()
|
|
{
|
|
return m_OutCoalYard;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member BatchNumber
|
|
* @param _BatchNumber New value to be copied in member BatchNumber
|
|
*/
|
|
eProsima_user_DllExport void BatchNumber(
|
|
const std::string& _BatchNumber)
|
|
{
|
|
m_BatchNumber = _BatchNumber;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member BatchNumber
|
|
* @param _BatchNumber New value to be moved in member BatchNumber
|
|
*/
|
|
eProsima_user_DllExport void BatchNumber(
|
|
std::string&& _BatchNumber)
|
|
{
|
|
m_BatchNumber = std::move(_BatchNumber);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member BatchNumber
|
|
* @return Constant reference to member BatchNumber
|
|
*/
|
|
eProsima_user_DllExport const std::string& BatchNumber() const
|
|
{
|
|
return m_BatchNumber;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member BatchNumber
|
|
* @return Reference to member BatchNumber
|
|
*/
|
|
eProsima_user_DllExport std::string& BatchNumber()
|
|
{
|
|
return m_BatchNumber;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member Warning
|
|
* @param _Warning New value to be copied in member Warning
|
|
*/
|
|
eProsima_user_DllExport void Warning(
|
|
const std::string& _Warning)
|
|
{
|
|
m_Warning = _Warning;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member Warning
|
|
* @param _Warning New value to be moved in member Warning
|
|
*/
|
|
eProsima_user_DllExport void Warning(
|
|
std::string&& _Warning)
|
|
{
|
|
m_Warning = std::move(_Warning);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member Warning
|
|
* @return Constant reference to member Warning
|
|
*/
|
|
eProsima_user_DllExport const std::string& Warning() const
|
|
{
|
|
return m_Warning;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member Warning
|
|
* @return Reference to member Warning
|
|
*/
|
|
eProsima_user_DllExport std::string& Warning()
|
|
{
|
|
return m_Warning;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member Tips
|
|
* @param _Tips New value to be copied in member Tips
|
|
*/
|
|
eProsima_user_DllExport void Tips(
|
|
const std::string& _Tips)
|
|
{
|
|
m_Tips = _Tips;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member Tips
|
|
* @param _Tips New value to be moved in member Tips
|
|
*/
|
|
eProsima_user_DllExport void Tips(
|
|
std::string&& _Tips)
|
|
{
|
|
m_Tips = std::move(_Tips);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member Tips
|
|
* @return Constant reference to member Tips
|
|
*/
|
|
eProsima_user_DllExport const std::string& Tips() const
|
|
{
|
|
return m_Tips;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member Tips
|
|
* @return Reference to member Tips
|
|
*/
|
|
eProsima_user_DllExport std::string& Tips()
|
|
{
|
|
return m_Tips;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member TicketType
|
|
* @param _TicketType New value to be copied in member TicketType
|
|
*/
|
|
eProsima_user_DllExport void TicketType(
|
|
const std::string& _TicketType)
|
|
{
|
|
m_TicketType = _TicketType;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member TicketType
|
|
* @param _TicketType New value to be moved in member TicketType
|
|
*/
|
|
eProsima_user_DllExport void TicketType(
|
|
std::string&& _TicketType)
|
|
{
|
|
m_TicketType = std::move(_TicketType);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member TicketType
|
|
* @return Constant reference to member TicketType
|
|
*/
|
|
eProsima_user_DllExport const std::string& TicketType() const
|
|
{
|
|
return m_TicketType;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member TicketType
|
|
* @return Reference to member TicketType
|
|
*/
|
|
eProsima_user_DllExport std::string& TicketType()
|
|
{
|
|
return m_TicketType;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member IsPrintTicker
|
|
* @param _IsPrintTicker New value for member IsPrintTicker
|
|
*/
|
|
eProsima_user_DllExport void IsPrintTicker(
|
|
bool _IsPrintTicker)
|
|
{
|
|
m_IsPrintTicker = _IsPrintTicker;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member IsPrintTicker
|
|
* @return Value of member IsPrintTicker
|
|
*/
|
|
eProsima_user_DllExport bool IsPrintTicker() const
|
|
{
|
|
return m_IsPrintTicker;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member IsPrintTicker
|
|
* @return Reference to member IsPrintTicker
|
|
*/
|
|
eProsima_user_DllExport bool& IsPrintTicker()
|
|
{
|
|
return m_IsPrintTicker;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member OrderNumber
|
|
* @param _OrderNumber New value to be copied in member OrderNumber
|
|
*/
|
|
eProsima_user_DllExport void OrderNumber(
|
|
const std::string& _OrderNumber)
|
|
{
|
|
m_OrderNumber = _OrderNumber;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member OrderNumber
|
|
* @param _OrderNumber New value to be moved in member OrderNumber
|
|
*/
|
|
eProsima_user_DllExport void OrderNumber(
|
|
std::string&& _OrderNumber)
|
|
{
|
|
m_OrderNumber = std::move(_OrderNumber);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member OrderNumber
|
|
* @return Constant reference to member OrderNumber
|
|
*/
|
|
eProsima_user_DllExport const std::string& OrderNumber() const
|
|
{
|
|
return m_OrderNumber;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member OrderNumber
|
|
* @return Reference to member OrderNumber
|
|
*/
|
|
eProsima_user_DllExport std::string& OrderNumber()
|
|
{
|
|
return m_OrderNumber;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member VehicleAndVesselNumber
|
|
* @param _VehicleAndVesselNumber New value to be copied in member VehicleAndVesselNumber
|
|
*/
|
|
eProsima_user_DllExport void VehicleAndVesselNumber(
|
|
const std::string& _VehicleAndVesselNumber)
|
|
{
|
|
m_VehicleAndVesselNumber = _VehicleAndVesselNumber;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member VehicleAndVesselNumber
|
|
* @param _VehicleAndVesselNumber New value to be moved in member VehicleAndVesselNumber
|
|
*/
|
|
eProsima_user_DllExport void VehicleAndVesselNumber(
|
|
std::string&& _VehicleAndVesselNumber)
|
|
{
|
|
m_VehicleAndVesselNumber = std::move(_VehicleAndVesselNumber);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member VehicleAndVesselNumber
|
|
* @return Constant reference to member VehicleAndVesselNumber
|
|
*/
|
|
eProsima_user_DllExport const std::string& VehicleAndVesselNumber() const
|
|
{
|
|
return m_VehicleAndVesselNumber;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member VehicleAndVesselNumber
|
|
* @return Reference to member VehicleAndVesselNumber
|
|
*/
|
|
eProsima_user_DllExport std::string& VehicleAndVesselNumber()
|
|
{
|
|
return m_VehicleAndVesselNumber;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member ReceiveCompany
|
|
* @param _ReceiveCompany New value to be copied in member ReceiveCompany
|
|
*/
|
|
eProsima_user_DllExport void ReceiveCompany(
|
|
const std::string& _ReceiveCompany)
|
|
{
|
|
m_ReceiveCompany = _ReceiveCompany;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member ReceiveCompany
|
|
* @param _ReceiveCompany New value to be moved in member ReceiveCompany
|
|
*/
|
|
eProsima_user_DllExport void ReceiveCompany(
|
|
std::string&& _ReceiveCompany)
|
|
{
|
|
m_ReceiveCompany = std::move(_ReceiveCompany);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member ReceiveCompany
|
|
* @return Constant reference to member ReceiveCompany
|
|
*/
|
|
eProsima_user_DllExport const std::string& ReceiveCompany() const
|
|
{
|
|
return m_ReceiveCompany;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member ReceiveCompany
|
|
* @return Reference to member ReceiveCompany
|
|
*/
|
|
eProsima_user_DllExport std::string& ReceiveCompany()
|
|
{
|
|
return m_ReceiveCompany;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member TransportCompany
|
|
* @param _TransportCompany New value to be copied in member TransportCompany
|
|
*/
|
|
eProsima_user_DllExport void TransportCompany(
|
|
const std::string& _TransportCompany)
|
|
{
|
|
m_TransportCompany = _TransportCompany;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member TransportCompany
|
|
* @param _TransportCompany New value to be moved in member TransportCompany
|
|
*/
|
|
eProsima_user_DllExport void TransportCompany(
|
|
std::string&& _TransportCompany)
|
|
{
|
|
m_TransportCompany = std::move(_TransportCompany);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member TransportCompany
|
|
* @return Constant reference to member TransportCompany
|
|
*/
|
|
eProsima_user_DllExport const std::string& TransportCompany() const
|
|
{
|
|
return m_TransportCompany;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member TransportCompany
|
|
* @return Reference to member TransportCompany
|
|
*/
|
|
eProsima_user_DllExport std::string& TransportCompany()
|
|
{
|
|
return m_TransportCompany;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
int32_t m_GrossDeviceID{0};
|
|
std::string m_GrossDeviceName;
|
|
std::string m_GrossDeviceType;
|
|
int32_t m_TareDeviceID{0};
|
|
std::string m_TareDeviceName;
|
|
std::string m_TareDeviceType;
|
|
std::string m_EnterpriseName;
|
|
std::string m_BillNumber;
|
|
std::string m_CarNumber;
|
|
std::string m_Supplier;
|
|
std::string m_GoodsType;
|
|
float m_GrossWeight{0.0};
|
|
std::string m_GrossTime;
|
|
std::string m_GrossOperater;
|
|
float m_Tare{0.0};
|
|
std::string m_TareTime;
|
|
std::string m_TareOperater;
|
|
float m_Suttle{0.0};
|
|
float m_duduction1{0.0};
|
|
float m_duduction2{0.0};
|
|
float m_duduction3{0.0};
|
|
std::string m_INCoalYard;
|
|
std::string m_OutCoalYard;
|
|
std::string m_BatchNumber;
|
|
std::string m_Warning;
|
|
std::string m_Tips;
|
|
std::string m_TicketType;
|
|
bool m_IsPrintTicker{false};
|
|
std::string m_OrderNumber;
|
|
std::string m_VehicleAndVesselNumber;
|
|
std::string m_ReceiveCompany;
|
|
std::string m_TransportCompany;
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure WeightInfoError defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class WeightInfoError
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport WeightInfoError()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~WeightInfoError()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object WeightInfoError that will be copied.
|
|
*/
|
|
eProsima_user_DllExport WeightInfoError(
|
|
const WeightInfoError& x)
|
|
{
|
|
m_CarNumber = x.m_CarNumber;
|
|
|
|
m_Warning = x.m_Warning;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object WeightInfoError that will be copied.
|
|
*/
|
|
eProsima_user_DllExport WeightInfoError(
|
|
WeightInfoError&& x) noexcept
|
|
{
|
|
m_CarNumber = std::move(x.m_CarNumber);
|
|
m_Warning = std::move(x.m_Warning);
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object WeightInfoError that will be copied.
|
|
*/
|
|
eProsima_user_DllExport WeightInfoError& operator =(
|
|
const WeightInfoError& x)
|
|
{
|
|
|
|
m_CarNumber = x.m_CarNumber;
|
|
|
|
m_Warning = x.m_Warning;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object WeightInfoError that will be copied.
|
|
*/
|
|
eProsima_user_DllExport WeightInfoError& operator =(
|
|
WeightInfoError&& x) noexcept
|
|
{
|
|
|
|
m_CarNumber = std::move(x.m_CarNumber);
|
|
m_Warning = std::move(x.m_Warning);
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x WeightInfoError object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const WeightInfoError& x) const
|
|
{
|
|
return (m_CarNumber == x.m_CarNumber &&
|
|
m_Warning == x.m_Warning);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x WeightInfoError object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const WeightInfoError& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function copies the value in member CarNumber
|
|
* @param _CarNumber New value to be copied in member CarNumber
|
|
*/
|
|
eProsima_user_DllExport void CarNumber(
|
|
const std::string& _CarNumber)
|
|
{
|
|
m_CarNumber = _CarNumber;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member CarNumber
|
|
* @param _CarNumber New value to be moved in member CarNumber
|
|
*/
|
|
eProsima_user_DllExport void CarNumber(
|
|
std::string&& _CarNumber)
|
|
{
|
|
m_CarNumber = std::move(_CarNumber);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member CarNumber
|
|
* @return Constant reference to member CarNumber
|
|
*/
|
|
eProsima_user_DllExport const std::string& CarNumber() const
|
|
{
|
|
return m_CarNumber;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member CarNumber
|
|
* @return Reference to member CarNumber
|
|
*/
|
|
eProsima_user_DllExport std::string& CarNumber()
|
|
{
|
|
return m_CarNumber;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member Warning
|
|
* @param _Warning New value to be copied in member Warning
|
|
*/
|
|
eProsima_user_DllExport void Warning(
|
|
const std::string& _Warning)
|
|
{
|
|
m_Warning = _Warning;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member Warning
|
|
* @param _Warning New value to be moved in member Warning
|
|
*/
|
|
eProsima_user_DllExport void Warning(
|
|
std::string&& _Warning)
|
|
{
|
|
m_Warning = std::move(_Warning);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member Warning
|
|
* @return Constant reference to member Warning
|
|
*/
|
|
eProsima_user_DllExport const std::string& Warning() const
|
|
{
|
|
return m_Warning;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member Warning
|
|
* @return Reference to member Warning
|
|
*/
|
|
eProsima_user_DllExport std::string& Warning()
|
|
{
|
|
return m_Warning;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::string m_CarNumber;
|
|
std::string m_Warning;
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure BarCommandUpdate defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class BarCommandUpdate
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport BarCommandUpdate()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~BarCommandUpdate()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object BarCommandUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport BarCommandUpdate(
|
|
const BarCommandUpdate& x)
|
|
{
|
|
m_FrontBarSignalUp = x.m_FrontBarSignalUp;
|
|
|
|
m_FrontBarSignalDown = x.m_FrontBarSignalDown;
|
|
|
|
m_FrontBarEnable = x.m_FrontBarEnable;
|
|
|
|
m_BackBarSignalUp = x.m_BackBarSignalUp;
|
|
|
|
m_BackBarSignalDown = x.m_BackBarSignalDown;
|
|
|
|
m_BackBarEnable = x.m_BackBarEnable;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object BarCommandUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport BarCommandUpdate(
|
|
BarCommandUpdate&& x) noexcept
|
|
{
|
|
m_FrontBarSignalUp = x.m_FrontBarSignalUp;
|
|
m_FrontBarSignalDown = x.m_FrontBarSignalDown;
|
|
m_FrontBarEnable = x.m_FrontBarEnable;
|
|
m_BackBarSignalUp = x.m_BackBarSignalUp;
|
|
m_BackBarSignalDown = x.m_BackBarSignalDown;
|
|
m_BackBarEnable = x.m_BackBarEnable;
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object BarCommandUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport BarCommandUpdate& operator =(
|
|
const BarCommandUpdate& x)
|
|
{
|
|
|
|
m_FrontBarSignalUp = x.m_FrontBarSignalUp;
|
|
|
|
m_FrontBarSignalDown = x.m_FrontBarSignalDown;
|
|
|
|
m_FrontBarEnable = x.m_FrontBarEnable;
|
|
|
|
m_BackBarSignalUp = x.m_BackBarSignalUp;
|
|
|
|
m_BackBarSignalDown = x.m_BackBarSignalDown;
|
|
|
|
m_BackBarEnable = x.m_BackBarEnable;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object BarCommandUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport BarCommandUpdate& operator =(
|
|
BarCommandUpdate&& x) noexcept
|
|
{
|
|
|
|
m_FrontBarSignalUp = x.m_FrontBarSignalUp;
|
|
m_FrontBarSignalDown = x.m_FrontBarSignalDown;
|
|
m_FrontBarEnable = x.m_FrontBarEnable;
|
|
m_BackBarSignalUp = x.m_BackBarSignalUp;
|
|
m_BackBarSignalDown = x.m_BackBarSignalDown;
|
|
m_BackBarEnable = x.m_BackBarEnable;
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x BarCommandUpdate object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const BarCommandUpdate& x) const
|
|
{
|
|
return (m_FrontBarSignalUp == x.m_FrontBarSignalUp &&
|
|
m_FrontBarSignalDown == x.m_FrontBarSignalDown &&
|
|
m_FrontBarEnable == x.m_FrontBarEnable &&
|
|
m_BackBarSignalUp == x.m_BackBarSignalUp &&
|
|
m_BackBarSignalDown == x.m_BackBarSignalDown &&
|
|
m_BackBarEnable == x.m_BackBarEnable);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x BarCommandUpdate object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const BarCommandUpdate& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function sets a value in member FrontBarSignalUp
|
|
* @param _FrontBarSignalUp New value for member FrontBarSignalUp
|
|
*/
|
|
eProsima_user_DllExport void FrontBarSignalUp(
|
|
int32_t _FrontBarSignalUp)
|
|
{
|
|
m_FrontBarSignalUp = _FrontBarSignalUp;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member FrontBarSignalUp
|
|
* @return Value of member FrontBarSignalUp
|
|
*/
|
|
eProsima_user_DllExport int32_t FrontBarSignalUp() const
|
|
{
|
|
return m_FrontBarSignalUp;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member FrontBarSignalUp
|
|
* @return Reference to member FrontBarSignalUp
|
|
*/
|
|
eProsima_user_DllExport int32_t& FrontBarSignalUp()
|
|
{
|
|
return m_FrontBarSignalUp;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member FrontBarSignalDown
|
|
* @param _FrontBarSignalDown New value for member FrontBarSignalDown
|
|
*/
|
|
eProsima_user_DllExport void FrontBarSignalDown(
|
|
int32_t _FrontBarSignalDown)
|
|
{
|
|
m_FrontBarSignalDown = _FrontBarSignalDown;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member FrontBarSignalDown
|
|
* @return Value of member FrontBarSignalDown
|
|
*/
|
|
eProsima_user_DllExport int32_t FrontBarSignalDown() const
|
|
{
|
|
return m_FrontBarSignalDown;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member FrontBarSignalDown
|
|
* @return Reference to member FrontBarSignalDown
|
|
*/
|
|
eProsima_user_DllExport int32_t& FrontBarSignalDown()
|
|
{
|
|
return m_FrontBarSignalDown;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member FrontBarEnable
|
|
* @param _FrontBarEnable New value for member FrontBarEnable
|
|
*/
|
|
eProsima_user_DllExport void FrontBarEnable(
|
|
bool _FrontBarEnable)
|
|
{
|
|
m_FrontBarEnable = _FrontBarEnable;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member FrontBarEnable
|
|
* @return Value of member FrontBarEnable
|
|
*/
|
|
eProsima_user_DllExport bool FrontBarEnable() const
|
|
{
|
|
return m_FrontBarEnable;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member FrontBarEnable
|
|
* @return Reference to member FrontBarEnable
|
|
*/
|
|
eProsima_user_DllExport bool& FrontBarEnable()
|
|
{
|
|
return m_FrontBarEnable;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member BackBarSignalUp
|
|
* @param _BackBarSignalUp New value for member BackBarSignalUp
|
|
*/
|
|
eProsima_user_DllExport void BackBarSignalUp(
|
|
int32_t _BackBarSignalUp)
|
|
{
|
|
m_BackBarSignalUp = _BackBarSignalUp;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member BackBarSignalUp
|
|
* @return Value of member BackBarSignalUp
|
|
*/
|
|
eProsima_user_DllExport int32_t BackBarSignalUp() const
|
|
{
|
|
return m_BackBarSignalUp;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member BackBarSignalUp
|
|
* @return Reference to member BackBarSignalUp
|
|
*/
|
|
eProsima_user_DllExport int32_t& BackBarSignalUp()
|
|
{
|
|
return m_BackBarSignalUp;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member BackBarSignalDown
|
|
* @param _BackBarSignalDown New value for member BackBarSignalDown
|
|
*/
|
|
eProsima_user_DllExport void BackBarSignalDown(
|
|
int32_t _BackBarSignalDown)
|
|
{
|
|
m_BackBarSignalDown = _BackBarSignalDown;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member BackBarSignalDown
|
|
* @return Value of member BackBarSignalDown
|
|
*/
|
|
eProsima_user_DllExport int32_t BackBarSignalDown() const
|
|
{
|
|
return m_BackBarSignalDown;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member BackBarSignalDown
|
|
* @return Reference to member BackBarSignalDown
|
|
*/
|
|
eProsima_user_DllExport int32_t& BackBarSignalDown()
|
|
{
|
|
return m_BackBarSignalDown;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member BackBarEnable
|
|
* @param _BackBarEnable New value for member BackBarEnable
|
|
*/
|
|
eProsima_user_DllExport void BackBarEnable(
|
|
bool _BackBarEnable)
|
|
{
|
|
m_BackBarEnable = _BackBarEnable;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member BackBarEnable
|
|
* @return Value of member BackBarEnable
|
|
*/
|
|
eProsima_user_DllExport bool BackBarEnable() const
|
|
{
|
|
return m_BackBarEnable;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member BackBarEnable
|
|
* @return Reference to member BackBarEnable
|
|
*/
|
|
eProsima_user_DllExport bool& BackBarEnable()
|
|
{
|
|
return m_BackBarEnable;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
int32_t m_FrontBarSignalUp{0};
|
|
int32_t m_FrontBarSignalDown{0};
|
|
bool m_FrontBarEnable{false};
|
|
int32_t m_BackBarSignalUp{0};
|
|
int32_t m_BackBarSignalDown{0};
|
|
bool m_BackBarEnable{false};
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure LightsCommandUpdate defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class LightsCommandUpdate
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport LightsCommandUpdate()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~LightsCommandUpdate()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object LightsCommandUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport LightsCommandUpdate(
|
|
const LightsCommandUpdate& x)
|
|
{
|
|
m_FrontLEDSignal = x.m_FrontLEDSignal;
|
|
|
|
m_FrontLEDEnable = x.m_FrontLEDEnable;
|
|
|
|
m_BackLEDSignal = x.m_BackLEDSignal;
|
|
|
|
m_BackLEDEnable = x.m_BackLEDEnable;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object LightsCommandUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport LightsCommandUpdate(
|
|
LightsCommandUpdate&& x) noexcept
|
|
{
|
|
m_FrontLEDSignal = x.m_FrontLEDSignal;
|
|
m_FrontLEDEnable = x.m_FrontLEDEnable;
|
|
m_BackLEDSignal = x.m_BackLEDSignal;
|
|
m_BackLEDEnable = x.m_BackLEDEnable;
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object LightsCommandUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport LightsCommandUpdate& operator =(
|
|
const LightsCommandUpdate& x)
|
|
{
|
|
|
|
m_FrontLEDSignal = x.m_FrontLEDSignal;
|
|
|
|
m_FrontLEDEnable = x.m_FrontLEDEnable;
|
|
|
|
m_BackLEDSignal = x.m_BackLEDSignal;
|
|
|
|
m_BackLEDEnable = x.m_BackLEDEnable;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object LightsCommandUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport LightsCommandUpdate& operator =(
|
|
LightsCommandUpdate&& x) noexcept
|
|
{
|
|
|
|
m_FrontLEDSignal = x.m_FrontLEDSignal;
|
|
m_FrontLEDEnable = x.m_FrontLEDEnable;
|
|
m_BackLEDSignal = x.m_BackLEDSignal;
|
|
m_BackLEDEnable = x.m_BackLEDEnable;
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x LightsCommandUpdate object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const LightsCommandUpdate& x) const
|
|
{
|
|
return (m_FrontLEDSignal == x.m_FrontLEDSignal &&
|
|
m_FrontLEDEnable == x.m_FrontLEDEnable &&
|
|
m_BackLEDSignal == x.m_BackLEDSignal &&
|
|
m_BackLEDEnable == x.m_BackLEDEnable);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x LightsCommandUpdate object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const LightsCommandUpdate& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function sets a value in member FrontLEDSignal
|
|
* @param _FrontLEDSignal New value for member FrontLEDSignal
|
|
*/
|
|
eProsima_user_DllExport void FrontLEDSignal(
|
|
int32_t _FrontLEDSignal)
|
|
{
|
|
m_FrontLEDSignal = _FrontLEDSignal;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member FrontLEDSignal
|
|
* @return Value of member FrontLEDSignal
|
|
*/
|
|
eProsima_user_DllExport int32_t FrontLEDSignal() const
|
|
{
|
|
return m_FrontLEDSignal;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member FrontLEDSignal
|
|
* @return Reference to member FrontLEDSignal
|
|
*/
|
|
eProsima_user_DllExport int32_t& FrontLEDSignal()
|
|
{
|
|
return m_FrontLEDSignal;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member FrontLEDEnable
|
|
* @param _FrontLEDEnable New value for member FrontLEDEnable
|
|
*/
|
|
eProsima_user_DllExport void FrontLEDEnable(
|
|
bool _FrontLEDEnable)
|
|
{
|
|
m_FrontLEDEnable = _FrontLEDEnable;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member FrontLEDEnable
|
|
* @return Value of member FrontLEDEnable
|
|
*/
|
|
eProsima_user_DllExport bool FrontLEDEnable() const
|
|
{
|
|
return m_FrontLEDEnable;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member FrontLEDEnable
|
|
* @return Reference to member FrontLEDEnable
|
|
*/
|
|
eProsima_user_DllExport bool& FrontLEDEnable()
|
|
{
|
|
return m_FrontLEDEnable;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member BackLEDSignal
|
|
* @param _BackLEDSignal New value for member BackLEDSignal
|
|
*/
|
|
eProsima_user_DllExport void BackLEDSignal(
|
|
int32_t _BackLEDSignal)
|
|
{
|
|
m_BackLEDSignal = _BackLEDSignal;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member BackLEDSignal
|
|
* @return Value of member BackLEDSignal
|
|
*/
|
|
eProsima_user_DllExport int32_t BackLEDSignal() const
|
|
{
|
|
return m_BackLEDSignal;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member BackLEDSignal
|
|
* @return Reference to member BackLEDSignal
|
|
*/
|
|
eProsima_user_DllExport int32_t& BackLEDSignal()
|
|
{
|
|
return m_BackLEDSignal;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member BackLEDEnable
|
|
* @param _BackLEDEnable New value for member BackLEDEnable
|
|
*/
|
|
eProsima_user_DllExport void BackLEDEnable(
|
|
int32_t _BackLEDEnable)
|
|
{
|
|
m_BackLEDEnable = _BackLEDEnable;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member BackLEDEnable
|
|
* @return Value of member BackLEDEnable
|
|
*/
|
|
eProsima_user_DllExport int32_t BackLEDEnable() const
|
|
{
|
|
return m_BackLEDEnable;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member BackLEDEnable
|
|
* @return Reference to member BackLEDEnable
|
|
*/
|
|
eProsima_user_DllExport int32_t& BackLEDEnable()
|
|
{
|
|
return m_BackLEDEnable;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
int32_t m_FrontLEDSignal{0};
|
|
bool m_FrontLEDEnable{false};
|
|
int32_t m_BackLEDSignal{0};
|
|
int32_t m_BackLEDEnable{0};
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure InfraredCommandUpdate defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class InfraredCommandUpdate
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport InfraredCommandUpdate()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~InfraredCommandUpdate()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object InfraredCommandUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport InfraredCommandUpdate(
|
|
const InfraredCommandUpdate& x)
|
|
{
|
|
m_FrontResistanceUnLock = x.m_FrontResistanceUnLock;
|
|
|
|
m_FrontResistanceEnable = x.m_FrontResistanceEnable;
|
|
|
|
m_BackResistanceUnLock = x.m_BackResistanceUnLock;
|
|
|
|
m_BackResistanceEnable = x.m_BackResistanceEnable;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object InfraredCommandUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport InfraredCommandUpdate(
|
|
InfraredCommandUpdate&& x) noexcept
|
|
{
|
|
m_FrontResistanceUnLock = x.m_FrontResistanceUnLock;
|
|
m_FrontResistanceEnable = x.m_FrontResistanceEnable;
|
|
m_BackResistanceUnLock = x.m_BackResistanceUnLock;
|
|
m_BackResistanceEnable = x.m_BackResistanceEnable;
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object InfraredCommandUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport InfraredCommandUpdate& operator =(
|
|
const InfraredCommandUpdate& x)
|
|
{
|
|
|
|
m_FrontResistanceUnLock = x.m_FrontResistanceUnLock;
|
|
|
|
m_FrontResistanceEnable = x.m_FrontResistanceEnable;
|
|
|
|
m_BackResistanceUnLock = x.m_BackResistanceUnLock;
|
|
|
|
m_BackResistanceEnable = x.m_BackResistanceEnable;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object InfraredCommandUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport InfraredCommandUpdate& operator =(
|
|
InfraredCommandUpdate&& x) noexcept
|
|
{
|
|
|
|
m_FrontResistanceUnLock = x.m_FrontResistanceUnLock;
|
|
m_FrontResistanceEnable = x.m_FrontResistanceEnable;
|
|
m_BackResistanceUnLock = x.m_BackResistanceUnLock;
|
|
m_BackResistanceEnable = x.m_BackResistanceEnable;
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x InfraredCommandUpdate object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const InfraredCommandUpdate& x) const
|
|
{
|
|
return (m_FrontResistanceUnLock == x.m_FrontResistanceUnLock &&
|
|
m_FrontResistanceEnable == x.m_FrontResistanceEnable &&
|
|
m_BackResistanceUnLock == x.m_BackResistanceUnLock &&
|
|
m_BackResistanceEnable == x.m_BackResistanceEnable);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x InfraredCommandUpdate object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const InfraredCommandUpdate& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function sets a value in member FrontResistanceUnLock
|
|
* @param _FrontResistanceUnLock New value for member FrontResistanceUnLock
|
|
*/
|
|
eProsima_user_DllExport void FrontResistanceUnLock(
|
|
int32_t _FrontResistanceUnLock)
|
|
{
|
|
m_FrontResistanceUnLock = _FrontResistanceUnLock;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member FrontResistanceUnLock
|
|
* @return Value of member FrontResistanceUnLock
|
|
*/
|
|
eProsima_user_DllExport int32_t FrontResistanceUnLock() const
|
|
{
|
|
return m_FrontResistanceUnLock;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member FrontResistanceUnLock
|
|
* @return Reference to member FrontResistanceUnLock
|
|
*/
|
|
eProsima_user_DllExport int32_t& FrontResistanceUnLock()
|
|
{
|
|
return m_FrontResistanceUnLock;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member FrontResistanceEnable
|
|
* @param _FrontResistanceEnable New value for member FrontResistanceEnable
|
|
*/
|
|
eProsima_user_DllExport void FrontResistanceEnable(
|
|
bool _FrontResistanceEnable)
|
|
{
|
|
m_FrontResistanceEnable = _FrontResistanceEnable;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member FrontResistanceEnable
|
|
* @return Value of member FrontResistanceEnable
|
|
*/
|
|
eProsima_user_DllExport bool FrontResistanceEnable() const
|
|
{
|
|
return m_FrontResistanceEnable;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member FrontResistanceEnable
|
|
* @return Reference to member FrontResistanceEnable
|
|
*/
|
|
eProsima_user_DllExport bool& FrontResistanceEnable()
|
|
{
|
|
return m_FrontResistanceEnable;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member BackResistanceUnLock
|
|
* @param _BackResistanceUnLock New value for member BackResistanceUnLock
|
|
*/
|
|
eProsima_user_DllExport void BackResistanceUnLock(
|
|
int32_t _BackResistanceUnLock)
|
|
{
|
|
m_BackResistanceUnLock = _BackResistanceUnLock;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member BackResistanceUnLock
|
|
* @return Value of member BackResistanceUnLock
|
|
*/
|
|
eProsima_user_DllExport int32_t BackResistanceUnLock() const
|
|
{
|
|
return m_BackResistanceUnLock;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member BackResistanceUnLock
|
|
* @return Reference to member BackResistanceUnLock
|
|
*/
|
|
eProsima_user_DllExport int32_t& BackResistanceUnLock()
|
|
{
|
|
return m_BackResistanceUnLock;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member BackResistanceEnable
|
|
* @param _BackResistanceEnable New value for member BackResistanceEnable
|
|
*/
|
|
eProsima_user_DllExport void BackResistanceEnable(
|
|
bool _BackResistanceEnable)
|
|
{
|
|
m_BackResistanceEnable = _BackResistanceEnable;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member BackResistanceEnable
|
|
* @return Value of member BackResistanceEnable
|
|
*/
|
|
eProsima_user_DllExport bool BackResistanceEnable() const
|
|
{
|
|
return m_BackResistanceEnable;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member BackResistanceEnable
|
|
* @return Reference to member BackResistanceEnable
|
|
*/
|
|
eProsima_user_DllExport bool& BackResistanceEnable()
|
|
{
|
|
return m_BackResistanceEnable;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
int32_t m_FrontResistanceUnLock{0};
|
|
bool m_FrontResistanceEnable{false};
|
|
int32_t m_BackResistanceUnLock{0};
|
|
bool m_BackResistanceEnable{false};
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure BarUpdate defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class BarUpdate
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport BarUpdate()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~BarUpdate()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object BarUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport BarUpdate(
|
|
const BarUpdate& x)
|
|
{
|
|
m_FrontBarState = x.m_FrontBarState;
|
|
|
|
m_BackBarState = x.m_BackBarState;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object BarUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport BarUpdate(
|
|
BarUpdate&& x) noexcept
|
|
{
|
|
m_FrontBarState = x.m_FrontBarState;
|
|
m_BackBarState = x.m_BackBarState;
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object BarUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport BarUpdate& operator =(
|
|
const BarUpdate& x)
|
|
{
|
|
|
|
m_FrontBarState = x.m_FrontBarState;
|
|
|
|
m_BackBarState = x.m_BackBarState;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object BarUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport BarUpdate& operator =(
|
|
BarUpdate&& x) noexcept
|
|
{
|
|
|
|
m_FrontBarState = x.m_FrontBarState;
|
|
m_BackBarState = x.m_BackBarState;
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x BarUpdate object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const BarUpdate& x) const
|
|
{
|
|
return (m_FrontBarState == x.m_FrontBarState &&
|
|
m_BackBarState == x.m_BackBarState);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x BarUpdate object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const BarUpdate& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function sets a value in member FrontBarState
|
|
* @param _FrontBarState New value for member FrontBarState
|
|
*/
|
|
eProsima_user_DllExport void FrontBarState(
|
|
int32_t _FrontBarState)
|
|
{
|
|
m_FrontBarState = _FrontBarState;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member FrontBarState
|
|
* @return Value of member FrontBarState
|
|
*/
|
|
eProsima_user_DllExport int32_t FrontBarState() const
|
|
{
|
|
return m_FrontBarState;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member FrontBarState
|
|
* @return Reference to member FrontBarState
|
|
*/
|
|
eProsima_user_DllExport int32_t& FrontBarState()
|
|
{
|
|
return m_FrontBarState;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member BackBarState
|
|
* @param _BackBarState New value for member BackBarState
|
|
*/
|
|
eProsima_user_DllExport void BackBarState(
|
|
int32_t _BackBarState)
|
|
{
|
|
m_BackBarState = _BackBarState;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member BackBarState
|
|
* @return Value of member BackBarState
|
|
*/
|
|
eProsima_user_DllExport int32_t BackBarState() const
|
|
{
|
|
return m_BackBarState;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member BackBarState
|
|
* @return Reference to member BackBarState
|
|
*/
|
|
eProsima_user_DllExport int32_t& BackBarState()
|
|
{
|
|
return m_BackBarState;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
int32_t m_FrontBarState{0};
|
|
int32_t m_BackBarState{0};
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure LightsUpdate defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class LightsUpdate
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport LightsUpdate()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~LightsUpdate()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object LightsUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport LightsUpdate(
|
|
const LightsUpdate& x)
|
|
{
|
|
m_FrontLEDState = x.m_FrontLEDState;
|
|
|
|
m_BackLEDState = x.m_BackLEDState;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object LightsUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport LightsUpdate(
|
|
LightsUpdate&& x) noexcept
|
|
{
|
|
m_FrontLEDState = x.m_FrontLEDState;
|
|
m_BackLEDState = x.m_BackLEDState;
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object LightsUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport LightsUpdate& operator =(
|
|
const LightsUpdate& x)
|
|
{
|
|
|
|
m_FrontLEDState = x.m_FrontLEDState;
|
|
|
|
m_BackLEDState = x.m_BackLEDState;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object LightsUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport LightsUpdate& operator =(
|
|
LightsUpdate&& x) noexcept
|
|
{
|
|
|
|
m_FrontLEDState = x.m_FrontLEDState;
|
|
m_BackLEDState = x.m_BackLEDState;
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x LightsUpdate object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const LightsUpdate& x) const
|
|
{
|
|
return (m_FrontLEDState == x.m_FrontLEDState &&
|
|
m_BackLEDState == x.m_BackLEDState);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x LightsUpdate object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const LightsUpdate& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function sets a value in member FrontLEDState
|
|
* @param _FrontLEDState New value for member FrontLEDState
|
|
*/
|
|
eProsima_user_DllExport void FrontLEDState(
|
|
int32_t _FrontLEDState)
|
|
{
|
|
m_FrontLEDState = _FrontLEDState;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member FrontLEDState
|
|
* @return Value of member FrontLEDState
|
|
*/
|
|
eProsima_user_DllExport int32_t FrontLEDState() const
|
|
{
|
|
return m_FrontLEDState;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member FrontLEDState
|
|
* @return Reference to member FrontLEDState
|
|
*/
|
|
eProsima_user_DllExport int32_t& FrontLEDState()
|
|
{
|
|
return m_FrontLEDState;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member BackLEDState
|
|
* @param _BackLEDState New value for member BackLEDState
|
|
*/
|
|
eProsima_user_DllExport void BackLEDState(
|
|
int32_t _BackLEDState)
|
|
{
|
|
m_BackLEDState = _BackLEDState;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member BackLEDState
|
|
* @return Value of member BackLEDState
|
|
*/
|
|
eProsima_user_DllExport int32_t BackLEDState() const
|
|
{
|
|
return m_BackLEDState;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member BackLEDState
|
|
* @return Reference to member BackLEDState
|
|
*/
|
|
eProsima_user_DllExport int32_t& BackLEDState()
|
|
{
|
|
return m_BackLEDState;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
int32_t m_FrontLEDState{0};
|
|
int32_t m_BackLEDState{0};
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure InfraredUpdate defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class InfraredUpdate
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport InfraredUpdate()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~InfraredUpdate()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object InfraredUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport InfraredUpdate(
|
|
const InfraredUpdate& x)
|
|
{
|
|
m_FrontResistanceSignal = x.m_FrontResistanceSignal;
|
|
|
|
m_BackResistanceSignal = x.m_BackResistanceSignal;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object InfraredUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport InfraredUpdate(
|
|
InfraredUpdate&& x) noexcept
|
|
{
|
|
m_FrontResistanceSignal = x.m_FrontResistanceSignal;
|
|
m_BackResistanceSignal = x.m_BackResistanceSignal;
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object InfraredUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport InfraredUpdate& operator =(
|
|
const InfraredUpdate& x)
|
|
{
|
|
|
|
m_FrontResistanceSignal = x.m_FrontResistanceSignal;
|
|
|
|
m_BackResistanceSignal = x.m_BackResistanceSignal;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object InfraredUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport InfraredUpdate& operator =(
|
|
InfraredUpdate&& x) noexcept
|
|
{
|
|
|
|
m_FrontResistanceSignal = x.m_FrontResistanceSignal;
|
|
m_BackResistanceSignal = x.m_BackResistanceSignal;
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x InfraredUpdate object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const InfraredUpdate& x) const
|
|
{
|
|
return (m_FrontResistanceSignal == x.m_FrontResistanceSignal &&
|
|
m_BackResistanceSignal == x.m_BackResistanceSignal);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x InfraredUpdate object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const InfraredUpdate& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function sets a value in member FrontResistanceSignal
|
|
* @param _FrontResistanceSignal New value for member FrontResistanceSignal
|
|
*/
|
|
eProsima_user_DllExport void FrontResistanceSignal(
|
|
int32_t _FrontResistanceSignal)
|
|
{
|
|
m_FrontResistanceSignal = _FrontResistanceSignal;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member FrontResistanceSignal
|
|
* @return Value of member FrontResistanceSignal
|
|
*/
|
|
eProsima_user_DllExport int32_t FrontResistanceSignal() const
|
|
{
|
|
return m_FrontResistanceSignal;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member FrontResistanceSignal
|
|
* @return Reference to member FrontResistanceSignal
|
|
*/
|
|
eProsima_user_DllExport int32_t& FrontResistanceSignal()
|
|
{
|
|
return m_FrontResistanceSignal;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member BackResistanceSignal
|
|
* @param _BackResistanceSignal New value for member BackResistanceSignal
|
|
*/
|
|
eProsima_user_DllExport void BackResistanceSignal(
|
|
int32_t _BackResistanceSignal)
|
|
{
|
|
m_BackResistanceSignal = _BackResistanceSignal;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member BackResistanceSignal
|
|
* @return Value of member BackResistanceSignal
|
|
*/
|
|
eProsima_user_DllExport int32_t BackResistanceSignal() const
|
|
{
|
|
return m_BackResistanceSignal;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member BackResistanceSignal
|
|
* @return Reference to member BackResistanceSignal
|
|
*/
|
|
eProsima_user_DllExport int32_t& BackResistanceSignal()
|
|
{
|
|
return m_BackResistanceSignal;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
int32_t m_FrontResistanceSignal{0};
|
|
int32_t m_BackResistanceSignal{0};
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure LicenseSnapUpdate defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class LicenseSnapUpdate
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport LicenseSnapUpdate()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~LicenseSnapUpdate()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object LicenseSnapUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport LicenseSnapUpdate(
|
|
const LicenseSnapUpdate& x)
|
|
{
|
|
m_NewTag = x.m_NewTag;
|
|
|
|
m_License = x.m_License;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object LicenseSnapUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport LicenseSnapUpdate(
|
|
LicenseSnapUpdate&& x) noexcept
|
|
{
|
|
m_NewTag = x.m_NewTag;
|
|
m_License = std::move(x.m_License);
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object LicenseSnapUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport LicenseSnapUpdate& operator =(
|
|
const LicenseSnapUpdate& x)
|
|
{
|
|
|
|
m_NewTag = x.m_NewTag;
|
|
|
|
m_License = x.m_License;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object LicenseSnapUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport LicenseSnapUpdate& operator =(
|
|
LicenseSnapUpdate&& x) noexcept
|
|
{
|
|
|
|
m_NewTag = x.m_NewTag;
|
|
m_License = std::move(x.m_License);
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x LicenseSnapUpdate object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const LicenseSnapUpdate& x) const
|
|
{
|
|
return (m_NewTag == x.m_NewTag &&
|
|
m_License == x.m_License);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x LicenseSnapUpdate object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const LicenseSnapUpdate& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function sets a value in member NewTag
|
|
* @param _NewTag New value for member NewTag
|
|
*/
|
|
eProsima_user_DllExport void NewTag(
|
|
int32_t _NewTag)
|
|
{
|
|
m_NewTag = _NewTag;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member NewTag
|
|
* @return Value of member NewTag
|
|
*/
|
|
eProsima_user_DllExport int32_t NewTag() const
|
|
{
|
|
return m_NewTag;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member NewTag
|
|
* @return Reference to member NewTag
|
|
*/
|
|
eProsima_user_DllExport int32_t& NewTag()
|
|
{
|
|
return m_NewTag;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member License
|
|
* @param _License New value to be copied in member License
|
|
*/
|
|
eProsima_user_DllExport void License(
|
|
const std::string& _License)
|
|
{
|
|
m_License = _License;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member License
|
|
* @param _License New value to be moved in member License
|
|
*/
|
|
eProsima_user_DllExport void License(
|
|
std::string&& _License)
|
|
{
|
|
m_License = std::move(_License);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member License
|
|
* @return Constant reference to member License
|
|
*/
|
|
eProsima_user_DllExport const std::string& License() const
|
|
{
|
|
return m_License;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member License
|
|
* @return Reference to member License
|
|
*/
|
|
eProsima_user_DllExport std::string& License()
|
|
{
|
|
return m_License;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
int32_t m_NewTag{0};
|
|
std::string m_License;
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure Voice defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class Voice
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport Voice()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~Voice()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object Voice that will be copied.
|
|
*/
|
|
eProsima_user_DllExport Voice(
|
|
const Voice& x)
|
|
{
|
|
m_VoiceID = x.m_VoiceID;
|
|
|
|
m_VoiceContent = x.m_VoiceContent;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object Voice that will be copied.
|
|
*/
|
|
eProsima_user_DllExport Voice(
|
|
Voice&& x) noexcept
|
|
{
|
|
m_VoiceID = x.m_VoiceID;
|
|
m_VoiceContent = std::move(x.m_VoiceContent);
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object Voice that will be copied.
|
|
*/
|
|
eProsima_user_DllExport Voice& operator =(
|
|
const Voice& x)
|
|
{
|
|
|
|
m_VoiceID = x.m_VoiceID;
|
|
|
|
m_VoiceContent = x.m_VoiceContent;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object Voice that will be copied.
|
|
*/
|
|
eProsima_user_DllExport Voice& operator =(
|
|
Voice&& x) noexcept
|
|
{
|
|
|
|
m_VoiceID = x.m_VoiceID;
|
|
m_VoiceContent = std::move(x.m_VoiceContent);
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x Voice object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const Voice& x) const
|
|
{
|
|
return (m_VoiceID == x.m_VoiceID &&
|
|
m_VoiceContent == x.m_VoiceContent);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x Voice object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const Voice& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function sets a value in member VoiceID
|
|
* @param _VoiceID New value for member VoiceID
|
|
*/
|
|
eProsima_user_DllExport void VoiceID(
|
|
int32_t _VoiceID)
|
|
{
|
|
m_VoiceID = _VoiceID;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member VoiceID
|
|
* @return Value of member VoiceID
|
|
*/
|
|
eProsima_user_DllExport int32_t VoiceID() const
|
|
{
|
|
return m_VoiceID;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member VoiceID
|
|
* @return Reference to member VoiceID
|
|
*/
|
|
eProsima_user_DllExport int32_t& VoiceID()
|
|
{
|
|
return m_VoiceID;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member VoiceContent
|
|
* @param _VoiceContent New value to be copied in member VoiceContent
|
|
*/
|
|
eProsima_user_DllExport void VoiceContent(
|
|
const std::string& _VoiceContent)
|
|
{
|
|
m_VoiceContent = _VoiceContent;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member VoiceContent
|
|
* @param _VoiceContent New value to be moved in member VoiceContent
|
|
*/
|
|
eProsima_user_DllExport void VoiceContent(
|
|
std::string&& _VoiceContent)
|
|
{
|
|
m_VoiceContent = std::move(_VoiceContent);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member VoiceContent
|
|
* @return Constant reference to member VoiceContent
|
|
*/
|
|
eProsima_user_DllExport const std::string& VoiceContent() const
|
|
{
|
|
return m_VoiceContent;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member VoiceContent
|
|
* @return Reference to member VoiceContent
|
|
*/
|
|
eProsima_user_DllExport std::string& VoiceContent()
|
|
{
|
|
return m_VoiceContent;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
int32_t m_VoiceID{0};
|
|
std::string m_VoiceContent;
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure SummaryUpdate defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class SummaryUpdate
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport SummaryUpdate()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~SummaryUpdate()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object SummaryUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport SummaryUpdate(
|
|
const SummaryUpdate& x)
|
|
{
|
|
m_License = x.m_License;
|
|
|
|
m_StableValue = x.m_StableValue;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object SummaryUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport SummaryUpdate(
|
|
SummaryUpdate&& x) noexcept
|
|
{
|
|
m_License = std::move(x.m_License);
|
|
m_StableValue = x.m_StableValue;
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object SummaryUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport SummaryUpdate& operator =(
|
|
const SummaryUpdate& x)
|
|
{
|
|
|
|
m_License = x.m_License;
|
|
|
|
m_StableValue = x.m_StableValue;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object SummaryUpdate that will be copied.
|
|
*/
|
|
eProsima_user_DllExport SummaryUpdate& operator =(
|
|
SummaryUpdate&& x) noexcept
|
|
{
|
|
|
|
m_License = std::move(x.m_License);
|
|
m_StableValue = x.m_StableValue;
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x SummaryUpdate object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const SummaryUpdate& x) const
|
|
{
|
|
return (m_License == x.m_License &&
|
|
m_StableValue == x.m_StableValue);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x SummaryUpdate object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const SummaryUpdate& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function copies the value in member License
|
|
* @param _License New value to be copied in member License
|
|
*/
|
|
eProsima_user_DllExport void License(
|
|
const std::string& _License)
|
|
{
|
|
m_License = _License;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member License
|
|
* @param _License New value to be moved in member License
|
|
*/
|
|
eProsima_user_DllExport void License(
|
|
std::string&& _License)
|
|
{
|
|
m_License = std::move(_License);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member License
|
|
* @return Constant reference to member License
|
|
*/
|
|
eProsima_user_DllExport const std::string& License() const
|
|
{
|
|
return m_License;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member License
|
|
* @return Reference to member License
|
|
*/
|
|
eProsima_user_DllExport std::string& License()
|
|
{
|
|
return m_License;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member StableValue
|
|
* @param _StableValue New value for member StableValue
|
|
*/
|
|
eProsima_user_DllExport void StableValue(
|
|
float _StableValue)
|
|
{
|
|
m_StableValue = _StableValue;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member StableValue
|
|
* @return Value of member StableValue
|
|
*/
|
|
eProsima_user_DllExport float StableValue() const
|
|
{
|
|
return m_StableValue;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member StableValue
|
|
* @return Reference to member StableValue
|
|
*/
|
|
eProsima_user_DllExport float& StableValue()
|
|
{
|
|
return m_StableValue;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::string m_License;
|
|
float m_StableValue{0.0};
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure ReadCardReq defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class ReadCardReq
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport ReadCardReq()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~ReadCardReq()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object ReadCardReq that will be copied.
|
|
*/
|
|
eProsima_user_DllExport ReadCardReq(
|
|
const ReadCardReq& x)
|
|
{
|
|
m_index = x.m_index;
|
|
|
|
m_msg = x.m_msg;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object ReadCardReq that will be copied.
|
|
*/
|
|
eProsima_user_DllExport ReadCardReq(
|
|
ReadCardReq&& x) noexcept
|
|
{
|
|
m_index = x.m_index;
|
|
m_msg = std::move(x.m_msg);
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object ReadCardReq that will be copied.
|
|
*/
|
|
eProsima_user_DllExport ReadCardReq& operator =(
|
|
const ReadCardReq& x)
|
|
{
|
|
|
|
m_index = x.m_index;
|
|
|
|
m_msg = x.m_msg;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object ReadCardReq that will be copied.
|
|
*/
|
|
eProsima_user_DllExport ReadCardReq& operator =(
|
|
ReadCardReq&& x) noexcept
|
|
{
|
|
|
|
m_index = x.m_index;
|
|
m_msg = std::move(x.m_msg);
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x ReadCardReq object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const ReadCardReq& x) const
|
|
{
|
|
return (m_index == x.m_index &&
|
|
m_msg == x.m_msg);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x ReadCardReq object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const ReadCardReq& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function sets a value in member index
|
|
* @param _index New value for member index
|
|
*/
|
|
eProsima_user_DllExport void index(
|
|
uint32_t _index)
|
|
{
|
|
m_index = _index;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member index
|
|
* @return Value of member index
|
|
*/
|
|
eProsima_user_DllExport uint32_t index() const
|
|
{
|
|
return m_index;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member index
|
|
* @return Reference to member index
|
|
*/
|
|
eProsima_user_DllExport uint32_t& index()
|
|
{
|
|
return m_index;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member msg
|
|
* @param _msg New value to be copied in member msg
|
|
*/
|
|
eProsima_user_DllExport void msg(
|
|
const std::map<std::string, std::vector<uint8_t>>& _msg)
|
|
{
|
|
m_msg = _msg;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member msg
|
|
* @param _msg New value to be moved in member msg
|
|
*/
|
|
eProsima_user_DllExport void msg(
|
|
std::map<std::string, std::vector<uint8_t>>&& _msg)
|
|
{
|
|
m_msg = std::move(_msg);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member msg
|
|
* @return Constant reference to member msg
|
|
*/
|
|
eProsima_user_DllExport const std::map<std::string, std::vector<uint8_t>>& msg() const
|
|
{
|
|
return m_msg;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member msg
|
|
* @return Reference to member msg
|
|
*/
|
|
eProsima_user_DllExport std::map<std::string, std::vector<uint8_t>>& msg()
|
|
{
|
|
return m_msg;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
uint32_t m_index{0};
|
|
std::map<std::string, std::vector<uint8_t>> m_msg;
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure ReadCardRsp defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class ReadCardRsp
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport ReadCardRsp()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~ReadCardRsp()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object ReadCardRsp that will be copied.
|
|
*/
|
|
eProsima_user_DllExport ReadCardRsp(
|
|
const ReadCardRsp& x)
|
|
{
|
|
m_index = x.m_index;
|
|
|
|
m_msg = x.m_msg;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object ReadCardRsp that will be copied.
|
|
*/
|
|
eProsima_user_DllExport ReadCardRsp(
|
|
ReadCardRsp&& x) noexcept
|
|
{
|
|
m_index = x.m_index;
|
|
m_msg = std::move(x.m_msg);
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object ReadCardRsp that will be copied.
|
|
*/
|
|
eProsima_user_DllExport ReadCardRsp& operator =(
|
|
const ReadCardRsp& x)
|
|
{
|
|
|
|
m_index = x.m_index;
|
|
|
|
m_msg = x.m_msg;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object ReadCardRsp that will be copied.
|
|
*/
|
|
eProsima_user_DllExport ReadCardRsp& operator =(
|
|
ReadCardRsp&& x) noexcept
|
|
{
|
|
|
|
m_index = x.m_index;
|
|
m_msg = std::move(x.m_msg);
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x ReadCardRsp object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const ReadCardRsp& x) const
|
|
{
|
|
return (m_index == x.m_index &&
|
|
m_msg == x.m_msg);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x ReadCardRsp object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const ReadCardRsp& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function sets a value in member index
|
|
* @param _index New value for member index
|
|
*/
|
|
eProsima_user_DllExport void index(
|
|
uint32_t _index)
|
|
{
|
|
m_index = _index;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member index
|
|
* @return Value of member index
|
|
*/
|
|
eProsima_user_DllExport uint32_t index() const
|
|
{
|
|
return m_index;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member index
|
|
* @return Reference to member index
|
|
*/
|
|
eProsima_user_DllExport uint32_t& index()
|
|
{
|
|
return m_index;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member msg
|
|
* @param _msg New value to be copied in member msg
|
|
*/
|
|
eProsima_user_DllExport void msg(
|
|
const std::map<std::string, std::vector<uint8_t>>& _msg)
|
|
{
|
|
m_msg = _msg;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member msg
|
|
* @param _msg New value to be moved in member msg
|
|
*/
|
|
eProsima_user_DllExport void msg(
|
|
std::map<std::string, std::vector<uint8_t>>&& _msg)
|
|
{
|
|
m_msg = std::move(_msg);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member msg
|
|
* @return Constant reference to member msg
|
|
*/
|
|
eProsima_user_DllExport const std::map<std::string, std::vector<uint8_t>>& msg() const
|
|
{
|
|
return m_msg;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member msg
|
|
* @return Reference to member msg
|
|
*/
|
|
eProsima_user_DllExport std::map<std::string, std::vector<uint8_t>>& msg()
|
|
{
|
|
return m_msg;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
uint32_t m_index{0};
|
|
std::map<std::string, std::vector<uint8_t>> m_msg;
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure PrintReq defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class PrintReq
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport PrintReq()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~PrintReq()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object PrintReq that will be copied.
|
|
*/
|
|
eProsima_user_DllExport PrintReq(
|
|
const PrintReq& x)
|
|
{
|
|
m_index = x.m_index;
|
|
|
|
m_msg = x.m_msg;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object PrintReq that will be copied.
|
|
*/
|
|
eProsima_user_DllExport PrintReq(
|
|
PrintReq&& x) noexcept
|
|
{
|
|
m_index = x.m_index;
|
|
m_msg = std::move(x.m_msg);
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object PrintReq that will be copied.
|
|
*/
|
|
eProsima_user_DllExport PrintReq& operator =(
|
|
const PrintReq& x)
|
|
{
|
|
|
|
m_index = x.m_index;
|
|
|
|
m_msg = x.m_msg;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object PrintReq that will be copied.
|
|
*/
|
|
eProsima_user_DllExport PrintReq& operator =(
|
|
PrintReq&& x) noexcept
|
|
{
|
|
|
|
m_index = x.m_index;
|
|
m_msg = std::move(x.m_msg);
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x PrintReq object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const PrintReq& x) const
|
|
{
|
|
return (m_index == x.m_index &&
|
|
m_msg == x.m_msg);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x PrintReq object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const PrintReq& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function sets a value in member index
|
|
* @param _index New value for member index
|
|
*/
|
|
eProsima_user_DllExport void index(
|
|
uint32_t _index)
|
|
{
|
|
m_index = _index;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member index
|
|
* @return Value of member index
|
|
*/
|
|
eProsima_user_DllExport uint32_t index() const
|
|
{
|
|
return m_index;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member index
|
|
* @return Reference to member index
|
|
*/
|
|
eProsima_user_DllExport uint32_t& index()
|
|
{
|
|
return m_index;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member msg
|
|
* @param _msg New value to be copied in member msg
|
|
*/
|
|
eProsima_user_DllExport void msg(
|
|
const std::map<std::string, std::string>& _msg)
|
|
{
|
|
m_msg = _msg;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member msg
|
|
* @param _msg New value to be moved in member msg
|
|
*/
|
|
eProsima_user_DllExport void msg(
|
|
std::map<std::string, std::string>&& _msg)
|
|
{
|
|
m_msg = std::move(_msg);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member msg
|
|
* @return Constant reference to member msg
|
|
*/
|
|
eProsima_user_DllExport const std::map<std::string, std::string>& msg() const
|
|
{
|
|
return m_msg;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member msg
|
|
* @return Reference to member msg
|
|
*/
|
|
eProsima_user_DllExport std::map<std::string, std::string>& msg()
|
|
{
|
|
return m_msg;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
uint32_t m_index{0};
|
|
std::map<std::string, std::string> m_msg;
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure PrintRsp defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class PrintRsp
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport PrintRsp()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~PrintRsp()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object PrintRsp that will be copied.
|
|
*/
|
|
eProsima_user_DllExport PrintRsp(
|
|
const PrintRsp& x)
|
|
{
|
|
m_index = x.m_index;
|
|
|
|
m_msg = x.m_msg;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object PrintRsp that will be copied.
|
|
*/
|
|
eProsima_user_DllExport PrintRsp(
|
|
PrintRsp&& x) noexcept
|
|
{
|
|
m_index = x.m_index;
|
|
m_msg = std::move(x.m_msg);
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object PrintRsp that will be copied.
|
|
*/
|
|
eProsima_user_DllExport PrintRsp& operator =(
|
|
const PrintRsp& x)
|
|
{
|
|
|
|
m_index = x.m_index;
|
|
|
|
m_msg = x.m_msg;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object PrintRsp that will be copied.
|
|
*/
|
|
eProsima_user_DllExport PrintRsp& operator =(
|
|
PrintRsp&& x) noexcept
|
|
{
|
|
|
|
m_index = x.m_index;
|
|
m_msg = std::move(x.m_msg);
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x PrintRsp object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const PrintRsp& x) const
|
|
{
|
|
return (m_index == x.m_index &&
|
|
m_msg == x.m_msg);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x PrintRsp object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const PrintRsp& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function sets a value in member index
|
|
* @param _index New value for member index
|
|
*/
|
|
eProsima_user_DllExport void index(
|
|
uint32_t _index)
|
|
{
|
|
m_index = _index;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member index
|
|
* @return Value of member index
|
|
*/
|
|
eProsima_user_DllExport uint32_t index() const
|
|
{
|
|
return m_index;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member index
|
|
* @return Reference to member index
|
|
*/
|
|
eProsima_user_DllExport uint32_t& index()
|
|
{
|
|
return m_index;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member msg
|
|
* @param _msg New value to be copied in member msg
|
|
*/
|
|
eProsima_user_DllExport void msg(
|
|
const std::string& _msg)
|
|
{
|
|
m_msg = _msg;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member msg
|
|
* @param _msg New value to be moved in member msg
|
|
*/
|
|
eProsima_user_DllExport void msg(
|
|
std::string&& _msg)
|
|
{
|
|
m_msg = std::move(_msg);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member msg
|
|
* @return Constant reference to member msg
|
|
*/
|
|
eProsima_user_DllExport const std::string& msg() const
|
|
{
|
|
return m_msg;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member msg
|
|
* @return Reference to member msg
|
|
*/
|
|
eProsima_user_DllExport std::string& msg()
|
|
{
|
|
return m_msg;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
uint32_t m_index{0};
|
|
std::string m_msg;
|
|
|
|
};
|
|
|
|
} // namespace WeighingSystem
|
|
namespace Queue {
|
|
|
|
/*!
|
|
* @brief This class represents the structure QueueTrigger defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class QueueTrigger
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport QueueTrigger()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~QueueTrigger()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object QueueTrigger that will be copied.
|
|
*/
|
|
eProsima_user_DllExport QueueTrigger(
|
|
const QueueTrigger& x)
|
|
{
|
|
m_message_id = x.m_message_id;
|
|
|
|
m_card_number = x.m_card_number;
|
|
|
|
m_device_id = x.m_device_id;
|
|
|
|
m_trigger_time = x.m_trigger_time;
|
|
|
|
m_vehicle_number_snapshot = x.m_vehicle_number_snapshot;
|
|
|
|
m_supplier_identity_id_snapshot = x.m_supplier_identity_id_snapshot;
|
|
|
|
m_goods_id_snapshot = x.m_goods_id_snapshot;
|
|
|
|
m_ship_net_weight_snapshot = x.m_ship_net_weight_snapshot;
|
|
|
|
m_card_flow_no_snapshot = x.m_card_flow_no_snapshot;
|
|
|
|
m_card_type_snapshot = x.m_card_type_snapshot;
|
|
|
|
m_electronic_tag_snapshot = x.m_electronic_tag_snapshot;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object QueueTrigger that will be copied.
|
|
*/
|
|
eProsima_user_DllExport QueueTrigger(
|
|
QueueTrigger&& x) noexcept
|
|
{
|
|
m_message_id = std::move(x.m_message_id);
|
|
m_card_number = std::move(x.m_card_number);
|
|
m_device_id = std::move(x.m_device_id);
|
|
m_trigger_time = std::move(x.m_trigger_time);
|
|
m_vehicle_number_snapshot = std::move(x.m_vehicle_number_snapshot);
|
|
m_supplier_identity_id_snapshot = x.m_supplier_identity_id_snapshot;
|
|
m_goods_id_snapshot = x.m_goods_id_snapshot;
|
|
m_ship_net_weight_snapshot = x.m_ship_net_weight_snapshot;
|
|
m_card_flow_no_snapshot = x.m_card_flow_no_snapshot;
|
|
m_card_type_snapshot = std::move(x.m_card_type_snapshot);
|
|
m_electronic_tag_snapshot = std::move(x.m_electronic_tag_snapshot);
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object QueueTrigger that will be copied.
|
|
*/
|
|
eProsima_user_DllExport QueueTrigger& operator =(
|
|
const QueueTrigger& x)
|
|
{
|
|
|
|
m_message_id = x.m_message_id;
|
|
|
|
m_card_number = x.m_card_number;
|
|
|
|
m_device_id = x.m_device_id;
|
|
|
|
m_trigger_time = x.m_trigger_time;
|
|
|
|
m_vehicle_number_snapshot = x.m_vehicle_number_snapshot;
|
|
|
|
m_supplier_identity_id_snapshot = x.m_supplier_identity_id_snapshot;
|
|
|
|
m_goods_id_snapshot = x.m_goods_id_snapshot;
|
|
|
|
m_ship_net_weight_snapshot = x.m_ship_net_weight_snapshot;
|
|
|
|
m_card_flow_no_snapshot = x.m_card_flow_no_snapshot;
|
|
|
|
m_card_type_snapshot = x.m_card_type_snapshot;
|
|
|
|
m_electronic_tag_snapshot = x.m_electronic_tag_snapshot;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object QueueTrigger that will be copied.
|
|
*/
|
|
eProsima_user_DllExport QueueTrigger& operator =(
|
|
QueueTrigger&& x) noexcept
|
|
{
|
|
|
|
m_message_id = std::move(x.m_message_id);
|
|
m_card_number = std::move(x.m_card_number);
|
|
m_device_id = std::move(x.m_device_id);
|
|
m_trigger_time = std::move(x.m_trigger_time);
|
|
m_vehicle_number_snapshot = std::move(x.m_vehicle_number_snapshot);
|
|
m_supplier_identity_id_snapshot = x.m_supplier_identity_id_snapshot;
|
|
m_goods_id_snapshot = x.m_goods_id_snapshot;
|
|
m_ship_net_weight_snapshot = x.m_ship_net_weight_snapshot;
|
|
m_card_flow_no_snapshot = x.m_card_flow_no_snapshot;
|
|
m_card_type_snapshot = std::move(x.m_card_type_snapshot);
|
|
m_electronic_tag_snapshot = std::move(x.m_electronic_tag_snapshot);
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x QueueTrigger object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const QueueTrigger& x) const
|
|
{
|
|
return (m_message_id == x.m_message_id &&
|
|
m_card_number == x.m_card_number &&
|
|
m_device_id == x.m_device_id &&
|
|
m_trigger_time == x.m_trigger_time &&
|
|
m_vehicle_number_snapshot == x.m_vehicle_number_snapshot &&
|
|
m_supplier_identity_id_snapshot == x.m_supplier_identity_id_snapshot &&
|
|
m_goods_id_snapshot == x.m_goods_id_snapshot &&
|
|
m_ship_net_weight_snapshot == x.m_ship_net_weight_snapshot &&
|
|
m_card_flow_no_snapshot == x.m_card_flow_no_snapshot &&
|
|
m_card_type_snapshot == x.m_card_type_snapshot &&
|
|
m_electronic_tag_snapshot == x.m_electronic_tag_snapshot);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x QueueTrigger object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const QueueTrigger& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function copies the value in member message_id
|
|
* @param _message_id New value to be copied in member message_id
|
|
*/
|
|
eProsima_user_DllExport void message_id(
|
|
const std::string& _message_id)
|
|
{
|
|
m_message_id = _message_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member message_id
|
|
* @param _message_id New value to be moved in member message_id
|
|
*/
|
|
eProsima_user_DllExport void message_id(
|
|
std::string&& _message_id)
|
|
{
|
|
m_message_id = std::move(_message_id);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member message_id
|
|
* @return Constant reference to member message_id
|
|
*/
|
|
eProsima_user_DllExport const std::string& message_id() const
|
|
{
|
|
return m_message_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member message_id
|
|
* @return Reference to member message_id
|
|
*/
|
|
eProsima_user_DllExport std::string& message_id()
|
|
{
|
|
return m_message_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member card_number
|
|
* @param _card_number New value to be copied in member card_number
|
|
*/
|
|
eProsima_user_DllExport void card_number(
|
|
const std::string& _card_number)
|
|
{
|
|
m_card_number = _card_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member card_number
|
|
* @param _card_number New value to be moved in member card_number
|
|
*/
|
|
eProsima_user_DllExport void card_number(
|
|
std::string&& _card_number)
|
|
{
|
|
m_card_number = std::move(_card_number);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member card_number
|
|
* @return Constant reference to member card_number
|
|
*/
|
|
eProsima_user_DllExport const std::string& card_number() const
|
|
{
|
|
return m_card_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member card_number
|
|
* @return Reference to member card_number
|
|
*/
|
|
eProsima_user_DllExport std::string& card_number()
|
|
{
|
|
return m_card_number;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member device_id
|
|
* @param _device_id New value to be copied in member device_id
|
|
*/
|
|
eProsima_user_DllExport void device_id(
|
|
const std::string& _device_id)
|
|
{
|
|
m_device_id = _device_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member device_id
|
|
* @param _device_id New value to be moved in member device_id
|
|
*/
|
|
eProsima_user_DllExport void device_id(
|
|
std::string&& _device_id)
|
|
{
|
|
m_device_id = std::move(_device_id);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member device_id
|
|
* @return Constant reference to member device_id
|
|
*/
|
|
eProsima_user_DllExport const std::string& device_id() const
|
|
{
|
|
return m_device_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member device_id
|
|
* @return Reference to member device_id
|
|
*/
|
|
eProsima_user_DllExport std::string& device_id()
|
|
{
|
|
return m_device_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member trigger_time
|
|
* @param _trigger_time New value to be copied in member trigger_time
|
|
*/
|
|
eProsima_user_DllExport void trigger_time(
|
|
const std::string& _trigger_time)
|
|
{
|
|
m_trigger_time = _trigger_time;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member trigger_time
|
|
* @param _trigger_time New value to be moved in member trigger_time
|
|
*/
|
|
eProsima_user_DllExport void trigger_time(
|
|
std::string&& _trigger_time)
|
|
{
|
|
m_trigger_time = std::move(_trigger_time);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member trigger_time
|
|
* @return Constant reference to member trigger_time
|
|
*/
|
|
eProsima_user_DllExport const std::string& trigger_time() const
|
|
{
|
|
return m_trigger_time;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member trigger_time
|
|
* @return Reference to member trigger_time
|
|
*/
|
|
eProsima_user_DllExport std::string& trigger_time()
|
|
{
|
|
return m_trigger_time;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member vehicle_number_snapshot
|
|
* @param _vehicle_number_snapshot New value to be copied in member vehicle_number_snapshot
|
|
*/
|
|
eProsima_user_DllExport void vehicle_number_snapshot(
|
|
const std::string& _vehicle_number_snapshot)
|
|
{
|
|
m_vehicle_number_snapshot = _vehicle_number_snapshot;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member vehicle_number_snapshot
|
|
* @param _vehicle_number_snapshot New value to be moved in member vehicle_number_snapshot
|
|
*/
|
|
eProsima_user_DllExport void vehicle_number_snapshot(
|
|
std::string&& _vehicle_number_snapshot)
|
|
{
|
|
m_vehicle_number_snapshot = std::move(_vehicle_number_snapshot);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member vehicle_number_snapshot
|
|
* @return Constant reference to member vehicle_number_snapshot
|
|
*/
|
|
eProsima_user_DllExport const std::string& vehicle_number_snapshot() const
|
|
{
|
|
return m_vehicle_number_snapshot;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member vehicle_number_snapshot
|
|
* @return Reference to member vehicle_number_snapshot
|
|
*/
|
|
eProsima_user_DllExport std::string& vehicle_number_snapshot()
|
|
{
|
|
return m_vehicle_number_snapshot;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member supplier_identity_id_snapshot
|
|
* @param _supplier_identity_id_snapshot New value for member supplier_identity_id_snapshot
|
|
*/
|
|
eProsima_user_DllExport void supplier_identity_id_snapshot(
|
|
int32_t _supplier_identity_id_snapshot)
|
|
{
|
|
m_supplier_identity_id_snapshot = _supplier_identity_id_snapshot;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member supplier_identity_id_snapshot
|
|
* @return Value of member supplier_identity_id_snapshot
|
|
*/
|
|
eProsima_user_DllExport int32_t supplier_identity_id_snapshot() const
|
|
{
|
|
return m_supplier_identity_id_snapshot;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member supplier_identity_id_snapshot
|
|
* @return Reference to member supplier_identity_id_snapshot
|
|
*/
|
|
eProsima_user_DllExport int32_t& supplier_identity_id_snapshot()
|
|
{
|
|
return m_supplier_identity_id_snapshot;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member goods_id_snapshot
|
|
* @param _goods_id_snapshot New value for member goods_id_snapshot
|
|
*/
|
|
eProsima_user_DllExport void goods_id_snapshot(
|
|
int32_t _goods_id_snapshot)
|
|
{
|
|
m_goods_id_snapshot = _goods_id_snapshot;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member goods_id_snapshot
|
|
* @return Value of member goods_id_snapshot
|
|
*/
|
|
eProsima_user_DllExport int32_t goods_id_snapshot() const
|
|
{
|
|
return m_goods_id_snapshot;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member goods_id_snapshot
|
|
* @return Reference to member goods_id_snapshot
|
|
*/
|
|
eProsima_user_DllExport int32_t& goods_id_snapshot()
|
|
{
|
|
return m_goods_id_snapshot;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member ship_net_weight_snapshot
|
|
* @param _ship_net_weight_snapshot New value for member ship_net_weight_snapshot
|
|
*/
|
|
eProsima_user_DllExport void ship_net_weight_snapshot(
|
|
float _ship_net_weight_snapshot)
|
|
{
|
|
m_ship_net_weight_snapshot = _ship_net_weight_snapshot;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member ship_net_weight_snapshot
|
|
* @return Value of member ship_net_weight_snapshot
|
|
*/
|
|
eProsima_user_DllExport float ship_net_weight_snapshot() const
|
|
{
|
|
return m_ship_net_weight_snapshot;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member ship_net_weight_snapshot
|
|
* @return Reference to member ship_net_weight_snapshot
|
|
*/
|
|
eProsima_user_DllExport float& ship_net_weight_snapshot()
|
|
{
|
|
return m_ship_net_weight_snapshot;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member card_flow_no_snapshot
|
|
* @param _card_flow_no_snapshot New value for member card_flow_no_snapshot
|
|
*/
|
|
eProsima_user_DllExport void card_flow_no_snapshot(
|
|
int32_t _card_flow_no_snapshot)
|
|
{
|
|
m_card_flow_no_snapshot = _card_flow_no_snapshot;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member card_flow_no_snapshot
|
|
* @return Value of member card_flow_no_snapshot
|
|
*/
|
|
eProsima_user_DllExport int32_t card_flow_no_snapshot() const
|
|
{
|
|
return m_card_flow_no_snapshot;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member card_flow_no_snapshot
|
|
* @return Reference to member card_flow_no_snapshot
|
|
*/
|
|
eProsima_user_DllExport int32_t& card_flow_no_snapshot()
|
|
{
|
|
return m_card_flow_no_snapshot;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member card_type_snapshot
|
|
* @param _card_type_snapshot New value to be copied in member card_type_snapshot
|
|
*/
|
|
eProsima_user_DllExport void card_type_snapshot(
|
|
const std::string& _card_type_snapshot)
|
|
{
|
|
m_card_type_snapshot = _card_type_snapshot;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member card_type_snapshot
|
|
* @param _card_type_snapshot New value to be moved in member card_type_snapshot
|
|
*/
|
|
eProsima_user_DllExport void card_type_snapshot(
|
|
std::string&& _card_type_snapshot)
|
|
{
|
|
m_card_type_snapshot = std::move(_card_type_snapshot);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member card_type_snapshot
|
|
* @return Constant reference to member card_type_snapshot
|
|
*/
|
|
eProsima_user_DllExport const std::string& card_type_snapshot() const
|
|
{
|
|
return m_card_type_snapshot;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member card_type_snapshot
|
|
* @return Reference to member card_type_snapshot
|
|
*/
|
|
eProsima_user_DllExport std::string& card_type_snapshot()
|
|
{
|
|
return m_card_type_snapshot;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member electronic_tag_snapshot
|
|
* @param _electronic_tag_snapshot New value to be copied in member electronic_tag_snapshot
|
|
*/
|
|
eProsima_user_DllExport void electronic_tag_snapshot(
|
|
const std::string& _electronic_tag_snapshot)
|
|
{
|
|
m_electronic_tag_snapshot = _electronic_tag_snapshot;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member electronic_tag_snapshot
|
|
* @param _electronic_tag_snapshot New value to be moved in member electronic_tag_snapshot
|
|
*/
|
|
eProsima_user_DllExport void electronic_tag_snapshot(
|
|
std::string&& _electronic_tag_snapshot)
|
|
{
|
|
m_electronic_tag_snapshot = std::move(_electronic_tag_snapshot);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member electronic_tag_snapshot
|
|
* @return Constant reference to member electronic_tag_snapshot
|
|
*/
|
|
eProsima_user_DllExport const std::string& electronic_tag_snapshot() const
|
|
{
|
|
return m_electronic_tag_snapshot;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member electronic_tag_snapshot
|
|
* @return Reference to member electronic_tag_snapshot
|
|
*/
|
|
eProsima_user_DllExport std::string& electronic_tag_snapshot()
|
|
{
|
|
return m_electronic_tag_snapshot;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::string m_message_id;
|
|
std::string m_card_number;
|
|
std::string m_device_id;
|
|
std::string m_trigger_time;
|
|
std::string m_vehicle_number_snapshot;
|
|
int32_t m_supplier_identity_id_snapshot{0};
|
|
int32_t m_goods_id_snapshot{0};
|
|
float m_ship_net_weight_snapshot{0.0};
|
|
int32_t m_card_flow_no_snapshot{0};
|
|
std::string m_card_type_snapshot;
|
|
std::string m_electronic_tag_snapshot;
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure QueueSuccess defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class QueueSuccess
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport QueueSuccess()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~QueueSuccess()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object QueueSuccess that will be copied.
|
|
*/
|
|
eProsima_user_DllExport QueueSuccess(
|
|
const QueueSuccess& x)
|
|
{
|
|
m_message_id = x.m_message_id;
|
|
|
|
m_card_number = x.m_card_number;
|
|
|
|
m_device_id = x.m_device_id;
|
|
|
|
m_result_code = x.m_result_code;
|
|
|
|
m_queue_record_id = x.m_queue_record_id;
|
|
|
|
m_queue_number = x.m_queue_number;
|
|
|
|
m_sample_machine = x.m_sample_machine;
|
|
|
|
m_queue_time = x.m_queue_time;
|
|
|
|
m_ticket_number = x.m_ticket_number;
|
|
|
|
m_sample_code = x.m_sample_code;
|
|
|
|
m_vehicle_number = x.m_vehicle_number;
|
|
|
|
m_vehicle_self_no = x.m_vehicle_self_no;
|
|
|
|
m_vehicle_type_id = x.m_vehicle_type_id;
|
|
|
|
m_supplier_identity_id = x.m_supplier_identity_id;
|
|
|
|
m_supplier_identity_name = x.m_supplier_identity_name;
|
|
|
|
m_supplier_id = x.m_supplier_id;
|
|
|
|
m_supplier_name = x.m_supplier_name;
|
|
|
|
m_goods_id = x.m_goods_id;
|
|
|
|
m_goods_name = x.m_goods_name;
|
|
|
|
m_unit_id = x.m_unit_id;
|
|
|
|
m_transport_company_id = x.m_transport_company_id;
|
|
|
|
m_sample_type = x.m_sample_type;
|
|
|
|
m_unloading_point_name = x.m_unloading_point_name;
|
|
|
|
m_ship_gross_weight = x.m_ship_gross_weight;
|
|
|
|
m_ship_tare_weight = x.m_ship_tare_weight;
|
|
|
|
m_ship_net_weight = x.m_ship_net_weight;
|
|
|
|
m_sample_machine_id = x.m_sample_machine_id;
|
|
|
|
m_vehicle_lane = x.m_vehicle_lane;
|
|
|
|
m_vehicle_lane_id = x.m_vehicle_lane_id;
|
|
|
|
m_strategy_desc = x.m_strategy_desc;
|
|
|
|
m_committed_at = x.m_committed_at;
|
|
|
|
m_display_text = x.m_display_text;
|
|
|
|
m_print_content = x.m_print_content;
|
|
|
|
m_print_required = x.m_print_required;
|
|
|
|
m_print_count = x.m_print_count;
|
|
|
|
m_voice_id = x.m_voice_id;
|
|
|
|
m_voice_text = x.m_voice_text;
|
|
|
|
m_is_reprint = x.m_is_reprint;
|
|
|
|
m_physical_card_state = x.m_physical_card_state;
|
|
|
|
m_card_write_status = x.m_card_write_status;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object QueueSuccess that will be copied.
|
|
*/
|
|
eProsima_user_DllExport QueueSuccess(
|
|
QueueSuccess&& x) noexcept
|
|
{
|
|
m_message_id = std::move(x.m_message_id);
|
|
m_card_number = std::move(x.m_card_number);
|
|
m_device_id = std::move(x.m_device_id);
|
|
m_result_code = x.m_result_code;
|
|
m_queue_record_id = x.m_queue_record_id;
|
|
m_queue_number = x.m_queue_number;
|
|
m_sample_machine = std::move(x.m_sample_machine);
|
|
m_queue_time = std::move(x.m_queue_time);
|
|
m_ticket_number = std::move(x.m_ticket_number);
|
|
m_sample_code = x.m_sample_code;
|
|
m_vehicle_number = std::move(x.m_vehicle_number);
|
|
m_vehicle_self_no = x.m_vehicle_self_no;
|
|
m_vehicle_type_id = x.m_vehicle_type_id;
|
|
m_supplier_identity_id = x.m_supplier_identity_id;
|
|
m_supplier_identity_name = std::move(x.m_supplier_identity_name);
|
|
m_supplier_id = x.m_supplier_id;
|
|
m_supplier_name = std::move(x.m_supplier_name);
|
|
m_goods_id = x.m_goods_id;
|
|
m_goods_name = std::move(x.m_goods_name);
|
|
m_unit_id = x.m_unit_id;
|
|
m_transport_company_id = x.m_transport_company_id;
|
|
m_sample_type = x.m_sample_type;
|
|
m_unloading_point_name = std::move(x.m_unloading_point_name);
|
|
m_ship_gross_weight = x.m_ship_gross_weight;
|
|
m_ship_tare_weight = x.m_ship_tare_weight;
|
|
m_ship_net_weight = x.m_ship_net_weight;
|
|
m_sample_machine_id = x.m_sample_machine_id;
|
|
m_vehicle_lane = std::move(x.m_vehicle_lane);
|
|
m_vehicle_lane_id = x.m_vehicle_lane_id;
|
|
m_strategy_desc = std::move(x.m_strategy_desc);
|
|
m_committed_at = std::move(x.m_committed_at);
|
|
m_display_text = std::move(x.m_display_text);
|
|
m_print_content = std::move(x.m_print_content);
|
|
m_print_required = x.m_print_required;
|
|
m_print_count = x.m_print_count;
|
|
m_voice_id = x.m_voice_id;
|
|
m_voice_text = std::move(x.m_voice_text);
|
|
m_is_reprint = x.m_is_reprint;
|
|
m_physical_card_state = std::move(x.m_physical_card_state);
|
|
m_card_write_status = std::move(x.m_card_write_status);
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object QueueSuccess that will be copied.
|
|
*/
|
|
eProsima_user_DllExport QueueSuccess& operator =(
|
|
const QueueSuccess& x)
|
|
{
|
|
|
|
m_message_id = x.m_message_id;
|
|
|
|
m_card_number = x.m_card_number;
|
|
|
|
m_device_id = x.m_device_id;
|
|
|
|
m_result_code = x.m_result_code;
|
|
|
|
m_queue_record_id = x.m_queue_record_id;
|
|
|
|
m_queue_number = x.m_queue_number;
|
|
|
|
m_sample_machine = x.m_sample_machine;
|
|
|
|
m_queue_time = x.m_queue_time;
|
|
|
|
m_ticket_number = x.m_ticket_number;
|
|
|
|
m_sample_code = x.m_sample_code;
|
|
|
|
m_vehicle_number = x.m_vehicle_number;
|
|
|
|
m_vehicle_self_no = x.m_vehicle_self_no;
|
|
|
|
m_vehicle_type_id = x.m_vehicle_type_id;
|
|
|
|
m_supplier_identity_id = x.m_supplier_identity_id;
|
|
|
|
m_supplier_identity_name = x.m_supplier_identity_name;
|
|
|
|
m_supplier_id = x.m_supplier_id;
|
|
|
|
m_supplier_name = x.m_supplier_name;
|
|
|
|
m_goods_id = x.m_goods_id;
|
|
|
|
m_goods_name = x.m_goods_name;
|
|
|
|
m_unit_id = x.m_unit_id;
|
|
|
|
m_transport_company_id = x.m_transport_company_id;
|
|
|
|
m_sample_type = x.m_sample_type;
|
|
|
|
m_unloading_point_name = x.m_unloading_point_name;
|
|
|
|
m_ship_gross_weight = x.m_ship_gross_weight;
|
|
|
|
m_ship_tare_weight = x.m_ship_tare_weight;
|
|
|
|
m_ship_net_weight = x.m_ship_net_weight;
|
|
|
|
m_sample_machine_id = x.m_sample_machine_id;
|
|
|
|
m_vehicle_lane = x.m_vehicle_lane;
|
|
|
|
m_vehicle_lane_id = x.m_vehicle_lane_id;
|
|
|
|
m_strategy_desc = x.m_strategy_desc;
|
|
|
|
m_committed_at = x.m_committed_at;
|
|
|
|
m_display_text = x.m_display_text;
|
|
|
|
m_print_content = x.m_print_content;
|
|
|
|
m_print_required = x.m_print_required;
|
|
|
|
m_print_count = x.m_print_count;
|
|
|
|
m_voice_id = x.m_voice_id;
|
|
|
|
m_voice_text = x.m_voice_text;
|
|
|
|
m_is_reprint = x.m_is_reprint;
|
|
|
|
m_physical_card_state = x.m_physical_card_state;
|
|
|
|
m_card_write_status = x.m_card_write_status;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object QueueSuccess that will be copied.
|
|
*/
|
|
eProsima_user_DllExport QueueSuccess& operator =(
|
|
QueueSuccess&& x) noexcept
|
|
{
|
|
|
|
m_message_id = std::move(x.m_message_id);
|
|
m_card_number = std::move(x.m_card_number);
|
|
m_device_id = std::move(x.m_device_id);
|
|
m_result_code = x.m_result_code;
|
|
m_queue_record_id = x.m_queue_record_id;
|
|
m_queue_number = x.m_queue_number;
|
|
m_sample_machine = std::move(x.m_sample_machine);
|
|
m_queue_time = std::move(x.m_queue_time);
|
|
m_ticket_number = std::move(x.m_ticket_number);
|
|
m_sample_code = x.m_sample_code;
|
|
m_vehicle_number = std::move(x.m_vehicle_number);
|
|
m_vehicle_self_no = x.m_vehicle_self_no;
|
|
m_vehicle_type_id = x.m_vehicle_type_id;
|
|
m_supplier_identity_id = x.m_supplier_identity_id;
|
|
m_supplier_identity_name = std::move(x.m_supplier_identity_name);
|
|
m_supplier_id = x.m_supplier_id;
|
|
m_supplier_name = std::move(x.m_supplier_name);
|
|
m_goods_id = x.m_goods_id;
|
|
m_goods_name = std::move(x.m_goods_name);
|
|
m_unit_id = x.m_unit_id;
|
|
m_transport_company_id = x.m_transport_company_id;
|
|
m_sample_type = x.m_sample_type;
|
|
m_unloading_point_name = std::move(x.m_unloading_point_name);
|
|
m_ship_gross_weight = x.m_ship_gross_weight;
|
|
m_ship_tare_weight = x.m_ship_tare_weight;
|
|
m_ship_net_weight = x.m_ship_net_weight;
|
|
m_sample_machine_id = x.m_sample_machine_id;
|
|
m_vehicle_lane = std::move(x.m_vehicle_lane);
|
|
m_vehicle_lane_id = x.m_vehicle_lane_id;
|
|
m_strategy_desc = std::move(x.m_strategy_desc);
|
|
m_committed_at = std::move(x.m_committed_at);
|
|
m_display_text = std::move(x.m_display_text);
|
|
m_print_content = std::move(x.m_print_content);
|
|
m_print_required = x.m_print_required;
|
|
m_print_count = x.m_print_count;
|
|
m_voice_id = x.m_voice_id;
|
|
m_voice_text = std::move(x.m_voice_text);
|
|
m_is_reprint = x.m_is_reprint;
|
|
m_physical_card_state = std::move(x.m_physical_card_state);
|
|
m_card_write_status = std::move(x.m_card_write_status);
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x QueueSuccess object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const QueueSuccess& x) const
|
|
{
|
|
return (m_message_id == x.m_message_id &&
|
|
m_card_number == x.m_card_number &&
|
|
m_device_id == x.m_device_id &&
|
|
m_result_code == x.m_result_code &&
|
|
m_queue_record_id == x.m_queue_record_id &&
|
|
m_queue_number == x.m_queue_number &&
|
|
m_sample_machine == x.m_sample_machine &&
|
|
m_queue_time == x.m_queue_time &&
|
|
m_ticket_number == x.m_ticket_number &&
|
|
m_sample_code == x.m_sample_code &&
|
|
m_vehicle_number == x.m_vehicle_number &&
|
|
m_vehicle_self_no == x.m_vehicle_self_no &&
|
|
m_vehicle_type_id == x.m_vehicle_type_id &&
|
|
m_supplier_identity_id == x.m_supplier_identity_id &&
|
|
m_supplier_identity_name == x.m_supplier_identity_name &&
|
|
m_supplier_id == x.m_supplier_id &&
|
|
m_supplier_name == x.m_supplier_name &&
|
|
m_goods_id == x.m_goods_id &&
|
|
m_goods_name == x.m_goods_name &&
|
|
m_unit_id == x.m_unit_id &&
|
|
m_transport_company_id == x.m_transport_company_id &&
|
|
m_sample_type == x.m_sample_type &&
|
|
m_unloading_point_name == x.m_unloading_point_name &&
|
|
m_ship_gross_weight == x.m_ship_gross_weight &&
|
|
m_ship_tare_weight == x.m_ship_tare_weight &&
|
|
m_ship_net_weight == x.m_ship_net_weight &&
|
|
m_sample_machine_id == x.m_sample_machine_id &&
|
|
m_vehicle_lane == x.m_vehicle_lane &&
|
|
m_vehicle_lane_id == x.m_vehicle_lane_id &&
|
|
m_strategy_desc == x.m_strategy_desc &&
|
|
m_committed_at == x.m_committed_at &&
|
|
m_display_text == x.m_display_text &&
|
|
m_print_content == x.m_print_content &&
|
|
m_print_required == x.m_print_required &&
|
|
m_print_count == x.m_print_count &&
|
|
m_voice_id == x.m_voice_id &&
|
|
m_voice_text == x.m_voice_text &&
|
|
m_is_reprint == x.m_is_reprint &&
|
|
m_physical_card_state == x.m_physical_card_state &&
|
|
m_card_write_status == x.m_card_write_status);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x QueueSuccess object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const QueueSuccess& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function copies the value in member message_id
|
|
* @param _message_id New value to be copied in member message_id
|
|
*/
|
|
eProsima_user_DllExport void message_id(
|
|
const std::string& _message_id)
|
|
{
|
|
m_message_id = _message_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member message_id
|
|
* @param _message_id New value to be moved in member message_id
|
|
*/
|
|
eProsima_user_DllExport void message_id(
|
|
std::string&& _message_id)
|
|
{
|
|
m_message_id = std::move(_message_id);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member message_id
|
|
* @return Constant reference to member message_id
|
|
*/
|
|
eProsima_user_DllExport const std::string& message_id() const
|
|
{
|
|
return m_message_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member message_id
|
|
* @return Reference to member message_id
|
|
*/
|
|
eProsima_user_DllExport std::string& message_id()
|
|
{
|
|
return m_message_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member card_number
|
|
* @param _card_number New value to be copied in member card_number
|
|
*/
|
|
eProsima_user_DllExport void card_number(
|
|
const std::string& _card_number)
|
|
{
|
|
m_card_number = _card_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member card_number
|
|
* @param _card_number New value to be moved in member card_number
|
|
*/
|
|
eProsima_user_DllExport void card_number(
|
|
std::string&& _card_number)
|
|
{
|
|
m_card_number = std::move(_card_number);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member card_number
|
|
* @return Constant reference to member card_number
|
|
*/
|
|
eProsima_user_DllExport const std::string& card_number() const
|
|
{
|
|
return m_card_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member card_number
|
|
* @return Reference to member card_number
|
|
*/
|
|
eProsima_user_DllExport std::string& card_number()
|
|
{
|
|
return m_card_number;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member device_id
|
|
* @param _device_id New value to be copied in member device_id
|
|
*/
|
|
eProsima_user_DllExport void device_id(
|
|
const std::string& _device_id)
|
|
{
|
|
m_device_id = _device_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member device_id
|
|
* @param _device_id New value to be moved in member device_id
|
|
*/
|
|
eProsima_user_DllExport void device_id(
|
|
std::string&& _device_id)
|
|
{
|
|
m_device_id = std::move(_device_id);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member device_id
|
|
* @return Constant reference to member device_id
|
|
*/
|
|
eProsima_user_DllExport const std::string& device_id() const
|
|
{
|
|
return m_device_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member device_id
|
|
* @return Reference to member device_id
|
|
*/
|
|
eProsima_user_DllExport std::string& device_id()
|
|
{
|
|
return m_device_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member result_code
|
|
* @param _result_code New value for member result_code
|
|
*/
|
|
eProsima_user_DllExport void result_code(
|
|
int32_t _result_code)
|
|
{
|
|
m_result_code = _result_code;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member result_code
|
|
* @return Value of member result_code
|
|
*/
|
|
eProsima_user_DllExport int32_t result_code() const
|
|
{
|
|
return m_result_code;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member result_code
|
|
* @return Reference to member result_code
|
|
*/
|
|
eProsima_user_DllExport int32_t& result_code()
|
|
{
|
|
return m_result_code;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member queue_record_id
|
|
* @param _queue_record_id New value for member queue_record_id
|
|
*/
|
|
eProsima_user_DllExport void queue_record_id(
|
|
int32_t _queue_record_id)
|
|
{
|
|
m_queue_record_id = _queue_record_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member queue_record_id
|
|
* @return Value of member queue_record_id
|
|
*/
|
|
eProsima_user_DllExport int32_t queue_record_id() const
|
|
{
|
|
return m_queue_record_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member queue_record_id
|
|
* @return Reference to member queue_record_id
|
|
*/
|
|
eProsima_user_DllExport int32_t& queue_record_id()
|
|
{
|
|
return m_queue_record_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member queue_number
|
|
* @param _queue_number New value for member queue_number
|
|
*/
|
|
eProsima_user_DllExport void queue_number(
|
|
int32_t _queue_number)
|
|
{
|
|
m_queue_number = _queue_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member queue_number
|
|
* @return Value of member queue_number
|
|
*/
|
|
eProsima_user_DllExport int32_t queue_number() const
|
|
{
|
|
return m_queue_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member queue_number
|
|
* @return Reference to member queue_number
|
|
*/
|
|
eProsima_user_DllExport int32_t& queue_number()
|
|
{
|
|
return m_queue_number;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member sample_machine
|
|
* @param _sample_machine New value to be copied in member sample_machine
|
|
*/
|
|
eProsima_user_DllExport void sample_machine(
|
|
const std::string& _sample_machine)
|
|
{
|
|
m_sample_machine = _sample_machine;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member sample_machine
|
|
* @param _sample_machine New value to be moved in member sample_machine
|
|
*/
|
|
eProsima_user_DllExport void sample_machine(
|
|
std::string&& _sample_machine)
|
|
{
|
|
m_sample_machine = std::move(_sample_machine);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member sample_machine
|
|
* @return Constant reference to member sample_machine
|
|
*/
|
|
eProsima_user_DllExport const std::string& sample_machine() const
|
|
{
|
|
return m_sample_machine;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member sample_machine
|
|
* @return Reference to member sample_machine
|
|
*/
|
|
eProsima_user_DllExport std::string& sample_machine()
|
|
{
|
|
return m_sample_machine;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member queue_time
|
|
* @param _queue_time New value to be copied in member queue_time
|
|
*/
|
|
eProsima_user_DllExport void queue_time(
|
|
const std::string& _queue_time)
|
|
{
|
|
m_queue_time = _queue_time;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member queue_time
|
|
* @param _queue_time New value to be moved in member queue_time
|
|
*/
|
|
eProsima_user_DllExport void queue_time(
|
|
std::string&& _queue_time)
|
|
{
|
|
m_queue_time = std::move(_queue_time);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member queue_time
|
|
* @return Constant reference to member queue_time
|
|
*/
|
|
eProsima_user_DllExport const std::string& queue_time() const
|
|
{
|
|
return m_queue_time;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member queue_time
|
|
* @return Reference to member queue_time
|
|
*/
|
|
eProsima_user_DllExport std::string& queue_time()
|
|
{
|
|
return m_queue_time;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member ticket_number
|
|
* @param _ticket_number New value to be copied in member ticket_number
|
|
*/
|
|
eProsima_user_DllExport void ticket_number(
|
|
const std::string& _ticket_number)
|
|
{
|
|
m_ticket_number = _ticket_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member ticket_number
|
|
* @param _ticket_number New value to be moved in member ticket_number
|
|
*/
|
|
eProsima_user_DllExport void ticket_number(
|
|
std::string&& _ticket_number)
|
|
{
|
|
m_ticket_number = std::move(_ticket_number);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member ticket_number
|
|
* @return Constant reference to member ticket_number
|
|
*/
|
|
eProsima_user_DllExport const std::string& ticket_number() const
|
|
{
|
|
return m_ticket_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member ticket_number
|
|
* @return Reference to member ticket_number
|
|
*/
|
|
eProsima_user_DllExport std::string& ticket_number()
|
|
{
|
|
return m_ticket_number;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member sample_code
|
|
* @param _sample_code New value for member sample_code
|
|
*/
|
|
eProsima_user_DllExport void sample_code(
|
|
int32_t _sample_code)
|
|
{
|
|
m_sample_code = _sample_code;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member sample_code
|
|
* @return Value of member sample_code
|
|
*/
|
|
eProsima_user_DllExport int32_t sample_code() const
|
|
{
|
|
return m_sample_code;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member sample_code
|
|
* @return Reference to member sample_code
|
|
*/
|
|
eProsima_user_DllExport int32_t& sample_code()
|
|
{
|
|
return m_sample_code;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member vehicle_number
|
|
* @param _vehicle_number New value to be copied in member vehicle_number
|
|
*/
|
|
eProsima_user_DllExport void vehicle_number(
|
|
const std::string& _vehicle_number)
|
|
{
|
|
m_vehicle_number = _vehicle_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member vehicle_number
|
|
* @param _vehicle_number New value to be moved in member vehicle_number
|
|
*/
|
|
eProsima_user_DllExport void vehicle_number(
|
|
std::string&& _vehicle_number)
|
|
{
|
|
m_vehicle_number = std::move(_vehicle_number);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member vehicle_number
|
|
* @return Constant reference to member vehicle_number
|
|
*/
|
|
eProsima_user_DllExport const std::string& vehicle_number() const
|
|
{
|
|
return m_vehicle_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member vehicle_number
|
|
* @return Reference to member vehicle_number
|
|
*/
|
|
eProsima_user_DllExport std::string& vehicle_number()
|
|
{
|
|
return m_vehicle_number;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member vehicle_self_no
|
|
* @param _vehicle_self_no New value for member vehicle_self_no
|
|
*/
|
|
eProsima_user_DllExport void vehicle_self_no(
|
|
int32_t _vehicle_self_no)
|
|
{
|
|
m_vehicle_self_no = _vehicle_self_no;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member vehicle_self_no
|
|
* @return Value of member vehicle_self_no
|
|
*/
|
|
eProsima_user_DllExport int32_t vehicle_self_no() const
|
|
{
|
|
return m_vehicle_self_no;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member vehicle_self_no
|
|
* @return Reference to member vehicle_self_no
|
|
*/
|
|
eProsima_user_DllExport int32_t& vehicle_self_no()
|
|
{
|
|
return m_vehicle_self_no;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member vehicle_type_id
|
|
* @param _vehicle_type_id New value for member vehicle_type_id
|
|
*/
|
|
eProsima_user_DllExport void vehicle_type_id(
|
|
int32_t _vehicle_type_id)
|
|
{
|
|
m_vehicle_type_id = _vehicle_type_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member vehicle_type_id
|
|
* @return Value of member vehicle_type_id
|
|
*/
|
|
eProsima_user_DllExport int32_t vehicle_type_id() const
|
|
{
|
|
return m_vehicle_type_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member vehicle_type_id
|
|
* @return Reference to member vehicle_type_id
|
|
*/
|
|
eProsima_user_DllExport int32_t& vehicle_type_id()
|
|
{
|
|
return m_vehicle_type_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member supplier_identity_id
|
|
* @param _supplier_identity_id New value for member supplier_identity_id
|
|
*/
|
|
eProsima_user_DllExport void supplier_identity_id(
|
|
int32_t _supplier_identity_id)
|
|
{
|
|
m_supplier_identity_id = _supplier_identity_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member supplier_identity_id
|
|
* @return Value of member supplier_identity_id
|
|
*/
|
|
eProsima_user_DllExport int32_t supplier_identity_id() const
|
|
{
|
|
return m_supplier_identity_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member supplier_identity_id
|
|
* @return Reference to member supplier_identity_id
|
|
*/
|
|
eProsima_user_DllExport int32_t& supplier_identity_id()
|
|
{
|
|
return m_supplier_identity_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member supplier_identity_name
|
|
* @param _supplier_identity_name New value to be copied in member supplier_identity_name
|
|
*/
|
|
eProsima_user_DllExport void supplier_identity_name(
|
|
const std::string& _supplier_identity_name)
|
|
{
|
|
m_supplier_identity_name = _supplier_identity_name;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member supplier_identity_name
|
|
* @param _supplier_identity_name New value to be moved in member supplier_identity_name
|
|
*/
|
|
eProsima_user_DllExport void supplier_identity_name(
|
|
std::string&& _supplier_identity_name)
|
|
{
|
|
m_supplier_identity_name = std::move(_supplier_identity_name);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member supplier_identity_name
|
|
* @return Constant reference to member supplier_identity_name
|
|
*/
|
|
eProsima_user_DllExport const std::string& supplier_identity_name() const
|
|
{
|
|
return m_supplier_identity_name;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member supplier_identity_name
|
|
* @return Reference to member supplier_identity_name
|
|
*/
|
|
eProsima_user_DllExport std::string& supplier_identity_name()
|
|
{
|
|
return m_supplier_identity_name;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member supplier_id
|
|
* @param _supplier_id New value for member supplier_id
|
|
*/
|
|
eProsima_user_DllExport void supplier_id(
|
|
int32_t _supplier_id)
|
|
{
|
|
m_supplier_id = _supplier_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member supplier_id
|
|
* @return Value of member supplier_id
|
|
*/
|
|
eProsima_user_DllExport int32_t supplier_id() const
|
|
{
|
|
return m_supplier_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member supplier_id
|
|
* @return Reference to member supplier_id
|
|
*/
|
|
eProsima_user_DllExport int32_t& supplier_id()
|
|
{
|
|
return m_supplier_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member supplier_name
|
|
* @param _supplier_name New value to be copied in member supplier_name
|
|
*/
|
|
eProsima_user_DllExport void supplier_name(
|
|
const std::string& _supplier_name)
|
|
{
|
|
m_supplier_name = _supplier_name;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member supplier_name
|
|
* @param _supplier_name New value to be moved in member supplier_name
|
|
*/
|
|
eProsima_user_DllExport void supplier_name(
|
|
std::string&& _supplier_name)
|
|
{
|
|
m_supplier_name = std::move(_supplier_name);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member supplier_name
|
|
* @return Constant reference to member supplier_name
|
|
*/
|
|
eProsima_user_DllExport const std::string& supplier_name() const
|
|
{
|
|
return m_supplier_name;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member supplier_name
|
|
* @return Reference to member supplier_name
|
|
*/
|
|
eProsima_user_DllExport std::string& supplier_name()
|
|
{
|
|
return m_supplier_name;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member goods_id
|
|
* @param _goods_id New value for member goods_id
|
|
*/
|
|
eProsima_user_DllExport void goods_id(
|
|
int32_t _goods_id)
|
|
{
|
|
m_goods_id = _goods_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member goods_id
|
|
* @return Value of member goods_id
|
|
*/
|
|
eProsima_user_DllExport int32_t goods_id() const
|
|
{
|
|
return m_goods_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member goods_id
|
|
* @return Reference to member goods_id
|
|
*/
|
|
eProsima_user_DllExport int32_t& goods_id()
|
|
{
|
|
return m_goods_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member goods_name
|
|
* @param _goods_name New value to be copied in member goods_name
|
|
*/
|
|
eProsima_user_DllExport void goods_name(
|
|
const std::string& _goods_name)
|
|
{
|
|
m_goods_name = _goods_name;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member goods_name
|
|
* @param _goods_name New value to be moved in member goods_name
|
|
*/
|
|
eProsima_user_DllExport void goods_name(
|
|
std::string&& _goods_name)
|
|
{
|
|
m_goods_name = std::move(_goods_name);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member goods_name
|
|
* @return Constant reference to member goods_name
|
|
*/
|
|
eProsima_user_DllExport const std::string& goods_name() const
|
|
{
|
|
return m_goods_name;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member goods_name
|
|
* @return Reference to member goods_name
|
|
*/
|
|
eProsima_user_DllExport std::string& goods_name()
|
|
{
|
|
return m_goods_name;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member unit_id
|
|
* @param _unit_id New value for member unit_id
|
|
*/
|
|
eProsima_user_DllExport void unit_id(
|
|
int32_t _unit_id)
|
|
{
|
|
m_unit_id = _unit_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member unit_id
|
|
* @return Value of member unit_id
|
|
*/
|
|
eProsima_user_DllExport int32_t unit_id() const
|
|
{
|
|
return m_unit_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member unit_id
|
|
* @return Reference to member unit_id
|
|
*/
|
|
eProsima_user_DllExport int32_t& unit_id()
|
|
{
|
|
return m_unit_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member transport_company_id
|
|
* @param _transport_company_id New value for member transport_company_id
|
|
*/
|
|
eProsima_user_DllExport void transport_company_id(
|
|
int32_t _transport_company_id)
|
|
{
|
|
m_transport_company_id = _transport_company_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member transport_company_id
|
|
* @return Value of member transport_company_id
|
|
*/
|
|
eProsima_user_DllExport int32_t transport_company_id() const
|
|
{
|
|
return m_transport_company_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member transport_company_id
|
|
* @return Reference to member transport_company_id
|
|
*/
|
|
eProsima_user_DllExport int32_t& transport_company_id()
|
|
{
|
|
return m_transport_company_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member sample_type
|
|
* @param _sample_type New value for member sample_type
|
|
*/
|
|
eProsima_user_DllExport void sample_type(
|
|
int32_t _sample_type)
|
|
{
|
|
m_sample_type = _sample_type;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member sample_type
|
|
* @return Value of member sample_type
|
|
*/
|
|
eProsima_user_DllExport int32_t sample_type() const
|
|
{
|
|
return m_sample_type;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member sample_type
|
|
* @return Reference to member sample_type
|
|
*/
|
|
eProsima_user_DllExport int32_t& sample_type()
|
|
{
|
|
return m_sample_type;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member unloading_point_name
|
|
* @param _unloading_point_name New value to be copied in member unloading_point_name
|
|
*/
|
|
eProsima_user_DllExport void unloading_point_name(
|
|
const std::string& _unloading_point_name)
|
|
{
|
|
m_unloading_point_name = _unloading_point_name;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member unloading_point_name
|
|
* @param _unloading_point_name New value to be moved in member unloading_point_name
|
|
*/
|
|
eProsima_user_DllExport void unloading_point_name(
|
|
std::string&& _unloading_point_name)
|
|
{
|
|
m_unloading_point_name = std::move(_unloading_point_name);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member unloading_point_name
|
|
* @return Constant reference to member unloading_point_name
|
|
*/
|
|
eProsima_user_DllExport const std::string& unloading_point_name() const
|
|
{
|
|
return m_unloading_point_name;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member unloading_point_name
|
|
* @return Reference to member unloading_point_name
|
|
*/
|
|
eProsima_user_DllExport std::string& unloading_point_name()
|
|
{
|
|
return m_unloading_point_name;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member ship_gross_weight
|
|
* @param _ship_gross_weight New value for member ship_gross_weight
|
|
*/
|
|
eProsima_user_DllExport void ship_gross_weight(
|
|
float _ship_gross_weight)
|
|
{
|
|
m_ship_gross_weight = _ship_gross_weight;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member ship_gross_weight
|
|
* @return Value of member ship_gross_weight
|
|
*/
|
|
eProsima_user_DllExport float ship_gross_weight() const
|
|
{
|
|
return m_ship_gross_weight;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member ship_gross_weight
|
|
* @return Reference to member ship_gross_weight
|
|
*/
|
|
eProsima_user_DllExport float& ship_gross_weight()
|
|
{
|
|
return m_ship_gross_weight;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member ship_tare_weight
|
|
* @param _ship_tare_weight New value for member ship_tare_weight
|
|
*/
|
|
eProsima_user_DllExport void ship_tare_weight(
|
|
float _ship_tare_weight)
|
|
{
|
|
m_ship_tare_weight = _ship_tare_weight;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member ship_tare_weight
|
|
* @return Value of member ship_tare_weight
|
|
*/
|
|
eProsima_user_DllExport float ship_tare_weight() const
|
|
{
|
|
return m_ship_tare_weight;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member ship_tare_weight
|
|
* @return Reference to member ship_tare_weight
|
|
*/
|
|
eProsima_user_DllExport float& ship_tare_weight()
|
|
{
|
|
return m_ship_tare_weight;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member ship_net_weight
|
|
* @param _ship_net_weight New value for member ship_net_weight
|
|
*/
|
|
eProsima_user_DllExport void ship_net_weight(
|
|
float _ship_net_weight)
|
|
{
|
|
m_ship_net_weight = _ship_net_weight;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member ship_net_weight
|
|
* @return Value of member ship_net_weight
|
|
*/
|
|
eProsima_user_DllExport float ship_net_weight() const
|
|
{
|
|
return m_ship_net_weight;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member ship_net_weight
|
|
* @return Reference to member ship_net_weight
|
|
*/
|
|
eProsima_user_DllExport float& ship_net_weight()
|
|
{
|
|
return m_ship_net_weight;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member sample_machine_id
|
|
* @param _sample_machine_id New value for member sample_machine_id
|
|
*/
|
|
eProsima_user_DllExport void sample_machine_id(
|
|
int32_t _sample_machine_id)
|
|
{
|
|
m_sample_machine_id = _sample_machine_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member sample_machine_id
|
|
* @return Value of member sample_machine_id
|
|
*/
|
|
eProsima_user_DllExport int32_t sample_machine_id() const
|
|
{
|
|
return m_sample_machine_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member sample_machine_id
|
|
* @return Reference to member sample_machine_id
|
|
*/
|
|
eProsima_user_DllExport int32_t& sample_machine_id()
|
|
{
|
|
return m_sample_machine_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member vehicle_lane
|
|
* @param _vehicle_lane New value to be copied in member vehicle_lane
|
|
*/
|
|
eProsima_user_DllExport void vehicle_lane(
|
|
const std::string& _vehicle_lane)
|
|
{
|
|
m_vehicle_lane = _vehicle_lane;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member vehicle_lane
|
|
* @param _vehicle_lane New value to be moved in member vehicle_lane
|
|
*/
|
|
eProsima_user_DllExport void vehicle_lane(
|
|
std::string&& _vehicle_lane)
|
|
{
|
|
m_vehicle_lane = std::move(_vehicle_lane);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member vehicle_lane
|
|
* @return Constant reference to member vehicle_lane
|
|
*/
|
|
eProsima_user_DllExport const std::string& vehicle_lane() const
|
|
{
|
|
return m_vehicle_lane;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member vehicle_lane
|
|
* @return Reference to member vehicle_lane
|
|
*/
|
|
eProsima_user_DllExport std::string& vehicle_lane()
|
|
{
|
|
return m_vehicle_lane;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member vehicle_lane_id
|
|
* @param _vehicle_lane_id New value for member vehicle_lane_id
|
|
*/
|
|
eProsima_user_DllExport void vehicle_lane_id(
|
|
int32_t _vehicle_lane_id)
|
|
{
|
|
m_vehicle_lane_id = _vehicle_lane_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member vehicle_lane_id
|
|
* @return Value of member vehicle_lane_id
|
|
*/
|
|
eProsima_user_DllExport int32_t vehicle_lane_id() const
|
|
{
|
|
return m_vehicle_lane_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member vehicle_lane_id
|
|
* @return Reference to member vehicle_lane_id
|
|
*/
|
|
eProsima_user_DllExport int32_t& vehicle_lane_id()
|
|
{
|
|
return m_vehicle_lane_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member strategy_desc
|
|
* @param _strategy_desc New value to be copied in member strategy_desc
|
|
*/
|
|
eProsima_user_DllExport void strategy_desc(
|
|
const std::string& _strategy_desc)
|
|
{
|
|
m_strategy_desc = _strategy_desc;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member strategy_desc
|
|
* @param _strategy_desc New value to be moved in member strategy_desc
|
|
*/
|
|
eProsima_user_DllExport void strategy_desc(
|
|
std::string&& _strategy_desc)
|
|
{
|
|
m_strategy_desc = std::move(_strategy_desc);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member strategy_desc
|
|
* @return Constant reference to member strategy_desc
|
|
*/
|
|
eProsima_user_DllExport const std::string& strategy_desc() const
|
|
{
|
|
return m_strategy_desc;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member strategy_desc
|
|
* @return Reference to member strategy_desc
|
|
*/
|
|
eProsima_user_DllExport std::string& strategy_desc()
|
|
{
|
|
return m_strategy_desc;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member committed_at
|
|
* @param _committed_at New value to be copied in member committed_at
|
|
*/
|
|
eProsima_user_DllExport void committed_at(
|
|
const std::string& _committed_at)
|
|
{
|
|
m_committed_at = _committed_at;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member committed_at
|
|
* @param _committed_at New value to be moved in member committed_at
|
|
*/
|
|
eProsima_user_DllExport void committed_at(
|
|
std::string&& _committed_at)
|
|
{
|
|
m_committed_at = std::move(_committed_at);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member committed_at
|
|
* @return Constant reference to member committed_at
|
|
*/
|
|
eProsima_user_DllExport const std::string& committed_at() const
|
|
{
|
|
return m_committed_at;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member committed_at
|
|
* @return Reference to member committed_at
|
|
*/
|
|
eProsima_user_DllExport std::string& committed_at()
|
|
{
|
|
return m_committed_at;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member display_text
|
|
* @param _display_text New value to be copied in member display_text
|
|
*/
|
|
eProsima_user_DllExport void display_text(
|
|
const std::string& _display_text)
|
|
{
|
|
m_display_text = _display_text;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member display_text
|
|
* @param _display_text New value to be moved in member display_text
|
|
*/
|
|
eProsima_user_DllExport void display_text(
|
|
std::string&& _display_text)
|
|
{
|
|
m_display_text = std::move(_display_text);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member display_text
|
|
* @return Constant reference to member display_text
|
|
*/
|
|
eProsima_user_DllExport const std::string& display_text() const
|
|
{
|
|
return m_display_text;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member display_text
|
|
* @return Reference to member display_text
|
|
*/
|
|
eProsima_user_DllExport std::string& display_text()
|
|
{
|
|
return m_display_text;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member print_content
|
|
* @param _print_content New value to be copied in member print_content
|
|
*/
|
|
eProsima_user_DllExport void print_content(
|
|
const std::string& _print_content)
|
|
{
|
|
m_print_content = _print_content;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member print_content
|
|
* @param _print_content New value to be moved in member print_content
|
|
*/
|
|
eProsima_user_DllExport void print_content(
|
|
std::string&& _print_content)
|
|
{
|
|
m_print_content = std::move(_print_content);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member print_content
|
|
* @return Constant reference to member print_content
|
|
*/
|
|
eProsima_user_DllExport const std::string& print_content() const
|
|
{
|
|
return m_print_content;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member print_content
|
|
* @return Reference to member print_content
|
|
*/
|
|
eProsima_user_DllExport std::string& print_content()
|
|
{
|
|
return m_print_content;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member print_required
|
|
* @param _print_required New value for member print_required
|
|
*/
|
|
eProsima_user_DllExport void print_required(
|
|
bool _print_required)
|
|
{
|
|
m_print_required = _print_required;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member print_required
|
|
* @return Value of member print_required
|
|
*/
|
|
eProsima_user_DllExport bool print_required() const
|
|
{
|
|
return m_print_required;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member print_required
|
|
* @return Reference to member print_required
|
|
*/
|
|
eProsima_user_DllExport bool& print_required()
|
|
{
|
|
return m_print_required;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member print_count
|
|
* @param _print_count New value for member print_count
|
|
*/
|
|
eProsima_user_DllExport void print_count(
|
|
int32_t _print_count)
|
|
{
|
|
m_print_count = _print_count;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member print_count
|
|
* @return Value of member print_count
|
|
*/
|
|
eProsima_user_DllExport int32_t print_count() const
|
|
{
|
|
return m_print_count;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member print_count
|
|
* @return Reference to member print_count
|
|
*/
|
|
eProsima_user_DllExport int32_t& print_count()
|
|
{
|
|
return m_print_count;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member voice_id
|
|
* @param _voice_id New value for member voice_id
|
|
*/
|
|
eProsima_user_DllExport void voice_id(
|
|
int32_t _voice_id)
|
|
{
|
|
m_voice_id = _voice_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member voice_id
|
|
* @return Value of member voice_id
|
|
*/
|
|
eProsima_user_DllExport int32_t voice_id() const
|
|
{
|
|
return m_voice_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member voice_id
|
|
* @return Reference to member voice_id
|
|
*/
|
|
eProsima_user_DllExport int32_t& voice_id()
|
|
{
|
|
return m_voice_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member voice_text
|
|
* @param _voice_text New value to be copied in member voice_text
|
|
*/
|
|
eProsima_user_DllExport void voice_text(
|
|
const std::string& _voice_text)
|
|
{
|
|
m_voice_text = _voice_text;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member voice_text
|
|
* @param _voice_text New value to be moved in member voice_text
|
|
*/
|
|
eProsima_user_DllExport void voice_text(
|
|
std::string&& _voice_text)
|
|
{
|
|
m_voice_text = std::move(_voice_text);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member voice_text
|
|
* @return Constant reference to member voice_text
|
|
*/
|
|
eProsima_user_DllExport const std::string& voice_text() const
|
|
{
|
|
return m_voice_text;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member voice_text
|
|
* @return Reference to member voice_text
|
|
*/
|
|
eProsima_user_DllExport std::string& voice_text()
|
|
{
|
|
return m_voice_text;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member is_reprint
|
|
* @param _is_reprint New value for member is_reprint
|
|
*/
|
|
eProsima_user_DllExport void is_reprint(
|
|
bool _is_reprint)
|
|
{
|
|
m_is_reprint = _is_reprint;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member is_reprint
|
|
* @return Value of member is_reprint
|
|
*/
|
|
eProsima_user_DllExport bool is_reprint() const
|
|
{
|
|
return m_is_reprint;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member is_reprint
|
|
* @return Reference to member is_reprint
|
|
*/
|
|
eProsima_user_DllExport bool& is_reprint()
|
|
{
|
|
return m_is_reprint;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member physical_card_state
|
|
* @param _physical_card_state New value to be copied in member physical_card_state
|
|
*/
|
|
eProsima_user_DllExport void physical_card_state(
|
|
const std::string& _physical_card_state)
|
|
{
|
|
m_physical_card_state = _physical_card_state;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member physical_card_state
|
|
* @param _physical_card_state New value to be moved in member physical_card_state
|
|
*/
|
|
eProsima_user_DllExport void physical_card_state(
|
|
std::string&& _physical_card_state)
|
|
{
|
|
m_physical_card_state = std::move(_physical_card_state);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member physical_card_state
|
|
* @return Constant reference to member physical_card_state
|
|
*/
|
|
eProsima_user_DllExport const std::string& physical_card_state() const
|
|
{
|
|
return m_physical_card_state;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member physical_card_state
|
|
* @return Reference to member physical_card_state
|
|
*/
|
|
eProsima_user_DllExport std::string& physical_card_state()
|
|
{
|
|
return m_physical_card_state;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member card_write_status
|
|
* @param _card_write_status New value to be copied in member card_write_status
|
|
*/
|
|
eProsima_user_DllExport void card_write_status(
|
|
const std::string& _card_write_status)
|
|
{
|
|
m_card_write_status = _card_write_status;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member card_write_status
|
|
* @param _card_write_status New value to be moved in member card_write_status
|
|
*/
|
|
eProsima_user_DllExport void card_write_status(
|
|
std::string&& _card_write_status)
|
|
{
|
|
m_card_write_status = std::move(_card_write_status);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member card_write_status
|
|
* @return Constant reference to member card_write_status
|
|
*/
|
|
eProsima_user_DllExport const std::string& card_write_status() const
|
|
{
|
|
return m_card_write_status;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member card_write_status
|
|
* @return Reference to member card_write_status
|
|
*/
|
|
eProsima_user_DllExport std::string& card_write_status()
|
|
{
|
|
return m_card_write_status;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::string m_message_id;
|
|
std::string m_card_number;
|
|
std::string m_device_id;
|
|
int32_t m_result_code{0};
|
|
int32_t m_queue_record_id{0};
|
|
int32_t m_queue_number{0};
|
|
std::string m_sample_machine;
|
|
std::string m_queue_time;
|
|
std::string m_ticket_number;
|
|
int32_t m_sample_code{0};
|
|
std::string m_vehicle_number;
|
|
int32_t m_vehicle_self_no{0};
|
|
int32_t m_vehicle_type_id{0};
|
|
int32_t m_supplier_identity_id{0};
|
|
std::string m_supplier_identity_name;
|
|
int32_t m_supplier_id{0};
|
|
std::string m_supplier_name;
|
|
int32_t m_goods_id{0};
|
|
std::string m_goods_name;
|
|
int32_t m_unit_id{0};
|
|
int32_t m_transport_company_id{0};
|
|
int32_t m_sample_type{0};
|
|
std::string m_unloading_point_name;
|
|
float m_ship_gross_weight{0.0};
|
|
float m_ship_tare_weight{0.0};
|
|
float m_ship_net_weight{0.0};
|
|
int32_t m_sample_machine_id{0};
|
|
std::string m_vehicle_lane;
|
|
int32_t m_vehicle_lane_id{0};
|
|
std::string m_strategy_desc;
|
|
std::string m_committed_at;
|
|
std::string m_display_text;
|
|
std::string m_print_content;
|
|
bool m_print_required{false};
|
|
int32_t m_print_count{0};
|
|
int32_t m_voice_id{0};
|
|
std::string m_voice_text;
|
|
bool m_is_reprint{false};
|
|
std::string m_physical_card_state;
|
|
std::string m_card_write_status;
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure QueueFailure defined by the user in the IDL file.
|
|
* @ingroup WeighingDDSType
|
|
*/
|
|
class QueueFailure
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport QueueFailure()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~QueueFailure()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object QueueFailure that will be copied.
|
|
*/
|
|
eProsima_user_DllExport QueueFailure(
|
|
const QueueFailure& x)
|
|
{
|
|
m_message_id = x.m_message_id;
|
|
|
|
m_card_number = x.m_card_number;
|
|
|
|
m_device_id = x.m_device_id;
|
|
|
|
m_error_code = x.m_error_code;
|
|
|
|
m_failed_step = x.m_failed_step;
|
|
|
|
m_message = x.m_message;
|
|
|
|
m_vehicle_number = x.m_vehicle_number;
|
|
|
|
m_queue_record_id = x.m_queue_record_id;
|
|
|
|
m_queue_number = x.m_queue_number;
|
|
|
|
m_sample_machine = x.m_sample_machine;
|
|
|
|
m_ticket_number = x.m_ticket_number;
|
|
|
|
m_existing_queue_record_id = x.m_existing_queue_record_id;
|
|
|
|
m_existing_queue_number = x.m_existing_queue_number;
|
|
|
|
m_existing_sample_machine = x.m_existing_sample_machine;
|
|
|
|
m_cache_state = x.m_cache_state;
|
|
|
|
m_database_state = x.m_database_state;
|
|
|
|
m_physical_card_state = x.m_physical_card_state;
|
|
|
|
m_retryable = x.m_retryable;
|
|
|
|
m_retry_after_ms = x.m_retry_after_ms;
|
|
|
|
m_voice_id = x.m_voice_id;
|
|
|
|
m_voice_text = x.m_voice_text;
|
|
|
|
m_card_write_status = x.m_card_write_status;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object QueueFailure that will be copied.
|
|
*/
|
|
eProsima_user_DllExport QueueFailure(
|
|
QueueFailure&& x) noexcept
|
|
{
|
|
m_message_id = std::move(x.m_message_id);
|
|
m_card_number = std::move(x.m_card_number);
|
|
m_device_id = std::move(x.m_device_id);
|
|
m_error_code = std::move(x.m_error_code);
|
|
m_failed_step = std::move(x.m_failed_step);
|
|
m_message = std::move(x.m_message);
|
|
m_vehicle_number = std::move(x.m_vehicle_number);
|
|
m_queue_record_id = x.m_queue_record_id;
|
|
m_queue_number = x.m_queue_number;
|
|
m_sample_machine = std::move(x.m_sample_machine);
|
|
m_ticket_number = std::move(x.m_ticket_number);
|
|
m_existing_queue_record_id = x.m_existing_queue_record_id;
|
|
m_existing_queue_number = x.m_existing_queue_number;
|
|
m_existing_sample_machine = std::move(x.m_existing_sample_machine);
|
|
m_cache_state = std::move(x.m_cache_state);
|
|
m_database_state = std::move(x.m_database_state);
|
|
m_physical_card_state = std::move(x.m_physical_card_state);
|
|
m_retryable = x.m_retryable;
|
|
m_retry_after_ms = x.m_retry_after_ms;
|
|
m_voice_id = x.m_voice_id;
|
|
m_voice_text = std::move(x.m_voice_text);
|
|
m_card_write_status = std::move(x.m_card_write_status);
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object QueueFailure that will be copied.
|
|
*/
|
|
eProsima_user_DllExport QueueFailure& operator =(
|
|
const QueueFailure& x)
|
|
{
|
|
|
|
m_message_id = x.m_message_id;
|
|
|
|
m_card_number = x.m_card_number;
|
|
|
|
m_device_id = x.m_device_id;
|
|
|
|
m_error_code = x.m_error_code;
|
|
|
|
m_failed_step = x.m_failed_step;
|
|
|
|
m_message = x.m_message;
|
|
|
|
m_vehicle_number = x.m_vehicle_number;
|
|
|
|
m_queue_record_id = x.m_queue_record_id;
|
|
|
|
m_queue_number = x.m_queue_number;
|
|
|
|
m_sample_machine = x.m_sample_machine;
|
|
|
|
m_ticket_number = x.m_ticket_number;
|
|
|
|
m_existing_queue_record_id = x.m_existing_queue_record_id;
|
|
|
|
m_existing_queue_number = x.m_existing_queue_number;
|
|
|
|
m_existing_sample_machine = x.m_existing_sample_machine;
|
|
|
|
m_cache_state = x.m_cache_state;
|
|
|
|
m_database_state = x.m_database_state;
|
|
|
|
m_physical_card_state = x.m_physical_card_state;
|
|
|
|
m_retryable = x.m_retryable;
|
|
|
|
m_retry_after_ms = x.m_retry_after_ms;
|
|
|
|
m_voice_id = x.m_voice_id;
|
|
|
|
m_voice_text = x.m_voice_text;
|
|
|
|
m_card_write_status = x.m_card_write_status;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object QueueFailure that will be copied.
|
|
*/
|
|
eProsima_user_DllExport QueueFailure& operator =(
|
|
QueueFailure&& x) noexcept
|
|
{
|
|
|
|
m_message_id = std::move(x.m_message_id);
|
|
m_card_number = std::move(x.m_card_number);
|
|
m_device_id = std::move(x.m_device_id);
|
|
m_error_code = std::move(x.m_error_code);
|
|
m_failed_step = std::move(x.m_failed_step);
|
|
m_message = std::move(x.m_message);
|
|
m_vehicle_number = std::move(x.m_vehicle_number);
|
|
m_queue_record_id = x.m_queue_record_id;
|
|
m_queue_number = x.m_queue_number;
|
|
m_sample_machine = std::move(x.m_sample_machine);
|
|
m_ticket_number = std::move(x.m_ticket_number);
|
|
m_existing_queue_record_id = x.m_existing_queue_record_id;
|
|
m_existing_queue_number = x.m_existing_queue_number;
|
|
m_existing_sample_machine = std::move(x.m_existing_sample_machine);
|
|
m_cache_state = std::move(x.m_cache_state);
|
|
m_database_state = std::move(x.m_database_state);
|
|
m_physical_card_state = std::move(x.m_physical_card_state);
|
|
m_retryable = x.m_retryable;
|
|
m_retry_after_ms = x.m_retry_after_ms;
|
|
m_voice_id = x.m_voice_id;
|
|
m_voice_text = std::move(x.m_voice_text);
|
|
m_card_write_status = std::move(x.m_card_write_status);
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x QueueFailure object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const QueueFailure& x) const
|
|
{
|
|
return (m_message_id == x.m_message_id &&
|
|
m_card_number == x.m_card_number &&
|
|
m_device_id == x.m_device_id &&
|
|
m_error_code == x.m_error_code &&
|
|
m_failed_step == x.m_failed_step &&
|
|
m_message == x.m_message &&
|
|
m_vehicle_number == x.m_vehicle_number &&
|
|
m_queue_record_id == x.m_queue_record_id &&
|
|
m_queue_number == x.m_queue_number &&
|
|
m_sample_machine == x.m_sample_machine &&
|
|
m_ticket_number == x.m_ticket_number &&
|
|
m_existing_queue_record_id == x.m_existing_queue_record_id &&
|
|
m_existing_queue_number == x.m_existing_queue_number &&
|
|
m_existing_sample_machine == x.m_existing_sample_machine &&
|
|
m_cache_state == x.m_cache_state &&
|
|
m_database_state == x.m_database_state &&
|
|
m_physical_card_state == x.m_physical_card_state &&
|
|
m_retryable == x.m_retryable &&
|
|
m_retry_after_ms == x.m_retry_after_ms &&
|
|
m_voice_id == x.m_voice_id &&
|
|
m_voice_text == x.m_voice_text &&
|
|
m_card_write_status == x.m_card_write_status);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x QueueFailure object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const QueueFailure& x) const
|
|
{
|
|
return !(*this == x);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function copies the value in member message_id
|
|
* @param _message_id New value to be copied in member message_id
|
|
*/
|
|
eProsima_user_DllExport void message_id(
|
|
const std::string& _message_id)
|
|
{
|
|
m_message_id = _message_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member message_id
|
|
* @param _message_id New value to be moved in member message_id
|
|
*/
|
|
eProsima_user_DllExport void message_id(
|
|
std::string&& _message_id)
|
|
{
|
|
m_message_id = std::move(_message_id);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member message_id
|
|
* @return Constant reference to member message_id
|
|
*/
|
|
eProsima_user_DllExport const std::string& message_id() const
|
|
{
|
|
return m_message_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member message_id
|
|
* @return Reference to member message_id
|
|
*/
|
|
eProsima_user_DllExport std::string& message_id()
|
|
{
|
|
return m_message_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member card_number
|
|
* @param _card_number New value to be copied in member card_number
|
|
*/
|
|
eProsima_user_DllExport void card_number(
|
|
const std::string& _card_number)
|
|
{
|
|
m_card_number = _card_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member card_number
|
|
* @param _card_number New value to be moved in member card_number
|
|
*/
|
|
eProsima_user_DllExport void card_number(
|
|
std::string&& _card_number)
|
|
{
|
|
m_card_number = std::move(_card_number);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member card_number
|
|
* @return Constant reference to member card_number
|
|
*/
|
|
eProsima_user_DllExport const std::string& card_number() const
|
|
{
|
|
return m_card_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member card_number
|
|
* @return Reference to member card_number
|
|
*/
|
|
eProsima_user_DllExport std::string& card_number()
|
|
{
|
|
return m_card_number;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member device_id
|
|
* @param _device_id New value to be copied in member device_id
|
|
*/
|
|
eProsima_user_DllExport void device_id(
|
|
const std::string& _device_id)
|
|
{
|
|
m_device_id = _device_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member device_id
|
|
* @param _device_id New value to be moved in member device_id
|
|
*/
|
|
eProsima_user_DllExport void device_id(
|
|
std::string&& _device_id)
|
|
{
|
|
m_device_id = std::move(_device_id);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member device_id
|
|
* @return Constant reference to member device_id
|
|
*/
|
|
eProsima_user_DllExport const std::string& device_id() const
|
|
{
|
|
return m_device_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member device_id
|
|
* @return Reference to member device_id
|
|
*/
|
|
eProsima_user_DllExport std::string& device_id()
|
|
{
|
|
return m_device_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member error_code
|
|
* @param _error_code New value to be copied in member error_code
|
|
*/
|
|
eProsima_user_DllExport void error_code(
|
|
const std::string& _error_code)
|
|
{
|
|
m_error_code = _error_code;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member error_code
|
|
* @param _error_code New value to be moved in member error_code
|
|
*/
|
|
eProsima_user_DllExport void error_code(
|
|
std::string&& _error_code)
|
|
{
|
|
m_error_code = std::move(_error_code);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member error_code
|
|
* @return Constant reference to member error_code
|
|
*/
|
|
eProsima_user_DllExport const std::string& error_code() const
|
|
{
|
|
return m_error_code;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member error_code
|
|
* @return Reference to member error_code
|
|
*/
|
|
eProsima_user_DllExport std::string& error_code()
|
|
{
|
|
return m_error_code;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member failed_step
|
|
* @param _failed_step New value to be copied in member failed_step
|
|
*/
|
|
eProsima_user_DllExport void failed_step(
|
|
const std::string& _failed_step)
|
|
{
|
|
m_failed_step = _failed_step;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member failed_step
|
|
* @param _failed_step New value to be moved in member failed_step
|
|
*/
|
|
eProsima_user_DllExport void failed_step(
|
|
std::string&& _failed_step)
|
|
{
|
|
m_failed_step = std::move(_failed_step);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member failed_step
|
|
* @return Constant reference to member failed_step
|
|
*/
|
|
eProsima_user_DllExport const std::string& failed_step() const
|
|
{
|
|
return m_failed_step;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member failed_step
|
|
* @return Reference to member failed_step
|
|
*/
|
|
eProsima_user_DllExport std::string& failed_step()
|
|
{
|
|
return m_failed_step;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member message
|
|
* @param _message New value to be copied in member message
|
|
*/
|
|
eProsima_user_DllExport void message(
|
|
const std::string& _message)
|
|
{
|
|
m_message = _message;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member message
|
|
* @param _message New value to be moved in member message
|
|
*/
|
|
eProsima_user_DllExport void message(
|
|
std::string&& _message)
|
|
{
|
|
m_message = std::move(_message);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member message
|
|
* @return Constant reference to member message
|
|
*/
|
|
eProsima_user_DllExport const std::string& message() const
|
|
{
|
|
return m_message;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member message
|
|
* @return Reference to member message
|
|
*/
|
|
eProsima_user_DllExport std::string& message()
|
|
{
|
|
return m_message;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member vehicle_number
|
|
* @param _vehicle_number New value to be copied in member vehicle_number
|
|
*/
|
|
eProsima_user_DllExport void vehicle_number(
|
|
const std::string& _vehicle_number)
|
|
{
|
|
m_vehicle_number = _vehicle_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member vehicle_number
|
|
* @param _vehicle_number New value to be moved in member vehicle_number
|
|
*/
|
|
eProsima_user_DllExport void vehicle_number(
|
|
std::string&& _vehicle_number)
|
|
{
|
|
m_vehicle_number = std::move(_vehicle_number);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member vehicle_number
|
|
* @return Constant reference to member vehicle_number
|
|
*/
|
|
eProsima_user_DllExport const std::string& vehicle_number() const
|
|
{
|
|
return m_vehicle_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member vehicle_number
|
|
* @return Reference to member vehicle_number
|
|
*/
|
|
eProsima_user_DllExport std::string& vehicle_number()
|
|
{
|
|
return m_vehicle_number;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member queue_record_id
|
|
* @param _queue_record_id New value for member queue_record_id
|
|
*/
|
|
eProsima_user_DllExport void queue_record_id(
|
|
int32_t _queue_record_id)
|
|
{
|
|
m_queue_record_id = _queue_record_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member queue_record_id
|
|
* @return Value of member queue_record_id
|
|
*/
|
|
eProsima_user_DllExport int32_t queue_record_id() const
|
|
{
|
|
return m_queue_record_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member queue_record_id
|
|
* @return Reference to member queue_record_id
|
|
*/
|
|
eProsima_user_DllExport int32_t& queue_record_id()
|
|
{
|
|
return m_queue_record_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member queue_number
|
|
* @param _queue_number New value for member queue_number
|
|
*/
|
|
eProsima_user_DllExport void queue_number(
|
|
int32_t _queue_number)
|
|
{
|
|
m_queue_number = _queue_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member queue_number
|
|
* @return Value of member queue_number
|
|
*/
|
|
eProsima_user_DllExport int32_t queue_number() const
|
|
{
|
|
return m_queue_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member queue_number
|
|
* @return Reference to member queue_number
|
|
*/
|
|
eProsima_user_DllExport int32_t& queue_number()
|
|
{
|
|
return m_queue_number;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member sample_machine
|
|
* @param _sample_machine New value to be copied in member sample_machine
|
|
*/
|
|
eProsima_user_DllExport void sample_machine(
|
|
const std::string& _sample_machine)
|
|
{
|
|
m_sample_machine = _sample_machine;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member sample_machine
|
|
* @param _sample_machine New value to be moved in member sample_machine
|
|
*/
|
|
eProsima_user_DllExport void sample_machine(
|
|
std::string&& _sample_machine)
|
|
{
|
|
m_sample_machine = std::move(_sample_machine);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member sample_machine
|
|
* @return Constant reference to member sample_machine
|
|
*/
|
|
eProsima_user_DllExport const std::string& sample_machine() const
|
|
{
|
|
return m_sample_machine;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member sample_machine
|
|
* @return Reference to member sample_machine
|
|
*/
|
|
eProsima_user_DllExport std::string& sample_machine()
|
|
{
|
|
return m_sample_machine;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member ticket_number
|
|
* @param _ticket_number New value to be copied in member ticket_number
|
|
*/
|
|
eProsima_user_DllExport void ticket_number(
|
|
const std::string& _ticket_number)
|
|
{
|
|
m_ticket_number = _ticket_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member ticket_number
|
|
* @param _ticket_number New value to be moved in member ticket_number
|
|
*/
|
|
eProsima_user_DllExport void ticket_number(
|
|
std::string&& _ticket_number)
|
|
{
|
|
m_ticket_number = std::move(_ticket_number);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member ticket_number
|
|
* @return Constant reference to member ticket_number
|
|
*/
|
|
eProsima_user_DllExport const std::string& ticket_number() const
|
|
{
|
|
return m_ticket_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member ticket_number
|
|
* @return Reference to member ticket_number
|
|
*/
|
|
eProsima_user_DllExport std::string& ticket_number()
|
|
{
|
|
return m_ticket_number;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member existing_queue_record_id
|
|
* @param _existing_queue_record_id New value for member existing_queue_record_id
|
|
*/
|
|
eProsima_user_DllExport void existing_queue_record_id(
|
|
int32_t _existing_queue_record_id)
|
|
{
|
|
m_existing_queue_record_id = _existing_queue_record_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member existing_queue_record_id
|
|
* @return Value of member existing_queue_record_id
|
|
*/
|
|
eProsima_user_DllExport int32_t existing_queue_record_id() const
|
|
{
|
|
return m_existing_queue_record_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member existing_queue_record_id
|
|
* @return Reference to member existing_queue_record_id
|
|
*/
|
|
eProsima_user_DllExport int32_t& existing_queue_record_id()
|
|
{
|
|
return m_existing_queue_record_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member existing_queue_number
|
|
* @param _existing_queue_number New value for member existing_queue_number
|
|
*/
|
|
eProsima_user_DllExport void existing_queue_number(
|
|
int32_t _existing_queue_number)
|
|
{
|
|
m_existing_queue_number = _existing_queue_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member existing_queue_number
|
|
* @return Value of member existing_queue_number
|
|
*/
|
|
eProsima_user_DllExport int32_t existing_queue_number() const
|
|
{
|
|
return m_existing_queue_number;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member existing_queue_number
|
|
* @return Reference to member existing_queue_number
|
|
*/
|
|
eProsima_user_DllExport int32_t& existing_queue_number()
|
|
{
|
|
return m_existing_queue_number;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member existing_sample_machine
|
|
* @param _existing_sample_machine New value to be copied in member existing_sample_machine
|
|
*/
|
|
eProsima_user_DllExport void existing_sample_machine(
|
|
const std::string& _existing_sample_machine)
|
|
{
|
|
m_existing_sample_machine = _existing_sample_machine;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member existing_sample_machine
|
|
* @param _existing_sample_machine New value to be moved in member existing_sample_machine
|
|
*/
|
|
eProsima_user_DllExport void existing_sample_machine(
|
|
std::string&& _existing_sample_machine)
|
|
{
|
|
m_existing_sample_machine = std::move(_existing_sample_machine);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member existing_sample_machine
|
|
* @return Constant reference to member existing_sample_machine
|
|
*/
|
|
eProsima_user_DllExport const std::string& existing_sample_machine() const
|
|
{
|
|
return m_existing_sample_machine;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member existing_sample_machine
|
|
* @return Reference to member existing_sample_machine
|
|
*/
|
|
eProsima_user_DllExport std::string& existing_sample_machine()
|
|
{
|
|
return m_existing_sample_machine;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member cache_state
|
|
* @param _cache_state New value to be copied in member cache_state
|
|
*/
|
|
eProsima_user_DllExport void cache_state(
|
|
const std::string& _cache_state)
|
|
{
|
|
m_cache_state = _cache_state;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member cache_state
|
|
* @param _cache_state New value to be moved in member cache_state
|
|
*/
|
|
eProsima_user_DllExport void cache_state(
|
|
std::string&& _cache_state)
|
|
{
|
|
m_cache_state = std::move(_cache_state);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member cache_state
|
|
* @return Constant reference to member cache_state
|
|
*/
|
|
eProsima_user_DllExport const std::string& cache_state() const
|
|
{
|
|
return m_cache_state;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member cache_state
|
|
* @return Reference to member cache_state
|
|
*/
|
|
eProsima_user_DllExport std::string& cache_state()
|
|
{
|
|
return m_cache_state;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member database_state
|
|
* @param _database_state New value to be copied in member database_state
|
|
*/
|
|
eProsima_user_DllExport void database_state(
|
|
const std::string& _database_state)
|
|
{
|
|
m_database_state = _database_state;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member database_state
|
|
* @param _database_state New value to be moved in member database_state
|
|
*/
|
|
eProsima_user_DllExport void database_state(
|
|
std::string&& _database_state)
|
|
{
|
|
m_database_state = std::move(_database_state);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member database_state
|
|
* @return Constant reference to member database_state
|
|
*/
|
|
eProsima_user_DllExport const std::string& database_state() const
|
|
{
|
|
return m_database_state;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member database_state
|
|
* @return Reference to member database_state
|
|
*/
|
|
eProsima_user_DllExport std::string& database_state()
|
|
{
|
|
return m_database_state;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member physical_card_state
|
|
* @param _physical_card_state New value to be copied in member physical_card_state
|
|
*/
|
|
eProsima_user_DllExport void physical_card_state(
|
|
const std::string& _physical_card_state)
|
|
{
|
|
m_physical_card_state = _physical_card_state;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member physical_card_state
|
|
* @param _physical_card_state New value to be moved in member physical_card_state
|
|
*/
|
|
eProsima_user_DllExport void physical_card_state(
|
|
std::string&& _physical_card_state)
|
|
{
|
|
m_physical_card_state = std::move(_physical_card_state);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member physical_card_state
|
|
* @return Constant reference to member physical_card_state
|
|
*/
|
|
eProsima_user_DllExport const std::string& physical_card_state() const
|
|
{
|
|
return m_physical_card_state;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member physical_card_state
|
|
* @return Reference to member physical_card_state
|
|
*/
|
|
eProsima_user_DllExport std::string& physical_card_state()
|
|
{
|
|
return m_physical_card_state;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member retryable
|
|
* @param _retryable New value for member retryable
|
|
*/
|
|
eProsima_user_DllExport void retryable(
|
|
bool _retryable)
|
|
{
|
|
m_retryable = _retryable;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member retryable
|
|
* @return Value of member retryable
|
|
*/
|
|
eProsima_user_DllExport bool retryable() const
|
|
{
|
|
return m_retryable;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member retryable
|
|
* @return Reference to member retryable
|
|
*/
|
|
eProsima_user_DllExport bool& retryable()
|
|
{
|
|
return m_retryable;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member retry_after_ms
|
|
* @param _retry_after_ms New value for member retry_after_ms
|
|
*/
|
|
eProsima_user_DllExport void retry_after_ms(
|
|
int32_t _retry_after_ms)
|
|
{
|
|
m_retry_after_ms = _retry_after_ms;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member retry_after_ms
|
|
* @return Value of member retry_after_ms
|
|
*/
|
|
eProsima_user_DllExport int32_t retry_after_ms() const
|
|
{
|
|
return m_retry_after_ms;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member retry_after_ms
|
|
* @return Reference to member retry_after_ms
|
|
*/
|
|
eProsima_user_DllExport int32_t& retry_after_ms()
|
|
{
|
|
return m_retry_after_ms;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function sets a value in member voice_id
|
|
* @param _voice_id New value for member voice_id
|
|
*/
|
|
eProsima_user_DllExport void voice_id(
|
|
int32_t _voice_id)
|
|
{
|
|
m_voice_id = _voice_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member voice_id
|
|
* @return Value of member voice_id
|
|
*/
|
|
eProsima_user_DllExport int32_t voice_id() const
|
|
{
|
|
return m_voice_id;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member voice_id
|
|
* @return Reference to member voice_id
|
|
*/
|
|
eProsima_user_DllExport int32_t& voice_id()
|
|
{
|
|
return m_voice_id;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member voice_text
|
|
* @param _voice_text New value to be copied in member voice_text
|
|
*/
|
|
eProsima_user_DllExport void voice_text(
|
|
const std::string& _voice_text)
|
|
{
|
|
m_voice_text = _voice_text;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member voice_text
|
|
* @param _voice_text New value to be moved in member voice_text
|
|
*/
|
|
eProsima_user_DllExport void voice_text(
|
|
std::string&& _voice_text)
|
|
{
|
|
m_voice_text = std::move(_voice_text);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member voice_text
|
|
* @return Constant reference to member voice_text
|
|
*/
|
|
eProsima_user_DllExport const std::string& voice_text() const
|
|
{
|
|
return m_voice_text;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member voice_text
|
|
* @return Reference to member voice_text
|
|
*/
|
|
eProsima_user_DllExport std::string& voice_text()
|
|
{
|
|
return m_voice_text;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member card_write_status
|
|
* @param _card_write_status New value to be copied in member card_write_status
|
|
*/
|
|
eProsima_user_DllExport void card_write_status(
|
|
const std::string& _card_write_status)
|
|
{
|
|
m_card_write_status = _card_write_status;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member card_write_status
|
|
* @param _card_write_status New value to be moved in member card_write_status
|
|
*/
|
|
eProsima_user_DllExport void card_write_status(
|
|
std::string&& _card_write_status)
|
|
{
|
|
m_card_write_status = std::move(_card_write_status);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member card_write_status
|
|
* @return Constant reference to member card_write_status
|
|
*/
|
|
eProsima_user_DllExport const std::string& card_write_status() const
|
|
{
|
|
return m_card_write_status;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member card_write_status
|
|
* @return Reference to member card_write_status
|
|
*/
|
|
eProsima_user_DllExport std::string& card_write_status()
|
|
{
|
|
return m_card_write_status;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::string m_message_id;
|
|
std::string m_card_number;
|
|
std::string m_device_id;
|
|
std::string m_error_code;
|
|
std::string m_failed_step;
|
|
std::string m_message;
|
|
std::string m_vehicle_number;
|
|
int32_t m_queue_record_id{0};
|
|
int32_t m_queue_number{0};
|
|
std::string m_sample_machine;
|
|
std::string m_ticket_number;
|
|
int32_t m_existing_queue_record_id{0};
|
|
int32_t m_existing_queue_number{0};
|
|
std::string m_existing_sample_machine;
|
|
std::string m_cache_state;
|
|
std::string m_database_state;
|
|
std::string m_physical_card_state;
|
|
bool m_retryable{false};
|
|
int32_t m_retry_after_ms{0};
|
|
int32_t m_voice_id{0};
|
|
std::string m_voice_text;
|
|
std::string m_card_write_status;
|
|
|
|
};
|
|
|
|
} // namespace Queue
|
|
|
|
#endif // _FAST_DDS_GENERATED_QUEUE_WEIGHINGDDSTYPE_HPP_
|
|
|
|
|