Lobster controller program
Dependencies: FatFileSystem HBridge MSCFileSystem WavPlayer mbed
Fork of RSALB_hbridge_helloworld by
ActionCue/Action.h@2:f8199cc69b20, 2012-09-21 (annotated)
- Committer:
- p07gbar
- Date:
- Fri Sep 21 14:24:10 2012 +0000
- Revision:
- 2:f8199cc69b20
Working
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
p07gbar | 2:f8199cc69b20 | 1 | #ifndef ACTION_H |
p07gbar | 2:f8199cc69b20 | 2 | #define ACTION_H |
p07gbar | 2:f8199cc69b20 | 3 | |
p07gbar | 2:f8199cc69b20 | 4 | class Action |
p07gbar | 2:f8199cc69b20 | 5 | { |
p07gbar | 2:f8199cc69b20 | 6 | public: |
p07gbar | 2:f8199cc69b20 | 7 | Action() |
p07gbar | 2:f8199cc69b20 | 8 | { |
p07gbar | 2:f8199cc69b20 | 9 | actionTime = 0; |
p07gbar | 2:f8199cc69b20 | 10 | actionType = -1; |
p07gbar | 2:f8199cc69b20 | 11 | actionInt = 0; |
p07gbar | 2:f8199cc69b20 | 12 | actionFloat = 0; |
p07gbar | 2:f8199cc69b20 | 13 | } |
p07gbar | 2:f8199cc69b20 | 14 | |
p07gbar | 2:f8199cc69b20 | 15 | Action(float time, int type, int aint, float afloat) |
p07gbar | 2:f8199cc69b20 | 16 | { |
p07gbar | 2:f8199cc69b20 | 17 | actionTime = time; |
p07gbar | 2:f8199cc69b20 | 18 | actionType = type; |
p07gbar | 2:f8199cc69b20 | 19 | actionInt = aint; |
p07gbar | 2:f8199cc69b20 | 20 | actionFloat = afloat; |
p07gbar | 2:f8199cc69b20 | 21 | } |
p07gbar | 2:f8199cc69b20 | 22 | |
p07gbar | 2:f8199cc69b20 | 23 | float actionTime; |
p07gbar | 2:f8199cc69b20 | 24 | int actionType; |
p07gbar | 2:f8199cc69b20 | 25 | int actionInt; |
p07gbar | 2:f8199cc69b20 | 26 | float actionFloat; |
p07gbar | 2:f8199cc69b20 | 27 | }; |
p07gbar | 2:f8199cc69b20 | 28 | |
p07gbar | 2:f8199cc69b20 | 29 | |
p07gbar | 2:f8199cc69b20 | 30 | #endif |