ROOT logo
///////////////////////////////////////////////////////////
// File: $RCSfile: htrbnetdebuginfo.h,v $
//
// Author : J.Wuestenfeld
// Version: $Revision: 1.1.1.1 $
///////////////////////////////////////////////////////////

#ifndef HTRBNETDEBUGINFO__H
#define HTRBNETDEBUGINFO__H

#include "TObject.h"

class HTrbNetDebugInfo : public TObject
{
protected:
    UInt_t address;	      	//< Address of TrbNet entity
    UInt_t statusWord;		//< Status of TrbNet entity

public:
   HTrbNetDebugInfo(void);
   ~HTrbNetDebugInfo(void);

   UInt_t getAddress   (void)    {return address;};
   UInt_t getStatusWord(void)    {return statusWord;};
   UInt_t getStatusBit (char bit){return (statusWord & (0x1 << bit)) >> bit;};

   void setAddress(UInt_t addr){address = addr;};
   void setStatus (UInt_t val) {statusWord = val;};

   ClassDef(HTrbNetDebugInfo,1)
};

#endif
 htrbnetdebuginfo.h:1
 htrbnetdebuginfo.h:2
 htrbnetdebuginfo.h:3
 htrbnetdebuginfo.h:4
 htrbnetdebuginfo.h:5
 htrbnetdebuginfo.h:6
 htrbnetdebuginfo.h:7
 htrbnetdebuginfo.h:8
 htrbnetdebuginfo.h:9
 htrbnetdebuginfo.h:10
 htrbnetdebuginfo.h:11
 htrbnetdebuginfo.h:12
 htrbnetdebuginfo.h:13
 htrbnetdebuginfo.h:14
 htrbnetdebuginfo.h:15
 htrbnetdebuginfo.h:16
 htrbnetdebuginfo.h:17
 htrbnetdebuginfo.h:18
 htrbnetdebuginfo.h:19
 htrbnetdebuginfo.h:20
 htrbnetdebuginfo.h:21
 htrbnetdebuginfo.h:22
 htrbnetdebuginfo.h:23
 htrbnetdebuginfo.h:24
 htrbnetdebuginfo.h:25
 htrbnetdebuginfo.h:26
 htrbnetdebuginfo.h:27
 htrbnetdebuginfo.h:28
 htrbnetdebuginfo.h:29
 htrbnetdebuginfo.h:30
 htrbnetdebuginfo.h:31
 htrbnetdebuginfo.h:32
 htrbnetdebuginfo.h:33