API Documentation > Interface Classes > Class wfcWParameter
Class wfcWParameter

# include <wfcModelItem.h>

class
wfcWParameter
: public virtual
pfcParameter
{
xaideclare(wfcWParameter)
...
};


Description
A parameter object. This is an extension of pfcParameter
Manual References:
Method Summary
Obtains the driving parameter for a material parameter, if the driver type is pfcPARAMDRIVER_PARAM.
Obtains the lock status of the parameter.
Obtains the parameter table set that this parameter is governed by.
Obtains the value of the parameter along with units.
void
Assigns the driving parameter for a material parameter. This will set the driver type to be pfcPARAMDRIVER_PARAM.
void
Sets the lock status of the parameter.
void
Sets the value of the parameter along with units.
Methods Inherited from Class pfcBaseParameter::
Methods Inherited from Class pfcChild::
Methods Inherited from Class pfcNamedModelItem::
Methods Inherited from Class pfcParameter::
Method Detail
Obtains the parameter table set that this parameter is governed by.
Exceptions thrown (but not limited to):
pfcXToolkitNotFound - The parameter is not governed by a parameter table set.
Manual References:
Returns:
The parameter table set
GetDrivingParam
()
Obtains the driving parameter for a material parameter, if the driver type is pfcPARAMDRIVER_PARAM.
Exceptions thrown (but not limited to):
pfcXToolkitNotFound - The driver type is not 'parameter'.
Manual References:
Returns:
The driving parameter
void
SetDrivingParam
(wfcWParameter_ptr DrivingParam)
Assigns the driving parameter for a material parameter. This will set the driver type to be pfcPARAMDRIVER_PARAM.
Exceptions thrown (but not limited to):
pfcXToolkitBadContext - This parameter cannot be driven by another parameter.
Manual References:
Parameters:
DrivingParam
The driving parameter
Returns:
GetLockStatus
()
Obtains the lock status of the parameter.
Manual References:
Returns:
The parameter lock status <reference 1 to unknown entity ParamLockstatus>
void
SetLockStatus
(wfcParamLockstatus LockStatus)
Sets the lock status of the parameter.
Manual References:
Parameters:
LockStatus
The parameter lock status <reference 1 to unknown entity ParamLockstatus>
Returns:
GetValueWithUnits
()
Obtains the value of the parameter along with units.
Exceptions thrown (but not limited to):
pfcXToolkitNotFound - The owner was not found.
Manual References:
Returns:
The parameter value and units contained in <reference 1 to unknown entity ParamValueWithUnits>
void
SetValueWithUnits
(wfcParamValueWithUnits_ptr ValueWithUnits)
Sets the value of the parameter along with units.
For unitless parameters use pfcUnit as NULL in <reference 1 to unknown entity ParamValueWithUnits>
The parameter value and units contained in <reference 1 to unknown entity ParamValueWithUnits>
Exceptions thrown (but not limited to):
pfcXToolkitNotFound - The owner was not found.
pfcXToolkitInvalidType - The unit type provided does not match the units of the parameter.
Manual References:
Parameters:
ValueWithUnits
Returns:
Was this helpful?