![]() |
VR-Link API Documentation for HLA 1.3
|
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. | |
| virtual | ~HelpVisitor () |
| void | visit () |
| Calls the usage method of the CmdLineOutput for the specified CmdLine. | |
Protected Attributes | |
| CmdLineInterface * | _cmd |
| The CmdLine the output will be generated for. | |
| CmdLineOutput ** | _out |
| The output object. | |
| bool | myPressAnyKey |
A Visitor object that calls the usage method of the given CmdLineOutput object for the specified CmdLine object.
| DtCmdLine::HelpVisitor::HelpVisitor | ( | CmdLineInterface * | cmd, |
| CmdLineOutput ** | out, | ||
| bool | pressAnyKey = false |
||
| ) | [inline] |
Constructor.
| cmd | - The CmdLine the output will be generated for. |
| out | - The type of output. |
| virtual DtCmdLine::HelpVisitor::~HelpVisitor | ( | ) | [inline, virtual] |
| void DtCmdLine::HelpVisitor::visit | ( | ) | [inline, virtual] |
Calls the usage method of the CmdLineOutput for the specified CmdLine.
Reimplemented from DtCmdLine::Visitor.
References DtInfo, DtNotifyLevel, DtPollBlockingInputChar(), and DtSleep().
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] |