source: proiecte/SIMEO/Simeo/src/SimeoEngine/SensorProvider.h @ 167

Last change on this file since 167 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: 496 bytes
Line 
1#ifndef SENSORPROVIDER_H
2#define SENSORPROVIDER_H
3
4#include "Channel.h"
5#include "XProvider.h"
6#include "btBulletDynamicsCommon.h"
7
8#include <utility>
9
10class SensorProvider : public XProvider
11{
12private:
13        btHingeConstraint *m_joint;
14        int m_orient;
15
16public:
17        SensorProvider(Channel *chan, btHingeConstraint *joint, int orient);
18        ~SensorProvider();
19
20        btHingeConstraint *getConstraint();
21        int getOrient();
22
23        void updatePre();
24
25        void packData(channelData *data, int id);
26};
27
28#endif //SENSORPROVIDER_H
Note: See TracBrowser for help on using the repository browser.