Changeset 7240 in orxonox.OLD for branches/resources/src/lib/util/loading/resource.cc
- Timestamp:
- Mar 22, 2006, 12:52:16 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/resources/src/lib/util/loading/resource.cc
r7238 r7240 2 2 orxonox - the future of 3D-vertical-scrollers 3 3 4 Copyright (C) 200 4orx4 Copyright (C) 2006 orx 5 5 6 6 This program is free software; you can redistribute it and/or modify … … 21 21 namespace Loading 22 22 { 23 /** 24 * @brief Initializes a shared Resource 25 */ 23 26 Resource::SharedResource::SharedResource() 24 27 { … … 30 33 31 34 /** 32 * standard constructor35 * @brief standard constructor 33 36 */ 34 37 Resource::Resource (const std::string& fileName, ResourcePriority prio) … … 40 43 41 44 /** 42 * standard deconstructor45 * @brief standard deconstructor 43 46 */ 44 // Resource::~Resource () 45 // { 46 // } 47 Resource::~Resource () 48 {} 47 49 48 50 … … 50 52 const MultiType& param0, const MultiType& param1, const MultiType& param2) 51 53 {} 54 55 52 56 bool Resource::cache(std::string& fileName, ResourcePriority prio, 53 57 const MultiType& param0, const MultiType& param1, const MultiType& param2) … … 55 59 56 60 57 // reloads the resource. 58 // bool Resource::reload() 59 // {} 60 // unloads the sharedResource (from this Resource) 61 /** 62 * @brief reloads the resource. 63 */ 64 bool Resource::reload() 65 {} 66 61 67 bool Resource::unload() 62 68 {} … … 71 77 {} 72 78 73 // const SharedResource* findResource(std::string& fileName, 74 // const MultiType& param0, const MultiType& param1, const MultiType& param2) 75 // { 76 // } 79 80 bool Resource::reloadResourcesByType(ClassID ResourceType) 81 {} 82 83 bool Resource::reloadAllResources() 84 {} 85 86 bool Resource::unloadResourcesByType(ResourcePriority prio) 87 {} 77 88 78 89 90 bool Resource::unloadAllResources() 91 {} 92 93 void Resource::debug() 94 {} 95 96 97 98 99 const Resource::SharedResource* Resource::findResource(std::string& fileName, 100 const MultiType& param0, const MultiType& param1, const MultiType& param2) 101 {} 102 79 103 }
Note: See TracChangeset
for help on using the changeset viewer.