Library | File

Class pfcModelCheckCustomCheckListener

# include <pfcModelCheck.h>

class pfcModelCheckCustomCheckListener
 : public virtual pfcActionListener
{
    xaideclare(pfcModelCheckCustomCheckListener)
    ...
};



Description

This interface should be extended to provide the implementation for a ModelCheck custom check.



Method Summary

pfcCustomCheckResults_ptrOnCustomCheck (xrstring CheckName, pfcModel_ptr Mdl)
Override this method to evaluate a ModelCheck externally defined check.
voidOnCustomCheckAction (xrstring CheckName, pfcModel_ptr Mdl, optional xrstring SelectedItem)
Override this method to execute a repair action on an item found by a custom check.
voidOnCustomCheckUpdate (xrstring CheckName, pfcModel_ptr Mdl, optional xrstring SelectedItem)
Override this method to update an item found by a custom check.



Method Detail

pfcCustomCheckResults_ptrOnCustomCheck (xrstring CheckName, pfcModel_ptr Mdl)

Override this method to evaluate a ModelCheck externally defined check.
Manual References:
Models: Custom Checks, Models: Custom Checks
Parameters:
CheckName
The name of the check.
Mdl
The model.
Returns:
The pfcCustomCheckResults object containing the results of the check for this model.



voidOnCustomCheckAction (xrstring CheckName, pfcModel_ptr Mdl, optional xrstring SelectedItem)

Override this method to execute a repair action on an item found by a custom check.
Manual References:
Models: Custom Checks, Models: Custom Checks
Parameters:
CheckName
Name of the check.
Mdl
The model.
SelectedItem
Label of the item that was selected from the table, if applicable. This will match the value of string returned in the pfcCustomCheckResults object returned by pfcModelCheckCustomCheckListener::OnCustomCheck(xrstring, pfcModel_ptr). Can be null if no item was selected.
Returns:



voidOnCustomCheckUpdate (xrstring CheckName, pfcModel_ptr Mdl, optional xrstring SelectedItem)

Override this method to update an item found by a custom check.
Manual References:
Models: Custom Checks, Models: Custom Checks
Parameters:
CheckName
Name of the check.
Mdl
The model.
SelectedItem
Label of the item that was selected from the table,if applicable. This will match the value of string returned in the pfcCustomCheckResults object returned by pfcModelCheckCustomCheckListener::OnCustomCheck(xrstring, pfcModel_ptr).
Returns: