All Classes Namespaces Files Functions Variables Enumerations Enumerator
Namespaces | Functions
libs/connection/ConnectionUtils.h File Reference

Connection を用いた補助関数 More...

#include <cstddef>
#include <algorithm>
Include dependency graph for ConnectionUtils.h:

Go to the source code of this file.

Namespaces

namespace  qrk
 Quick Robot Development Kit.

Functions

bool qrk::isLF (const char ch)
 改行コードかを返す
void qrk::skip (Connection *con, int total_timeout, int each_timeout=0)
 受信データを読み飛ばす
int qrk::readline (Connection *con, char *buf, const size_t count, int timeout)
 改行までのデータ読み出し
template<class T >
void qrk::swapConnection (T &a, T &b)
 接続オブジェクトの交換

Detailed Description

Connection を用いた補助関数

Author:
Satofumi KAMIMURA
Id:
ConnectionUtils.h 1838 2010-06-01 03:17:17Z satofumi

Definition in file ConnectionUtils.h.