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

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

Contents


VkCmdFactory(3x)					      VkCmdFactory(3x)


NAME    [Toc]    [Back]

     VkCmdFactory - produces VkCmd objects

INHERITS FROM    [Toc]    [Back]

     VkCallbackObject

HEADER FILE    [Toc]    [Back]

     #include <Vk/VkCmdFactory.h>

CLASS DESCRIPTION    [Toc]    [Back]

	  The VkCmdFactory is an optional class	that provides some useful
	  services for applications that use VkCmd objects. Although VkCmd
	  objects can be executed directly or via a VkCmdManager, the
	  VkCmdFactory is useful when commands can be executed from multiple
	  sources. For example,	some applications might	make an	operation
	  available to the user	from a menu bar, a toolbar, a popup menu, and
	  perhaps other	parts of a user	interface. A VkCmdFactory provides a
	  central object that multiple interfaces can communicate with to
	  launch the same command.

	  Any VkComponent can register itself with a VkCmFactory object, to
	  track	the availability of the	command. If the	VkCmdFactory is
	  deactivated, all registered components will be desensitized
	  automatically. In addition, any VkComponent, registered or not, can
	  register an cmdExecutedCallback member function with A VkCmdFactory
	  object. This callback	will be	invoked	when a command is executed by
	  the Factory.

	  A VkCmdFactory object	can execute a VkCmd object instantiated	by the
	  application, but it is most useful in	conjuntion with	VkCmd objects
	  that have registered themselves by name with the VkCmdRegistry. In
	  this case, the name given to a VkCmdFactory instance specifies the
	  name of the object to	be created. Alternately, A VkCmdFactory	object
	  can be given a function to call to create a VkCmd object when	one is
	  needed.


CALLBACKS    [Toc]    [Back]

	  This class supports the following callbacks:



	      activateStateChangedCallback
	      cmdExecutedCallback










									Page 1






VkCmdFactory(3x)					      VkCmdFactory(3x)



SAMPLE CODE
     /usr/share/src/ViewKit/Commands/ByName/
     /usr/share/src/ViewKit/Commands/Factories/
     /usr/share/src/ViewKit/Commands/Factory2/


SEE ALSO    [Toc]    [Back]

      
      
     VkCmd, VkCmdManager, 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 2222
[ Back ]
 Similar pages
Name OS Title
gentapes Tru64 Produces magnetic tape distribution media
gendisk Tru64 Produces magnetic disk distribution media
acctcms Tru64 Produces command usage summaries from accounting records
expand_dump Tru64 Produces a non-compressed kernel crash dump file
pthread_exc_report_np Tru64 Produces a message that reports what a specified DECthreads status exception object represents
perlobj IRIX Perl objects
perlobj OpenBSD Perl objects
DSA_new Tru64 Allocate and free DSA objects
RSA_free Tru64 Allocate and free RSA objects
DH_new Tru64 Allocate and free DH objects
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service