|
| virtual | ~DtOculusSettingsManager () |
| | DTOR. More...
|
| |
|
Returns view that is being mirrorored.
0 = disabled, 1=undistorted mirror, 2=distorted mirror
|
| int | mirroring () const |
| |
| void | setMirroring (int view) |
| | Set mirroring enabled. More...
|
| |
| bool | isMonoscopic () const |
| | Returns true if monoscopic mode is enabled. More...
|
| |
| void | setMonoscopic (bool enabled) |
| | Set monoscopic mode enabled. More...
|
| |
| void | setPixelsPerDisplayPixel (float pixels) |
| | Sets pixels per display pixel. More...
|
| |
| float | getPixelsPerDisplayPixel () const |
| | Gets pixels per display pixel. More...
|
| |
|
Use the settings from the given settings record.
|
| void | setFromRecord (const makArchives::DtOculusSettingsRecord &rec) |
| | Set the current settings' state from the given record (abstract). More...
|
| |
| void | getRecord (makArchives::DtOculusSettingsRecord &rec) const |
| | Populate the given record with the current settings. More...
|
| |
| | DtBaseSettingsManager (DtDe &de, const std::string &name, const std::string &displayName, const std::string &ext) |
| | CTOR. More...
|
| |
| virtual | ~DtBaseSettingsManager () |
| | Virtual DTOR. More...
|
| |
| virtual void | initializeBackup () |
| | Creates a backup of the settings' current state. More...
|
| |
| | DtCommonBaseSettingsManager (DtDe &de, const std::string &name, const std::string &displayName, const std::string &ext) |
| | CTOR The name, displayName, and extension parameters are used for creating the settings object (DtDeSettings) and backup, and for constructing the filename when readin/writing the records to disk. More...
|
| |
| virtual | ~DtCommonBaseSettingsManager () |
| | Virtual DTOR. More...
|
| |
| virtual void | autoSaveIfNecessary () |
| | Saves the current settings as defaults if autosave is enabled. More...
|
| |
| virtual void | setAutoSave (bool doit) |
| | Sets whether autosave is enabled for the settings manager. More...
|
| |
| virtual bool | autoSave () const |
| | Gets whether autosave is enabled for the settings manager. More...
|
| |
| virtual void | setUseDefaultSettingsRecord (bool useit) |
| | Sets whether setting initialization should check for a default record. More...
|
| |
| virtual bool | useDefaultSettingsRecord () const |
| | Gets whether setting initialization should check for a default record. More...
|
| |
| virtual DtDeSettings * | settings () |
| | Accessor for the manager's DtDeSettings object. More...
|
| |
| virtual const DtDeSettings * | settings () const |
| | Accessor for the manager's DtDeSettings object (const). More...
|
| |
| virtual DtSettingsBackup * | settingsBackup () |
| | Accessor for the manager's settings backup. More...
|
| |
| virtual const DtSettingsBackup * | settingsBackup () const |
| | Accessor for the manager's settings backup (const). More...
|
| |
| virtual void | loadDefaults () |
| | Initializes the settings and creates a backup. More...
|
| |
| virtual void | saveDefaultSettings () |
| | Saves the current settings' state as the default (on disk). More...
|
| |
| virtual void | loadDefaultSettings (bool loadOnlyFactorySettings) |
| | Loads the default settings from disk. More...
|
| |
| virtual void | importSettings (const std::string &filePath) |
| | Load the settings' state from the given file. More...
|
| |
| virtual void | exportSettings (const std::string &filePath) const |
| | Save the current settings' state to the given file. More...
|
| |
| virtual void | getSplitRecord (std::vector< makArchives::DtOculusSettingsRecord > &rec, std::vector< std::string > &fileNames) |
| | For directory support, split the main record into different sub-records and give them each a file name. More...
|
| |
| virtual void | addRecords (makArchives::DtOculusSettingsRecord &rec, makArchives::DtOculusSettingsRecord &combinedRec) |
| | For directory support, when reading in a directory, add the records from each file to the combined record. More...
|
| |
| | DtVirtualBaseClass () |
| | Do nothing constructor. More...
|
| |
| virtual | ~DtVirtualBaseClass () |
| | Virtual do nothing destructor. More...
|
| |
template<typename ManagerClass >
| ManagerClass& defaultManagerInstanceFunction |
( |
DtDe & |
de, |
|
|
bool |
allowedInSlave |
|
) |
| |
|
friend |
Befriend the manager instance functions for instance retrieval / creation.
Befriend the manager instance functions for instance retrieval and creation.
Befriend the manager instance functions for instance retreival/creation.
Befriend the manager instance functions for instance retrieval/creation.
Manager requirements: 1) Static instance function 2) Protected DtSignalConnectionManager named myConnections. 3) Member functioned called loadDefaults which takes no arguments. and loads the default settings of the manager or factory from disk. 4) define defaultManagerInstanceFunction as friend. 5) define defaultManagerRegisterInstanceFunction as friend (see below). 5) Protected Constructor which only takes a DtDe reference.
* class Manager
* {
* public:
* protected:
* template <typename ManagerClass>
* template <typename ManagerClass>
* Manager(DtDe&);
* };
*
Then simply in the implementation of instance call defaultManagerInstanceFunction with the de object and return the return value.
* Manager& Manager::instance(DtDe& de)
* {
* return defaultManagerInstanceFunction<Manager>(de);
* }
*
template<typename ManagerClass >
| void defaultManagerRegisterInstanceFunction |
( |
DtDe & |
de, |
|
|
ManagerClass * |
mgr |
|
) |
| |
|
friend |
Befriend the manager instance functions for instance retrieval / creation.
Befriend the manager instance functions for instance retrieval and creation.
Befriend the manager instance functions for instance retreival/creation.
Befriend the manager instance functions for instance retrieval/creation.
* static void Manager::registerInstance(DtDe& de, Manager* mgr)
* {
* }
* ...else where call.
*
* Manager::registerInstance(de,new NewManager(de));
*