Private Member Functions | |
void | Dump (unsigned short crateId, bool isDump) const |
Dump on screen hardware mapping (and settings, if loaded) for the given crateId. | |
const QDaqChannel & | DaqChan (unsigned short Lg) const |
Get reference to QDaqChannel relative to logical channel Lg. | |
int | GetBoards (unsigned short crate, std::map< unsigned short, std::string > &boards) const |
for the requested Daq crate, fill a map of board slots and corresponding board name | |
unsigned short | GetActiveChannels (unsigned short crate, unsigned short slot, QDaqChannel::SettingsType_t what, std::vector< QDaqChannel > &chList) const |
fill vector of daq channels with given settings loaded | |
unsigned short | GetMapping (std::map< unsigned short, QDaqChannel > &cMap) const |
fill map of lg channels and corresponding hardware mapping | |
unsigned short | GetActiveChannels (std::map< unsigned short, QDaqChannel > &cMap, QDaqChannel::SettingsType_t what) const |
fill map of lg channels and corresponding QDaqChannels with requested settings filled | |
void | Clear () |
Clear cache. | |
void | FillDefaultTriggers (unsigned short crateId) |
fill channels that don't have an entry in trgsettings table with default trigger settings | |
Private Attributes | |
std::map< unsigned short, QDaqChannel > | fChannels |
map containing mapping and settings for all loaded logical channels | |
Friends | |
class | QApolloDbBase |
int QApolloDbCache::GetBoards | ( | unsigned short | crate, | |
std::map< unsigned short, std::string > & | boards | |||
) | const [private] |
for the requested Daq crate, fill a map of board slots and corresponding board name
unsigned short QApolloDbCache::GetActiveChannels | ( | unsigned short | crate, | |
unsigned short | slot, | |||
QDaqChannel::SettingsType_t | what, | |||
std::vector< QDaqChannel > & | chList | |||
) | const [private] |
fill vector of daq channels with given settings loaded
Vector is filled for channels belonging to the given slot of the given crate. If slot is zero all slots belonging to crate are assumed
what | settings to be loaded |
unsigned short QApolloDbCache::GetMapping | ( | std::map< unsigned short, QDaqChannel > & | cMap | ) | const [private] |
fill map of lg channels and corresponding hardware mapping
unsigned short QApolloDbCache::GetActiveChannels | ( | std::map< unsigned short, QDaqChannel > & | cMap, | |
QDaqChannel::SettingsType_t | what | |||
) | const [private] |
fill map of lg channels and corresponding QDaqChannels with requested settings filled