Cat
|
#include <include/UsbFTInterfaceTest.h>
Classes | |
class | UsbFTInterfaceTest |
Public Types | |
typedef unsigned long | U32 |
typedef unsigned short | U16 |
typedef unsigned char | U8 |
![]() | |
enum | states { ERR =-1, NOT_OK, OK } |
![]() | |
enum | Attribut { UNDEFINED, PASSIVE, ACTIVE, INTERFACE, IO, IODATA, ELEMENT, HARDWARE, PROCESSUS, SOFTWARE } |
Public Member Functions | |
UsbFTInterfaceTest () | |
Standard constructor. More... | |
virtual | ~UsbFTInterfaceTest () |
virtual StatusCode | initialize () |
Destructor. More... | |
virtual StatusCode | execute () |
virtual StatusCode | finalize () |
StatusCode | setAddress (long int address) |
StatusCode | setParam (int size, double mean, double sigma) |
double | mean () |
double | sigma () |
![]() | |
Processus () | |
Standard constructor. More... | |
virtual | ~Processus () |
Destructor. More... | |
StatusCode | startProcessing () |
StatusCode | endProcessing () |
void | clean () |
void | setStorage (std::string storage) |
Data * | data () |
std::vector< double > | data (unsigned int row) |
std::vector< double > | data (std::string name) |
Histo1D * | hist1d (unsigned int row) |
Histo2D * | hist2d (unsigned int row) |
void | addDataStream (std::string name, std::string title) |
void | addHisto1d (TH1D *h) |
void | addHisto2d (TH2D *h) |
StatusCode | dataFill (int i, double val) |
StatusCode | dataFill (std::string name, double val) |
std::string | storage () |
void | setElement (Element *element) |
Element * | element () |
void | incNErrors () |
void | setNErrors (unsigned int) |
unsigned int | nErrors () |
TFile * | rootFile () |
void | openRootFile () |
void | closeRootFile () |
void | startChrono () |
void | setLogMsg (std::string logMsg) |
std::string | logMsg () |
void | setState (int state) |
double | elapsedTime () |
double | elapsedTime (time_t start) |
![]() | |
Object () | |
Standard constructor. More... | |
virtual | ~Object () |
Destructor. More... | |
std::string | name () const |
std::string | type () |
unsigned char | id () |
std::string | title () |
void | msgSvc (int level, std::string msg, std::string name) |
void | msg (std::string mymsg) |
void | verbose (std::string mymsg) |
void | debug (std::string mymsg) |
void | info (std::string mymsg) |
void | warning (std::string mymsg) |
void | error (std::string mymsg) |
void | fatal (std::string mymsg) |
void | msg (std::string mymsg, std::string name) |
void | verbose (std::string mymsg, std::string name) |
void | debug (std::string mymsg, std::string name) |
void | info (std::string mymsg, std::string name) |
void | warning (std::string mymsg, std::string name) |
void | error (std::string mymsg, std::string name) |
void | fatal (std::string mymsg, std::string name) |
void | setName (std::string name) |
void | setType (std::string type) |
void | setId (unsigned char id) |
void | setTitle (std::string title) |
void | setDllName (std::string dllName) |
std::string | dllName () |
![]() | |
Attrib () | |
Standard constructor. More... | |
virtual | ~Attrib () |
Destructor. More... | |
bool | is (int attribut) |
void | add (int attribut) |
void | remove (int attribut) |
std::string | attributs () |
Protected Member Functions | |
UsbFTInterfaceTest * | clone () |
Private Attributes | |
TRandom * | m_rnd |
TH1D * | m_write |
TH1D * | m_read |
TH1D * | m_error |
unsigned int | m_address |
unsigned int | m_size |
double | m_mean |
double | m_sigma |
Additional Inherited Members | |
![]() | |
Element * | m_element |
![]() | |
std::string | m_attribString [10] |
Definition at line 18 of file UsbFTInterfaceTest.h.
typedef unsigned short UsbFTInterfaceTest::U16 |
Definition at line 21 of file UsbFTInterfaceTest.h.
typedef unsigned long UsbFTInterfaceTest::U32 |
Definition at line 20 of file UsbFTInterfaceTest.h.
typedef unsigned char UsbFTInterfaceTest::U8 |
Definition at line 22 of file UsbFTInterfaceTest.h.
Standard constructor.
Definition at line 23 of file UsbFTInterfaceTest.cpp.
References Object::setName(), Object::setTitle(), and Object::setType().
Referenced by clone().
|
inlinevirtual |
Definition at line 26 of file UsbFTInterfaceTest.h.
References execute(), finalize(), and initialize().
|
inlineprotectedvirtual |
processus termination virtual function
Implements Processus.
Definition at line 53 of file UsbFTInterfaceTest.h.
References UsbFTInterfaceTest().
|
virtual |
processus execution virtual function
Implements Processus.
Definition at line 56 of file UsbFTInterfaceTest.cpp.
References Processus::dataFill(), Processus::elapsedTime(), Processus::element(), m_address, m_error, m_mean, m_read, m_rnd, m_sigma, m_size, m_write, UsbFTInterface::setWordSize(), StatusCode::SUCCESS, UsbFTInterface::usbRead(), UsbFTInterface::usbWrite(), Object::warning(), and UsbFTInterface::WS_Word.
Referenced by ~UsbFTInterfaceTest().
|
virtual |
processus termination virtual function
Implements Processus.
Definition at line 103 of file UsbFTInterfaceTest.cpp.
References Processus::closeRootFile(), and StatusCode::SUCCESS.
Referenced by ~UsbFTInterfaceTest().
|
virtual |
Destructor.
Implements Processus.
Definition at line 37 of file UsbFTInterfaceTest.cpp.
References Processus::addDataStream(), m_error, m_read, m_rnd, m_write, Processus::openRootFile(), and StatusCode::SUCCESS.
Referenced by ~UsbFTInterfaceTest().
|
inline |
Definition at line 44 of file UsbFTInterfaceTest.h.
References m_mean.
Referenced by BOOST_PYTHON_MODULE(), and setParam().
|
inline |
Definition at line 32 of file UsbFTInterfaceTest.h.
References m_address, and StatusCode::SUCCESS.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Definition at line 37 of file UsbFTInterfaceTest.h.
References m_mean, m_sigma, m_size, mean(), sigma(), cat::size, and StatusCode::SUCCESS.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Definition at line 48 of file UsbFTInterfaceTest.h.
References m_mean.
Referenced by BOOST_PYTHON_MODULE(), setParam(), and UsbFTInterfaceTest.UsbFTInterfaceTest::update().
|
private |
Definition at line 60 of file UsbFTInterfaceTest.h.
Referenced by execute(), and setAddress().
|
private |
Definition at line 59 of file UsbFTInterfaceTest.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 61 of file UsbFTInterfaceTest.h.
Referenced by execute(), mean(), setParam(), and sigma().
|
private |
Definition at line 59 of file UsbFTInterfaceTest.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 58 of file UsbFTInterfaceTest.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 61 of file UsbFTInterfaceTest.h.
Referenced by execute(), and setParam().
|
private |
Definition at line 60 of file UsbFTInterfaceTest.h.
Referenced by execute(), and setParam().
|
private |
Definition at line 59 of file UsbFTInterfaceTest.h.
Referenced by execute(), and initialize().