InscoperAPI/API/Base/Status/ChildStatusParam.h¶
Namespaces¶
| Name |
|---|
| Inscoper Inscoper namespace. |
Classes¶
| Name | |
|---|---|
| class | Inscoper::ChildStatusParam ChildStatusParam class represents a dependent status parameter. |
Source code¶
#ifndef CHILDSTATUSPARAM_H
#define CHILDSTATUSPARAM_H
#include <Base/Status/ParentStatusParam.h>
#include <Global.h>
namespace Inscoper {
enum class EOperation {
OFFSET,
MULTIPLICATION
};
class INSCOPER_EXPORT ChildStatusParam : public ParentStatusParam {
public:
ChildStatusParam(const ChildStatusParam &other);
ChildStatusParam(ChildStatusParam &&other) noexcept;
ChildStatusParam &operator=(const ChildStatusParam &other);
ChildStatusParam &operator=(ChildStatusParam &&other) noexcept;
ChildStatusParam(const Inscoper::SubDeviceId &subDeviceId, const ParentStatusParamPtr &parent, EOperation operation,
double operand);
ChildStatusParam(const Inscoper::SubDeviceId &subDeviceId, const ParentStatusParamPtr &parent, EOperation operation,
double operand, unsigned short tag);
const ParentStatusParamPtr &getParent();
void setParent(const ParentStatusParamPtr &parent);
EOperation getOperation();
void setOperation(EOperation operation);
double getOperand();
void setOperand(double operand);
unsigned short getTag();
void setTag(unsigned short tag);
virtual std::shared_ptr<StatusParam> clone() override;
virtual bool equals(const std::shared_ptr<StatusParam> &other) override;
};
typedef std::shared_ptr<ChildStatusParam> ChildStatusParamPtr;
} // namespace Inscoper
#endif // CHILDSTATUSPARAM_H
Updated on 2026-09-03 at 12:14:17 +0200