Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CmdMenuShow Class Reference

turn a menu on/off. More...

#include <CmdMenu.h>

Inheritance diagram for CmdMenuShow:

Command List of all members.

Public Methods

 CmdMenuShow (const char *name, int turnon)
 ~CmdMenuShow (void)

Public Attributes

int turnOn
char * menuname

Protected Methods

virtual void create_text (void)
 virtual function which is called when a text version of the command must be created to be printed to the console or a log file. More...


Detailed Description

turn a menu on/off.

Definition at line 30 of file CmdMenu.h.


Constructor & Destructor Documentation

CmdMenuShow::CmdMenuShow const char *    name,
int    turnon
 

Definition at line 34 of file CmdMenu.C.

References menuname, stringdup, and turnOn.

CmdMenuShow::~CmdMenuShow void   
 

Definition at line 40 of file CmdMenu.C.

References menuname.


Member Function Documentation

void CmdMenuShow::create_text void    [protected, virtual]
 

virtual function which is called when a text version of the command must be created to be printed to the console or a log file.

Reimplemented from Command.

Definition at line 29 of file CmdMenu.C.

References Command::cmdText, menuname, and turnOn.


Member Data Documentation

char* CmdMenuShow::menuname
 

Definition at line 33 of file CmdMenu.h.

Referenced by CmdMenuShow, create_text, and ~CmdMenuShow.

int CmdMenuShow::turnOn
 

Definition at line 32 of file CmdMenu.h.

Referenced by CmdMenuShow, and create_text.


The documentation for this class was generated from the following files:
Generated on Tue Dec 3 02:46:54 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002