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

Developer

API Reference

IVFSCACHEMODEL_SETNODEACTIVITY()

Brew Release
Brew MP 1.0.2
Description
This function will be called whenever a node is observed for the first time (with state = TRUE), and whenever the node is unobserved for the last time (with state = FALSE). This can be useful if there is a significant processing load associated with monitoring a particular value that is made available through an IVfsNode. This call may be used to start the processing whenever state == TRUE, and to stop the processing whenever state == FALSE.
Params
po
[]:
Pointer to the IVfsCacheModel interface object
node
[]:
Pointer to the associated node.
state
[]:
TRUE if the node is coming into use, FALSE if the node is going out of use.
Interface
  • IVFSCACHEMODEL
Prototype
  •    int IVFSCACHEMODEL_SetNodeActivity(IVfsCacheModel * po,IVfsCacheContainer * node,boolean state)
    
Return
  • none
Side Effect
  • May be many, depending on the specific implementation.
Comments
This function MAY be omitted from the model. The inline accessor function checks if the function has been defined.