FACT++  1.0
LocalControl< T > Class Template Reference

Implements a local control for a StateMachine based on a Readline class. More...

#include <LocalControl.h>

+ Inheritance diagram for LocalControl< T >:
+ Collaboration diagram for LocalControl< T >:

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

StateMachineImpfStateMachine
 
std::ostream & lout
 
std::string fName
 

Private Member Functions

char ** Completion (const char *text, int pos, int)
 

Detailed Description

template<class T>
class LocalControl< T >

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.

Template Parameters
TThe 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.


The documentation for this class was generated from the following file: