Ocular Engine
Ocular::Core::ResourceDetails Class Reference

Maintains a resource and usage details. More...

#include <ResourceDetails.hpp>

Public Member Functions

 ResourceDetails (Resource *resource, ResourceType type=ResourceType::Undefined)
 
ResourcegetResource ()
 
ResourcegetResourceUntracked () const
 
uint64_t getTimeOfLastRequest () const
 
unsigned getNumberOfRequests () const
 
uint64_t getSize () const
 
ResourceType getType () const
 
void reset ()
 

Protected Attributes

Resourcem_Resource
 
ResourceType m_Type
 
uint64_t m_LastRequest
 Secondary copy of ResourceType. Mainly used when identifying subresources of MultiResource instances.
 
unsigned m_NumberOfRequests
 In NS.
 

Friends

class ResourceManager
 

Detailed Description

Maintains a resource and usage details.


The documentation for this class was generated from the following files: