VR-Link API Documentation for HLA 4
 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. More...
 
virtual ~HelpVisitor ()
 
void visit ()
 Calls the usage method of the CmdLineOutput for the specified CmdLine. More...
 
- Public Member Functions inherited from DtCmdLine::Visitor
 Visitor ()
 Constructor. More...
 
virtual ~Visitor ()
 

Protected Attributes

CmdLineInterface_cmd
 The CmdLine the output will be generated for. More...
 
CmdLineOutput ** _out
 The output object. More...
 
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 Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)