*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> Vk/VkCmdManager (3)              
Title
Content
Arch
Section
 

Contents


VkCmdManager(3x)					      VkCmdManager(3x)


NAME    [Toc]    [Back]

     VkCmdManager - execute commands

INHERITS FROM    [Toc]    [Back]

     VkCallbackObject

HEADER FILE    [Toc]    [Back]

     #include <Vk/VkCmdManager.h>

CLASS DESCRIPTION    [Toc]    [Back]

	  The VkCmdManager class provides a central place for executing
	  commands and managing	them on	a undo/redo stacks. The	management of
	  the VkCmdManager is left to the application, which may wish to have
	  a single CmdManager, or multiple instances, depending	on the
	  application architecture.

	  The VkCmdManager class can execute a cmd given a VkCmd object, a
	  VkCmdFactory object, or a idintifying	string,	if the VkCmd has been
	  registered with the VkCmdRegistry. Commands are executed by calling
	  run():



	      cmdManager->run("CutCommand");


	  an optional argument to all forms of run can be supplied to be
	  passed to the	command	(via the VkCmd::setData() method) before the
	  cmd is executed. This	data is	uninterpreted by the VkCmdManager, and
	  must be agreed upon by the cmd object	and the	caller.

	  Interaction with the undo management facilties of the	VkCmdManager
	  are most easily accessed by the VkMenu class's addUndoAction() and
	  addRedoAction() methods. The methods connect an instance of
	  VkCmdManager with the	appropriate menu commands.


SAMPLE CODE    [Toc]    [Back]

     /usr/share/src/ViewKit/Commands/ByName/


SEE ALSO    [Toc]    [Back]

      
      
     VkCmd, VkCmdFactory, VkCmdRegistry
     ViewKit Programmer's Guide
     The X Window System, DEC Press, Bob Sheifler and Jim Gettys
     The X Window System Toolkit, DEC Press, Paul Asente and Ralph Swick
     The OSF/Motif Programmers Reference, Prentice Hall, OSF


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
at IRIX execute commands at a later time
batch HP-UX execute batched commands immediately or at a later time
at HP-UX execute batched commands immediately or at a later time
cron Linux daemon to execute scheduled commands (Vixie Cron)
cron FreeBSD daemon to execute scheduled commands (Vixie Cron)
hosts.equiv Tru64 A file containing the names of remote systems and users that can execute commands on the local syste...
intro IRIX introduction to commands, application programs, and programming commands.
environ Tru64 Execute a file
execve FreeBSD execute a file
exec FreeBSD execute a file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service