1234567891011121314151617181920212223242526272829 |
- #ifndef MDD_OUTPUT_H
- #define MDD_OUTPUT_H
- #include "IOutput.h"
- #include "IModule.h"
- #include "UniqueBase.h"
- namespace mdd {
- class Output : public IOutput{
- private:
- bool _changed;
- json _value;
- std::string _prefix;
- std::string _type;
- int _appendix;
- public:
- Output(const std::string& type, int appendix, const json& initial);
- const json& getValue() override;
- json& getValueInternal();
- bool hasChanged() override;
- void resetChange() override;
- void setType(std::string type) override;
- std::string getType() override;
- std::string getID() override;
- std::string setPrefix(std::string prefix) override;
- std::string setAppendix(int appendix) override;
- };
- }
- #endif
|