Browse Subversion Repository
Contents of /connection/ProductIdHandler.h
Parent Directory
| Revision Log
Revision 279 -
( show annotations)
( download)
( as text)
Wed Mar 12 05:28:19 2008 UTC
(16 years, 1 month ago)
by satofumi
File MIME type: text/x-chdr
File size: 655 byte(s)
adjust tab index
| 1 |
#ifndef PRODUCT_ID_HANDLER_H |
| 2 |
#define PRODUCT_ID_HANDLER_H |
| 3 |
|
| 4 |
/*! |
| 5 |
\file |
| 6 |
\brief センサ接続のハンドラ |
| 7 |
|
| 8 |
\author Satofumi KAMIMURA |
| 9 |
|
| 10 |
$Id$ |
| 11 |
*/ |
| 12 |
|
| 13 |
|
| 14 |
namespace beego { |
| 15 |
/*! |
| 16 |
\brief センサ接続ハンドラのインターフェース |
| 17 |
*/ |
| 18 |
class ProductIdHandler { |
| 19 |
public: |
| 20 |
virtual ~ProductIdHandler(void) {} |
| 21 |
|
| 22 |
/*! |
| 23 |
\brief デバイスのチェック |
| 24 |
|
| 25 |
\param device [i] 接続デバイス名 |
| 26 |
\param productId [i] シリアル ID |
| 27 |
|
| 28 |
\retval true 指定デバイス |
| 29 |
\retval false 指定デバイス以外 |
| 30 |
*/ |
| 31 |
virtual bool checkProductId(const char* device, |
| 32 |
const char* productId) const = 0; |
| 33 |
}; |
| 34 |
}; |
| 35 |
|
| 36 |
#endif /* !PRODUCT_ID_HANDLER_H */ |
|