|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Types | |
| typedef _StubType | StubType |
| typedef _ResourceTOCType | ResourceTOCType |
Public Member Functions | |
| ~AtlasInstanceTOC () | |
| virtual void | updateBounds (StubType *stub, U32 i, S32 x, S32 y) |
| Callback to allow subclasses to update stub data when we initialize. | |
| ResourceTOCType * | getResourceTOC () |
| virtual void | initializeTOC (ResourceTOCType *resourceToc) |
| Initialize our TOC. | |
| ResourceTOCType::StubType * | getResourceStub (StubType *stub) |
| Given a pointer to a stub from this TOC, convert to a stub in the corresponding resource TOC. | |
| StubType * | getInstanceStub (typename ResourceTOCType::StubType *stub) |
| Given a pointer to a stub from the resource TOC, convert back to a stub in this TOC. | |
| virtual void | requestLoad (StubType *stub, U32 reason, F32 priority) |
| virtual void | cancelLoadRequest (StubType *stub, U32 reason) |
| virtual void | cancelAllLoadRequests (U32 reason) |
| Purge all data. | |
| bool | areChildrenLoaded (StubType *stub) |
| Helper function; returns true iff all the children of this stub are populated with chunks. | |
Protected Attributes | |
| _ResourceTOCType * | mResourceTOC |
| typedef _StubType AtlasInstanceTOC< _StubType, _ResourceTOCType >::StubType |
| typedef _ResourceTOCType AtlasInstanceTOC< _StubType, _ResourceTOCType >::ResourceTOCType |
| AtlasInstanceTOC< _StubType, _ResourceTOCType >::~AtlasInstanceTOC | ( | ) | [inline] |
| virtual void AtlasInstanceTOC< _StubType, _ResourceTOCType >::updateBounds | ( | StubType * | stub, | |
| U32 | i, | |||
| S32 | x, | |||
| S32 | y | |||
| ) | [inline, virtual] |
Callback to allow subclasses to update stub data when we initialize.
Reimplemented in AtlasInstanceGeomTOC.
| ResourceTOCType* AtlasInstanceTOC< _StubType, _ResourceTOCType >::getResourceTOC | ( | ) | [inline] |
| virtual void AtlasInstanceTOC< _StubType, _ResourceTOCType >::initializeTOC | ( | ResourceTOCType * | resourceToc | ) | [inline, virtual] |
Initialize our TOC.
| ResourceTOCType::StubType* AtlasInstanceTOC< _StubType, _ResourceTOCType >::getResourceStub | ( | StubType * | stub | ) | [inline] |
Given a pointer to a stub from this TOC, convert to a stub in the corresponding resource TOC.
| StubType* AtlasInstanceTOC< _StubType, _ResourceTOCType >::getInstanceStub | ( | typename ResourceTOCType::StubType * | stub | ) | [inline] |
Given a pointer to a stub from the resource TOC, convert back to a stub in this TOC.
| virtual void AtlasInstanceTOC< _StubType, _ResourceTOCType >::requestLoad | ( | StubType * | stub, | |
| U32 | reason, | |||
| F32 | priority | |||
| ) | [inline, virtual] |
Reimplemented in AtlasInstanceGeomTOC.
| virtual void AtlasInstanceTOC< _StubType, _ResourceTOCType >::cancelLoadRequest | ( | StubType * | stub, | |
| U32 | reason | |||
| ) | [inline, virtual] |
Reimplemented in AtlasInstanceGeomTOC.
| virtual void AtlasInstanceTOC< _StubType, _ResourceTOCType >::cancelAllLoadRequests | ( | U32 | reason | ) | [inline, virtual] |
Purge all data.
| bool AtlasInstanceTOC< _StubType, _ResourceTOCType >::areChildrenLoaded | ( | StubType * | stub | ) | [inline] |
Helper function; returns true iff all the children of this stub are populated with chunks.
If this is a leaf, we return false.
_ResourceTOCType* AtlasInstanceTOC< _StubType, _ResourceTOCType >::mResourceTOC [protected] |