Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 22, 2006, 12:52:16 PM (19 years ago)
Author:
bensch
Message:

resources: lib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/resources/src/lib/util/loading/resource.cc

    r7238 r7240  
    22   orxonox - the future of 3D-vertical-scrollers
    33
    4    Copyright (C) 2004 orx
     4   Copyright (C) 2006 orx
    55
    66   This program is free software; you can redistribute it and/or modify
     
    2121namespace Loading
    2222{
     23  /**
     24   * @brief Initializes a shared Resource
     25   */
    2326  Resource::SharedResource::SharedResource()
    2427  {
     
    3033
    3134  /**
    32    * standard constructor
     35   * @brief standard constructor
    3336  */
    3437  Resource::Resource (const std::string& fileName, ResourcePriority prio)
     
    4043
    4144  /**
    42    * standard deconstructor
     45   * @brief standard deconstructor
    4346   */
    44   //   Resource::~Resource ()
    45   //   {
    46   //   }
     47  Resource::~Resource ()
     48  {}
    4749
    4850
     
    5052                      const MultiType& param0, const MultiType& param1, const MultiType& param2)
    5153  {}
     54
     55
    5256  bool Resource::cache(std::string& fileName, ResourcePriority prio,
    5357                       const MultiType& param0, const MultiType& param1,  const MultiType& param2)
     
    5559
    5660
    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
    6167  bool Resource::unload()
    6268  {}
     
    7177  {}
    7278
    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  {}
    7788
    7889
     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
    79103}
Note: See TracChangeset for help on using the changeset viewer.