Browse Subversion Repository
Contents of /rangesCtrl/IsUsbUrgCom.h
Parent Directory
| Revision Log
Revision 194 -
( show annotations)
( download)
( as text)
Wed Jan 9 08:37:03 2008 UTC
(16 years, 3 months ago)
by satofumi
File MIME type: text/x-chdr
File size: 541 byte(s)
add connection/FindComPorts.cpp
| 1 |
#ifndef IS_USB_URG_COM_H |
| 2 |
#define IS_USB_URG_COM_H |
| 3 |
|
| 4 |
/*! |
| 5 |
\file |
| 6 |
\brief URG の USB 接続ポートかを判断する |
| 7 |
|
| 8 |
\author Satofumi KAMIMURA |
| 9 |
|
| 10 |
$Id$ |
| 11 |
*/ |
| 12 |
|
| 13 |
namespace beego { |
| 14 |
|
| 15 |
/*! |
| 16 |
\brief 指定ポートが URG の USB 接続かを返す |
| 17 |
|
| 18 |
\param com_port [i] 判定を行う COM ポート |
| 19 |
|
| 20 |
\retval true USB 接続の URG ポートの場合 |
| 21 |
\retval false 上記以外の場合 |
| 22 |
|
| 23 |
\attention Windows 環境でなければ常に false を返す |
| 24 |
\attention 動作確認は、Windows XP のみ。他では未検証 |
| 25 |
*/ |
| 26 |
bool isUsbUrgCom(const char* com_port); |
| 27 |
}; |
| 28 |
|
| 29 |
#endif /* !IS_USB_URG_COM_H */ |
|