32 lines
768 B
C++
Executable File
32 lines
768 B
C++
Executable File
#pragma once
|
|
#include "XNWeightBalance_global.h"
|
|
#include <XNCore/XNModelObject.h>
|
|
#include "../XNWeightBalanceInterface/XNWeightBalancePubSubTypes.hpp"
|
|
|
|
class XNWeightBalancePrivate;
|
|
|
|
class XNWEIGHTBALANCE_EXPORT XNWeightBalance : public XNModelObject
|
|
{
|
|
Q_OBJECT
|
|
Q_DISABLE_COPY(XNWeightBalance)
|
|
Q_DECLARE_PRIVATE(XNWeightBalance)
|
|
XN_DECLARE_DDS()
|
|
public:
|
|
explicit XNWeightBalance(QObject *parent = nullptr);
|
|
virtual ~XNWeightBalance();
|
|
|
|
protected:
|
|
XNWeightBalance(XNWeightBalancePrivate &dd, QObject *parent = nullptr);
|
|
|
|
public slots:
|
|
virtual void OnInitialize() override;
|
|
virtual void OnPrepareForExecute() override;
|
|
|
|
public:
|
|
virtual void StepUpdate() override;
|
|
|
|
private:
|
|
void OnInput(const XNSim::ATA04::WeightBalance_input &input);
|
|
void OnOutput();
|
|
};
|