/*声明*/
DLT_DECLARE_CONTEXT(frameworkContext)
DLT_DECLARE_CONTEXT(audioManagerContext)
DLT_DECLARE_CONTEXT(browserContext)
DLT_DECLARE_CONTEXT(connContext)
DLT_DECLARE_CONTEXT(deviceManagerContext)
DLT_DECLARE_CONTEXT(audioManagerLibContext)
DLT_DECLARE_CONTEXT(indexerManagerContext)
DLT_DECLARE_CONTEXT(settingsContext)
DLT_DECLARE_CONTEXT(persistentcyClientContext)
DLT_DECLARE_CONTEXT(LRUContext)
DLT_DECLARE_CONTEXT(playerContext)
DLT_DECLARE_CONTEXT(tracklistContext)
DLT_DECLARE_CONTEXT(dbWrapperContext)
DLT_DECLARE_CONTEXT(lifeCycleContext)
DLT_DECLARE_CONTEXT(ImageViewerContext)
DLT_DECLARE_CONTEXT(StubAdapterContext)
DLT_DECLARE_CONTEXT(voiceAssistantPlayerContext)
DLT_DECLARE_CONTEXT(UserDebugContext)
/*引入*/
DLT_IMPORT_CONTEXT(StubAdapterContext)
/*注册*/
DLT_REGISTER_APP("MED","Media Framework App");
DLT_REGISTER_CONTEXT(frameworkContext,"FWK","Media Framework");
DLT_REGISTER_CONTEXT(audioManagerContext,"AMC","Media Audio Manager Client plugin");
DLT_REGISTER_CONTEXT(audioManagerLibContext,"AMLC","Audio Manager Client plugin");
DLT_REGISTER_CONTEXT(browserContext,"BRWS","Media Browser plugin");
DLT_REGISTER_CONTEXT(connContext,"CONN","Connector plugin");
DLT_REGISTER_CONTEXT(deviceManagerContext,"DMC","Media Device Manager Client plugin");
DLT_REGISTER_CONTEXT(indexerManagerContext,"IDXM","Media Index Manager plugin");
DLT_REGISTER_CONTEXT(settingsContext,"SETT","Media Settings plugin");
DLT_REGISTER_CONTEXT(persistentcyClientContext,"PERS","Media Persistency Client plugin");
DLT_REGISTER_CONTEXT(LRUContext,"LRU","Media Persistency Client LRU Cache");
DLT_REGISTER_CONTEXT(playerContext,"PLAY","Media Player plugin");
DLT_REGISTER_CONTEXT(tracklistContext,"TRCK","Media Tracklist plugin");
DLT_REGISTER_CONTEXT(dbWrapperContext,"DBWP","DBWrapper lib");
DLT_REGISTER_CONTEXT(lifeCycleContext,"LCL","Life Cycle lib");
DLT_REGISTER_CONTEXT(ImageViewerContext, "IMGG", "ImageViewer Client Context");
DLT_REGISTER_CONTEXT(StubAdapterContext, "STUB", "CommonAPI Stub Adapter Context");
DLT_REGISTER_CONTEXT(voiceAssistantPlayerContext, "VAPL", "Voice Assistant Player plugin");
DLT_REGISTER_CONTEXT(UserDebugContext, "UDC", "User Debug");
/*使用:打印log*/
DLT_LOG(frameworkContext,DLT_LOG_DEBUG,DLT_STRING("Starting main loop on main thread, thread is "), DLT_UINT(std::hash<:thread::id>()(std::this_thread::get_id())));
DLT_LOG_FCN_CXX(dbWrapperContext, DLT_LOG_DEBUG, "pathToDb = ", pathToDb.c_str());
/*反注册*/
DLT_UNREGISTER_CONTEXT(frameworkContext);
DLT_UNREGISTER_APP();
服务器托管,北京服务器托管,服务器租用 http://www.fwqtg.net
机房租用,北京机房租用,IDC机房托管, http://www.e1idc.net