Public Member Functions | |
| QPulserConfig () | |
| ctor | |
| QPulserConfig (const QPulserConfig &other) | |
| copy constructor: all data members are copied | |
| virtual | ~QPulserConfig () |
| dtor | |
| unsigned int | GetLocalId () const |
| get local id | |
| void | SetLocalId (unsigned int id) |
| set local id | |
| unsigned int | GetAmplitude () const |
| get pulse amplitude in units of bits (0..4095) | |
| unsigned int | GetAttenuation (unsigned int hwCh) const |
| get pulser attenuation | |
| unsigned int | GetDuration () const |
| get pulse duration | |
| bool | operator== (const QPulserConfig &other) const |
| comparison is based on the four memories, not on the local id | |
| QPulserConfig & | operator= (const QPulserConfig &other) |
| all the data members are copied from the other object | |
| bool | SetMem0 (unsigned int mem0) |
| pulser memory setters | |
| bool | SetMem1 (unsigned int mem1) |
| pulser memory setters | |
| bool | SetMem2 (unsigned int mem2) |
| pulser memory setters | |
| bool | SetMem3 (unsigned int mem3) |
| pulser memory setters | |
| unsigned int | GetMem0 () const |
| memory getters | |
| unsigned int | GetMem1 () const |
| memory getters | |
| unsigned int | GetMem2 () const |
| memory getters | |
| unsigned int | GetMem3 () const |
| memory getters | |
Private Attributes | |
| unsigned int | fLocalId |
| unsigned int | fMem0 |
| unsigned int | fMem1 |
| unsigned int | fMem2 |
| unsigned int | fMem3 |
| bool QPulserConfig::SetMem0 | ( | unsigned int | mem0 | ) |
pulser memory setters
References fMem0.
Referenced by QPulserGuiInterface::AddChannel(), QPulserSingleShot::Fire(), and QPulserChannel::Set().
| bool QPulserConfig::SetMem1 | ( | unsigned int | mem1 | ) |
pulser memory setters
References fMem1.
Referenced by QPulserGuiInterface::AddChannel(), QPulserSingleShot::Fire(), and QPulserChannel::Set().
| bool QPulserConfig::SetMem2 | ( | unsigned int | mem2 | ) |
pulser memory setters
References fMem2.
Referenced by QPulserGuiInterface::AddChannel(), QPulserChannel::Consolidate(), QPulserSingleShot::Fire(), and QPulserChannel::Set().
| bool QPulserConfig::SetMem3 | ( | unsigned int | mem3 | ) |
pulser memory setters
References fMem3.
Referenced by QPulserGuiInterface::AddChannel(), QPulserSingleShot::Fire(), and QPulserChannel::Set().
| unsigned int QPulserConfig::GetAttenuation | ( | unsigned int | hwCh | ) | const |
get pulser attenuation
| hwCh | pulser hardware channel, needed to extract attenuation from mem3. |
References fMem0.
unsigned int QPulserConfig::fLocalId [private] |
general purpose identifier
Referenced by GetLocalId(), operator=(), QPulserConfig(), and SetLocalId().
unsigned int QPulserConfig::fMem0 [private] |
stores pulse duration in units of 0.1 ms
Referenced by GetAttenuation(), GetMem0(), operator=(), operator==(), QPulserConfig(), and SetMem0().
unsigned int QPulserConfig::fMem1 [private] |
stores the 8LSB of the pulse amplitude
Referenced by GetAmplitude(), GetMem1(), operator=(), operator==(), QPulserConfig(), and SetMem1().
unsigned int QPulserConfig::fMem2 [private] |
the lowest 4 bits store the 4MSB of the pulse amplitude; the highest 4 bits store the pulser control bits.
Referenced by GetAmplitude(), GetMem2(), operator=(), operator==(), QPulserConfig(), and SetMem2().
unsigned int QPulserConfig::fMem3 [private] |
pulser attenuation: 2 bits per channel
Referenced by GetMem3(), operator=(), operator==(), QPulserConfig(), and SetMem3().
1.5.6