6#include <imtserverapp/CObjectRepresentationControllerCompBase.h>
7#include <imtserverapp/CCommandRepresentationController.h>
8#include <imtserverapp/IGuiElementModel.h>
15class CGuiElementRepresentationControllerComp:
public imtserverapp::CObjectRepresentationControllerCompBase
18 typedef imtserverapp::CObjectRepresentationControllerCompBase BaseClass;
20 I_BEGIN_COMPONENT(CGuiElementRepresentationControllerComp)
24 virtual bool SetupItemModel(
const imtserverapp::IGuiElementModel& guiElementModel, QJsonObject& representation,
const iprm::IParamsSet* paramsPtr)
const;
27 virtual bool GetRepresentationFromValue(
const istd::IChangeable& dataModel, QJsonObject& representation,
const iprm::IParamsSet* paramsPtr =
nullptr)
const override;
30 virtual bool IsModelSupported(
const istd::IChangeable& dataModel)
const override;
31 virtual bool GetDataModelFromRepresentation(
const QJsonObject& representation, istd::IChangeable& dataModel)
const override;
34 virtual void OnComponentCreated()
override;
37 istd::TSmartPtr<imtserverapp::CCommandRepresentationController> m_commandRepresentationControllerPtr;