VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtCmdLine::VersionVisitor Class Reference

A Vistor that will call the version method of the given CmdLineOutput for the specified CmdLine object and then exit. More...

+ Inheritance diagram for DtCmdLine::VersionVisitor:
+ Collaboration diagram for DtCmdLine::VersionVisitor:

Public Member Functions

 VersionVisitor (CmdLineInterface *cmd, CmdLineOutput **out, bool pressAnyKey=false)
 Constructor.
virtual ~VersionVisitor ()
 Calls the version method of the output object using the specified CmdLine.
void visit ()
 Does nothing.
- Public Member Functions inherited from DtCmdLine::Visitor
 Visitor ()
 Constructor.
virtual ~Visitor ()

Protected Attributes

CmdLineInterface_cmd
 The CmdLine of interest.
CmdLineOutput ** _out
 The output object.
bool myPressAnyKey

Detailed Description

A Vistor that will call the version method of the given CmdLineOutput for the specified CmdLine object and then exit.

Constructor & Destructor Documentation

DtCmdLine::VersionVisitor::VersionVisitor ( CmdLineInterface cmd,
CmdLineOutput **  out,
bool  pressAnyKey = false 
)
inline

Constructor.

Parameters
cmd- The CmdLine the output is generated for.
out- The type of output.
virtual DtCmdLine::VersionVisitor::~VersionVisitor ( )
inlinevirtual

Calls the version method of the output object using the specified CmdLine.

Member Function Documentation

void DtCmdLine::VersionVisitor::visit ( )
inlinevirtual

Does nothing.

Should be overridden by child.

Reimplemented from DtCmdLine::Visitor.

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

Member Data Documentation

CmdLineInterface* DtCmdLine::VersionVisitor::_cmd
protected

The CmdLine of interest.

CmdLineOutput** DtCmdLine::VersionVisitor::_out
protected

The output object.

bool DtCmdLine::VersionVisitor::myPressAnyKey
protected

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

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)