Dynamixel  2.9.5
RoadNarrows Robotics Dynamixel Package
dynashell_readline.h File Reference

The Dynamixel Shell ReadLine Class. More...

#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <iostream>
#include <string>
#include <vector>
#include <readline/readline.h>
#include <readline/history.h>
#include "dynashell_regex.h"

Go to the source code of this file.

Classes

class  ReadLineEntry
 
class  ReadLine
 ReadLine class provides a c++ wrapper around the readline c library. More...
 

Typedefs

typedef char *(* ReadLineAppGenFunc_T) (int nUid, const char *sText, size_t uTextLen, int nState, const char *sContext, void *pAppArg)
 Application-specific tab completion generator function type. More...
 

Detailed Description

The Dynamixel Shell ReadLine Class.

LastChangedDate
2015-01-12 10:56:06 -0700 (Mon, 12 Jan 2015)
Rev
3845
Note
Define HAVE_READLINE to enable interface with libreadline.
Author
Robin Knight (robin.nosp@m..kni.nosp@m.ght@r.nosp@m.oadn.nosp@m.arrow.nosp@m.s.co.nosp@m.m)

Definition in file dynashell_readline.h.

Typedef Documentation

typedef char*(* ReadLineAppGenFunc_T) (int nUid, const char *sText, size_t uTextLen, int nState, const char *sContext, void *pAppArg)

Application-specific tab completion generator function type.

Parameters
nUidRegistered unique id.
sTextPartial text string to complete.
uTextLenLength of text.
nStateGenerator state. If FIRST,then initialize any statics.
sContextGenerator context (i.e. canonical path).
pAppArgGenerator function optional application argument.
Returns
If a first/next match is made, return allocated completed match.
Otherwise return NULL.

Definition at line 93 of file dynashell_readline.h.