#include <atcommand.h>
Public Member Functions | |
ATCommand (const TQString &cmdString) | |
ATCommand (const TQString &cmdName, const TQString &cmdString, bool hexOutput=false) | |
void | setCmdName (const TQString &) |
TQString | cmdName () |
void | setCmdString (const TQString &) |
TQString | cmdString () |
TQString | cmd () |
TQString | id () |
void | setHexOutput (bool) |
bool | hexOutput () |
TQString | processOutput (const TQString &) |
TQString | processOutput () |
void | setResultString (const TQString &) |
TQString | resultString () |
TQString | resultField (int index) |
TQPtrList< TQStringList > * | resultFields () |
void | addParameter (ATParameter *) |
void | clearParameters () |
TQPtrList< ATParameter > | parameters () |
void | setParameter (int index, const TQString &value) |
void | setParameter (int index, int value) |
void | setAutoDelete (bool autoDelete) |
bool | autoDelete () |
Detailed Description
This class provides an abstraction of an AT command.
Definition at line 54 of file atcommand.h.
Constructor & Destructor Documentation
◆ ATCommand() [1/3]
ATCommand::ATCommand | ( | ) |
Definition at line 44 of file atcommand.cpp.
◆ ATCommand() [2/3]
ATCommand::ATCommand | ( | const TQString & | cmdString | ) |
Definition at line 51 of file atcommand.cpp.
◆ ATCommand() [3/3]
ATCommand::ATCommand | ( | const TQString & | cmdName, |
const TQString & | cmdString, | ||
bool | hexOutput = false |
||
) |
Definition at line 62 of file atcommand.cpp.
◆ ~ATCommand()
|
virtual |
Definition at line 79 of file atcommand.cpp.
Member Function Documentation
◆ addParameter()
void ATCommand::addParameter | ( | ATParameter * | p | ) |
Definition at line 236 of file atcommand.cpp.
◆ autoDelete()
|
inline |
Definition at line 91 of file atcommand.h.
◆ clearParameters()
void ATCommand::clearParameters | ( | ) |
Definition at line 241 of file atcommand.cpp.
◆ cmd()
TQString ATCommand::cmd | ( | ) |
Definition at line 112 of file atcommand.cpp.
◆ cmdName()
TQString ATCommand::cmdName | ( | ) |
Definition at line 90 of file atcommand.cpp.
◆ cmdString()
TQString ATCommand::cmdString | ( | ) |
Definition at line 107 of file atcommand.cpp.
◆ hexOutput()
bool ATCommand::hexOutput | ( | ) |
Definition at line 138 of file atcommand.cpp.
◆ id()
TQString ATCommand::id | ( | ) |
Definition at line 128 of file atcommand.cpp.
◆ parameters()
TQPtrList< ATParameter > ATCommand::parameters | ( | ) |
Definition at line 246 of file atcommand.cpp.
◆ processOutput() [1/2]
TQString ATCommand::processOutput | ( | ) |
Definition at line 289 of file atcommand.cpp.
◆ processOutput() [2/2]
TQString ATCommand::processOutput | ( | const TQString & | output | ) |
Definition at line 267 of file atcommand.cpp.
◆ resultField()
TQString ATCommand::resultField | ( | int | index | ) |
Definition at line 214 of file atcommand.cpp.
◆ resultFields()
TQPtrList< TQStringList > * ATCommand::resultFields | ( | ) |
Definition at line 231 of file atcommand.cpp.
◆ resultString()
TQString ATCommand::resultString | ( | ) |
Definition at line 209 of file atcommand.cpp.
◆ setAutoDelete()
|
inline |
Definition at line 90 of file atcommand.h.
◆ setCmdName()
void ATCommand::setCmdName | ( | const TQString & | cmdName | ) |
Definition at line 85 of file atcommand.cpp.
◆ setCmdString()
void ATCommand::setCmdString | ( | const TQString & | cmdString | ) |
Definition at line 96 of file atcommand.cpp.
◆ setHexOutput()
void ATCommand::setHexOutput | ( | bool | hexOutput | ) |
Definition at line 133 of file atcommand.cpp.
◆ setParameter() [1/2]
void ATCommand::setParameter | ( | int | index, |
const TQString & | value | ||
) |
Definition at line 251 of file atcommand.cpp.
◆ setParameter() [2/2]
void ATCommand::setParameter | ( | int | index, |
int | value | ||
) |
Definition at line 262 of file atcommand.cpp.
◆ setResultString()
void ATCommand::setResultString | ( | const TQString & | resultString | ) |
Definition at line 143 of file atcommand.cpp.
The documentation for this class was generated from the following files: