Basic implementation of IEnableableParam interface.
virtual bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
CEnableableParam(bool isEnabled=true)
virtual istd::TUniqueInterfacePtr< istd::IChangeable > CloneMe(istd::IChangeable::CompatibilityMode mode=istd::IChangeable::CM_WITHOUT_REFS) const override
Make a copy of this object.
virtual bool IsEnabled() const override
Return true if something is enabled.
virtual bool CopyFrom(const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) override
virtual bool IsEnablingAllowed() const override
Return true if enabling/disabling is allowed.
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.
CompatibilityMode
Control how relationship betweeen objects are interpreted.
@ CM_WITHOUT_REFS
External references are simple ignored.
Unique ownership smart pointer for interface types.
Contains interfaces and implementations of flexible parameter concept.