Go to the documentation of this file.
6#ifndef iprm_CVariableParamComp_included
7#define iprm_CVariableParamComp_included
30 I_ASSIGN_MULTI_0(m_factoriesFact,
"Factories",
"List of factories for each type",
true);
31 I_ASSIGN_MULTI_0(m_factoryIdsAttrPtr,
"TypeIds",
"List of factory ID for each factory object",
true);
48 I_MULTIATTR(QString, m_factoryIdsAttrPtr);
50 QByteArray m_paramTypeId;
51 std::unique_ptr<iser::ISerializable> m_paramPtr;
Base class for component implementation.
Reflects the changes of observed objects as changes of some other object (over istd::IChangeable),...
bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
iser::ISerializable * GetParameter() const override
Get current parameter.
quint32 GetMinimalVersion(int versionId) const override
Get minimal needed version to correct storing of this data.
bool AssignTypeId(const QByteArray &typeId) override
Assign type ID to this object.
TypeIds GetKnownTypeIds() const override
Get lilst of all known type ID's.
QByteArray GetParameterTypeId() const override
Get type ID of current stored parameter.
icomp::CComponentBase BaseClass
Represents parameter, which can change its type.
QSet< QByteArray > TypeIds
Represent input/output persistence archive.
Common class for all classes which objects can be archived or restored from archive.
Contains interfaces and implementations of flexible parameter concept.
© Witold Gantzke and Kirill Lepskiy