26 I_ASSIGN(m_baseEnableableParamCompPtr,
"BaseEnabler",
"Base enableable parameter",
false,
"BaseEnabler");
27 I_ASSIGN_TO(m_baseEnableableParamModelCompPtr, m_baseEnableableParamCompPtr,
false);
Base class for component implementation.
Reflects the changes of observed objects as changes of some other object (over istd::IChangeable),...
Common interface for model objects, that supports Model/Observer design pattern.
icomp::CComponentBase BaseClass
virtual bool CopyFrom(const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) override
virtual bool IsEnabled() const override
Return true if something is enabled.
CDelegatedEnableableParamComp()
virtual void OnComponentDestroyed() override
virtual bool IsEnablingAllowed() const override
Return true if enabling/disabling is allowed.
virtual void OnComponentCreated() override
virtual bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
virtual bool SetEnabled(bool isEnabled=true) override
Set the enabled state.
Interface for objects which can be enabled/disabled.
Represents an input/output persistence archive for object serialization.
Common class for all classes which objects can be archived or restored from archive.
Common interface for data model objects, which can be changed.
CompatibilityMode
Control how relationship betweeen objects are interpreted.
@ CM_WITHOUT_REFS
External references are simple ignored.
Contains interfaces and implementations of flexible parameter concept.