Last change
on this file was
167,
checked in by (none), 14 years ago
|
Simeo: added final project and also older proof of concept code.
We used Git for version control, so look at the Git repo
in SIMEO/Simeo/ for more info.
|
File size:
342 bytes
|
Line | |
---|
1 | #ifndef SENSOR_H |
---|
2 | #define SENSOR_H |
---|
3 | |
---|
4 | #include "btBulletDynamicsCommon.h" |
---|
5 | |
---|
6 | #include "Channel.h" |
---|
7 | #include "X.h" |
---|
8 | |
---|
9 | |
---|
10 | |
---|
11 | class Sensor : public X |
---|
12 | { |
---|
13 | private: |
---|
14 | btHingeConstraint *m_joint; |
---|
15 | int m_orient; |
---|
16 | channelData *m_data; |
---|
17 | |
---|
18 | public: |
---|
19 | Sensor(Channel *chan, channelData *data); |
---|
20 | ~Sensor(); |
---|
21 | |
---|
22 | void update(); |
---|
23 | |
---|
24 | channelData *getData(); |
---|
25 | |
---|
26 | }; |
---|
27 | |
---|
28 | #endif //SENSOR_H |
---|
Note: See
TracBrowser
for help on using the repository browser.