![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 2001 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: ttsDrawerColl.h,v $ $Revision: 1.11 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef DtTTSDrawerColl_H_ 00013 #define DtTTSDrawerColl_H_ 00014 00016 #include <symbolDrawerInterface/symbolDrawer.h> 00017 #include <symbolDrawerInterface/drawerColl.h> 00018 #include "symbolDrawer/ttsDrawer.h" 00019 #include "symbolDrawer/mmmDrawer.h" 00020 00022 00027 #include "symbolDrawer/symbolDrawerDefines.h" 00028 00029 class DT_DLL_symbolDrawer DtTTSDrawerColl : public DtDrawerColl 00030 { 00031 public: 00032 DtTTSDrawerColl(); 00033 DtTTSDrawerColl( DtDrawerColl * nextComponent ); 00034 virtual ~DtTTSDrawerColl(); 00035 00037 virtual DtSymbolDrawer * lookupDrawer( const DtDrawerKey & key ); 00038 00039 protected: 00041 virtual bool insertDrawer( const QString & cacheKey, 00042 DtTTSDrawer * drawer ); 00044 virtual DtTTSDrawer * createDrawer( const DtDrawerKey & drawerKey ) const; 00045 00047 virtual DtTTSDrawer * lookupTTSDrawer( const DtDrawerKey & drawerKey ); 00048 00050 virtual QString calcCacheKey( const DtDrawerKey & drawerKey ) const; 00051 00052 private: 00054 DtTTSDrawerColl(const DtTTSDrawerColl& orig); 00055 DtTTSDrawerColl& operator=(const DtTTSDrawerColl& orig); 00057 00058 protected: 00059 QCache<QString, DtTTSDrawer> myCache; 00060 }; 00061 00062 #endif