Rev | Line | |
---|
[583] | 1 | #ifndef _EVENT_DEDX_H__
|
---|
| 2 | #define _EVENT_DEDX_H__
|
---|
| 3 |
|
---|
| 4 | #include "Base.h"
|
---|
| 5 |
|
---|
| 6 | namespace FROG{
|
---|
| 7 |
|
---|
| 8 | class Event_dEdX : public Base {
|
---|
| 9 | public :
|
---|
| 10 | float dEdX;
|
---|
| 11 |
|
---|
| 12 | virtual unsigned int chunkId(){ return 12115;}
|
---|
| 13 | virtual bool isCompactible(){ return false; }
|
---|
| 14 |
|
---|
| 15 | Event_dEdX(){}
|
---|
| 16 | Event_dEdX( float dEdX_):
|
---|
| 17 | dEdX(dEdX_){}
|
---|
| 18 |
|
---|
| 19 | virtual ByteBuffer writeData(){
|
---|
| 20 | ByteBuffer toReturn(4);
|
---|
| 21 | toReturn.putFloat(dEdX);
|
---|
| 22 | return toReturn;
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | };
|
---|
| 26 |
|
---|
| 27 | }//FROG Namespace
|
---|
| 28 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.