| DtCommandInput::DtCommandInput |
( |
| ) |
|
| DtCommandInput::~DtCommandInput |
( |
| ) |
|
| virtual void DtCommandInput::append |
( |
char |
x | ) |
|
|
protectedvirtual |
Append character to command line.
| virtual void DtCommandInput::clearCommand |
( |
| ) |
|
|
protectedvirtual |
Clear the current command.
| virtual void DtCommandInput::eraseLastCommand |
( |
| ) |
|
|
virtual |
| virtual void DtCommandInput::forceInput |
( |
| ) |
|
|
virtual |
Block on next keyboard tick until Enter is pressed.
| virtual bool DtCommandInput::isEmpty |
( |
| ) |
const |
|
protectedvirtual |
| virtual int DtCommandInput::isEndOfLine |
( |
unsigned int |
x | ) |
|
|
protectedvirtual |
| virtual bool DtCommandInput::keyboardTick |
( |
char * |
command | ) |
|
|
virtual |
Check for keyboard input and copy input to command when Enter is pressed.
Return true if command (non empty) is ready for processing Note: Non-blocking until input is pending, then blocking until Enter is pressed.
| virtual void DtCommandInput::printHistory |
( |
unsigned int |
start = 0, |
|
|
unsigned int |
end = 65535 |
|
) |
| const |
|
virtual |
Print history from start to finish, default is entire list.
| virtual bool DtCommandInput::processInput |
( |
unsigned int |
x, |
|
|
char * |
command |
|
) |
| |
|
protectedvirtual |
| virtual void DtCommandInput::restoreCommand |
( |
int |
index | ) |
|
|
virtual |
Restore the previous command with the given index.
| virtual void DtCommandInput::restoreNextCommand |
( |
| ) |
|
|
protectedvirtual |
| virtual void DtCommandInput::restorePreviousCommand |
( |
| ) |
|
|
protectedvirtual |
Restore the previous command.
| virtual void DtCommandInput::saveCommand |
( |
| ) |
|
|
protectedvirtual |
| virtual void DtCommandInput::unAppend |
( |
void |
| ) |
|
|
protectedvirtual |
Unappend character to command line.
| char DtCommandInput::myClearLine[1024] |
|
protected |
| char DtCommandInput::myCommandLine[1024] |
|
protected |
| bool DtCommandInput::myForceInput |
|
protected |
| int DtCommandInput::myLastCommandIndex |
|
protected |
| int DtCommandInput::myMaxCommands |
|
protected |
| std::deque<DtString> DtCommandInput::myPreviousCommands |
|
protected |
| bool DtCommandInput::myPromptOnScreen |
|
protected |
| bool DtCommandInput::mySurpressPrompt |
|
protected |
The documentation for this class was generated from the following file: