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