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.
4258 lines
104 KiB
C++
4258 lines
104 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 System.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__INTERNALSYSTEM_SYSTEM_HPP
|
|
#define FAST_DDS_GENERATED__INTERNALSYSTEM_SYSTEM_HPP
|
|
|
|
#include <cstdint>
|
|
#include <map>
|
|
#include <string>
|
|
#include <utility>
|
|
#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(SYSTEM_SOURCE)
|
|
#define SYSTEM_DllAPI __declspec( dllexport )
|
|
#else
|
|
#define SYSTEM_DllAPI __declspec( dllimport )
|
|
#endif // SYSTEM_SOURCE
|
|
#else
|
|
#define SYSTEM_DllAPI
|
|
#endif // EPROSIMA_USER_DLL_EXPORT
|
|
#else
|
|
#define SYSTEM_DllAPI
|
|
#endif // _WIN32
|
|
|
|
namespace WeighingSystem {
|
|
|
|
/*!
|
|
* @brief This class represents the structure ScaleInfo defined by the user in the IDL file.
|
|
* @ingroup System
|
|
*/
|
|
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 System
|
|
*/
|
|
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 System
|
|
*/
|
|
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_DeviceID = x.m_DeviceID;
|
|
|
|
m_DeviceName = x.m_DeviceName;
|
|
|
|
m_DeviceType = x.m_DeviceType;
|
|
|
|
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_TicketType = x.m_TicketType;
|
|
|
|
m_IsPrintTicker = x.m_IsPrintTicker;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object WeightInfoOk that will be copied.
|
|
*/
|
|
eProsima_user_DllExport WeightInfoOk(
|
|
WeightInfoOk&& x) noexcept
|
|
{
|
|
m_DeviceID = x.m_DeviceID;
|
|
m_DeviceName = std::move(x.m_DeviceName);
|
|
m_DeviceType = std::move(x.m_DeviceType);
|
|
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_TicketType = std::move(x.m_TicketType);
|
|
m_IsPrintTicker = x.m_IsPrintTicker;
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object WeightInfoOk that will be copied.
|
|
*/
|
|
eProsima_user_DllExport WeightInfoOk& operator =(
|
|
const WeightInfoOk& x)
|
|
{
|
|
|
|
m_DeviceID = x.m_DeviceID;
|
|
|
|
m_DeviceName = x.m_DeviceName;
|
|
|
|
m_DeviceType = x.m_DeviceType;
|
|
|
|
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_TicketType = x.m_TicketType;
|
|
|
|
m_IsPrintTicker = x.m_IsPrintTicker;
|
|
|
|
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_DeviceID = x.m_DeviceID;
|
|
m_DeviceName = std::move(x.m_DeviceName);
|
|
m_DeviceType = std::move(x.m_DeviceType);
|
|
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_TicketType = std::move(x.m_TicketType);
|
|
m_IsPrintTicker = x.m_IsPrintTicker;
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x WeightInfoOk object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const WeightInfoOk& x) const
|
|
{
|
|
return (m_DeviceID == x.m_DeviceID &&
|
|
m_DeviceName == x.m_DeviceName &&
|
|
m_DeviceType == x.m_DeviceType &&
|
|
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_TicketType == x.m_TicketType &&
|
|
m_IsPrintTicker == x.m_IsPrintTicker);
|
|
}
|
|
|
|
/*!
|
|
* @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 DeviceID
|
|
* @param _DeviceID New value for member DeviceID
|
|
*/
|
|
eProsima_user_DllExport void DeviceID(
|
|
int32_t _DeviceID)
|
|
{
|
|
m_DeviceID = _DeviceID;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns the value of member DeviceID
|
|
* @return Value of member DeviceID
|
|
*/
|
|
eProsima_user_DllExport int32_t DeviceID() const
|
|
{
|
|
return m_DeviceID;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member DeviceID
|
|
* @return Reference to member DeviceID
|
|
*/
|
|
eProsima_user_DllExport int32_t& DeviceID()
|
|
{
|
|
return m_DeviceID;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member DeviceName
|
|
* @param _DeviceName New value to be copied in member DeviceName
|
|
*/
|
|
eProsima_user_DllExport void DeviceName(
|
|
const std::string& _DeviceName)
|
|
{
|
|
m_DeviceName = _DeviceName;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member DeviceName
|
|
* @param _DeviceName New value to be moved in member DeviceName
|
|
*/
|
|
eProsima_user_DllExport void DeviceName(
|
|
std::string&& _DeviceName)
|
|
{
|
|
m_DeviceName = std::move(_DeviceName);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member DeviceName
|
|
* @return Constant reference to member DeviceName
|
|
*/
|
|
eProsima_user_DllExport const std::string& DeviceName() const
|
|
{
|
|
return m_DeviceName;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member DeviceName
|
|
* @return Reference to member DeviceName
|
|
*/
|
|
eProsima_user_DllExport std::string& DeviceName()
|
|
{
|
|
return m_DeviceName;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @brief This function copies the value in member DeviceType
|
|
* @param _DeviceType New value to be copied in member DeviceType
|
|
*/
|
|
eProsima_user_DllExport void DeviceType(
|
|
const std::string& _DeviceType)
|
|
{
|
|
m_DeviceType = _DeviceType;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function moves the value in member DeviceType
|
|
* @param _DeviceType New value to be moved in member DeviceType
|
|
*/
|
|
eProsima_user_DllExport void DeviceType(
|
|
std::string&& _DeviceType)
|
|
{
|
|
m_DeviceType = std::move(_DeviceType);
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a constant reference to member DeviceType
|
|
* @return Constant reference to member DeviceType
|
|
*/
|
|
eProsima_user_DllExport const std::string& DeviceType() const
|
|
{
|
|
return m_DeviceType;
|
|
}
|
|
|
|
/*!
|
|
* @brief This function returns a reference to member DeviceType
|
|
* @return Reference to member DeviceType
|
|
*/
|
|
eProsima_user_DllExport std::string& DeviceType()
|
|
{
|
|
return m_DeviceType;
|
|
}
|
|
|
|
|
|
/*!
|
|
* @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 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;
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
int32_t m_DeviceID{0};
|
|
std::string m_DeviceName;
|
|
std::string m_DeviceType;
|
|
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_TicketType;
|
|
bool m_IsPrintTicker{false};
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure WeightInfoError defined by the user in the IDL file.
|
|
* @ingroup System
|
|
*/
|
|
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 System
|
|
*/
|
|
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 System
|
|
*/
|
|
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 System
|
|
*/
|
|
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 System
|
|
*/
|
|
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 System
|
|
*/
|
|
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 System
|
|
*/
|
|
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 System
|
|
*/
|
|
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 System
|
|
*/
|
|
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 System
|
|
*/
|
|
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};
|
|
|
|
};
|
|
|
|
} // namespace WeighingSystem
|
|
namespace InternalSystem {
|
|
|
|
/*!
|
|
* @brief This class represents the structure PrintReq defined by the user in the IDL file.
|
|
* @ingroup System
|
|
*/
|
|
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 System
|
|
*/
|
|
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;
|
|
|
|
};
|
|
/*!
|
|
* @brief This class represents the structure IoCtrlReq defined by the user in the IDL file.
|
|
* @ingroup System
|
|
*/
|
|
class IoCtrlReq
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport IoCtrlReq()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~IoCtrlReq()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object IoCtrlReq that will be copied.
|
|
*/
|
|
eProsima_user_DllExport IoCtrlReq(
|
|
const IoCtrlReq& x)
|
|
{
|
|
m_index = x.m_index;
|
|
|
|
m_msg = x.m_msg;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object IoCtrlReq that will be copied.
|
|
*/
|
|
eProsima_user_DllExport IoCtrlReq(
|
|
IoCtrlReq&& x) noexcept
|
|
{
|
|
m_index = x.m_index;
|
|
m_msg = std::move(x.m_msg);
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object IoCtrlReq that will be copied.
|
|
*/
|
|
eProsima_user_DllExport IoCtrlReq& operator =(
|
|
const IoCtrlReq& x)
|
|
{
|
|
|
|
m_index = x.m_index;
|
|
|
|
m_msg = x.m_msg;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object IoCtrlReq that will be copied.
|
|
*/
|
|
eProsima_user_DllExport IoCtrlReq& operator =(
|
|
IoCtrlReq&& x) noexcept
|
|
{
|
|
|
|
m_index = x.m_index;
|
|
m_msg = std::move(x.m_msg);
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x IoCtrlReq object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const IoCtrlReq& x) const
|
|
{
|
|
return (m_index == x.m_index &&
|
|
m_msg == x.m_msg);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x IoCtrlReq object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const IoCtrlReq& 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 IoCtrlRsp defined by the user in the IDL file.
|
|
* @ingroup System
|
|
*/
|
|
class IoCtrlRsp
|
|
{
|
|
public:
|
|
|
|
/*!
|
|
* @brief Default constructor.
|
|
*/
|
|
eProsima_user_DllExport IoCtrlRsp()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Default destructor.
|
|
*/
|
|
eProsima_user_DllExport ~IoCtrlRsp()
|
|
{
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy constructor.
|
|
* @param x Reference to the object IoCtrlRsp that will be copied.
|
|
*/
|
|
eProsima_user_DllExport IoCtrlRsp(
|
|
const IoCtrlRsp& x)
|
|
{
|
|
m_index = x.m_index;
|
|
|
|
m_msg = x.m_msg;
|
|
|
|
}
|
|
|
|
/*!
|
|
* @brief Move constructor.
|
|
* @param x Reference to the object IoCtrlRsp that will be copied.
|
|
*/
|
|
eProsima_user_DllExport IoCtrlRsp(
|
|
IoCtrlRsp&& x) noexcept
|
|
{
|
|
m_index = x.m_index;
|
|
m_msg = std::move(x.m_msg);
|
|
}
|
|
|
|
/*!
|
|
* @brief Copy assignment.
|
|
* @param x Reference to the object IoCtrlRsp that will be copied.
|
|
*/
|
|
eProsima_user_DllExport IoCtrlRsp& operator =(
|
|
const IoCtrlRsp& x)
|
|
{
|
|
|
|
m_index = x.m_index;
|
|
|
|
m_msg = x.m_msg;
|
|
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Move assignment.
|
|
* @param x Reference to the object IoCtrlRsp that will be copied.
|
|
*/
|
|
eProsima_user_DllExport IoCtrlRsp& operator =(
|
|
IoCtrlRsp&& x) noexcept
|
|
{
|
|
|
|
m_index = x.m_index;
|
|
m_msg = std::move(x.m_msg);
|
|
return *this;
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x IoCtrlRsp object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator ==(
|
|
const IoCtrlRsp& x) const
|
|
{
|
|
return (m_index == x.m_index &&
|
|
m_msg == x.m_msg);
|
|
}
|
|
|
|
/*!
|
|
* @brief Comparison operator.
|
|
* @param x IoCtrlRsp object to compare.
|
|
*/
|
|
eProsima_user_DllExport bool operator !=(
|
|
const IoCtrlRsp& 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;
|
|
|
|
};
|
|
|
|
} // namespace InternalSystem
|
|
|
|
#endif // _FAST_DDS_GENERATED_INTERNALSYSTEM_SYSTEM_HPP_
|
|
|
|
|