Browse Subversion Repository
Contents of /simulator/sci_ctrlSim.h
Parent Directory
| Revision Log
Revision 191 -
( show annotations)
( download)
( as text)
Fri Jan 4 02:49:36 2008 UTC
(16 years, 3 months ago)
by satofumi
File MIME type: text/x-chdr
File size: 510 byte(s)
using namespace beego
| 1 |
#ifndef SCI_CTRL_SIM_H |
| 2 |
#define SCI_CTRL_SIM_H |
| 3 |
|
| 4 |
/*! |
| 5 |
\file |
| 6 |
\brief シミュレーション用の sci_ctrl |
| 7 |
|
| 8 |
\author Satofumi KAMIMURA |
| 9 |
|
| 10 |
$Id$ |
| 11 |
|
| 12 |
\todo 関数を beego の名前空間に含める |
| 13 |
*/ |
| 14 |
|
| 15 |
namespace beego { |
| 16 |
class ConnectionInterface; |
| 17 |
}; |
| 18 |
typedef beego::ConnectionInterface* sci_port; |
| 19 |
|
| 20 |
|
| 21 |
extern int sci_read(sci_port port, char* buffer, int size); |
| 22 |
extern int sci_readable(sci_port port); |
| 23 |
extern int sci_write(sci_port port, const char* data, int size); |
| 24 |
extern void sci_stop(sci_port port); |
| 25 |
|
| 26 |
#endif /* !SCI_CTRL_SIM_H */ |
|