fdhwlib  2.0.25
SubrackBoardBase Class Reference

#include <subrackboardbase.h>

Inheritance diagram for SubrackBoardBase:
hw4::SubrackBoard SubrackBoard hw4::Flt hw4::FltKatrin hw4::Slt hw4::Slt hw4::Slt Flt KaFlt Slt

List of all members.

Public Member Functions

Protected Attributes


Detailed Description

Generic definition of a DAQ board base class.

Definition at line 27 of file subrackboardbase.h.


Constructor & Destructor Documentation

SubrackBoardBase::SubrackBoardBase ( )
virtual SubrackBoardBase::~SubrackBoardBase ( ) [virtual]

Member Function Documentation

virtual bool SubrackBoardBase::checkPresence ( ) [virtual]

Check whether the board is responding and returns the correct slot id.

Reimplemented in hw4::FltKatrin, Flt, hw4::Flt, hw4::Slt, hw4::Slt, Slt, hw4::Slt, and KaFlt.

virtual bool SubrackBoardBase::checkProject ( ) [virtual]

Check if the suitable project has been loaded.

Reimplemented in hw4::Slt.

virtual int SubrackBoardBase::getVersion ( int  unit = 0) [virtual]

Get the version of the board.

The format is major version * 100 + minor version number. E.g. 1.2 will result in the return value 120

Reimplemented in hw4::FltKatrin, hw4::Flt, Flt, hw4::Slt, hw4::Slt, Slt, and hw4::Slt.

bool SubrackBoardBase::isPresent ( )

Return the state of this slot.


Member Data Documentation

int SubrackBoardBase::ID [protected]

The ID of the board.

Definition at line 52 of file subrackboardbase.h.

std::string SubrackBoardBase::name [protected]

name of the board

Definition at line 59 of file subrackboardbase.h.

bool SubrackBoardBase::present [protected]

For partly filled crates it is necessary to know which boards are present.

Definition at line 56 of file subrackboardbase.h.

int SubrackBoardBase::project [protected]

project id

Definition at line 62 of file subrackboardbase.h.


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