
Definition at line 209 of file qftp.cpp.
Public Member Functions | |
| QFtpCommand (QFtp::Command cmd, QStringList raw, const QByteArray &ba) | |
| QFtpCommand (QFtp::Command cmd, QStringList raw, QIODevice *dev=0) | |
| ~QFtpCommand () | |
Static Public Member Functions | |
| static int | nextId () |
Public Attributes | |
| int | id |
| QFtp::Command | command |
| QStringList | rawCmds |
| union { | |
| QByteArray * ba | |
| QIODevice * dev | |
| } | data |
| bool | is_ba |
Static Public Attributes | |
| static QBasicAtomic | idCounter |
| QFtpCommand::QFtpCommand | ( | QFtp::Command | cmd, | |
| QStringList | raw, | |||
| const QByteArray & | ba | |||
| ) |
| QFtpCommand::QFtpCommand | ( | QFtp::Command | cmd, | |
| QStringList | raw, | |||
| QIODevice * | dev = 0 | |||
| ) |
| QFtpCommand::~QFtpCommand | ( | ) |
| int QFtpCommand::nextId | ( | ) | [static] |
Definition at line 233 of file qftp.cpp.
References id, idCounter, and QBasicAtomic::testAndSet().
Referenced by QFtpCommand().
00234 { 00235 register int id; 00236 for (;;) { 00237 id = idCounter; 00238 if (idCounter.testAndSet(id, id + 1)) 00239 break; 00240 } 00241 return id; 00242 }
Here is the call graph for this function:

| int QFtpCommand::id |
| union { ... } QFtpCommand::data |
Referenced by QFtpCommand(), and ~QFtpCommand().
| bool QFtpCommand::is_ba |
QBasicAtomic QFtpCommand::idCounter [static] |
1.5.1