DModule


class description - source file - inheritance tree

class DModule : public TObject


    public:
DModule DModule() DModule DModule(Char_t* gtdesc, Char_t* atdesc, Char_t* mdesc, UInt_t addr) DModule DModule(DModule&) virtual void ~DModule() Int_t Access(Char_t* flag, Int_t adoff, Int_t len, void* buf) Int_t BitAccess(Int_t adoff, Int_t bioff) void BitAccess(Int_t adoff, Int_t bioff, Int_t val) TClass* Class() Char_t* GetActTypeDescription() UInt_t GetAdBase() Char_t* GetGenTypeDescription() Char_t* GetModuleDescription() virtual TClass* IsA() const void PrintAddress() virtual void ReadVME() virtual void ResetModule() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

private:
Char_t fGenTypeDescription[80] generic type description Char_t fActTypeDescription[80] actual type description Char_t fModuleDescription[80] label UInt_t fAdBase hardware base address protected:
UShort_t fDummy location for dummy operations


See also

DDL631, DDL632, DDL633, DDL634, DDisc, DDownscaler, DLogic, DScaler

Class Description

 DModule is a parent class for DScaler, DLogic, DDisc, etc.


DModule(Char_t *gtdesc, Char_t *atdesc, Char_t *mdesc, UInt_t adoff) : TObject()

~DModule()

void PrintAddress()

Int_t Access(Char_t *flag, Int_t adoff, Int_t len, void *buf)
 Access to a VME module via the server which runs on VME.
 flag   - "r" for reading, "w" for writing
 adoff  - address within the module
 len    - number of bytes of data to be read or written
 buf    - pointer to the data buffer

 swapping is OK for FIC, check for others.

Int_t BitAccess(Int_t adoff, Int_t bioff)
 Read a bit from VME.
 Since VME can only be accessed word-wise, the bit access works
 by copying a word from VME and accessing the required bit of
 this word.
 adoff  - address of the 16-bit word in the module
 bioff  - bit address (0-15)

void BitAccess(Int_t adoff, Int_t bioff, Int_t val)
 Set a VME bit to val.
 Since VME can only be accessed word-wise, the bit access works
 by copying a word from VME and accessing the required bit of
 this word. The modified word is subsequently written to VME.
 adoff  - address of the 16-bit word in the module
 bioff  - bit address (0-15)
 val    - value to which the bit should be set



Inline Functions


            DModule DModule(Char_t* gtdesc, Char_t* atdesc, Char_t* mdesc, UInt_t addr)
             UInt_t GetAdBase()
            Char_t* GetGenTypeDescription()
            Char_t* GetActTypeDescription()
            Char_t* GetModuleDescription()
               void ReadVME()
               void ResetModule()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
            DModule DModule(DModule&)


Author: Dariusz Miskowiec
Last update: 1999


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.