Public Member Functions | |
void | CleanExit () |
void | Closed () |
void | UpdateBasket () |
prompt user for new settings basket and updates all the graphical and batch informations accordingly | |
Private Member Functions | |
void | Init () |
void | CreateWindow () |
int | SelectBasket () const |
int | PromptForBasket () const |
prompt user for new settings basket | |
int | ReadBasketFromFile () const |
read settings basket from config file | |
void | UpdateActiveChannels () |
Private Attributes | |
size_t | fSettingsBasket |
std::vector< int > | fChannels |
QGEControlFrame * | fControlFrame |
void QGuiEleMain::Init | ( | ) | [private] |
fetches settings basket from somewhere (cfg file or prompt user), updates all the graphical and batch objects with the informations from the new basket and finally displays the graphical window
References CreateWindow(), QEleInterface::GetInstance(), SelectBasket(), QEleInterface::SetSettingsBasket(), and UpdateActiveChannels().
void QGuiEleMain::CreateWindow | ( | ) | [private] |
creates all subframes and maps window
References fControlFrame, and QGuiUtils::GetInstance().
Referenced by Init().
int QGuiEleMain::SelectBasket | ( | ) | const [private] |
try reading settings basket from config file and prompt user if this attempt fails
References PromptForBasket(), and ReadBasketFromFile().
Referenced by Init().
int QGuiEleMain::PromptForBasket | ( | ) | const [private] |
prompt user for new settings basket
Referenced by SelectBasket(), and UpdateBasket().
int QGuiEleMain::ReadBasketFromFile | ( | ) | const [private] |
read settings basket from config file
Referenced by SelectBasket().
void QGuiEleMain::UpdateActiveChannels | ( | ) | [private] |
read list of active channels from db
References QApolloDb::GetActiveChannels(), and QDaqChannel::Mapping_s.
Referenced by Init(), and UpdateBasket().
QGEControlFrame* QGuiEleMain::fControlFrame [private] |
list of active channels in current basket
Referenced by CreateWindow(), and UpdateBasket().