All Frameworks Class Hierarchy This Framework Indexes
System Macro CATSysImplementSettingCtrlLocks
Macro CATSysImplementSettingCtrlLocks (Brand,FW,Name,ParamName,AttrName)
Implements the methods dealing with the locks of a seting parameter.
Role: For each parameter exposed by a settings controller
in its interface BrandIFWNameSettingAtt, a method dealing with the lock
and a method retrieving the information concerning the parameter must be
available.
This macro will implement the three following methods:
- HRESULT BrandFWNameSettingCtrl::GetParamNameInfo(CATSettingInfo* oInfo)
- HRESULT BrandFWNameSettingCtrl::SetLockParamName (unsigned char iLock)
This macro must be used if the controller's parameter represents only
one CATSysSettingController's attribute. It is equivalent to the use of the
two macro CATSysBeginImplSettingCtrlLocks and
CATSysEndImplSettingCtrlLocks in the following sequence :
CATSysBeginImplSettingCtrlLocks(Brand,FW,Name,ParamName,AttrName)
CATSysEndImplSettingCtrlLocks(Brand,FW,Name,ParamName)
- Parameters:
-
- Brand
- The brand to which this controller belongs
- FW
- The framework in which the controller is implemented
- Name
- The name of the controller
- ParamName
- The name of the setting's parameter which is used in the method's name
- AttrName
- The name of the unique underlying setting's attribute
This object is included in the file: CATSysMacroSettingCtrl.h