PAASS
Software suite to Acquire and Analyze Data from Pixie16
BitFlipper Class Reference

#include <PixieSupport.h>

Inheritance diagram for BitFlipper:
Collaboration diagram for BitFlipper:

Public Member Functions

 BitFlipper ()
 
 BitFlipper (unsigned int bit_, unsigned int num_toggle_bits_=19)
 
void Help ()
 
void SetBit (unsigned int bit_)
 
void SetBit (std::string bit_)
 
void SetCSRAbit (std::string bit_)
 
void CSRAtest (unsigned int input_)
 
bool Test (unsigned int num_bits_, unsigned int input_, const std::vector< std::string > &text_)
 
- Public Member Functions inherited from PixieFunction< std::string >
virtual ~PixieFunction ()
 
virtual ~PixieFunction ()
 

Static Public Attributes

static const std::vector< std::string > toggle_names
 
static const std::vector< std::string > csr_txt
 

Private Member Functions

bool operator() (PixieFunctionParms< std::string > &par)
 

Private Attributes

unsigned int num_toggle_bits
 
unsigned int bit
 

Detailed Description

Definition at line 100 of file PixieSupport.h.

Constructor & Destructor Documentation

§ BitFlipper() [1/2]

BitFlipper::BitFlipper ( )
inline

Definition at line 111 of file PixieSupport.h.

§ BitFlipper() [2/2]

BitFlipper::BitFlipper ( unsigned int  bit_,
unsigned int  num_toggle_bits_ = 19 
)
inline

Definition at line 116 of file PixieSupport.h.

Member Function Documentation

§ CSRAtest()

void BitFlipper::CSRAtest ( unsigned int  input_)

Definition at line 101 of file PixieSupport.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

§ Help()

void BitFlipper::Help ( )

Definition at line 72 of file PixieSupport.cpp.

Here is the caller graph for this function:

§ operator()()

bool BitFlipper::operator() ( PixieFunctionParms< std::string > &  par)
privatevirtual

Implements PixieFunction< std::string >.

Definition at line 22 of file PixieSupport.cpp.

Here is the call graph for this function:

§ SetBit() [1/2]

void BitFlipper::SetBit ( unsigned int  bit_)
inline

Definition at line 123 of file PixieSupport.h.

Here is the caller graph for this function:

§ SetBit() [2/2]

void BitFlipper::SetBit ( std::string  bit_)

Definition at line 97 of file PixieSupport.cpp.

Here is the call graph for this function:

§ SetCSRAbit()

void BitFlipper::SetCSRAbit ( std::string  bit_)

Definition at line 86 of file PixieSupport.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

§ Test()

bool BitFlipper::Test ( unsigned int  num_bits_,
unsigned int  input_,
const std::vector< std::string > &  text_ 
)

Definition at line 105 of file PixieSupport.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

§ bit

unsigned int BitFlipper::bit
private

Definition at line 103 of file PixieSupport.h.

§ csr_txt

const std::vector< std::string > BitFlipper::csr_txt
static

Definition at line 109 of file PixieSupport.h.

§ num_toggle_bits

unsigned int BitFlipper::num_toggle_bits
private

Definition at line 102 of file PixieSupport.h.

§ toggle_names

const std::vector< std::string > BitFlipper::toggle_names
static

Definition at line 108 of file PixieSupport.h.


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