31 std::queue< CAsyncNotification *> m_Q;
36 std::lock_guard<std::mutex> l_LG(m_QLock);
41 std::lock_guard<std::mutex> l_LG(m_QLock);
51 : m_Cat(rCat), m_ASNotifier(&
CMyApplication::l_PushNewAsyncNotification, this)
69 m_Cat.
oError.Subscribe(m_ASNotifier);
74 bool l_Operate =
true;
79 if (
nullptr == l_pNot)
83 std::this_thread::sleep_for(std::chrono::milliseconds(100));
94 std::cout <<
"New Instrument List" << std::endl;
101 std::cout <<
"New Probe-Array Information" << std::endl;
143 wchar_t l_ExePath[MAX_PATH];
144 GetModuleFileName(NULL, l_ExePath, MAX_PATH);
145 std::wstring l_AppPath(l_ExePath);
146 std::string l_AppDir(l_AppPath.begin(), l_AppPath.end());
147 return l_AppDir.substr(0, l_AppDir.find_last_of(
'\\'));
156 CMFCManager l_MFCMan(l_Catalog, l_AppDir +
"/../../../../InstrumentCatalog/MFC/ExternalFiles/DefaultCommandScript.scs", l_AppDir +
"/../../../../InstrumentCatalog/MFC/ExternalFiles");