VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | 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:

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.
- Public Member Functions inherited from DtCmdLine::Visitor
 Visitor ()
 Constructor.
virtual ~Visitor ()

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 ( )
inlinevirtual

Member Function Documentation

void DtCmdLine::HelpVisitor::visit ( )
inlinevirtual

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

Reimplemented from DtCmdLine::Visitor.

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

Member Data Documentation

CmdLineInterface* DtCmdLine::HelpVisitor::_cmd
protected

The CmdLine the output will be generated for.

CmdLineOutput** DtCmdLine::HelpVisitor::_out
protected

The output object.

bool DtCmdLine::HelpVisitor::myPressAnyKey
protected

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

Document ID: Generated on Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)