The Be Book The Media Kit The Media Kit Index

BMediaNode Function Summary


Function Summary

Function Description
Acquire() Returns a reference to the node
AddNodeKind() Adds a kind to the set of kinds supported by the node
AddOn() Returns the BMediaAddOn that instantiated the node
AddTimer() Hook: implement to remember a time that should be reported
ControlPort() Hook: return the port_id of the node's control port
DeleteHook() Hook: called when the node is to be deleted
GetNodeAttributes() Hook: implement to return the node's attributes
HandleBadMessage() Copes with messages the node doesn't understand
HandleMessage() Hook: dispatch a Media Kit message
ID() Returns the node's ID
Kinds() Returns a bit mask indicating what interfaces the node implements
BMediaNode() Constructor
Name() Returns the node's name
NewChangeTag() Returns a new change tag
Node() Returns a reference to the node for use when calling BMediaRoster
NodeRegistered() Hook: called when the node is registered with the Media Kit
NodeStopped() Informs interested parties when you've finished handling a stop request
Preroll() Hook: gives the node a chance to prepare the media for use
Release() Releases the node
ReportError() Transmits an error notification to anyone that's watching
RequestCompleted() Hook: called when requests have been completed or have failed
RunMode() Returns the node's run_mode
Seek() Hook: seeks to the specified time in the media
SetRunMode() Hook: sets the node's run mode
SetTimeSource() Hook: specifies the time source the node should be synchronized to
Start() Hook: specifies a time at which the node should start
Stop() Hook: stops the node
TimeSource() Returns the BTimeSource to which the node is slaved
TimeWarp() Hook: informs the node of a sudden change in its time source's time
TimerExpired() Notify interested parties when a notify point is reached
WaitForMessage() Waits for the given amount of time, or until a message is received.

The Be Book The Media Kit The Media Kit Index

The Be Book,
...in lovely HTML...
for BeOS Release 5.

Copyright © 2000 Be, Inc. All rights reserved..