![]() |
VR-Link API Documentation for HLA 1.3
|
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. More... | |
| virtual | ~VersionVisitor () |
| Calls the version method of the output object using the specified CmdLine. More... | |
| void | visit () |
| Does nothing. More... | |
Public Member Functions inherited from DtCmdLine::Visitor | |
| Visitor () | |
| Constructor. More... | |
| virtual | ~Visitor () |
Protected Attributes | |
| CmdLineInterface * | _cmd |
| The CmdLine of interest. More... | |
| CmdLineOutput ** | _out |
| The output object. More... | |
| bool | myPressAnyKey |
A Vistor that will call the version method of the given CmdLineOutput for the specified CmdLine object and then exit.
|
inline |
Constructor.
| cmd | - The CmdLine the output is generated for. |
| out | - The type of output. |
|
inlinevirtual |
Calls the version method of the output object using the specified CmdLine.
|
inlinevirtual |
Does nothing.
Should be overridden by child.
Reimplemented from DtCmdLine::Visitor.
References DtInfo, DtNotifyLevel, DtPollBlockingInputChar(), and DtSleep().
|
protected |
The CmdLine of interest.
|
protected |
The output object.
|
protected |