fdhwlib  2.0.25
SubrackBase Class Reference

#include <subrackbase.h>

Inheritance diagram for SubrackBase:
hw4::Subrack hw4::Subrack hw4::Subrack hw4::SubrackAuger hw4::SubrackKatrin KaSubrack Subrack

List of all members.

Public Member Functions

Public Attributes

Protected Attributes


Detailed Description

General functions and structure of a subrack for the IPE data aquisition.

Definition at line 39 of file subrackbase.h.


Constructor & Destructor Documentation

SubrackBase::SubrackBase ( const char *  inifile = "FE.ini",
int  mode = 0 
)
virtual SubrackBase::~SubrackBase ( ) [virtual]

Member Function Documentation

unsigned long SubrackBase::checkSlot ( )

Checks for available slots.

Returns a list of bits: 1 board available 0 empty slot

bool SubrackBase::checkSlot ( int  slot)

Checks whether a board in the slot is present The slots are numbered from 0..20.

int SubrackBase::checkVersions ( FILE *  fout,
const char *  inifile = "FE.ini" 
)

The command uses the version numbers given in the ini-file and compares them with the version numbers of the modules actual found in the system.

Returns:
0 no compare error; 1 certain modules have a different version number, detail are reported in the log-file.
int SubrackBase::compareVersion ( FILE *  fout,
char *  module,
float  version,
float  req_version 
)
float SubrackBase::getRequiredVersion ( akInifile ini,
const char *  module,
const char *  entry = "Version" 
)
const char* SubrackBase::getVersion ( )

Return the version of the library (fdhwlib).

This version number is refered to in the file fdhwlib/ChangeLog and created during the auto* process in config.h

bool SubrackBase::isPresent ( int  slot)

Returns the (stored) configuration of the crate.

(There is no access via PBUS!) The slots are numbered from 0..20.

unsigned long SubrackBase::isPresent ( )

Member Data Documentation

Definition at line 82 of file subrackbase.h.

bool SubrackBase::initPbus [protected]

Definition at line 88 of file subrackbase.h.

unsigned long SubrackBase::slotList [protected]

Definition at line 86 of file subrackbase.h.


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