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

Developer

API Reference

IACTORFRAME_CREATESTRING()

Brew Release
Brew MP 1.0.2
See Also
None
Description
ActorBase object.
Params
name
[in]:
Name of the new node *
pfnGet
[in]:
Get callback function (may be NULL for write-only nodes)
pfnSet
[in]:
Set callback function (may be NULL for read-only nodes)
Interface
Prototype
  •    IVfsNode *IActorFrame_CreateString(
          ActorBase *pMe,
          VfsPathElement name,
          IVfsContainer *pParent,
          PFNACTORFRAME_GETSTRINGNODE pfnGet,
          PFNACTORFRAME_SETSTRINGNODE pfnSet
       )
    
Return
  • IVfsNode *: The newly created node if successful, otherwise NULL. If successful, the new node will have also been added to the pParent container.
Side Effect
  • None
Comments
The returned interface MUST NOT be released by the caller. It is associated with the ActorBase object and will be released automatically. This method will fail gracefully (return NULL) if pParent is NULL.