API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IVFSCACHEMODEL_DESTROYCHILD()

Brew Release
Brew MP 1.0.2
Description
As described above, the IVfsCacheContainer controls the lifecycle of the child nodes, and the model is called to create and destroy child nodes on the fly when required. This function is called to notify the model that the child is about to be released by the cache container because it is no longer to be cached.
Params
po
[]:
Pointer to the IVfsCacheModel interface object
container
[]:
Pointer to the associated cache container
child
[]:
Pointer to the child to be destroyed.
Interface
  • IVFSCACHEMODEL
Prototype
  •    int IVFSCACHEMODEL_DestroyChild(IVfsCacheModel *,IVfsCacheContainer * container,IVfsNode * child)
    
Return
  • none
Comments
This function MUST be present in all cache models. The simplest implementation is to do nothing, and to allow the IVFSNODE_Release() call - which will follow this call - to remove the node.