VR-Link API Documentation for DIS
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:

List of all members.

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.

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 ( ) [inline, virtual]

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


Member Function Documentation

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

Does nothing.

Should be overridden by child.

Reimplemented from DtCmdLine::Visitor.

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


Member Data Documentation

The CmdLine of interest.

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)