![]() |
VR-Forces 4.7 Class Documentation
|
Shared access to font file information. More...

Public Member Functions | |
| virtual | ~DtSharedFontDatabase () |
| DTOR. | |
| virtual std::string | fontFileFor (const std::string &family, int flags=0) const |
| Returns the font file for the partiular family. | |
| virtual std::string | fontFromFile (const std::string &file) const |
| Returns the font that matches the given file. | |
| virtual void | addFont (const std::string &family, const std::string &fileName) |
| Adds a new font and file name mapping. | |
Public Member Functions inherited from makVrv::DtSharedSettings | |
| DtSharedSettings (const DtSharedSettingsManager &manager) | |
| CTOR. | |
| virtual | ~DtSharedSettings () |
| DTOR. | |
| boost::shared_mutex & | mutex () |
| Get the mutex for the settings object. | |
| SafetyKey | safeToEmitSignals () |
| Create a safety key for the function, see above example. | |
| void | setCurrentWriteLock (boost::unique_lock< boost::shared_mutex > *currentWriteLock) |
| No need to call, set by the DtWriteSettingLock object. | |
| virtual const DtSettingsBackup * | settingsBackup () const |
| Accessor for the settings backup (const). | |
| virtual DtSettingsBackup * | settingsBackup () |
| Accessor for the settings backup. | |
| virtual void | backup () |
| Called to back up the settings. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static std::string | className () |
| Get an instance of the settings object. | |
Protected Member Functions | |
| DtSharedFontDatabase (makVrv::DtSharedSettingsManager &) | |
Protected Attributes | |
| std::map< std::string, std::string > | myFontFileMap |
Friends | |
| class | makVrv::DtReadSettingsLock< DtSharedFontDatabase > |
| Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access the object. | |
| class | makVrv::DtWriteSettingsLock< DtSharedFontDatabase > |
| class | makVrv::DtSharedSettingsManager |
Shared access to font file information.
|
virtual |
DTOR.
|
protected |
|
static |
Get an instance of the settings object.
Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access the object.
|
virtual |
Returns the font file for the partiular family.
|
virtual |
Returns the font that matches the given file.
|
virtual |
Adds a new font and file name mapping.
|
friend |
Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access the object.
|
friend |
|
friend |
|
protected |