CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
ESSample Class Reference

#include <ESSample.h>

Public Member Functions

int adc () const
 get the ADC sample (singed 16 bits) More...
 
 ESSample ()
 
 ESSample (int16_t data)
 
 ESSample (int adc)
 
int16_t operator() ()
 for streaming More...
 
int16_t raw () const
 get the raw word More...
 

Private Attributes

int16_t theSample
 

Detailed Description

Definition at line 7 of file ESSample.h.

Constructor & Destructor Documentation

ESSample::ESSample ( )
inline

Definition at line 9 of file ESSample.h.

References theSample.

9 { theSample = 0; }
int16_t theSample
Definition: ESSample.h:21
ESSample::ESSample ( int16_t  data)
inline

Definition at line 10 of file ESSample.h.

References data, and theSample.

10 { theSample = data; }
int16_t theSample
Definition: ESSample.h:21
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
ESSample::ESSample ( int  adc)

Definition at line 3 of file ESSample.cc.

References theSample.

3 { theSample = (int16_t)adc; }
int16_t theSample
Definition: ESSample.h:21
int adc() const
get the ADC sample (singed 16 bits)
Definition: ESSample.h:16

Member Function Documentation

int ESSample::adc ( ) const
inline
int16_t ESSample::operator() ( )
inline

for streaming

Definition at line 18 of file ESSample.h.

References theSample.

18 { return theSample; }
int16_t theSample
Definition: ESSample.h:21
int16_t ESSample::raw ( ) const
inline

get the raw word

Definition at line 14 of file ESSample.h.

References theSample.

14 { return theSample; }
int16_t theSample
Definition: ESSample.h:21

Member Data Documentation

int16_t ESSample::theSample
private

Definition at line 21 of file ESSample.h.

Referenced by adc(), ESSample(), operator()(), and raw().