Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9802 in orxonox.OLD


Ignore:
Timestamp:
Sep 24, 2006, 12:31:38 PM (18 years ago)
Author:
bensch
Message:

new_class_id: more doxy-tags, and some default values

Location:
branches/new_class_id/src/lib/util/loading
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/util/loading/new_resource_manager.cc

    r9800 r9802  
    3737    this->registerObject(this, NewResourceManager::_objectList);
    3838    this->setName("NewResourceManager");
    39 
    40     //this->dataDir = "./";
     39    this->_mainGlobalPath = Directory("./");
    4140  }
    4241
  • branches/new_class_id/src/lib/util/loading/new_resource_manager.h

    r9800 r9802  
    1919    /** @returns a Pointer to the only object of this Class */
    2020    inline static NewResourceManager* getInstance() { if (!_singletonRef) _singletonRef = new NewResourceManager();  return _singletonRef; };
    21   inline static void deleteInstance() { if (_singletonRef) delete _singletonRef; };
     21    /** @brief deletes the Instance if it exists. */
     22    inline static void deleteInstance() { if (_singletonRef) delete _singletonRef; };
    2223
    2324
     
    3435    const std::string& getKeepLevelName(unsigned int keepLevelID) const;
    3536
    36   const std::vector<Resources::Type*> resourceTypes() const { return _resourceTypes; };
     37    /** @returns the Types of Resources */
     38    const std::vector<Resources::Type*> resourceTypes() const { return _resourceTypes; };
     39    /** @returns the main global search Path */
    3740    const Directory& mainGlobalPath() const { return _mainGlobalPath; };
    3841    /** @returns all global paths without mainGlobalPath */
     
    5659    static NewResourceManager*         _singletonRef;       //!< singleton Reference
    5760
    58     std::vector<Resources::Type*>      _resourceTypes;
    59     //! GLOBALS
    60     Directory                          _mainGlobalPath;
    61     std::vector<Directory>             _globalPaths;
     61    Directory                          _mainGlobalPath;     //!< The main include directory (default at "./")
     62    std::vector<Directory>             _globalPaths;        //!< Additional Global include directories.
    6263
    63     std::vector<std::string>           _keepLevelNames;
     64    std::vector<Resources::Type*>      _resourceTypes;      //!< A Vector of all the stored ResourceTypes @see Resources::Type
     65    std::vector<std::string>           _keepLevelNames;     //!< Names of KeepLevels @see Resources::KeepLevel
    6466  };
    6567
Note: See TracChangeset for help on using the changeset viewer.