Develop and Download Open Source Software

Browse Subversion Repository

Contents of /gyroscopic/Tds01vCtrl.h

Parent Directory Parent Directory | Revision Log 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: 757 byte(s)
using namespace beego

1 #ifndef TDS01V_CTRL_H
2 #define TDS01V_CTRL_H
3
4 /*!
5 \file
6 \brief HŒŽ‚Ě TDS01V ‚̐§Œä
7
8 \author Satofumi KAMIMURA
9
10 $Id$
11 */
12
13 #include <memory>
14
15
16 namespace beego {
17 /*!
18 \brief HŒŽ‚Ě TDS01V ‚̐§ŒäƒNƒ‰ƒX
19 */
20 class Tds01vCtrl {
21 Tds01vCtrl(const Tds01vCtrl& rhs);
22 Tds01vCtrl& operator = (const Tds01vCtrl& rhs);
23
24 struct pImpl;
25 const std::auto_ptr<pImpl> pimpl;
26
27 public:
28 Tds01vCtrl(void);
29 ~Tds01vCtrl(void);
30
31 const char* what(void);
32 bool connect(const char* device);
33 void disconnect(void);
34 bool isConnected(void);
35
36 // degree, –k: 0.0[deg], ź: 90.0[deg], “ě: 180.0[deg], “Œ: 270.0[deg]
37 double getDirection(void);
38 void setDirectionOffset(double degree_offset);
39 };
40 };
41
42 #endif /* !TDS01V_CTRL_H */

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26