|
void | SetSection (int s) |
|
int | Write (const Time &time, const std::string &txt, int qos=MessageImp::kMessage) |
|
void | exitHandler (int code) |
|
char ** | Completion (const char *text, int start, int) |
|
void | EventHook (bool newline) |
|
bool | HasServer (const std::string &server) |
|
vector< string > | GetServerList () const |
|
vector< string > | GetCommandList (const string &server) const |
|
vector< string > | GetCommandList () const |
|
int | PrintStates (std::ostream &out, const std::string &serv="") const |
|
int | PrintDescription (std::ostream &out, bool iscmd, const std::string &serv="", const std::string &service="") const |
|
bool | SendDimCommand (ostream &out, const std::string &server, const std::string &str, bool do_throw=false) |
|
void | JsLoad (const std::string &) |
|
void | JsStart (const std::string &) |
|
void | JsEnd (const std::string &) |
|
bool | JsSend (const std::string &str) |
|
void | JsOut (const std::string &msg) |
|
void | JsWarn (const std::string &msg) |
|
void | JsResult (const std::string &msg) |
|
void | JsPrint (const std::string &msg) |
|
void | JsAlarm (const std::string &msg) |
|
void | JsException (const std::string &str) |
|
bool | JsHasState (int s) const |
|
bool | JsHasState (const string &n) const |
|
bool | JsSetState (int s) |
|
int | JsGetState (const string &n) const |
|
vector< State > | JsGetStates (const string &server) |
|
set< Service > | JsGetServices () |
|
vector< Description > | JsGetDescription (const string &server) |
|
State | JsGetCurrentState () const |
|
State | JsState (const std::string &server) |
|
bool | JsNewState (int s, const string &n, const string &c) |
|
int | JsWait (const string &server, int32_t state, uint32_t ms) |
|
vector< Description > | JsDescription (const string &service) |
|
pair< uint64_t, EventImp * > | JsGetEvent (const std::string &service) |
|
int | Handle (const EventImp &evt, const string &service) |
|
void * | JsSubscribe (const std::string &service) |
|
bool | JsUnsubscribe (const std::string &service) |
|
void | UnsubscribeAll () |
|
| RemoteControlImp (std::ostream &out, std::ostream &in) |
| The server to which we currently cd'ed. More...
|
|
virtual | ~RemoteControlImp () |
|
bool | ProcessCommand (const std::string &str, bool change=true) |
|
template<class T>
class RemoteControl< T >
Implements a remote control based on a Readline class for the dim network.
This template implements all functions which overwrite any function from the Readline class. 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
-
Definition at line 67 of file RemoteControl.h.