#include <udpwidget.h>
Public Slots | |
void | setLimits () |
void | getLimits () |
void | uploadSofwtare () |
void | uploadFirmware0 () |
void | uploadFirmware1 () |
void | uploadConfiguration () |
void | checkStatistic () |
void | uploading () |
void | setSubChangedOn () |
void | setSubChangedOff () |
Public Member Functions | |
UdpWidget (QWidget *parent, roc::UdpBoard *brd) | |
void | upload (int kind) |
void | takeStatistic () |
virtual bool | getSubConfig () |
virtual bool | setSubConfig () |
virtual bool | fillCmdFile (FILE *f) |
virtual bool | setSubToDefault () |
RocTabsWidget * | rocTabs () |
bool | isSubChanged () const |
void | setSubChanged (bool on) |
void | showMessage (const QString &msg, int tmout=0) |
Protected Attributes | |
roc::UdpBoard * | fBoard |
int | fUploadTime |
int | fUploadSpent |
bool | fSubChanged |
Definition at line 10 of file udpwidget.h.
UdpWidget::UdpWidget | ( | QWidget * | parent, | |
roc::UdpBoard * | brd | |||
) |
Definition at line 7 of file udpwidget.cpp.
References checkStatistic(), fUploadSpent, fUploadTime, getSubConfig(), SubWidget::setSubChangedOn(), uploadConfiguration(), uploadFirmware0(), uploadFirmware1(), and uploadSofwtare().
void UdpWidget::checkStatistic | ( | ) | [slot] |
Definition at line 241 of file udpwidget.cpp.
References takeStatistic().
Referenced by UdpWidget().
bool UdpWidget::fillCmdFile | ( | FILE * | f | ) | [virtual] |
Reimplemented from SubWidget.
Definition at line 69 of file udpwidget.cpp.
void UdpWidget::getLimits | ( | ) | [slot] |
Definition at line 45 of file udpwidget.cpp.
References fBoard, and roc::UdpBoard::getRocLowHighWater().
Referenced by getSubConfig(), and setLimits().
bool UdpWidget::getSubConfig | ( | ) | [virtual] |
Reimplemented from SubWidget.
Definition at line 53 of file udpwidget.cpp.
References getLimits(), and takeStatistic().
Referenced by UdpWidget().
bool SubWidget::isSubChanged | ( | ) | const [inline, inherited] |
Definition at line 26 of file subwidget.h.
References SubWidget::fSubChanged.
Referenced by RocTabsWidget::showSubChanged().
RocTabsWidget * SubWidget::rocTabs | ( | ) | [inherited] |
Definition at line 9 of file subwidget.cpp.
Referenced by SubWidget::setSubChanged(), and SubWidget::showMessage().
void UdpWidget::setLimits | ( | ) | [slot] |
Definition at line 35 of file udpwidget.cpp.
References fBoard, getLimits(), and roc::UdpBoard::setRocLowHighWater().
Referenced by setSubConfig().
void SubWidget::setSubChanged | ( | bool | on | ) | [inherited] |
Definition at line 31 of file subwidget.cpp.
References SubWidget::fSubChanged, SubWidget::rocTabs(), and RocTabsWidget::showSubChanged().
Referenced by FebWidget::enableNxClicked(), RocTabsWidget::getCurrConfig(), RocTabsWidget::getFullConfig(), RocTabsWidget::setCurrConfig(), RocTabsWidget::setFullConfig(), SubWidget::setSubChangedOff(), and SubWidget::setSubChangedOn().
void SubWidget::setSubChangedOff | ( | ) | [slot, inherited] |
Definition at line 44 of file subwidget.cpp.
References SubWidget::setSubChanged().
void SubWidget::setSubChangedOn | ( | ) | [slot, inherited] |
Definition at line 39 of file subwidget.cpp.
References SubWidget::setSubChanged().
Referenced by NxyterWidget::configBitChanged(), NxyterWidget::maskRowColumn(), NxyterWidget::otherRegsChanged(), RocFeetWidget::RocFeetWidget(), RocFeetWidget::setSubToDefault(), NxyterWidget::setSubToDefault(), NxyterWidget::thresholdRowColumn(), and UdpWidget().
bool UdpWidget::setSubConfig | ( | ) | [virtual] |
virtual bool SubWidget::setSubToDefault | ( | ) | [inline, virtual, inherited] |
Reimplemented in AdcWidget, BoardWidget, NxyterWidget, RocFeetWidget, RocMainWidget, and RocNxWidget.
Definition at line 21 of file subwidget.h.
Referenced by RocTabsWidget::setCurrDefault().
void SubWidget::showMessage | ( | const QString & | msg, | |
int | tmout = 0 | |||
) | [inherited] |
Definition at line 25 of file subwidget.cpp.
References SubWidget::rocTabs(), and RocTabsWidget::showMessage().
Referenced by RocMainWidget::setSubToDefault(), and BoardWidget::setSubToDefault().
void UdpWidget::takeStatistic | ( | ) |
Definition at line 209 of file udpwidget.cpp.
References roc::BoardStatistic::daqState, roc::BoardStatistic::dataRate, roc::BoardStatistic::dispPerf, fBoard, roc::BoardStatistic::frameRate, roc::BoardStatistic::nopRate, roc::BoardStatistic::recvRate, roc::BoardStatistic::sendPerf, roc::BoardStatistic::sendRate, roc::BoardStatistic::takePerf, and roc::UdpBoard::takeStat().
Referenced by checkStatistic(), and getSubConfig().
void UdpWidget::upload | ( | int | kind | ) |
Definition at line 81 of file udpwidget.cpp.
References fBoard, fUploadSpent, fUploadTime, roc::UdpBoard::uploadBitfile(), uploading(), and roc::UdpBoard::uploadSDfile().
Referenced by uploadConfiguration(), uploadFirmware0(), uploadFirmware1(), and uploadSofwtare().
void UdpWidget::uploadConfiguration | ( | ) | [slot] |
void UdpWidget::uploadFirmware0 | ( | ) | [slot] |
void UdpWidget::uploadFirmware1 | ( | ) | [slot] |
void UdpWidget::uploading | ( | ) | [slot] |
Definition at line 156 of file udpwidget.cpp.
References roc::UdpBoard::checkUpload(), fBoard, fUploadSpent, and fUploadTime.
Referenced by upload().
void UdpWidget::uploadSofwtare | ( | ) | [slot] |
roc::UdpBoard* UdpWidget::fBoard [protected] |
Definition at line 14 of file udpwidget.h.
Referenced by getLimits(), setLimits(), takeStatistic(), upload(), and uploading().
bool SubWidget::fSubChanged [protected, inherited] |
Definition at line 14 of file subwidget.h.
Referenced by SubWidget::isSubChanged(), and SubWidget::setSubChanged().
int UdpWidget::fUploadSpent [protected] |
Definition at line 16 of file udpwidget.h.
Referenced by UdpWidget(), upload(), and uploading().
int UdpWidget::fUploadTime [protected] |
Definition at line 15 of file udpwidget.h.
Referenced by UdpWidget(), upload(), and uploading().