Public Slots | Public Member Functions | Protected Attributes

RocNxWidget Class Reference

#include <rocnxwidget.h>

Inheritance diagram for RocNxWidget:
Inheritance graph
[legend]
Collaboration diagram for RocNxWidget:
Collaboration graph
[legend]

Public Slots

void firePulse ()
void stopPulse ()
void delayChanged (int)
void latencyChanged (int)
void parityChanged (int)
void detectFebs ()
void addFeb ()
void setSubChangedOn ()
void setSubChangedOff ()

Public Member Functions

 RocNxWidget (QWidget *parent, base::Board *brd)
virtual bool getSubConfig ()
virtual bool setSubConfig ()
virtual bool setSubToDefault ()
virtual bool fillCmdFile (FILE *f)
void selectFeb (const char *name)
void addFebWidget (int kind, int port)
void addFebKind (int kind, int port)
RocTabsWidgetrocTabs ()
bool isSubChanged () const
void setSubChanged (bool on)
void showMessage (const QString &msg, int tmout=0)

Protected Attributes

base::BoardfBoard
QSpinBox * fDelaySpins [5]
QSpinBox * fLatencySpins [4]
bool fSubChanged

Detailed Description

Definition at line 11 of file rocnxwidget.h.


Constructor & Destructor Documentation

RocNxWidget::RocNxWidget ( QWidget *  parent,
base::Board brd 
)

Member Function Documentation

void RocNxWidget::addFeb (  )  [slot]

Definition at line 235 of file rocnxwidget.cpp.

References addFebWidget().

Referenced by main(), and RocNxWidget().

void RocNxWidget::addFebKind ( int  kind,
int  port 
)

Definition at line 199 of file rocnxwidget.cpp.

References nxyter::FebBase::typeToString().

Referenced by RocNxWidget().

void RocNxWidget::addFebWidget ( int  kind,
int  port 
)
void RocNxWidget::delayChanged ( int  id  )  [slot]

Definition at line 172 of file rocnxwidget.cpp.

References DelayAddrs, fBoard, fDelaySpins, and base::Board::put().

Referenced by RocNxWidget().

void RocNxWidget::detectFebs (  )  [slot]

Definition at line 189 of file rocnxwidget.cpp.

References addFebWidget(), nxyter::FebBase::discoverFebs(), and fBoard.

Referenced by main(), and RocNxWidget().

bool RocNxWidget::fillCmdFile ( FILE *  f  )  [virtual]

Reimplemented from SubWidget.

Definition at line 143 of file rocnxwidget.cpp.

References DelayAddrsNames, fDelaySpins, and fLatencySpins.

void RocNxWidget::firePulse (  )  [slot]

Definition at line 158 of file rocnxwidget.cpp.

References fBoard, and nxyter::RocNx::fireTestPulse().

Referenced by RocNxWidget().

bool RocNxWidget::getSubConfig (  )  [virtual]
bool SubWidget::isSubChanged (  )  const [inline, inherited]

Definition at line 26 of file subwidget.h.

References SubWidget::fSubChanged.

Referenced by RocTabsWidget::showSubChanged().

void RocNxWidget::latencyChanged ( int  id  )  [slot]

Definition at line 178 of file rocnxwidget.cpp.

References fBoard, fLatencySpins, LatencyAddrs, and base::Board::put().

Referenced by RocNxWidget().

void RocNxWidget::parityChanged ( int   )  [slot]

Definition at line 184 of file rocnxwidget.cpp.

References fBoard, base::Board::put(), and ROC_NX_PARITY_CHECK.

Referenced by RocNxWidget().

RocTabsWidget * SubWidget::rocTabs (  )  [inherited]

Definition at line 9 of file subwidget.cpp.

Referenced by SubWidget::setSubChanged(), and SubWidget::showMessage().

void RocNxWidget::selectFeb ( const char *  name  ) 

Definition at line 206 of file rocnxwidget.cpp.

Referenced by main().

void SubWidget::setSubChanged ( bool  on  )  [inherited]
void SubWidget::setSubChangedOff (  )  [slot, inherited]

Definition at line 44 of file subwidget.cpp.

References SubWidget::setSubChanged().

void SubWidget::setSubChangedOn (  )  [slot, inherited]
bool RocNxWidget::setSubConfig (  )  [virtual]
bool RocNxWidget::setSubToDefault (  )  [virtual]

Reimplemented from SubWidget.

Definition at line 129 of file rocnxwidget.cpp.

References fBoard, getSubConfig(), and nxyter::RocNx::setToDefault().

void SubWidget::showMessage ( const QString &  msg,
int  tmout = 0 
) [inherited]
void RocNxWidget::stopPulse (  )  [slot]

Definition at line 165 of file rocnxwidget.cpp.

References fBoard, and nxyter::RocNx::fireTestPulse().

Referenced by RocNxWidget().


Field Documentation

QSpinBox* RocNxWidget::fDelaySpins[5] [protected]

Definition at line 16 of file rocnxwidget.h.

Referenced by delayChanged(), fillCmdFile(), getSubConfig(), RocNxWidget(), and setSubConfig().

QSpinBox* RocNxWidget::fLatencySpins[4] [protected]

Definition at line 17 of file rocnxwidget.h.

Referenced by fillCmdFile(), getSubConfig(), latencyChanged(), RocNxWidget(), and setSubConfig().

bool SubWidget::fSubChanged [protected, inherited]

Definition at line 14 of file subwidget.h.

Referenced by SubWidget::isSubChanged(), and SubWidget::setSubChanged().


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