#include <PixieCrateReader.h>
|
std::vector< unsigned short > | m_slots |
|
unsigned | m_crateId |
|
This is a crate reader that reads the configuration of an entire crate from the Pixie/cPCI crate. Caveats:
- The crate id passed in at construction time is used for the crate id regardless of the crate id configured in the modules.
- The slots parameters must be the same as those passed into the Pixie16InitSystem or the CrateManager constructor if that's being used.
DDAS::PixieCrateReader::PixieCrateReader |
( |
unsigned |
crate, |
|
|
const std::vector< unsigned short > & |
slots |
|
) |
| |
constructor Just initializes the base class:
- Parameters
-
crate | - id of the crate. |
slots | - Vector of slots. |
DDAS::PixieCrateReader::~PixieCrateReader |
( |
| ) |
|
|
virtual |
destructor Release the crate manager.
SettingsReader * DDAS::PixieCrateReader::createReader |
( |
unsigned short |
slot | ) |
|
|
virtual |
createReader Creates a reader for a single slot. We just need to translate the slot number to a module id. The module id is the corresponding index in the m_slots vector.
- Parameters
-
slot | - slot number to create a reader for. |
- Returns
- SettingsReader* - pointer to a dynamically created Pixie settings reader object.
Implements DDAS::CrateReader.
The documentation for this class was generated from the following files: