XLE  v0.02.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BufferUploads::ResourceLocator Class Reference
Inheritance diagram for BufferUploads::ResourceLocator:
Inheritance graph
[legend]

Public Member Functions

intrusive_ptr< UnderlyingResource > AdoptUnderlying ()
 
bool IsEmpty () const
 
unsigned Offset () const
 
unsigned Size () const
 
UnderlyingResource * GetUnderlying () const
 
std::shared_ptr< IResourcePoolPool ()
 
uint64 PoolMarker ()
 
 ResourceLocator (intrusive_ptr< UnderlyingResource > &&moveFrom, unsigned offset=~unsigned(0x0), unsigned size=~unsigned(0x0), std::shared_ptr< IResourcePool > pool=nullptr, uint64 poolMarker=0)
 
 ResourceLocator (ResourceLocator &&moveFrom)
 
ResourceLocatoroperator= (ResourceLocator &&moveFrom)
 
void swap (ResourceLocator &other)
 
- Public Member Functions inherited from Utility::RefCountedObject
signed AddRef () const
 
signed Release () const
 
signed GetRefCount () const
 

Protected Member Functions

 ResourceLocator (const ResourceLocator &resource)
 
ResourceLocatoroperator= (const ResourceLocator &resource)
 

Protected Attributes

intrusive_ptr< UnderlyingResource > _resource
 
unsigned _offset
 
unsigned _size
 
std::shared_ptr< IResourcePool_pool
 
uint64 _poolMarker
 

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