FACT++
1.0
|
Implements a local control for a StateMachine based on a Readline class. More...
#include <LocalControl.h>
Public Member Functions | |
void | SetReceiver (StateMachineImp &imp) |
Protected Member Functions | |
LocalControl (const char *name) | |
bool | PrintGeneralHelp () |
bool | PrintCommands () |
bool | Process (const std::string &str) |
Protected Attributes | |
StateMachineImp * | fStateMachine |
std::ostream & | lout |
std::string | fName |
Private Member Functions | |
char ** | Completion (const char *text, int pos, int) |
Implements a local control for a StateMachine based on a Readline class.
This template implements all functions which overwrite any function from the Readline class needed for a local control of a state machien. Since several derivatives of the Readline class implement different kind of Readline access, this class can be derived by any of them due to its template argument. However, the normal case will be deriving it from either Console or Shell.
T | The base class for RemoteControl. Either Readlien or a class deriving from it. This is usually either Console or Shell. |
Definition at line 35 of file LocalControl.h.