MiniballSort
Loading...
Searching...
No Matches
ScalerUnitData Class Reference

#include <DataPackets.hh>

Inheritance diagram for ScalerUnitData:

Public Member Functions

 ScalerUnitData (unsigned char _id, unsigned int _val)
 
 ScalerUnitData ()
 
 ~ScalerUnitData ()
 
void ClearData ()
 
void SetScaler (unsigned char _id, unsigned int _val)
 
unsigned char GetID ()
 
unsigned int GetValue ()
 

Protected Attributes

unsigned char id
 ID of the channel/scaler being read.
 
unsigned int val
 value of the pattern
 

Detailed Description

Definition at line 50 of file DataPackets.hh.

Constructor & Destructor Documentation

◆ ScalerUnitData() [1/2]

ScalerUnitData::ScalerUnitData ( unsigned char _id,
unsigned int _val )
inline

Definition at line 54 of file DataPackets.hh.

◆ ScalerUnitData() [2/2]

ScalerUnitData::ScalerUnitData ( )
inline

Definition at line 58 of file DataPackets.hh.

◆ ~ScalerUnitData()

ScalerUnitData::~ScalerUnitData ( )
inline

Definition at line 62 of file DataPackets.hh.

Member Function Documentation

◆ ClearData()

void ScalerUnitData::ClearData ( )

◆ GetID()

unsigned char ScalerUnitData::GetID ( )
inline

Definition at line 73 of file DataPackets.hh.

◆ GetValue()

unsigned int ScalerUnitData::GetValue ( )
inline

Definition at line 74 of file DataPackets.hh.

◆ SetScaler()

void ScalerUnitData::SetScaler ( unsigned char _id,
unsigned int _val )
inline

Definition at line 67 of file DataPackets.hh.

Member Data Documentation

◆ id

unsigned char ScalerUnitData::id
protected

ID of the channel/scaler being read.

Definition at line 78 of file DataPackets.hh.

Referenced by GetID().

◆ val

unsigned int ScalerUnitData::val
protected

value of the pattern

Definition at line 79 of file DataPackets.hh.

Referenced by GetValue(), ScalerUnitData(), ScalerUnitData(), and SetScaler().


The documentation for this class was generated from the following file: