#include <OperList.h>
Public Member Functions | |
OperList () | |
OperList (int noper, bool *isput, uint32_t *addr, uint32_t *value) | |
OperList (const OperList &src) | |
virtual | ~OperList () |
int | number () const |
Oper & | oper (int n) |
const Oper & | oper (int n) const |
bool | isput (int n) const |
void | clear () |
void | addOper (const Oper &oper) |
void | addOper (bool isput, uint32_t addr, uint32_t value) |
void | addPut (uint32_t addr, uint32_t value) |
void | addGet (uint32_t addr) |
void | print () |
int | getErrorOper () const |
void | setErrorOper (int n) |
int | getErrorCode () const |
void | setErrorCode (int code) |
Protected Attributes | |
std::vector< Oper > | fList |
int | fErrorOper |
int | fErrorCode |
Definition at line 33 of file OperList.h.
base::OperList::OperList | ( | ) |
Definition at line 5 of file OperList.cxx.
base::OperList::OperList | ( | int | noper, | |
bool * | isput, | |||
uint32_t * | addr, | |||
uint32_t * | value | |||
) |
Definition at line 13 of file OperList.cxx.
References addOper().
base::OperList::OperList | ( | const OperList & | src | ) |
Definition at line 22 of file OperList.cxx.
base::OperList::~OperList | ( | ) | [virtual] |
Definition at line 31 of file OperList.cxx.
References fList.
void base::OperList::addGet | ( | uint32_t | addr | ) | [inline] |
Definition at line 61 of file OperList.h.
References addOper().
Referenced by roc::Board::downloadCommandsList(), DataWidget::getData(), OpticWidget::getDLMHistory(), RocNxWidget::getSubConfig(), RocFeetWidget::getSubConfig(), OpticWidget::getSubConfig(), base::Board::initBoard(), roc::UdpDevice::initUdp(), and roc::NxCalibrModule::switchCalibration().
void base::OperList::addOper | ( | const Oper & | oper | ) | [inline] |
Definition at line 53 of file OperList.h.
References fList.
Referenced by addGet(), addPut(), and OperList().
void base::OperList::addOper | ( | bool | isput, | |
uint32_t | addr, | |||
uint32_t | value | |||
) | [inline] |
void base::OperList::addPut | ( | uint32_t | addr, | |
uint32_t | value | |||
) | [inline] |
Definition at line 59 of file OperList.h.
References addOper().
Referenced by roc::Board::downloadCommandsList(), roc::UdpDataSocket::ProcessEvent(), roc::BoardsVector::ResetAllGet4(), nxyter::RocNx::resetRocNxTs(), RocNxWidget::setSubConfig(), RocFeetWidget::setSubConfig(), roc::NxCalibrModule::switchCalibration(), roc::Board::uploadCommandsList(), roc::Board::uploadStartDaqCmdList(), and roc::Board::uploadStopDaqCmdList().
void base::OperList::clear | ( | ) | [inline] |
Definition at line 51 of file OperList.h.
References fErrorCode, fErrorOper, and fList.
Referenced by roc::Board::downloadCommandsList(), and roc::UdpDataSocket::ProcessEvent().
int base::OperList::getErrorCode | ( | ) | const [inline] |
Definition at line 68 of file OperList.h.
References fErrorCode.
int base::OperList::getErrorOper | ( | ) | const [inline] |
Definition at line 65 of file OperList.h.
References fErrorOper.
bool base::OperList::isput | ( | int | n | ) | const [inline] |
Definition at line 49 of file OperList.h.
References base::Oper::isput, and oper().
Referenced by RocMainWidget::getCmdList(), print(), and roc::Board::uploadCommandsList().
int base::OperList::number | ( | ) | const [inline] |
Definition at line 46 of file OperList.h.
References fList.
Referenced by roc::UdpControlSocket::checkCommandsQueue(), roc::UdpControlSocket::completeLoop(), roc::Board::downloadCommandsList(), roc::AbbDevice::ExecuteCommand(), RocMainWidget::getCmdList(), OperList(), print(), base::Board::traceOper(), and roc::Board::uploadCommandsList().
Oper& base::OperList::oper | ( | int | n | ) | [inline] |
Definition at line 47 of file OperList.h.
References fList.
Referenced by roc::UdpControlSocket::checkCommandsQueue(), roc::UdpControlSocket::completeLoop(), roc::Board::downloadCommandsList(), roc::AbbDevice::ExecuteCommand(), RocMainWidget::getCmdList(), DataWidget::getData(), OpticWidget::getDLMHistory(), RocNxWidget::getSubConfig(), RocFeetWidget::getSubConfig(), OpticWidget::getSubConfig(), base::Board::initBoard(), roc::UdpDevice::initUdp(), isput(), base::Board::operGen(), OperList(), print(), base::Board::traceOper(), and roc::Board::uploadCommandsList().
const Oper& base::OperList::oper | ( | int | n | ) | const [inline] |
Definition at line 48 of file OperList.h.
References fList.
void base::OperList::print | ( | ) |
Definition at line 37 of file OperList.cxx.
References base::Oper::addr, fErrorCode, fErrorOper, isput(), number(), oper(), and base::Oper::value.
void base::OperList::setErrorCode | ( | int | code | ) | [inline] |
Definition at line 69 of file OperList.h.
References fErrorCode.
Referenced by roc::AbbDevice::ExecuteCommand().
void base::OperList::setErrorOper | ( | int | n | ) | [inline] |
Definition at line 66 of file OperList.h.
References fErrorOper.
Referenced by roc::AbbDevice::ExecuteCommand().
int base::OperList::fErrorCode [protected] |
Definition at line 38 of file OperList.h.
Referenced by clear(), getErrorCode(), print(), and setErrorCode().
int base::OperList::fErrorOper [protected] |
Definition at line 37 of file OperList.h.
Referenced by clear(), getErrorOper(), print(), and setErrorOper().
std::vector<Oper> base::OperList::fList [protected] |
Definition at line 35 of file OperList.h.
Referenced by addOper(), clear(), number(), oper(), and ~OperList().