Last change
on this file since 12095 was
9780,
checked in by georgr, 11 years ago
|
WiiCpp library successfully added - won't work without libbluetooth-dev
|
File size:
403 bytes
|
Line | |
---|
1 | #ifndef ACC_SAMPLE_H |
---|
2 | #define ACC_SAMPLE_H |
---|
3 | |
---|
4 | #include "sample.h" |
---|
5 | |
---|
6 | class AccSample : public Sample |
---|
7 | { |
---|
8 | public: |
---|
9 | AccSample(float x, float y, float z); |
---|
10 | AccSample(const string& line); |
---|
11 | ~AccSample() {} |
---|
12 | inline float x() const { return ax; } |
---|
13 | inline float y() const { return ay; } |
---|
14 | inline float z() const { return az; } |
---|
15 | |
---|
16 | virtual void save(ofstream& out); |
---|
17 | |
---|
18 | private: |
---|
19 | float ax; |
---|
20 | float ay; |
---|
21 | float az; |
---|
22 | }; |
---|
23 | |
---|
24 | #endif |
---|
25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.