Developer

API Reference

IVFSNODE_AddObserver()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
Brew Release
Brew MP 1.0.2
See Also
IVFSNODE_GetData() IVFSNODE_SetData() IVFSCONTAINER_AddObserver()
Description
Adds a observer to either this node, or to a child of this node.
Parameters
  • po
    []:
    Pointer to the IVfsNode interface object
  • path
    []:
    Remainder of the path to the requested node
  • ob
    []:
    The observer to add to the node
Interface
IVFSNODE
Prototype
   int IVFSNODE_AddObserver(IVfsNode * po,VfsPath path,VfsObserver * ob)
Return
   SUCCESS, or error code
Side Effect
None
Comment
The observer function will be called when the value held by the node changes.
If at end of path, then the observer will be attached to this node.
If called on a non-container node and the supplied path is not at the end of path, the call will fail.
  • Follow