qrk::TcpipSocket Class Reference
TCP/IP 通信.
More...
#include <TcpipSocket.h>
List of all members.
Detailed Description
TCP/IP 通信.
Definition at line 25 of file TcpipSocket.h.
Constructor & Destructor Documentation
qrk::TcpipSocket::TcpipSocket |
( |
void |
|
) |
|
qrk::TcpipSocket::TcpipSocket |
( |
void * |
socket |
) |
|
qrk::TcpipSocket::TcpipSocket |
( |
SocketSet * |
socket_set, |
|
|
void * |
socket = NULL | |
|
) |
| | |
コンストラクタ
- Parameters:
-
[in] | socket_set | 通信ソケット管理 |
[in] | socket | 通信ソケット |
qrk::TcpipSocket::~TcpipSocket |
( |
void |
|
) |
|
qrk::TcpipSocket::TcpipSocket |
( |
const TcpipSocket & |
rhs |
) |
[private] |
Member Function Documentation
long qrk::TcpipSocket::baudrate |
( |
void |
|
) |
const [virtual] |
void qrk::TcpipSocket::clear |
( |
void |
|
) |
[virtual] |
bool qrk::TcpipSocket::connect |
( |
const char * |
device, |
|
|
long |
baudrate | |
|
) |
| | [virtual] |
デバイスへの接続
- Parameters:
-
[in] | device | 接続デバイス名 |
[in] | baudrate | 接続ボーレート |
- Return values:
-
Implements qrk::Connection.
void qrk::TcpipSocket::disconnect |
( |
void |
|
) |
[virtual] |
void qrk::TcpipSocket::flush |
( |
void |
|
) |
[virtual] |
bool qrk::TcpipSocket::isConnected |
( |
void |
|
) |
const [virtual] |
int qrk::TcpipSocket::receive |
( |
char * |
data, |
|
|
size_t |
count, |
|
|
int |
timeout | |
|
) |
| | [virtual] |
受信
- Parameters:
-
[out] | data | 受信用バッファ |
[in] | count | 受信バッファの最大サイズ |
[in] | timeout | タイムアウト時間 [msec] |
Implements qrk::Connection.
int qrk::TcpipSocket::send |
( |
const char * |
data, |
|
|
size_t |
count | |
|
) |
| | [virtual] |
送信
- Parameters:
-
[in] | data | 送信データ |
[in] | count | 送信バイト数 |
- Returns:
- 送信したバイト数
Implements qrk::Connection.
bool qrk::TcpipSocket::setBaudrate |
( |
long |
baudrate |
) |
[virtual] |
size_t qrk::TcpipSocket::size |
( |
void |
|
) |
const [virtual] |
void qrk::TcpipSocket::ungetc |
( |
const char |
ch |
) |
[virtual] |
const char* qrk::TcpipSocket::what |
( |
void |
|
) |
const [virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: