home OpenMash Documentations
Class Index Method Index Class Hierarchy

TCL CLASS

DcObserver

This is an observer that gets attached to the StudioAgent, and get notified when events happen. In particular, we are interested in format change events (trigger_format{}).

SUPERCLASSES

Observer

MEMBERS

ui_, agent_

ui_

the CDcUI object.

agent_

the DcStudioAgent we are attached to.

METHODS

init, trigger_format, decoder_changed

init

DcObserver instproc init { ui agent }

Initialize members.

agent

the DcStudioAgent we are attached to.

ui

the CDcUI object.

trigger_format

decoder_changed

DcObserver instproc trigger_format { src }

DcObserver instproc decoder_changed { src }

1. Tell the agent to "reactivate" the $src (removes old decoder, creates new decoder, set the source of the decoder). 2. Tell the UI to reattach the source (set the targets of the decoder to various renderers).

src

the Source/RTP object whose format has changed.

INHERITED METHODS

update

FILENAME

tcl/dc/dc/application-dc.tcl


Generated on Mon Apr 12 04:04:23 PDT 2004