Package OpenCAGE.Controller.Pipe_Segments.Write_Script

This package holds the write script pipe segment.

Class Write_Script_Command_Observer

extends OpenCAGE.Controller.Command.Command_Observer

This is a Command_Observer implementation which writes the command object as well as its parameters to a script. In fact, it gets the name of the command and the parameter pot.

Operations

public Changed( OpenCAGE.Controller.Command.Command Cmd);

Tells the Command_Observer that the state of a Command Object changed. [This description is adopted from 'OpenCAGE.Controller.Command.Command_Observer'.]

Class Write_Script_Pipe_Segment

extends OpenCAGE.Controller.Pipe_Segments.Pipe_Segment

This Pipe_Segement implementation registers a write script observer at the Command object which writes this command ans its parameters into a script.

Attributes

private OpenCAGE.General.XML.Node_Ptr XML 

The xml for the commands, that are already serialized

Operations

public Take( OpenCAGE.Controller.Command.Command Cmd);

Takes a Command object and registers a write script observer