![]() |
Dynamixel
2.9.5
RoadNarrows Robotics Dynamixel Package
|
Public Member Functions | |
ReadLineEntry () | |
Default constructor. | |
ReadLineEntry (const string &strRegEx, ReadLineAppGenFunc_T fnAppGen, void *pAppArg) | |
Initialization constructor. More... | |
ReadLineEntry (const char *sRegEx, ReadLineAppGenFunc_T fnAppGen, void *pAppArg) | |
Initialization constructor. More... | |
ReadLineEntry (const ReadLineEntry &src) | |
Copy constructor. More... | |
~ReadLineEntry () | |
Default destructor. | |
bool | IsValid () |
Check if entry is valid. More... | |
int | GetUid () |
Get the unique id associated with this entry. More... | |
Protected Attributes | |
int | m_nUid |
unique id | |
RegEx | m_regex |
applicatin matching regular expression | |
ReadLineAppGenFunc_T | m_fnAppGen |
application-specific generator | |
void * | m_pAppArg |
application-specific argument | |
Friends | |
class | ReadLine |
Definition at line 105 of file dynashell_readline.h.
ReadLineEntry::ReadLineEntry | ( | const string & | strRegEx, |
ReadLineAppGenFunc_T | fnAppGen, | ||
void * | pAppArg | ||
) |
Initialization constructor.
strRegEx | Regular expression applied to current readline buffer state. |
fnAppGen | Application-specific generator function. |
pAppArg | Optional application argument generator function. |
Definition at line 92 of file dynashell_readline.cxx.
References ReadLine::NOT_REG.
ReadLineEntry::ReadLineEntry | ( | const char * | sRegEx, |
ReadLineAppGenFunc_T | fnAppGen, | ||
void * | pAppArg | ||
) |
Initialization constructor.
sRegEx | Regular expression applied to current readline buffer state. |
fnAppGen | Application-specific generator function. |
pAppArg | Optional application argument generator function. |
Definition at line 109 of file dynashell_readline.cxx.
References ReadLine::NOT_REG.
ReadLineEntry::ReadLineEntry | ( | const ReadLineEntry & | src | ) |
Copy constructor.
src | ReadLineEntry to copy. |
Definition at line 124 of file dynashell_readline.cxx.
References m_fnAppGen, m_nUid, m_pAppArg, and m_regex.
|
inline |
Get the unique id associated with this entry.
Definition at line 137 of file dynashell_readline.h.
|
inline |
Check if entry is valid.
Definition at line 127 of file dynashell_readline.h.
Referenced by ReadLine::RegisterGenerator().