VR-Link API Documentation for DIS
Public Member Functions | Protected Attributes
DtCmdLine::HelpVisitor Class Reference

A Visitor object that calls the usage method of the given CmdLineOutput object for the specified CmdLine object. More...

+ Inheritance diagram for DtCmdLine::HelpVisitor:
+ Collaboration diagram for DtCmdLine::HelpVisitor:

List of all members.

Public Member Functions

 HelpVisitor (CmdLineInterface *cmd, CmdLineOutput **out, bool pressAnyKey=false)
 Constructor.
virtual ~HelpVisitor ()
void visit ()
 Calls the usage method of the CmdLineOutput for the specified CmdLine.

Protected Attributes

CmdLineInterface_cmd
 The CmdLine the output will be generated for.
CmdLineOutput ** _out
 The output object.
bool myPressAnyKey

Detailed Description

A Visitor object that calls the usage method of the given CmdLineOutput object for the specified CmdLine object.


Constructor & Destructor Documentation

DtCmdLine::HelpVisitor::HelpVisitor ( CmdLineInterface cmd,
CmdLineOutput **  out,
bool  pressAnyKey = false 
) [inline]

Constructor.

Parameters:
cmd- The CmdLine the output will be generated for.
out- The type of output.
virtual DtCmdLine::HelpVisitor::~HelpVisitor ( ) [inline, virtual]

Member Function Documentation

void DtCmdLine::HelpVisitor::visit ( ) [inline, virtual]

Calls the usage method of the CmdLineOutput for the specified CmdLine.

Reimplemented from DtCmdLine::Visitor.

References DtInfo, DtNotifyLevel, DtPollBlockingInputChar(), and DtSleep().


Member Data Documentation

The CmdLine the output will be generated for.

The output object.


The documentation for this class was generated from the following file:

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)