The global AcTcManager object manages stock tool catalogs and workspace catalogs. It provides methods to access and manipulate the catalogs and their contents. At startup, the tool manager scans the catalog files found in standard locations, and loads the referenced tool modules.
This singleton object is created by the Tool Palette framework. Tool Palette client applications do not create new AcTcManager instances. To obtain a pointer to the global manager, use the AcTcGetManager() global function.
Tool Palette applications use the AcTcManager::AddCatalog() and AcTcManager::AddStockToolCatalog() functions to append newly created workspace catalogs and stock tool catalogs to the tool palette's list. When you pass a catalog object pointer to one of these functions, the Tool Palette framework assumes ownership of the object's memory. Therefore, you should not subsequently delete that pointer.