Public Member Functions | Protected Attributes

base::OperList Class Reference

#include <OperList.h>

Collaboration diagram for base::OperList:
Collaboration graph
[legend]

Public Member Functions

 OperList ()
 OperList (int noper, bool *isput, uint32_t *addr, uint32_t *value)
 OperList (const OperList &src)
virtual ~OperList ()
int number () const
Operoper (int n)
const Operoper (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< OperfList
int fErrorOper
int fErrorCode

Detailed Description

Definition at line 33 of file OperList.h.


Constructor & Destructor Documentation

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.

References addOper(), number(), and oper().

base::OperList::~OperList (  )  [virtual]

Definition at line 31 of file OperList.cxx.

References fList.


Member Function Documentation

void base::OperList::addGet ( uint32_t  addr  )  [inline]
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]

Definition at line 56 of file OperList.h.

References addOper().

Referenced by addOper().

void base::OperList::addPut ( uint32_t  addr,
uint32_t  value 
) [inline]
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]
Oper& base::OperList::oper ( int  n  )  [inline]
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().


Field Documentation

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().


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