Fork me on GitHub

source: svn/trunk/Utilities/frog/Event_dEdX.h@ 986

Last change on this file since 986 was 583, checked in by cp3-support, 13 years ago

FROG 3.0

File size: 473 bytes
Line 
1#ifndef _EVENT_DEDX_H__
2#define _EVENT_DEDX_H__
3
4#include "Base.h"
5
6namespace FROG{
7
8class Event_dEdX : public Base {
9public :
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.