pxar
 All Classes Namespaces Functions Variables Typedefs Friends
Classes | Typedefs | Enumerations | Functions
pxar Namespace Reference

Classes

class  pxarCore
 
class  dut
 
class  pixel
 
class  Event
 
class  rawEvent
 
class  pixelConfig
 
class  rocConfig
 
class  tbmConfig
 
class  statistics
 
class  pxarException
 
class  InvalidConfig
 
class  FirmwareVersionMismatch
 
class  UsbConnectionError
 
class  UsbConnectionTimeout
 
class  DataMissingEvent
 
class  DataDecodingError
 
class  DataInvalidAddressError
 
class  DataInvalidPulseheightError
 
class  DataCorruptBufferError
 
class  dacConfig
 
class  RegisterDictionary
 
class  DeviceDictionary
 
class  ProbeDictionary
 
class  PatternGeneratorDictionary
 
class  configEnableSet
 
class  configMaskSet
 
class  findPixelXY
 
class  findPixelBeyondXY
 
class  findRoc
 
class  pxarLog
 
class  SetLogOutput
 
class  timer
 

Typedefs

typedef std::vector< Event * >
(hal::* 
HalMemFnRocParallel )(std::vector< uint8_t > rocids, std::vector< int32_t > parameter)
 
typedef std::vector< Event * >
(hal::* 
HalMemFnPixelParallel )(std::vector< uint8_t > rocids, uint8_t column, uint8_t row, std::vector< int32_t > parameter)
 
typedef std::vector< Event * >
(hal::* 
HalMemFnRocSerial )(uint8_t rocid, std::vector< int32_t > parameter)
 
typedef std::vector< Event * >
(hal::* 
HalMemFnPixelSerial )(uint8_t rocid, uint8_t column, uint8_t row, std::vector< int32_t > parameter)
 
typedef pxarLog< SetLogOutputLog
 

Enumerations

enum  TLogLevel {
  logQUIET, logCRITICAL, logERROR, logWARNING,
  logINFO, logDEBUG, logDEBUGAPI, logDEBUGHAL,
  logDEBUGRPC, logDEBUGPIPES, logINTERFACE
}
 

Functions

statisticsoperator+= (statistics &lhs, const statistics &rhs)
 
void mDelay (uint32_t ms)
 
bool comparePixelConfiguration (const std::vector< pixelConfig > pxA, const std::vector< pixelConfig > pxB)
 
template<typename T >
std::string listVector (std::vector< T > vec, bool hex=false)
 
std::string listFlags (uint32_t flags)
 

Detailed Description

Declare all classes that need to be included in shared libraries on Windows as class DLLEXPORT classNameCannot use stdint.h when running rootcint on WIN32

pxar API exception classes

pxar hardware constants this file contains DAC definitions and other global constants such as testboard register ids

Cannot use stdint.h when running rootcint on WIN32

pxar API logging classCannot use stdint.h when running rootcint on WIN32

Typedef Documentation

typedef std::vector<Event*>(hal::* pxar::HalMemFnRocParallel)(std::vector< uint8_t > rocids, std::vector< int32_t > parameter)

Define typedefs to allow easy passing of member function addresses from the HAL class, used e.g. in loop expansion routines. Follows advice of http://www.parashift.com/c++-faq/typedef-for-ptr-to-memfn.html

Definition at line 107 of file api.h.

Function Documentation

bool pxar::comparePixelConfiguration ( const std::vector< pixelConfig >  pxA,
const std::vector< pixelConfig >  pxB 
)
inline

Helper to compare the pixel configuration of rocConfigs

Definition at line 141 of file helper.h.

std::string pxar::listFlags ( uint32_t  flags)
inline

Helper function to return a printed list of flags

Definition at line 170 of file helper.h.

template<typename T >
std::string pxar::listVector ( std::vector< T >  vec,
bool  hex = false 
)

Helper function to return a printed list of an integer vector, used to shield debug code from being executed if debug level is not sufficient

Definition at line 157 of file helper.h.

void pxar::mDelay ( uint32_t  ms)
inline

Delay helper function Uses usleep() to wait the given time in milliseconds

Definition at line 40 of file helper.h.